Commit Graph

247 Commits

Author SHA1 Message Date
21647e950d Add docs for merging items 2021-08-16 14:41:56 +02:00
85085ec173 Implement item merge 2021-08-16 12:32:54 +02:00
f4a2b86ea8 Use a minimum age of items to remove
In order to keep deleted items for a while, the periodic task can now
use a duration to only remove items with a certain age. This can be
used to ensure that a deleted item stays at least X days before it
will be removed from the database.

Refs: #347
2021-08-15 12:32:50 +02:00
548dfb9a57 Fix openapi.yml where undefined query parameter 2021-08-14 20:40:04 +02:00
4901276c66 Change "empty trash" settings for a collective and submit the job 2021-08-14 19:33:15 +02:00
f999662905 Add routes to restore deleted items 2021-08-14 16:48:03 +02:00
edb344314f Use an enum instead of a boolean to differentiate search
It's not very likely to have more modes of search besides normal and
trashed, but got surprised in that way quite often and it's nicer this
way anyways.
2021-08-14 15:11:48 +02:00
a7b74bd5ae Allow to search in soft-deleted items
A new query/request parameter can be used to apply a search to only
soft-deleted items.

The query expression `Trashed` has been introduced which selects only
items with state `Deleted`. This is another option an analog to
`ValidItemStates` (both cannot be used together as they would select
no items). This new query node is not added to the parser, because
users may not use it in their own queries - it must be part of the
"fixed" query so the application can control in which subset to search
(it would otherwise be possible to select any items).
2021-08-14 14:53:05 +02:00
cb777e30c0 Delete items by introducing a deleted state
When deleting items via the http api, they are not deleted anymore but
a new status "Deleted" is set. The collective insights contains now a
count separately for deleted items.
2021-08-14 14:18:03 +02:00
1c3a1cc0dc Set version to 0.26.0-SNAPSHOT 2021-07-29 23:11:36 +02:00
fe06cc1e6b Set version to 0.25.1 2021-07-29 22:53:43 +02:00
e696c06656 Set version to 0.26.0-SNAPSHOT 2021-07-29 18:10:27 +02:00
17e49f40c7 Set version to 0.25.0 2021-07-29 17:47:53 +02:00
9578dd2b2b Add route to remove tags for a single item 2021-07-25 23:27:06 +02:00
3483dfe32e Fix openapi doc 2021-07-25 22:00:54 +02:00
fcef52856a Allow tag ids or tag names when replacing tags 2021-07-25 21:26:22 +02:00
916217df4f Make convert-all-pdfs an admin endpoint 2021-07-25 01:25:24 +02:00
bde8af8d58 Merge branch 'current-docs' 2021-07-17 18:02:31 +02:00
eeebe750f9 Improve some openapi descriptions 2021-07-17 18:01:18 +02:00
d95a78f495 Allow to set folder by id or name 2021-07-17 15:10:19 +02:00
cd304bcff7 Improve doc string for some endpoints 2021-07-17 13:09:20 +02:00
280968355e Improve doc string for some endpoints 2021-07-14 22:32:17 +02:00
1120434cd9 Replace generating preview images with an admin endpoint
It doesn't make much sense to have this per collective, because this
is triggered by an admin after changing the server config file. So it
is now implemented as an admin endpoint that affects all files.
2021-07-04 21:37:34 +02:00
528ee6ecdc Set version to 0.25.0-SNAPSHOT 2021-06-18 23:53:50 +02:00
068281f9a7 Set version to 0.24.0 2021-06-18 22:39:04 +02:00
8791326d6a Fix openapi linter warnings 2021-06-12 21:50:51 +02:00
1fe7b05026 Set next version to 0.24.0-SNAPSHOT 2021-05-29 16:17:45 +02:00
4f03705d88 Set version to 0.23.0 2021-05-29 14:46:28 +02:00
25788a0b23 Add routes for storing/retrieving client settings 2021-05-27 21:34:05 +02:00
037d8e818d Added a route definition to bulk-delete attachments 2021-04-15 17:59:39 +02:00
994e3df597 Fix query for getting tag categoy summary 2021-04-12 13:40:22 +02:00
cb522ee6eb Set version to 0.23.0-SNAPSHOT 2021-04-11 23:36:16 +02:00
1492800be0 Set version to 0.22.0 2021-04-11 22:33:39 +02:00
3e0914ece7 Correctly count tag categories
If multiple tags of the same category are applied to the same item,
just summing tag counts will produce the wrong results as now items
are counted multiple times.
2021-04-11 14:34:44 +02:00
c36073b852 Allow to give human readable summary to user tasks 2021-03-27 22:13:13 +01:00
cc38b850a6 Remove deprecated search routes and some refactoring 2021-03-27 22:13:13 +01:00
7d513dce0b Set version to 0.22.0-SNAPSHOT 2021-03-13 18:09:29 +01:00
39d6f5789a Set version to 0.21.0 2021-03-13 16:57:33 +01:00
76f5ab6c68 Allow to reprocess single and multiple items in the ui 2021-03-12 00:16:19 +01:00
058c31e1f6 Reprocessing now sets metadata to an item if not in state confirmed
When reprocessing an item, the metadat of all *files* are replaced.
This change now also sets some metadat to an item, but only if the
item is not in state "confirmed". Confirmed items are not touched, but
the metadata of the files is updated.
2021-03-12 00:16:19 +01:00
274e433d9d Allow to change use enum for org/equipment 2021-03-10 23:55:18 +01:00
18992ee374 Deprecate search endpoints 2021-03-01 15:31:02 +01:00
dadab0d308 Implement search by query in endpoints 2021-03-01 15:31:02 +01:00
cd2f623773 Set version to 0.21.0-SNAPSHOT 2021-02-19 23:32:10 +01:00
4d3a25a8c1 Set version to 0.20.0 2021-02-19 22:36:55 +01:00
7ef3185659 Add language to a source
Allows to define upload urls for different languages.
2021-02-18 23:34:42 +01:00
5181283b1b Add a short-name to organizations 2021-02-17 22:55:35 +01:00
20ccdda609 Add a notes field to equipments 2021-02-17 22:39:07 +01:00
48eee00c0b Allow person to be correspondent, concerning or both 2021-02-16 22:49:55 +01:00
62f596be35 Set version to 0.20.0-SNAPSHOT 2021-01-25 10:19:00 +01:00