1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00
Commit graph

12 commits

Author SHA1 Message Date
Harvey Kandola
e10d04d22e Exclude draft versions from non-lifecycle users
Only show draft documents to those with lifecycle permissions.

Closes #242
2019-04-15 13:23:41 +01:00
Harvey Kandola
64403c402b Make store SQL Server compatible 2019-04-01 12:02:23 +01:00
McMatts
e6e5f75ee7 Set doc revised for when section events
Supports new space recency filters.
2019-03-08 15:43:17 +00:00
Harvey Kandola
8d525ce733 Optimize document fetching SQL
Removed redundant sub-query to speed up fetching of documents by space.

There is no cross-tenant leak of information with this change.
2018-12-13 12:25:53 +00:00
McMatts
5153d49ad7 Removed redundant vote code 2018-11-13 18:53:29 +00:00
Harvey Kandola
cccf160d37 Removed spaces 2018-10-23 16:57:58 +01:00
sauls8t
f950075593 Remove redundant code 2018-10-23 13:46:38 +01:00
sauls8t
4094677792 [WIP] Backup process outline 2018-10-10 15:13:09 +01:00
Harvey Kandola
8eb930d281 Make search re-indexing multi-tenant aware
Makes things easier when having to reindex in multi-tenant deployments.
2018-10-06 17:23:55 +01:00
HarveyKandola
8a65567169 Implement PostgreSQL Full Text Search++
1. Full text search supports MySQL, MariaDB, Percona and now PostgreSQL.
2. Changed SQL Variant to typed enum.
3. Changed doc.Versioned from INT to BOOL.
4. Search Reindexer now parses all documents and attachments.
5. Site meta API call returns storage provider type.
6. README prep'ed for PostgreSQL support.
7. DELETE SQL statements ignore zero rows affected.

Closes #100 !!!

Co-Authored-By: Saul S <sauls8t@users.noreply.github.com>
Co-Authored-By: McMatts <matt@documize.com>
2018-09-28 16:33:15 +01:00
HarveyKandola
97beb3f4d3 Continued MySQL/PostgreSQL store provider refactoring
Refactored, renamed, removed storage related code.

Basic smoke test passed for PostgreSQL whilst fully working on MySQL variants as per usual.
2018-09-27 15:14:48 +01:00
HarveyKandola
b455e5eaf5 PostgreSQL prep
Update of vendored SQL libs and refactoring of store provider layer.
2018-09-26 17:59:56 +01:00
Renamed from domain/document/mysql/store.go (Browse further)