Commit Graph

299 Commits

Author SHA1 Message Date
Eike Kettner
936177a910 Allow to add remaining metadata in item edit view 2020-06-11 22:52:30 +02:00
Eike Kettner
363eb81aff Add remaining routes to create and update item meta data 2020-06-11 22:28:31 +02:00
Eike Kettner
a4d60c0d92 Add correspondent organizations in item edit view 2020-06-11 22:11:58 +02:00
Eike Kettner
c6accca0ff Add route to create and associate correspondent org 2020-06-11 22:11:58 +02:00
Eike Kettner
459647f83f Add new tags in item detail view 2020-06-11 21:52:10 +02:00
Eike Kettner
f407f08ed3 Add a route to add a new tag and associate it to an item 2020-06-11 21:51:42 +02:00
Eike Kettner
d440247857 Change modify item routes to use http put 2020-06-09 23:20:58 +02:00
Eike Kettner
80131522de Use same limit for searchable dropdowns 2020-06-09 22:57:21 +02:00
Eike Kettner
a3b482fa13 Fix some icons 2020-06-09 21:10:49 +02:00
Eike Kettner
3ad9b24c2c Use a better way to select a color 2020-06-08 21:48:27 +02:00
Eike Kettner
4c832dba35 Fix search on initial page load
It must now wait until ui-settings have been provided.
2020-06-08 01:17:19 +02:00
Eike Kettner
e8c3edfd23 Add pdf-preview checkbox to ui settings 2020-06-08 01:13:26 +02:00
Eike Kettner
1dd84c11bd Apply tag colors from settings 2020-06-08 00:54:47 +02:00
Eike Kettner
1cd65b7b7c Store tag category colors in ui settings 2020-06-07 22:16:40 +02:00
Eike Kettner
f4e37b512f Add input field to provide colors for tag categories 2020-06-07 21:42:11 +02:00
Eike Kettner
5b2b2eceb3 Show tags in item list view
Also set default page size down to 60.
2020-06-07 15:43:46 +02:00
Eike Kettner
1d2a6e6caa Add endpoint to search for items and return their tags
This is a more expensive query, since the tags must be resolved per
item. This is now implemented by doing additional queries while
caching each resolved tag.
2020-06-07 15:18:28 +02:00
Eike Kettner
79fc5a30a1 Introduce ui settings and let user set page size for item search 2020-06-07 00:51:11 +02:00
Eike Kettner
6abdb95f02 Reformatting 2020-06-06 20:52:23 +02:00
Eike Kettner
77e8a51acd Fix updating item list when there are no results 2020-06-06 15:15:53 +02:00
Eike Kettner
071ab60a5c Remove i_date query binding 2020-06-06 15:15:29 +02:00
Eike Kettner
d5819eab35 Fix offset/limit clause for mariadb
MariaDB wants first limit and then offset (optionally), postgres
doesn't care.
2020-06-06 11:13:33 +02:00
Eike Kettner
b150269528 Add a load-more button to item list 2020-06-06 11:05:15 +02:00
Eike Kettner
e5b90eff34 Allow client to load items in batches 2020-06-06 11:05:15 +02:00
Eike Kettner
062618bf86 Fix typos in documentation 2020-06-03 23:50:48 +02:00
Eike Kettner
2efb0210af Authorize first on integration route 2020-05-28 07:33:14 +02:00
Eike Kettner
4e0d95a213 Allow to check availability of the integration endpoint 2020-05-27 23:55:45 +02:00
Eike Kettner
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
Eike Kettner
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
Eike Kettner
5679ac4858 Remove references to pdf in the doc
It's not only for pdf files anymore.
2020-05-27 00:44:04 +02:00
Eike Kettner
3d902c3273 Add a docker image for watching a directory 2020-05-25 19:43:06 +02:00
Eike Kettner
f33c2a2293 Set version to 0.7.0-SNAPSHOT 2020-05-25 17:58:05 +02:00
Eike Kettner
9caa074657 Set version to 0.6.0 2020-05-25 17:29:57 +02:00
Eike Kettner
e882b87f15 Update changelog and small doc fixes 2020-05-25 17:29:50 +02:00
Eike Kettner
50a4b5ccb9 Hide delete button on new form 2020-05-25 17:03:31 +02:00
Eike Kettner
4b0eb650f2 Rename package to avoid name clashes 2020-05-25 16:22:09 +02:00
Eike Kettner
56624515a5 ScalafmtAll 2020-05-25 13:56:06 +02:00
Eike Kettner
2e88207ff1 Post process all extracted text
Removes 0 bytes and leading/trailing whitespace
2020-05-25 13:56:06 +02:00
Eike Kettner
4e22361985 Documentation updates 2020-05-25 09:52:19 +02:00
Eike Kettner
ee394eae86 Try streamline the different impls for MimeType 2020-05-25 09:24:24 +02:00
Eike Kettner
81a1b7af0b Make the current drop target visible 2020-05-24 17:48:02 +02:00
Eike Kettner
90e039ceb3 Change attachments position via drag-and-drop 2020-05-24 17:30:25 +02:00
Eike Kettner
3cb738568f Allow to change position of attachments 2020-05-24 17:30:25 +02:00
Eike Kettner
6807ce4d2f Move utility functions into a Util file 2020-05-24 15:58:09 +02:00
Eike Kettner
bcd13bed94 Show information on what files to upload 2020-05-24 15:13:30 +02:00
Eike Kettner
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
Eike Kettner
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
Eike Kettner
4e49c78e72 Change some log levels of item processing task 2020-05-24 12:54:35 +02:00
Eike Kettner
973847807f Update add item view with upload progress info 2020-05-24 11:48:49 +02:00
Eike Kettner
24caba1457 Refactor UploadRoutes to remove duplicate code 2020-05-24 11:48:49 +02:00