Commit Graph

105 Commits

Author SHA1 Message Date
e39ddc7c17 Rename column 'value' to 'value_'
In sql 'value' is a reserved word and should not be used (unless
quoted). Postgresql and MariaDB are ok with it, but the new version of
h2 is now complaining.
2022-08-12 16:34:56 +02:00
aac6f69ea2 Update h2 and flyway
Sadly it is necessary to fix an existing changeset for H2.
2022-08-12 16:34:51 +02:00
66265d8455 Migrate file_id columns 2022-08-07 16:26:04 +02:00
35882fce84 Refactor collective table to use artificial primary key 2022-08-07 16:26:04 +02:00
ea6320e359 Use uid as foreign key in rememberme 2022-06-27 23:28:45 +02:00
aeeb54fcc3 Remove unused column in item 2022-06-11 13:03:14 +02:00
1611df81ed Add more indexes 2022-06-11 12:40:46 +02:00
7fdd78ad06 Experiment with addons
Addons allow to execute external programs in some context inside
docspell. Currently it is possible to run them after processing files.
Addons are provided by URLs to zip files.
2022-05-15 23:46:43 +02:00
8a2fed47aa Increase size for passwords
Closes: #1508
2022-04-11 10:55:06 +02:00
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
f2a2d15e7f Add missing fixup changesets 2022-03-21 10:28:21 +01:00
ae845dfe3b Fix previously published db migration 2022-03-19 14:20:25 +01:00
232baf5858 Add routes to link items 2022-03-16 23:56:59 +01:00
55700992c2 Migrate file ids
Issue: #1379
2022-02-15 22:20:12 +01:00
23cb34a6ff Manage notification channels separately and migrate
It's more convenient to manage notification channels separately, as it
is done with email settings. Notification hook and other forms are
adopted to only select channels. Hooks can now use more than one
channel.
2022-01-19 21:57:30 +01:00
d41490dd88 Add a name to notification channels
This name is supposed to be used by users to distinguish multiple channels.
2022-01-17 18:10:59 +01:00
7aebc1ccdf Add priority to gotify channel
Closes: #1277
2022-01-12 20:59:24 +01:00
cf92550de4 Fix mariadb migration 2022-01-10 15:28:02 +01:00
ccb4df5bd7 Prevent duplicate bookmark names 2022-01-10 00:41:07 +01:00
9415f72ec0 Instead of client only, make bookmarks a server aware feature
Makes it much more useful
2022-01-09 23:58:57 +01:00
706cfaeb05 Introduce table to store client settings per collective 2022-01-08 12:38:14 +01:00
4ffc8d1f14 Add support for more generic notification
This is a start to have different kinds of notifications. It is
possible to be notified via e-mail, matrix or gotify. It also extends
the current "periodic query" for due items by allowing notification
over different channels. A "generic periodic query" variant is added
as well.
2021-12-11 18:57:32 +01:00
b79ac5fbad Add missing db migrations for h2 and mariadb 2021-11-20 15:24:23 +01:00
501c6f2988 Updating stanford corenlp to 4.3.2; adding more languages
There are models for Spanish, that have been added now. Also the
Hungarian language has been added to the list of supported
languages (for tesseract mainly, no nlp models)
2021-11-20 14:31:39 +01:00
7b8afe8371 Make internal endpoints available to nodes only 2021-11-08 00:13:02 +01:00
d483d9f176 Initial naive pubsub impl generalising from current setup 2021-11-05 01:05:24 +01:00
2ac0b84e52 Link shares to the user, not the collective
The user is required when searching because of folders (sadly), so the
share is connected to the user.
2021-10-24 01:41:18 +02:00
c7d587bea4 Basic management of shares 2021-10-23 14:33:24 +02:00
f74624485f Allow to manage passwords for a collective 2021-09-30 10:35:38 +02:00
20a829cf7a Refactoring for migrating to binny library 2021-09-22 14:18:43 +02:00
aef56233a5 Add a new column to distinguish local from external users 2021-09-05 21:38:14 +02:00
3a5ef62715 Add missing sql changesets 2021-09-01 00:57:03 +02:00
309a52393a Initial impl for totp 2021-08-31 16:45:39 +02:00
a5a8c2553b Add indexes to better support certain queries 2021-08-29 00:38:12 +02:00
993a391c13 Add the attachment-only option to a source
The upload request can now contain a boolean for importing only
attachments when e-mails are uploaded. This option is now also added
to a source url.

Refs: #983
2021-08-23 14:19:11 +02:00
90421599ea Fix storing empty-trash task
It was wrongly stored using RPeriodicTask directly, but the higher
level `UserTask` must be used instead, because this ensures a
correctly scoped periodic task using the `updateOneTask` method. Since
this is a system task, it can be given a fixed ID which makes it now
safe even if stored using RPeriodicTask directly.

The bug resulted in multiple empty-trash tasks to be inserted (on each
restart).

Refs: #347
2021-08-20 00:25:25 +02:00
f4a2b86ea8 Use a minimum age of items to remove
In order to keep deleted items for a while, the periodic task can now
use a duration to only remove items with a certain age. This can be
used to ensure that a deleted item stays at least X days before it
will be removed from the database.

Refs: #347
2021-08-15 12:32:50 +02:00
ef31c90e34 Fix submitter column of a collective-scoped periodic job 2021-08-14 22:07:56 +02:00
4562c77152 Fix migration changeset name for h2 2021-08-14 22:07:56 +02:00
4901276c66 Change "empty trash" settings for a collective and submit the job 2021-08-14 19:33:15 +02:00
3ee0846e19 Remove fts_migration table
It is now stored it SOLR instead.
2021-06-07 17:53:47 +02:00
25788a0b23 Add routes for storing/retrieving client settings 2021-05-27 21:34:05 +02:00
c36073b852 Allow to give human readable summary to user tasks 2021-03-27 22:13:13 +01:00
177488817d Fix h2 migration
Using java source code obviously requires `javac` during migration.
2021-03-13 16:38:48 +01:00
2e443bc9b9 Fix mariadb migration 2021-03-13 15:52:38 +01:00
0229a867af Add a use colum to metadata entities 2021-03-10 23:55:18 +01:00
1c834cbb77 Correctly compare numeric field values 2021-03-03 22:54:55 +01:00
7ef3185659 Add language to a source
Allows to define upload urls for different languages.
2021-02-18 23:34:42 +01:00
d7bc963450 Cleanup nodes that are not reachable anymore 2021-02-18 00:37:18 +01:00
5181283b1b Add a short-name to organizations 2021-02-17 22:55:35 +01:00