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

341 commits

Author SHA1 Message Date
HarveyKandola
470e2d3ecf Move over to Go embed directive 2021-08-18 19:39:51 -04:00
HarveyKandola
66fcb77d8b Improve user management 2020-11-29 20:31:20 -05:00
sauls8t
813f270a9d Update schema for new pinned documents 2020-02-03 21:01:11 +00:00
HarveyKandola
d4edcb8b2c Show default category indicator to admins
Fixes #339
2019-11-15 16:38:56 +00:00
HarveyKandola
f117e91bcb Specify default categories for new documents
Closes #339

All new documents will be assigned default categories.

Documents created from templates that already have categories take precedence.
2019-11-15 14:51:52 +00:00
sauls8t
6629d76453 Add covering indexes to support super-size deployments
Resolves issues for enterprise customers with tonnes of data in these SQL tables:

- dmz_doc
- dmz_section

Multi-tenant compliant.
2019-09-14 13:04:56 +01:00
sauls8t
5004e5a85e Enable Full-text Search when using SQL Server 2016+ 2019-09-11 19:08:53 +01:00
HarveyKandola
b826852137 Moved from Dep to Go Modules
We have finally dropped go dep and moved over to go mod !

During the move, some dependencies have been bumped.
2019-09-06 11:06:28 +01:00
HarveyKandola
3621e2fb79 Install helps docs as part of onboarding process
Our own docs are installed as sample data!

Refactored search reindexing code.
2019-06-24 17:01:56 +01:00
sauls8t
4d2f30711c Accept activation key during setup process
Enterprise edition only.
2019-06-19 12:46:05 +01:00
sauls8t
ef5e4db298 Link comments doc sections + threaded replies
Allow for comments to be related to doc sections.

Enable one-level replies to comments.

closes #240
2019-06-07 19:44:06 +01:00
sauls8t
8ab3cbe7e8 Support any name database
Closes #264
2019-05-10 16:38:19 +01:00
sauls8t
34d1639899 Look for implicit documize.conf
@harveykandola

Now looks for implicit documize.conf, then specified .conf, then fallback to flags and envars.
2019-04-28 14:54:48 +01:00
sauls8t
1fefdaec9f Add comments 2019-04-27 17:11:58 +01:00
sauls8t
8f1bc8ce1f Specify runtime parameters in TOML format config file
In addition to specifying parameters in the command line and environment variables, you can now omit all parameters and provide a config file.

Example:

./documize myconfig.conf

Note: there is no switch setting, just provide the filename as an argument.

Fixes #243
2019-04-27 16:59:10 +01:00
Harvey Kandola
728789195c PDF section type build prep
Closes #207 -- view PDF's with new PDF section type.
2019-04-19 13:18:31 +01:00
Harvey Kandola
166aeba09b [WIP] PDF viewer section & per section attachments 2019-04-17 17:13:18 +01:00
sauls8t
1da49974cb Improve reverse proxy support
Should address edge cases and close #224 -- subject to field testing.

Does require the NGINX deployments use the following:

proxy_pass <http://documize-url:5001>;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
2019-04-11 14:45:36 +01:00
Harvey Kandola
2ddd7ada9b Make storage providers generate row limit clause 2019-04-04 12:08:57 +01:00
Harvey Kandola
e98f7b9218 Enable searching for SQL Server storage provider 2019-04-02 15:30:42 +01:00
Harvey Kandola
a41f43c380 WIP SQL Server support 2019-04-01 20:08:57 +01:00
Harvey Kandola
64403c402b Make store SQL Server compatible 2019-04-01 12:02:23 +01:00
Harvey Kandola
9ec858286f Create tables
Script to create tables with correct data types in SQL Server 2016 and above.

Search table not included.
2019-03-29 16:42:49 +00:00
Harvey Kandola
deb579d8ad Microsoft SQL Server driver and prep 2019-03-26 08:51:02 -04:00
McMatts
f062005946 Introduce transaction isolation customization
Search related indexing transactions requires better TX begin/commit.

New helpers provide TX isolation control.
2019-03-08 15:50:55 +00:00
McMatts
f3e66b73c1 Increase size of space icon column in DB
Fixes #194
2019-02-05 20:23:26 +00:00
Harvey Kandola
659eb99c0f Remove redundant logging dependency 2019-01-09 11:04:23 +00:00
McMatts
90aa9710a6 Develop PostgreSQL migration scripts 2019-01-07 12:40:47 +00:00
McMatts
a211ba051a Per space label, icon, description
Labels introduce visual grouping and filtering of spaces.
2019-01-04 16:33:30 +00:00
McMatts
09635b67ab Experimental TX refactoring 2018-11-16 19:13:41 +00:00
McMatts
73d91a2dae Ensure Backup/Restore process activation keys 2018-11-16 19:13:18 +00:00
sauls8t
1d8bb2d3ad Add experimental string to timestamp for backup/restore 2018-11-12 20:25:30 +00:00
Harvey Kandola
d1b803b246 PRovide basic in-app purchase/renewal flow 2018-11-05 19:48:50 +00:00
Harvey Kandola
e116d3b000 Subscription checks 2018-10-29 16:53:54 +00:00
sauls8t
f950075593 Remove redundant code 2018-10-23 13:46:38 +01:00
sauls8t
db04057d9e Enable in-app backup/restore for global/tenants
Re-mapping of ORG and USER ID values ensures conflict-free merging.

Version numbers bumped.

Co-Authored-By: Harvey Kandola <harvey@documize.com>
2018-10-19 12:40:45 +01:00
Harvey Kandola
391c143483 Change RefID field size from 16 to 20 with updated algo
Xid dependency updated.

Moved to 20 length ID values.

Added new revision number to version and meta information. Revision number is timestamp format.
2018-10-04 21:03:47 +01:00
Harvey Kandola
c5476d99e9 Replace all SQL bool 0/1 to true/false
For more consistent database provider support.
2018-10-01 18:23:32 +01:00
sauls8t
075060d11c Implemented per database provider DATE INTERVAL queries 2018-10-01 13:31:22 +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
HarveyKandola
d0e005f638 Jira connector improvements and PostgresSQL schema 2018-09-24 18:53:01 +01:00
HarveyKandola
a9e12f3b4c Ensure installer process supports new database schema 2018-09-23 16:14:05 +01:00
Harvey Kandola
3ea6ae3c37 Make Sitemap & Robots.txt use new schema 2018-09-20 09:31:06 +01:00
Harvey Kandola
4f0cc2f616 Make API work with new schema 2018-09-19 16:03:29 +01:00
Harvey Kandola
28342fcf5e [WIP] new schema implementation 2018-09-18 20:55:40 +01:00
Harvey Kandola
9c2594b1b4 New schema implementation 2018-09-17 18:00:00 +01:00
Harvey Kandola
4f525bd634 [WIP] Schema refactor
Necessary work ahead of PostgresSQL and MS SQL Server support.
2018-09-17 15:31:22 +01:00
Harvey Kandola
09de686fcf Generic support for populating empty database 2018-09-14 18:17:05 +01:00