Commit Graph

593 Commits

Author SHA1 Message Date
eikek
999c39833a Add user setting page for totp 2021-08-31 21:28:17 +02:00
eikek
cf88f5c2de Allow to specify ordering when retrieving meta data
The query now searches in more fields. For example, when getting a
list of tags, the query is applied to the tag name *and* category.
When listing persons, the query now also looks in the associated
organization name.

This has been used to make some headers in the meta data tables
clickable to sort the list accordingly.

Refs: #965, #538
2021-08-27 23:04:54 +02:00
wallace
589c41003f Add hebrew document language 2021-08-24 01:19:42 +03:00
eikek
993a391c13 Add the attachment-only option to a source
The upload request can now contain a boolean for importing only
attachments when e-mails are uploaded. This option is now also added
to a source url.

Refs: #983
2021-08-23 14:19:11 +02:00
eikek
0a0dd80bdc Add new checkbox to scan mailbox form 2021-08-21 13:49:12 +02:00
eikek
8f23b68587 Add a qr code to the link of an item or attachment 2021-08-18 00:20:27 +02:00
eikek
f1445e797b Highlight search menu tabs that contain data
Refs: #966
2021-08-16 22:13:53 +02:00
eikek
cf10f63af4 Improve main view in home page 2021-08-16 17:00:57 +02:00
eikek
ac0603335f Improve merge items list
Allow to reorder for mobile and remove elements.
2021-08-16 16:00:43 +02:00
eikek
9478152a94 Switch to search view after successful merge 2021-08-16 14:40:57 +02:00
eikek
8099b78b0e Merge items in webui 2021-08-16 12:55:25 +02:00
eikek
22d331f082 Integrate item merge dialog into home page 2021-08-16 12:32:54 +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
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
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
Renovate Bot
51c35bd7dd
Update dependency path-parse to 1.0.7 [SECURITY] 2021-08-12 11:22:06 +00: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
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
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
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
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
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
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
monnypython
60b6ad9663
Update ClassifierSettingsForm.elm
Line 66,67: I think that's a little clearer straight away.
2021-06-10 23:58:29 +02:00
monnypython
32ffa43745
Update CalEventInput.elm
Is "Anstehend" better than "Nächste Zeiten"?
2021-06-10 23:52:34 +02:00
monnypython
f252c9cfcb
Update AttachmentMeta.elm
I think in German one speaks more of "Absender", "Empfänger" and "Unternehmen". Is "Ausstattung" better than "Zubehör"? I think the due date implies the date in German usage. The date could therefore be left out.
Since the equipment is only available from the recipient, in my opinion the recipient could be left out. The position in the sidebar must of course always be arranged under recipient.
2021-06-10 23:49:17 +02:00
eikek
7ec0668f03 Use a single place to create values for bool custom fields 2021-06-10 01:30:53 +02:00
eikek
29cfa035f4 Add boolean custom field immediately with value false
The time the user selects this field it should be pushed to the
server, because the initial value of "false" is a correct value. All
other fields require the user to type something first.
2021-06-10 01:30:53 +02:00
eikek
bf74e3aa23 Don't toggle dropdown on space
Closing the dropdown menu is now possible with ESC. Space will only
open the dropdown, but not close it. So now it's possible to type a
space into the search field.

Fixes: #863
2021-06-09 22:18:18 +02:00
eikek
481d31ee74 Hide content search field when fulltext is not enabled 2021-06-07 21:30:41 +02:00
eikek
206e7842ca Improve label for suggestions when there are none 2021-06-07 10:11:41 +02:00
eikek
6d8bd530cb Fix translation for direction 2021-06-07 10:11:41 +02:00
eikek
d6bff7b2e6 Add German translation for ManageData page 2021-06-07 10:11:41 +02:00
eikek
b6242f8354 Add German translation for UserSettings page 2021-06-07 10:11:41 +02:00
eikek
61f36f69b8 Add German translation for Queue page 2021-06-07 10:11:41 +02:00
eikek
de90b81863 Add German translation for Detail page 2021-06-07 10:11:36 +02:00
eikek
9f07b61a34 Add German translation for Upload page 2021-06-06 22:09:35 +02:00
eikek
32e08e1caa Add German translation for NewInvite page 2021-06-06 22:09:35 +02:00
eikek
6927ca5ec3 Add German translation for Login/Register page 2021-06-06 14:10:56 +02:00
eikek
78938c9980 Add German translation for home page 2021-06-06 13:59:50 +02:00
eikek
fe4f48dd7f Add German translation for collective settings page 2021-06-06 01:05:43 +02:00
Eike Kettner
a90a24c419 Revert "Fix update with current ui settings"
This reverts commit e137b23674.

This change is completely useless. The wrong behaviour was probably
due to some browser cache.
2021-05-29 14:45:36 +02:00
Eike Kettner
e137b23674 Fix update with current ui settings 2021-05-29 00:41:46 +02:00
Eike Kettner
e406718cb7 Add a way to migrate settings stored at the browser to the server 2021-05-27 21:34:05 +02:00
Eike Kettner
5a4f6c0595 Fix tag category color field
The category name was not rendered
2021-05-27 21:34:05 +02:00
Eike Kettner
c0ba211fe7 Externalize string in ui settings form 2021-05-27 21:34:05 +02:00
Eike Kettner
9ccc3ce438 Store and load client settings 2021-05-27 21:34:05 +02:00
Eike Kettner
9f76357879 Add api functions for getting/setting client settings 2021-05-27 21:34:05 +02:00
Eike Kettner
414ffba453 Remove unused code 2021-05-27 21:34:05 +02:00
Eike Kettner
08f280ac1c Fix wrong macro name when running name query
Closes: #822
2021-05-23 14:14:25 +02:00
Eike Kettner
d7bbbd2f96 Remove upload meta form for anonymous uploads
Closes: #758
2021-05-22 21:33:10 +02:00
Eike Kettner
b3c73dafc0 Only show user menu when successfully logged in
Closes: #814
2021-05-22 20:30:05 +02:00
Eike Kettner
f91939ff5b Use a configured placeholde instead of hardcoded string 2021-05-22 20:29:30 +02:00
Eike Kettner
e3053549b3 Extract strings in item detail modals 2021-04-26 22:02:45 +02:00
Eike Kettner
a98211af22 Remove Http.errorToString 2021-04-26 20:06:36 +02:00
Eike Kettner
a39dfbf82a Refactor caleventinput field 2021-04-26 20:06:30 +02:00
Eike Kettner
b2cffb22ef Externalize error messages 2021-04-26 10:00:01 +02:00
Eike Kettner
c9b54e80b7 Remove code from old ui 2021-04-26 10:00:01 +02:00
Eike Kettner
b3c3c783dc Externalize more strings 2021-04-26 10:00:01 +02:00
Stefan Scheidewig
5faf0e5a0e Made viewMode pattern matches exhaustive 2021-04-18 22:31:17 +02:00
Stefan Scheidewig
dd743cf273 Reformatted changed source files with elm-format 2021-04-18 22:27:50 +02:00