Commit Graph

285 Commits

Author SHA1 Message Date
42435c693a Add a db type for db specific things 2022-05-28 17:19:33 +02:00
3764f9265b Configure run/repair db migrations
Refs: #1517
2022-05-22 00:07:36 +02:00
47bd6cd0ba Fail fast when multiple addons are run 2022-05-21 00:40:26 +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
5bdf728eb3 Improve logging configuration
- Log levels of specific loggers can be defined in the config
  file (doesn't work with env variables)

- Log events of background tasks carry now additional data
2022-04-30 18:26:19 +02:00
9851b71c45 Fix documentation about fulltext search 2022-04-24 18:34:22 +02:00
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
21e13341e3 Configure postgres fts backend 2022-03-21 11:05:03 +01:00
1e56e832da Reformat code 2022-03-21 11:04:26 +01:00
fef00bdfb5 Some basic tests and config 2022-03-21 11:04:26 +01:00
029335e607 Working poc of postgresql based fulltext search backend 2022-03-21 11:04:26 +01:00
b2add008ed Pass language when updating fulltext index 2022-03-21 11:04:26 +01:00
892b3cdcfd Return results for empty trash task 2022-03-20 11:51:53 +01:00
0b3fe8eb5c Publish joex from within the job store
Reduces friction when using the job store.
2022-03-20 11:40:44 +01:00
b84bbbd750 Upload zip files contents as independent files 2022-03-20 11:40:25 +01:00
805f57def3 Simplify recursive folder scan with 2022-03-15 21:52:54 +01:00
a6e79a32a8 Change scanRecursively to an Option field 2022-03-15 21:52:54 +01:00
39f2f8cc1b Add a recursive mail folder scan option to ScanMailboxTask 2022-03-15 21:52:54 +01:00
4c220879db Reformat code 2022-03-13 15:20:34 +01:00
90e52efbff Remove store dependency from scheduler api 2022-03-13 15:20:33 +01:00
3a05dc56cb Refactor scheduler into api / impl 2022-03-13 15:20:33 +01:00
69765f05ff Move user task to scheduler module 2022-03-13 15:20:33 +01:00
83d3644b39 Move job queue to scheduler-api and fix notification of periodic tasks 2022-03-13 15:20:33 +01:00
aafd908906 Adopt code to use moved schedule api 2022-03-13 15:20:33 +01:00
cd3db6ea08 Run file integrity check in house keeping tasks 2022-03-13 15:20:33 +01:00
b71085761b Add some docs to file backends 2022-03-13 15:20:33 +01:00
290b4ca58b Provide tasks with ability to return data and human message
To allow better communication from background tasks, tasks can return
not only data (json), but also a human readable message which is send
via notification channels
2022-03-12 12:58:34 +01:00
c1ce0769eb Check file integrity 2022-03-12 12:58:34 +01:00
422c0905dc Add task to copy files 2022-03-12 12:58:28 +01:00
e82b00c582 Use different file stores based on config 2022-03-12 12:19:00 +01:00
c812ea1009 Store files in different binary stores 2022-03-12 12:18:58 +01:00
9545431d59 Allow the user to set time zone
Fix timezone handling for periodic tasks
2022-03-01 23:15:59 +01:00
8103e25e32 Set default log format to fancy 2022-02-23 23:26:22 +01:00
ece6b0354f Update yamusca-circe, yamusca-core to 0.9.0 2022-02-22 22:34:51 +01:00
c80ae83664 Compare zip file exstension case insensitive
Some other filetypes, like office documents, are also zip file. To
distinguish these without unpacking them, the file extensions is
checked.

Fixes: #1365
2022-02-21 20:55:53 +01:00
9eb9497675 Fix logging in tests 2022-02-19 23:33:01 +01:00
8b42708db2 Remove old log stuff 2022-02-19 22:01:49 +01:00
e483a97de7 Adopt to new loggin api 2022-02-19 21:41:38 +01:00
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
19e040b029 Send results from processing documents in the event 2022-02-10 23:37:36 +01:00
d6829ea69b Allow background tasks return results that are included in the event 2022-02-09 23:39:53 +01:00
9a516d95c8 Fix query in periodic query task
It didn't specify to only search in valid items

Fixes: #1323
2022-01-29 18:49:09 +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
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
c79bdad7e4 Rename methods 2022-01-10 15:09:49 +01:00
699cf091e6 Allow bookmarks in periodic query notification 2022-01-10 14:25:20 +01:00
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
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