Commit Graph

383 Commits

Author SHA1 Message Date
eikek
81d8b6c9c1 Allow to configure a region for s3 backend
Closes: #2386
2023-11-17 21:27:13 +01:00
eikek
212c10e20a Allow custom json
Refs: #2334
2023-11-13 16:45:30 +01:00
eikek
83ad2c5044 First sketch for custom data threaded through item processing
Refs: #2334
2023-11-13 16:45:30 +01:00
eikek
a9b0c0e086 Fix http server startup
Closes: #2358
2023-11-06 23:43:31 +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
Rehan Mahmood
343d5575e4 Replace http4s-blaze-server with http4s-ember-server. 2023-10-24 17:58:21 -04:00
Rehan Mahmood
438d1653c9 Replace http4s-blaze-client with http4s-ember-client. 2023-10-23 10:03:32 -04: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
df1526e628 Fix deleting users
Can now be deleted by id or login. It was wrongly documented.
2023-02-02 07:58:43 +01:00
eikek
05ed96b2cc Fix querying shares without a name
Fixes: #1840
2022-11-14 12:38:07 +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
643afd1809 Allow to change extracted text of attachments
Closes: #1775
2022-10-31 22:18:19 +01:00
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