Commit Graph

281 Commits

Author SHA1 Message Date
eikek
83ad2c5044 First sketch for custom data threaded through item processing
Refs: #2334
2023-11-13 16:45:30 +01:00
Vít Šesták
6dd30035f3 Setting item date from addons (#2345) 2023-11-07 09:06:16 +01:00
Rehan Mahmood
2a39b2f6a6 Updated following dependencies as they need changes to the code to work properly:
- Scala
- fs2
- http4s
2023-10-31 14:24:00 -04:00
eikek
3718442e29 Fix notifications for collective scoped tasks 2023-03-06 16:46:31 +01:00
eikek
f146511928 Improve error reporting when a file cannot be stored
Fixes logging the error (the effect was not evaluated before) and also
distinguishes this case from having no files in the request.

Closes: #1976
2023-03-04 22:04:34 +01:00
eikek
8ae4c9ec78 Allow to authenticate with the same account from different sources
A new config allows to treat an account same independent where it was
created (openid or local).

Issue: #1827 #1781
2022-11-04 23:29:10 +01:00
eikek
14643ae4d1 Improve error messages when using oidc with an existing account
If an account was created before locally (by signing up at docspell)
and the same account is later tried to signin via openid, a better
error message is shown in the logs to be able to act on it. The user
won't see any details in the webapp.

Issue: #1827 #1781
2022-11-04 22:34:55 +01:00
eikek
b51b782c73 Apply formatting fixes 2022-08-07 16:31:09 +02:00
eikek
ae4c49027f Refactor scala base db migrations. Add marker trait for task args 2022-08-07 16:26:04 +02:00
eikek
816cca7ea2 Adopt joex to new collective-id 2022-08-07 16:26:04 +02:00
eikek
eabcffe71a Adopt restserver to new collective-id 2022-08-07 16:26:04 +02:00
eikek
53d92c4a26 Adopt backend to collective-id 2022-08-07 16:26:04 +02:00
eikek
77f22bb5ea Adopt store module to new collective table 2022-08-07 16:26:04 +02:00
eikek
508ad5bc03 Create external accounts independent from signup config
Refs: #1619, #1621
2022-07-07 15:28:59 +02:00
eikek
2e5ad4960b Add a state parameter to oidc flow
Refs: #1619
2022-07-07 15:22:26 +02:00
eikek
ea6320e359 Use uid as foreign key in rememberme 2022-06-27 23:28:45 +02:00
eikek
5c66fdda3a Fail addon validation when joex cannot be reached 2022-06-18 16:53:13 +02:00
eikek
6cef9d4f07 Improve performance of zip/unzip
Adds tests and includes some cleanup
2022-06-18 16:39:57 +02:00
eikek
42588593f3 Dependency updates 2022-06-14 23:52:43 +02:00
eikek
4d79badc2d Fix logging warn->debug 2022-06-11 12:40:16 +02:00
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