Commit Graph

472 Commits

Author SHA1 Message Date
7b64cdd0c1 Add missing integration-endpoint in openapi spec
This got forgotten to add in openapi, it is already implemented.
2020-05-27 23:40:50 +02:00
6165b6b8c6 Set default value for allowed-ips protection to false
The endpoint is disabled by default, no matter what protection modes
are enabled. If all are disabled, then the endpoint is not
protected (if enabled by an admin). Conversely, if all protection
modes are enabled, they all must succeed.

All protection modes should be off by default, so the user would
choose one. It is confusing, if a user enables one and doesn't realize
that another one is also enabled by default.
2020-05-27 23:30:52 +02:00
5679ac4858 Remove references to pdf in the doc
It's not only for pdf files anymore.
2020-05-27 00:44:04 +02:00
3d902c3273 Add a docker image for watching a directory 2020-05-25 19:43:06 +02:00
f33c2a2293 Set version to 0.7.0-SNAPSHOT 2020-05-25 17:58:05 +02:00
9caa074657 Set version to 0.6.0 2020-05-25 17:29:57 +02:00
e882b87f15 Update changelog and small doc fixes 2020-05-25 17:29:50 +02:00
50a4b5ccb9 Hide delete button on new form 2020-05-25 17:03:31 +02:00
4b0eb650f2 Rename package to avoid name clashes 2020-05-25 16:22:09 +02:00
56624515a5 ScalafmtAll 2020-05-25 13:56:06 +02:00
2e88207ff1 Post process all extracted text
Removes 0 bytes and leading/trailing whitespace
2020-05-25 13:56:06 +02:00
4e22361985 Documentation updates 2020-05-25 09:52:19 +02:00
ee394eae86 Try streamline the different impls for MimeType 2020-05-25 09:24:24 +02:00
81a1b7af0b Make the current drop target visible 2020-05-24 17:48:02 +02:00
90e039ceb3 Change attachments position via drag-and-drop 2020-05-24 17:30:25 +02:00
3cb738568f Allow to change position of attachments 2020-05-24 17:30:25 +02:00
6807ce4d2f Move utility functions into a Util file 2020-05-24 15:58:09 +02:00
bcd13bed94 Show information on what files to upload 2020-05-24 15:13:30 +02:00
4694433e38 Fix attachment positions
It worked for new items, because the implicit offset was 0. when
adding archives to existing items, there are already attachments and
the new attachments are added to the end. This won't work if files are
added concurrently, because there is no quick and reliable way to
determine the offset then.
2020-05-24 15:13:30 +02:00
1dde43e092 Only process attachments in task arguments
When files are added to an item, the attachments already present must
not be "re-processed".
2020-05-24 13:29:38 +02:00
4e49c78e72 Change some log levels of item processing task 2020-05-24 12:54:35 +02:00
973847807f Update add item view with upload progress info 2020-05-24 11:48:49 +02:00
24caba1457 Refactor UploadRoutes to remove duplicate code 2020-05-24 11:48:49 +02:00
f519a8effa Check for an existing item before attempting to add files 2020-05-24 11:48:49 +02:00
075b665c68 Add some more tlds to look for 2020-05-24 11:48:49 +02:00
6501060730 Make notes more prominent. Fix heading in mail form 2020-05-23 20:15:55 +02:00
b8267f60c1 Fix edit notes rendering
It must be outside the iframe tree, to not modify it when it
appears/disappears.
2020-05-23 20:15:55 +02:00
a5ca3b0325 Add routes and upload form to item detail 2020-05-23 20:15:55 +02:00
f4949446e3 Allow to specify an item id to amend files to existing items 2020-05-23 20:15:55 +02:00
25d089da6c Update state and proposals only on invalid items
Invalid items are those that are not ready, and not shown to the user.
When changing metadata, it should only be changed, if the item was not
already shown to the user.
2020-05-23 15:46:24 +02:00
855d4eefa8 Set progress in a linear way between each step 2020-05-23 15:33:58 +02:00
e2fc13673e Merge pull request #129 from eikek/integration-endpoint
Integration endpoint
2020-05-23 15:00:03 +02:00
785cdde1a6 Update documentation 2020-05-23 14:37:12 +02:00
f16632bc7f Allow a collective to disable the integration endpoint 2020-05-23 14:29:24 +02:00
f74f8e5198 Add new way for uploading files to any collective
Applications running next to docspell may want a way to upload files
to any collective for integration purposes. This endpoint can be used
for this. It is disabled by default and can be enabled via the
configuration file.
2020-05-23 14:29:24 +02:00
892002b351 Remove unused routes
The functionality has been implemented in `CheckFileRoutes`.
2020-05-23 10:29:59 +02:00
229baa0719 Fix redirecting / to /app
Before all paths not otherwise handled were redirected, but it should
only be the root path.
2020-05-23 09:58:34 +02:00
4227278bb0 Update documentation 2020-05-23 00:10:07 +02:00
69c46f9f1f Fix date-picker initialization in search menu 2020-05-21 23:27:08 +02:00
920fcf28dd Change webapp to support multiple scan-mailbox tasks 2020-05-21 22:04:45 +02:00
9f9dd6c0fb Change routes for scan-mailbox task to allow multiple tasks per user 2020-05-21 22:04:45 +02:00
743aa9d754 Hide correct list element in item card 2020-05-21 01:02:46 +02:00
4724e691bc Update user info in scan-mailbox form 2020-05-21 00:09:47 +02:00
09b6b1bb05 Improve user-task texts 2020-05-20 22:58:19 +02:00
d9782582d8 Use max-mails setting with higher priority
The `mail-chunk-size` is set to its configured value or `max-mails`
whichever is lower.
2020-05-20 22:44:29 +02:00
c0259dba7e Allow to enable debug flag for javamail 2020-05-20 22:15:25 +02:00
2858d6b853 Notify job executors at the end of the task 2020-05-20 19:44:45 +02:00
31a1abf395 Add server limits to importing mails task 2020-05-20 17:52:38 +02:00
f2d67dc816 Initial impl of import from mailbox user task 2020-05-20 17:52:38 +02:00
451a09dda0 Allow to skip joex notification on uploads 2020-05-20 17:52:38 +02:00