eikek
21647e950d
Add docs for merging items
2021-08-16 14:41:56 +02:00
eikek
9478152a94
Switch to search view after successful merge
2021-08-16 14:40:57 +02:00
eikek
a923351b09
Fix item merge when merging tags and text fields
...
Also hard delete the remaining items. They are empty (have no
attachments), because data is moved if possible. Doesn't make much
sense to keep them, because restoring them isn't much useful.
2021-08-16 14:40:52 +02:00
eikek
8099b78b0e
Merge items in webui
2021-08-16 12:55:25 +02:00
eikek
85085ec173
Implement item merge
2021-08-16 12:32:54 +02:00
eikek
22d331f082
Integrate item merge dialog into home page
2021-08-16 12:32:54 +02:00
eikek
14e4a8f792
Fixup for deleting items
...
First, when checking for existence of a file, deleted items are not
conisdered.
The working with fulltext search has been changed: deleted items are
removed from fulltext index and are re-added when they are restored.
The fulltext index currently doesn't hold the item state and it would
mean much more work to introduce it into the index (or, worse, to
reprocess the results from the index). Thus, deleted items can only be
searched using database queries. It is probably a very rare use case
when fulltext search should be applied to deleted items. They have
been deleted for a reason and the most likely case is that they are
simply removed.
Refs: #347
2021-08-15 16:00:30 +02:00
eikek
bc6924fd5d
Show delete/restore buttons conditionally
...
When only trashed items are selected, the "delete" button doesn't make
sense and vice versa.
2021-08-15 12:41:10 +02:00
eikek
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
eikek
ef31c90e34
Fix submitter column of a collective-scoped periodic job
2021-08-14 22:07:56 +02:00
eikek
4562c77152
Fix migration changeset name for h2
2021-08-14 22:07:56 +02:00
eikek
31d885ed79
Refactor user tasks to support collective and user scopes
...
Before, there were periodic tasks run per collective and not user by
making sure that submitter + group are the same value. This is now
encoded in `UserTaskScope` so it is now obvious and errors can be
reduced when using this.
2021-08-14 22:07:56 +02:00
eikek
548dfb9a57
Fix openapi.yml where undefined query parameter
2021-08-14 20:40:04 +02:00
eikek
27fd7a5867
Make sure the empty-trash task is started for all collectives
2021-08-14 20:40:04 +02:00
eikek
50706c3d6d
Add a task implementation to delete items
2021-08-14 19:33:18 +02:00
eikek
4901276c66
Change "empty trash" settings for a collective and submit the job
2021-08-14 19:33:15 +02:00
eikek
828e5cf703
Allow to restore deleted items in webui
2021-08-14 16:50:17 +02:00
eikek
f999662905
Add routes to restore deleted items
2021-08-14 16:48:03 +02:00
eikek
eede20b014
Display deleted items in the webui
...
The card renders a trash can in the top right corner and the detail
page shows a label and also this trash can.
2021-08-14 16:06:55 +02:00
eikek
3f1ff5c1ac
Allow to search in deleted items
2021-08-14 15:35:17 +02:00
eikek
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
eikek
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
eikek
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
eikek
48d13a35fc
Fix search summary to restrict on valid items
2021-08-14 14:09:07 +02:00
eikek
08ce6b5256
Fix path to viewerjs for pdf view
2021-08-13 00:58:13 +02:00
Renovate Bot
51c35bd7dd
Update dependency path-parse to 1.0.7 [SECURITY]
2021-08-12 11:22:06 +00:00
eikek
1901fe1a8c
Adopt deprecated APIs from fs2; use fs2.Path
2021-08-07 17:51:56 +02:00
monnypython
52d601f595
Update Home.elm
2021-08-05 12:45:33 +02:00
monnypython
86515321a8
Update Color.elm
2021-08-05 12:38:01 +02:00
monnypython
5cf69fef6c
Update AddressForm.elm
...
Since organizations do not only exist in cities, "Ort" would probably be the more general term.
2021-08-05 12:28:06 +02:00
eikek
1256a6e8cf
Allo wildcards when searching by attachment ids
2021-07-31 01:23:37 +02:00
eikek
1c3a1cc0dc
Set version to 0.26.0-SNAPSHOT
2021-07-29 23:11:36 +02:00
eikek
fe06cc1e6b
Set version to 0.25.1
2021-07-29 22:53:43 +02:00
eikek
c59d4f8a6d
Add the japanese content field to solr
...
This is a follow up on #961 . It was forgotten when the japanese
language was added.
2021-07-29 22:22:34 +02:00
eikek
e696c06656
Set version to 0.26.0-SNAPSHOT
2021-07-29 18:10:27 +02:00
eikek
17e49f40c7
Set version to 0.25.0
2021-07-29 17:47:53 +02:00
eikek
4af8dd0950
Preprocess japanese texts to find dates
...
Not very efficient, but should work to find the position of dates in
japanese text.
2021-07-29 01:35:15 +02:00
wallace
e8348e2809
Remove excessive spaces
2021-07-29 02:08:48 +03:00
wallace11
1095a7d56f
Add another Japanese test
2021-07-29 01:13:22 +03:00
wallace11
119a4ffdc9
Update Japanese tests with more sensible data
2021-07-29 01:08:48 +03:00
eikek
f994d4b248
Add japanese document language
2021-07-28 20:05:48 +02:00
eikek
09b224b07a
Left align item separator and make it more prominent
...
Refs: #950
2021-07-27 18:10:46 +02:00
eikek
15b15666bf
Allow to use the created timestamp in item queries
...
Refs: 925
2021-07-27 17:33:13 +02:00
eikek
9578dd2b2b
Add route to remove tags for a single item
2021-07-25 23:27:06 +02:00
eikek
3483dfe32e
Fix openapi doc
2021-07-25 22:00:54 +02:00
eikek
fcef52856a
Allow tag ids or tag names when replacing tags
2021-07-25 21:26:22 +02:00
eikek
782ca0fa4f
Remove a deleted item from search results
...
When an item is deleted in detail view, the results must be updated to
reflect the new state. The results are now changed by removing the
corresponding item.
Fixes : #920
2021-07-25 17:35:01 +02:00
eikek
21eb7dad94
Change headers of all elm files
2021-07-25 14:00:11 +02:00
eikek
42b37df6a1
Fix header formatting
2021-07-25 13:57:05 +02:00
eikek
a6c0af93e8
Use more space in sidebar
...
Reduce left and right padding
2021-07-25 13:42:57 +02:00
eikek
912104ce49
Small german corrections
...
Fixes : #901
2021-07-25 13:40:15 +02:00
eikek
eb977ab3a7
Show the number of selected files on upload page
...
Fixes : #896
2021-07-25 13:37:06 +02:00
mergify[bot]
1851c5b7af
Merge pull request #944 from scala-steward/update/tika-core-2.0.0
...
Update tika-core to 2.0.0
2021-07-25 11:18:53 +00:00
Scala Steward
558007235b
Update tika-core to 2.0.0
...
Include new ODF parser from tika-2.0.0
2021-07-25 13:08:18 +02:00
eikek
916217df4f
Make convert-all-pdfs an admin endpoint
2021-07-25 01:25:24 +02:00
eikek
bde8af8d58
Merge branch 'current-docs'
2021-07-17 18:02:31 +02:00
eikek
eeebe750f9
Improve some openapi descriptions
2021-07-17 18:01:18 +02:00
eikek
d95a78f495
Allow to set folder by id or name
2021-07-17 15:10:19 +02:00
eikek
1c0d87527b
Log error when setting folder doesn't work
2021-07-17 15:10:00 +02:00
eikek
cd304bcff7
Improve doc string for some endpoints
2021-07-17 13:09:20 +02:00
eikek
1913877de1
The id must be recreated for each job, obviously
...
Fixes : #938
2021-07-16 21:14:47 +02:00
eikek
280968355e
Improve doc string for some endpoints
2021-07-14 22:32:17 +02:00
eikek
f7eed33545
Return a 404 if a source was not found when checking a file
2021-07-08 21:17:48 +02:00
eikek
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
eikek
8e5c88fd32
Add copyright header to source files
2021-07-04 10:57:53 +02:00
monnypython
4299fcedd8
Update German translations
...
Fixes some typos and replaces "Absenden" with "Speichern" that seems a better fit when saving data (submitting a form) in German.
2021-07-01 22:45:12 +02:00
monnypython
d6f3d7dd6e
Fix typo in German translation
2021-07-01 00:24:43 +02:00
Lucki
159472b37e
Enhance german translation ( #899 )
2021-06-29 17:34:47 +02:00
eikek
ce6f53cc29
Fix next-job query to do round-robin through job groups
2021-06-27 00:04:56 +02:00
eikek
988367a281
Extend query builder to compare results from subselects
2021-06-26 21:12:02 +02:00
eikek
7dcb61ef56
Use old ip checks and fix dev-ui-build script
...
These checks could be improved to not use javas InetAddress. But for
now it should have the same behaviour as before.
2021-06-26 14:43:16 +02:00
Lucki
0bdfcd531d
Improve German translation
2021-06-24 23:10:57 +02:00
eikek
9e552d2ac1
Move webapp related build files into the webapp directory
2021-06-22 23:47:15 +02:00
eikek
02b8078f01
Use fs2 Files api
2021-06-22 23:17:32 +02:00
eikek
bd791b4593
Upgrade code base to CE3
2021-06-22 22:53:34 +02:00
eikek
528ee6ecdc
Set version to 0.25.0-SNAPSHOT
2021-06-18 23:53:50 +02:00
eikek
068281f9a7
Set version to 0.24.0
2021-06-18 22:39:04 +02:00
eikek
4a9ab2c1be
Only update category options if the query selected all tags
...
The tag category is a bit special (sadly). The options are retrieved
by going through the tags. It must not update these, if a query
selects only a subset of tags.
2021-06-16 00:14:35 +02:00
eikek
31c4e14e76
Merge pull request #870 from monnypython/master
...
Some small corrections and ideas for the German translation
2021-06-15 01:20:23 +02:00
monnypython
77cb25bbc4
Update ClassifierSettingsForm.elm
2021-06-14 23:15:03 +02:00
monnypython
22045dcead
Update AttachmentMeta.elm
2021-06-14 23:13:34 +02:00
eikek
e021f06946
Update language dropdown for new data
...
When receiving a new value to display in the form, the language
dropdown was not initialized with the corresponding value.
2021-06-14 21:02:36 +02:00
monnypython
0cc06898fe
Update ScanMailboxForm.elm
2021-06-14 13:32:19 +02:00
monnypython
2f3f5e483e
Update EquipmentManage.elm
2021-06-14 08:05:35 +02:00
monnypython
653ffd9ba5
Update SourceManage.elm
2021-06-13 21:14:55 +02:00
monnypython
36c0fb9ea4
Update UiSettingsForm.elm
2021-06-13 21:12:54 +02:00
monnypython
d93f08a63a
Update SourceManage.elm
2021-06-13 00:36:39 +02:00
monnypython
78fa0920a7
Update SourceForm.elm
...
Line 72: Not sure but i think it sounds a bit better :)
Line 77: What is a glob?
2021-06-13 00:31:19 +02:00
monnypython
77760da156
Update SearchMenu.elm
2021-06-13 00:24:55 +02:00
monnypython
3a0fb82489
Update ScanMailboxForm.elm
...
A long attempt to simplify or shorten nested sentences without affecting the information content:
Line 179: As normal user i don't know what a "Glob" is.
Line 190: "...die hier definiert wird..." --> I think that's redundant. Where else? Or not?
Line 196: ...löschen (falls *kein* Zielordner angegeben ist). --> would actually be enough or?
2021-06-13 00:22:13 +02:00
monnypython
3cdbd8c033
Update OrgTable.elm
...
Is "Typ" better than "Art" or maybe "Verwenden als...."?
2021-06-12 23:44:28 +02:00
eikek
8791326d6a
Fix openapi linter warnings
2021-06-12 21:50:51 +02:00
monnypython
bae27b644b
Update HttpError.elm
2021-06-11 00:20:58 +02:00
monnypython
87f3542a80
Update FolderDetail.elm
2021-06-11 00:19:05 +02:00
monnypython
fe42fb212e
Update EquipmentManage.elm
2021-06-11 00:16:40 +02:00
monnypython
e69ef578a7
Update EquipmentForm.elm
2021-06-11 00:15:15 +02:00
monnypython
fc3da2c197
Update DetailEdit.elm
2021-06-11 00:11:41 +02:00
monnypython
16cbe09fa7
Update CustomFieldInput.elm
2021-06-11 00:06:58 +02:00
monnypython
a204cddef8
Update CustomFieldForm.elm
2021-06-11 00:05:26 +02:00
monnypython
b8d7b643a1
Update CollectiveSettingsForm.elm
2021-06-11 00:02:33 +02:00