Commit Graph

358 Commits

Author SHA1 Message Date
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
eikek
f22f0150e8 Set samesite=strict for all cookies 2022-02-27 22:57:31 +01:00
eikek
8103e25e32 Set default log format to fancy 2022-02-23 23:26:22 +01:00
Scala Steward
ece6b0354f Update yamusca-circe, yamusca-core to 0.9.0 2022-02-22 22:34:51 +01:00
eikek
8b42708db2 Remove old log stuff 2022-02-19 22:01:49 +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
4f9c91d6af Reordered some routes due to a change in http4s
Upstream ticket http4s#5959
2022-01-29 18:33:06 +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
73f47d7be3 Replace viewerjs with pdfjs viewer
The pdfjs distribution contains a standalone viewer already.
2022-01-20 00:16:39 +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
76ad708111 Update sbt-openapi-schema plugin to 0.9.0 2022-01-17 17:53:31 +01:00