Commit Graph

370 Commits

Author SHA1 Message Date
eikek
b51b782c73 Apply formatting fixes 2022-08-07 16:31:09 +02:00
eikek
d9485355e9 Fix websocket frame to user mapping 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
3fc72cedac Allow to skip login page if a single oidc provider is configured 2022-07-08 17:09:56 +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
7b535e59a6 Fix starting a background task to install an addon 2022-06-17 22:37:50 +02:00
eikek
3d58cffada Remove search feature flag 2022-06-11 21:14:25 +02:00
eikek
aeeb54fcc3 Remove unused column in item 2022-06-11 13:03:14 +02:00
eikek
4d79badc2d Fix logging warn->debug 2022-06-11 12:40:16 +02:00
eikek
7ce6bc2f9d Remove unused code (search update) 2022-06-05 23:27:59 +02:00
eikek
6063ccef3a Return 400 when input is invalid instead of server error 2022-06-04 19:08:38 +02:00
eikek
b50f57f7fe Send no fts query if it is disabled 2022-06-04 01:36:15 +02:00
eikek
78b19a0940 Remove obsolete endpoint
Search by index is the same as a search with only a `content:`
expression.
2022-05-31 20:15:39 +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
42435c693a Add a db type for db specific things 2022-05-28 17:19:33 +02:00
eikek
50edf13f94 Include limit-capped flag with search response
The server defines a `limit` value and search requests are capped to
this limit if their requested value exceeds it. If this happens it is
now returned with the search response (clients can print a warning).

Closes: #1358
2022-05-26 22:24:56 +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
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
eikek
9851b71c45 Fix documentation about fulltext search 2022-04-24 18:34:22 +02:00
eikek
46f65b10ad Log server options 2022-04-14 22:03:29 +02:00
eikek
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
eikek
21e13341e3 Configure postgres fts backend 2022-03-21 11:05:03 +01:00
eikek
1e56e832da Reformat code 2022-03-21 11:04:26 +01:00
eikek
fef00bdfb5 Some basic tests and config 2022-03-21 11:04:26 +01:00
eikek
029335e607 Working poc of postgresql based fulltext search backend 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
57bcea7ae3 Allow to configure some http server details 2022-03-19 00:22:15 +01:00
eikek
e3ed0ba24d Use temporary files when receiving large data 2022-03-18 23:57:36 +01:00
eikek
232baf5858 Add routes to link items 2022-03-16 23:56:59 +01:00
moerfi
a6e79a32a8 Change scanRecursively to an Option field 2022-03-15 21:52:54 +01:00
moerfi
39f2f8cc1b Add a recursive mail folder scan option to ScanMailboxTask 2022-03-15 21:52:54 +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
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
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
c812ea1009 Store files in different binary stores 2022-03-12 12:18:58 +01:00
eikek
d3ef4b6166 Moved route definitions in RestApp 2022-03-12 12:18:36 +01:00
eikek
a3569598d8 Minor improvements
- use a one-line log format
- load templates only once
- fixed typos
- fix reset timezone in ui settings
- hide bookmarks headline if there are none
2022-03-02 22:22:54 +01:00