Commit Graph

261 Commits

Author SHA1 Message Date
eikek
5d612f6ca1 Use backticks instead of scaladoc link 2022-06-06 13:18:37 +02:00
eikek
7ce6bc2f9d Remove unused code (search update) 2022-06-05 23:27:59 +02:00
eikek
b50f57f7fe Send no fts query if it is disabled 2022-06-04 01:36:15 +02:00
eikek
66aab0c952 Refactoring 2022-05-31 23:15:04 +02:00
eikek
e47396182d Fix obvious things and add search summary 2022-05-31 19:56:45 +02:00
eikek
1266cdefe1 Prepare for new search logic with feature toggle 2022-05-30 22:45:46 +02:00
eikek
4ce64d2841 Fix detecting addons from zip file
Also set the default to `collectOutput` where it would parse the
output of an addon.
2022-05-27 22:44:05 +02:00
eikek
7b281a0162 Enable/disable user task based on addon run config 2022-05-26 10:39:38 +02:00
eikek
6c57077d68 Fixes related to addons
- Fix applying new-items from addon results
- Notify joex when a scheduled addon is updated
2022-05-23 23:28:54 +02:00
eikek
3764f9265b Configure run/repair db migrations
Refs: #1517
2022-05-22 00:07:36 +02:00
eikek
29a5894884 Refresh item after addon is done 2022-05-21 00:40:26 +02:00
eikek
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
eikek
ab56d3706c Fix validation 2022-04-29 22:16:54 +02:00
eikek
0d8666491a Allow an auth token to carry a specific validity 2022-04-29 21:02:17 +02:00
eikek
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
eikek
1e56e832da Reformat code 2022-03-21 11:04:26 +01:00
eikek
b2add008ed Pass language when updating fulltext index 2022-03-21 11:04:26 +01:00
eikek
0b3fe8eb5c Publish joex from within the job store
Reduces friction when using the job store.
2022-03-20 11:40:44 +01:00
eikek
b84bbbd750 Upload zip files contents as independent files 2022-03-20 11:40:25 +01:00
eikek
37b5a4dfef Select linked items from search page
- Quickly select related items from the search view
- Include related items with item details to spare another request
2022-03-19 18:31:45 +01:00
eikek
232baf5858 Add routes to link items 2022-03-16 23:56:59 +01:00
eikek
1874ac070f Fix executing collective user tasks now 2022-03-16 23:56:59 +01:00
eikek
8d5fc7f9da Move scheduler queries into the new module 2022-03-16 23:56:59 +01:00
eikek
4c220879db Reformat code 2022-03-13 15:20:34 +01:00
eikek
3a05dc56cb Refactor scheduler into api / impl 2022-03-13 15:20:33 +01:00
eikek
69765f05ff Move user task to scheduler module 2022-03-13 15:20:33 +01:00
eikek
83d3644b39 Move job queue to scheduler-api and fix notification of periodic tasks 2022-03-13 15:20:33 +01:00
eikek
aafd908906 Adopt code to use moved schedule api 2022-03-13 15:20:33 +01:00
eikek
c1ce0769eb Check file integrity 2022-03-12 12:58:34 +01:00
eikek
422c0905dc Add task to copy files 2022-03-12 12:58:28 +01:00
eikek
e82b00c582 Use different file stores based on config 2022-03-12 12:19:00 +01:00
eikek
e483a97de7 Adopt to new loggin api 2022-02-19 21:41:38 +01:00
eikek
553b1fa249 Add a file-repository for better organizing files
Docspell now must use a new api for accessing files.

Issue: #1379
2022-02-15 22:20:06 +01:00
eikek
14a413e787 Update channel names when retrieving user tasks
Usertasks hold their arguments in an opaque json structure that is not
connected to the other data at the db level. When loading tasks that
holds references (like channels) they could have changed in the
meantime. This is now a hacky way around that updates the channels
when loading. Should they be deleted, the tasks fails when running.
2022-01-30 17:09:52 +01:00
eikek
e1a8b9b121 Use collective settings for shares 2022-01-29 17:36:18 +01:00
eikek
1ca64f09d1 Add route to get settings for a share
Returns the client settings of the creator.
2022-01-29 10:11:54 +01:00
eikek
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
eikek
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
eikek
8a4471343c Fix personal/non-personal when updating bookmarks 2022-01-16 00:31:59 +01:00
eikek
7aebc1ccdf Add priority to gotify channel
Closes: #1277
2022-01-12 20:59:24 +01:00
eikek
699cf091e6 Allow bookmarks in periodic query notification 2022-01-10 14:25:20 +01:00
eikek
ccb4df5bd7 Prevent duplicate bookmark names 2022-01-10 00:41:07 +01:00
eikek
54a4e6efee Fix formatting 2022-01-09 23:58:57 +01:00
eikek
9415f72ec0 Instead of client only, make bookmarks a server aware feature
Makes it much more useful
2022-01-09 23:58:57 +01:00
eikek
a50a0a9a1a Bookmark queries scoped to user or collective 2022-01-08 22:42:48 +01:00
eikek
706cfaeb05 Introduce table to store client settings per collective 2022-01-08 12:38:14 +01:00
eikek
3a642ee01e Fix sending notification mails from background tasks
When looking up the mail settings, a valid user id must be given.
2021-12-22 17:57:26 +01:00
eikek
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
eikek
4176b6bc64 Publish event when a waiting job is removed
Fixes: #1182
2021-11-18 21:52:11 +01:00
eikek
0651db9901 Make publish async, replace joexclient in periodic job scheduler 2021-11-16 22:55:37 +01:00