Commit Graph

407 Commits

Author SHA1 Message Date
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
8a4471343c Fix personal/non-personal when updating bookmarks 2022-01-16 00:31:59 +01:00
42fb87a432 Remove pubsub entries when shutting down and initialize by uri 2022-01-12 21:18:38 +01:00
7aebc1ccdf Add priority to gotify channel
Closes: #1277
2022-01-12 20:59:24 +01:00
404fb2a37f Allow a custom message part for the periodic query task 2022-01-11 22:50:19 +01:00
42d631876d Remove obsolete code 2022-01-11 21:09:38 +01:00
cf92550de4 Fix mariadb migration 2022-01-10 15:28:02 +01:00
699cf091e6 Allow bookmarks in periodic query notification 2022-01-10 14:25:20 +01:00
ccb4df5bd7 Prevent duplicate bookmark names 2022-01-10 00:41:07 +01:00
54a4e6efee Fix formatting 2022-01-09 23:58:57 +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
1a86fcca78 Enable tests again
They were disabled due to network problems
2021-12-21 19:50:40 +01:00
1ff2af6779 Disable tests due to networking problems 2021-12-21 00:36:43 +01:00
0b606e6b05 Use logfmt for log lines and remove ansi color codes 2021-12-19 22:29:56 +01:00
c21b2cdd29 Update scalafmt to 3.0.8 2021-12-11 22:46:55 +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
20fc9955ba Fix reprocessing to lookup the last used language 2021-11-20 01:34:16 +01:00
fcb25637d3 Improve new job count bubble 2021-11-13 20:39:40 +01:00
7a8527f821 Indicate number of running jobs in tob nav
Issue: #1069
2021-11-12 22:01:30 +01:00
cf933b60a7 Encode ws messages as JSON 2021-11-11 23:54:37 +01:00
7b8afe8371 Make internal endpoints available to nodes only 2021-11-08 00:13:02 +01:00
f38d520a1d Hooking the new pubsub impl into the application 2021-11-06 01:44:06 +01:00
d483d9f176 Initial naive pubsub impl generalising from current setup 2021-11-05 01:05:24 +01:00
6696aba481 Show user shares when asking to delete user 2021-10-24 01:41:18 +02: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
9eb2f9c6fe Implement binary routes for shares 2021-10-23 14:33:24 +02:00
813797756c Extend search stats to fully populate search menu
Refs: #856
2021-10-23 14:33:24 +02:00
e961a5ac10 Use search stats to populate search menu 2021-10-23 14:33:24 +02:00
f4596db63d Authorize share access 2021-10-23 14:33:24 +02:00
4ef9d6c3ff Add expired flag to share details 2021-10-23 14:33:24 +02:00
c7d587bea4 Basic management of shares 2021-10-23 14:33:24 +02:00
de1baf725f Generate a query string given an expression
Initialize share record and improve tests.
2021-10-23 14:33:24 +02:00
aa8f3b82fc Use passwords when reading PDFs 2021-09-30 11:48:59 +02:00
f74624485f Allow to manage passwords for a collective 2021-09-30 10:35:38 +02:00
071f4067bf Use existing mimetype detection when storing files 2021-09-23 14:10:24 +02:00
1761526e20 Simplify MimeType class and parse mimetypes in a more lenient way 2021-09-23 14:10:24 +02:00
9013f2de5b Update scalafmt settings 2021-09-22 17:23:24 +02:00
20a829cf7a Refactoring for migrating to binny library 2021-09-22 14:18:43 +02:00
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
506e9a0c36 Move sent mails when merging items
Fixes: 1055
2021-09-08 22:29:34 +02:00
736968b049 Fix adding a new user and don't allow to add non-local users
The user structure must provide the correct account source now.
2021-09-08 20:57:10 +02:00
8df235e9db Delete the user along its data 2021-09-08 20:57:10 +02:00
3650a7d20c Make sure DML statements use the correct logger
It also seems to be necessary now to add the space in the `WHERE`.
Normally, the `fr` interpolator would add spaces….
2021-09-08 20:56:18 +02:00
7edb96a297 Register external accounts
This creates the account if it doesn't exist yet; otherwise it's a
noop. Only valid for non-local accounts.
2021-09-05 21:38:14 +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