Commit Graph

799 Commits

Author SHA1 Message Date
eikek
fcb25637d3 Improve new job count bubble 2021-11-13 20:39:40 +01:00
eikek
0cb2bde160 Improve e-mail input field
Closes: #987
2021-11-13 00:21:04 +01:00
eikek
ee2a4aaaf0 Fix button names in scanmailboxform
Closes: #1147
2021-11-12 23:42:37 +01:00
eikek
28b4546607 Hide sidebar by default on small devices
Closes: #1169
2021-11-12 23:21:51 +01:00
eikek
7a8527f821 Indicate number of running jobs in tob nav
Issue: #1069
2021-11-12 22:01:30 +01:00
eikek
cf933b60a7 Encode ws messages as JSON 2021-11-11 23:54:37 +01:00
eikek
62d02d75b4 Show a message when a new document arrived 2021-11-07 17:14:02 +01:00
eikek
8ae314bead Fix websocket initialization 2021-11-07 00:40:43 +01:00
eikek
42767e7732 Refresh home page on item-process event 2021-11-06 23:35:43 +01:00
eikek
3e58d97f72 Add websockets and notify frontend when an item is processed 2021-11-06 21:32:30 +01:00
eikek
8811fe40da Fix date picker css in home page 2021-10-27 01:34:27 +02:00
eikek
3f71985b64 Hide menu in share detail when not usable 2021-10-25 17:24:20 +02:00
eikek
c21d4c4508 Fix share manage for new shares 2021-10-25 15:14:47 +02:00
eikek
c2d54cebb5 Fix postcss-purgecss dependency 2021-10-24 14:45:19 +02:00
eikek
208f7e6445 Update npm packages 2021-10-24 12:53:41 +02:00
eikek
99f3be9c0d Allow simple search on share page 2021-10-24 02:06:27 +02:00
eikek
28993e27e5 Dropdown cc and bcc recipients in mail form 2021-10-24 01:41:18 +02:00
eikek
f5bb85c61e Improve share email form 2021-10-24 01:41:18 +02:00
eikek
eaccb60732 Fix date field background for sidebar and main content 2021-10-24 01:41:18 +02:00
eikek
6696aba481 Show user shares when asking to delete user 2021-10-24 01:41:18 +02:00
eikek
2ac0b84e52 Link shares to the user, not the collective
The user is required when searching because of folders (sadly), so the
share is connected to the user.
2021-10-24 01:41:18 +02:00
eikek
9009ebcb39 Prefill share mail form
To have access to the translated content, the messages must be given
to the update function. There is no way to set the values in the view.
2021-10-23 14:33:24 +02:00
eikek
16ccddab9f Add mail form when creating shares 2021-10-23 14:33:24 +02:00
eikek
09242fddb2 Fix swapped translation 2021-10-23 14:33:24 +02:00
eikek
40aa2d4102 Use powersearch input element in share form 2021-10-23 14:33:24 +02:00
eikek
fe77f7245a Fix navbar link for anonymous 2021-10-23 14:33:24 +02:00
eikek
7cbdf919f4 Show item detail for a shared item 2021-10-23 14:33:24 +02:00
eikek
f25d40b493 First simple item detail version for a share 2021-10-23 14:33:24 +02:00
eikek
f216c472ee Detect how to display pdf files
Closes: #1099
2021-10-23 14:33:24 +02:00
eikek
b6187bb88d Outline share detail page 2021-10-23 14:33:24 +02:00
eikek
c62b8526be View attachments from a share 2021-10-23 14:33:24 +02:00
eikek
4ad90b76b4 Fix tag menu when restricting results
When search results are restricted in a share view, tags may disappear
and thus the tags from the beginning need to be kept.
2021-10-23 14:33:24 +02:00
eikek
813797756c Extend search stats to fully populate search menu
Refs: #856
2021-10-23 14:33:24 +02:00
eikek
e961a5ac10 Use search stats to populate search menu 2021-10-23 14:33:24 +02:00
eikek
7b0f378558 Refactor to allow internal card links into search menu
Also allows to exchange the preview-url in the item card
2021-10-23 14:33:24 +02:00
eikek
83dd675e4f Basic search view for shares 2021-10-23 14:33:24 +02:00
eikek
97922340d9 Share page skeleton 2021-10-23 14:33:24 +02:00
eikek
aa21e7a74c Create shares from search and select view 2021-10-23 14:33:24 +02:00
eikek
189009325e Update tailwind to 2.2.16 2021-10-23 14:33:24 +02:00
eikek
c7d587bea4 Basic management of shares 2021-10-23 14:33:24 +02:00
eikek
f74624485f Allow to manage passwords for a collective 2021-09-30 10:35:38 +02:00
Renovate Bot
af1d8962de Update dependency postcss-cli to v9 2021-09-24 19:43:19 +00:00
eikek
d8b272a407 Fix styles for secondary button and dimmer 2021-09-23 17:37:05 +02:00
eikek
e31107eb49 Require a otp to disable 2fa 2021-09-23 09:27:44 +02:00
eikek
bbfc5b56d8 Document TOTP 2021-09-23 09:27:44 +02:00
Renovate Bot
844c453864 Update dependency ansi-regex to 5.0.1 [SECURITY] 2021-09-23 02:43:56 +00:00
Renovate Bot
489ef310f3 Update dependency nth-check to 2.0.1 [SECURITY] 2021-09-23 02:00:09 +00:00
eikek
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
eikek
a94aeff75c Add ui for showing data to be deleted for a user 2021-09-08 20:57:10 +02:00
eikek
e89b571ab2 Add a route to show what is deleted 2021-09-08 20:57:10 +02:00
eikek
736968b049 Fix adding a new user and don't allow to add non-local users
The user structure must provide the correct account source now.
2021-09-08 20:57:10 +02:00
eikek
468ba90158 Fix OTP authentication for external accounts 2021-09-06 01:07:31 +02:00
eikek
984dda9da0 Add OpenID support to webapp 2021-09-05 23:43:07 +02:00
eikek
aef56233a5 Add a new column to distinguish local from external users 2021-09-05 21:38:14 +02:00
eikek
9dfe7f30a0 Remove unused contact kind 2021-09-01 00:57:03 +02:00
eikek
1afc005a6c Adopt login process for two-factor auth 2021-08-31 21:29:07 +02:00
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
Stefan Scheidewig
decae84aec Using SelectViewModel, bulk deletion of item attachments 2021-04-18 18:38:38 +02:00
Stefan Scheidewig
1db5eaf5ee Attachments selectable 2021-04-17 16:43:24 +02:00
Stefan Scheidewig
a9c02e9e88 Prepared multiselect view mode for attachment list 2021-04-17 13:04:30 +02:00
Eike Kettner
9d6e26efb4 Use externalized strings for edit label 2021-04-14 00:11:10 +02:00
Eike Kettner
994e3df597 Fix query for getting tag categoy summary 2021-04-12 13:40:22 +02:00
Eike Kettner
5737eba82d Prepare translating dates 2021-04-12 10:53:34 +02:00
Eike Kettner
f91f4340b8 Fix scanmailbox form layout 2021-04-11 20:38:09 +02:00
Eike Kettner
7b1cbe6435 Use a placeholder string for all dropdowns 2021-04-11 20:37:16 +02:00
Eike Kettner
255fe82005 Hide the language menu in login page when there are no options 2021-04-11 16:55:32 +02:00
Eike Kettner
c2599eda4c Remove un-done translations for German 2021-04-11 16:05:11 +02:00
Eike Kettner
39ed246a42 Use correct category count in search menu 2021-04-11 14:34:44 +02:00
Eike Kettner
5f001b59e5 Show cancelled jobs in queue page 2021-04-11 01:01:32 +02:00
Eike Kettner
c07fd1e61d Make long filenames break within the container 2021-04-10 23:26:28 +02:00
Eike Kettner
e630786104 Move ui language into messages 2021-04-10 16:13:49 +02:00
Eike Kettner
92ae22a68d Externalize more strings missed before 2021-04-10 16:02:34 +02:00
Eike Kettner
7c43fa0874 Reorganize messages to reflect page structure 2021-04-10 00:30:42 +02:00
Eike Kettner
fa2c5750dd Externalize strings in other of components 2021-04-09 23:10:00 +02:00
Eike Kettner
2f678aca17 Externalize strings in detail page 2021-04-09 22:40:03 +02:00
Eike Kettner
1762e7afac Externalize strings for home page 2021-04-05 21:31:45 +02:00
Eike Kettner
9c1beb2240 Externalize strings in usersettings page 2021-04-04 22:07:37 +02:00
Eike Kettner
594818499e Externalize strings in manage-data page 2021-04-04 22:07:37 +02:00
Eike Kettner
8f1380fcf5 Externalize strings in UiSettings page 2021-04-04 22:07:37 +02:00
Eike Kettner
e76d574ea3 Externalize strings for document language 2021-04-02 23:30:51 +02:00
Eike Kettner
dac95e81e6 Remove unused code for search dropdown 2021-04-02 23:16:38 +02:00
Eike Kettner
9a23ba9afb Refactor FixedDropdown 2021-04-02 23:11:54 +02:00
Eike Kettner
8d15d97857 Refactor Dropdown 2021-04-02 22:20:55 +02:00
Eike Kettner
b9c98c6578 Externalize strings in queue page 2021-04-02 11:28:21 +02:00
Eike Kettner
968c8e02b7 Externalize strings in upload page 2021-04-02 11:28:21 +02:00
Eike Kettner
12cad398ac Externalize strings in new-invite page 2021-04-02 11:28:21 +02:00
Eike Kettner
db6198673b Externalize strings in register page 2021-04-02 11:28:21 +02:00
Eike Kettner
ec237a2eaa Externalized strings 2021-04-02 11:28:21 +02:00
Eike Kettner
2b81c72d96 Provide translations for main menu 2021-04-02 11:28:21 +02:00
Eike Kettner
322a3e837c Prepare for selecting languages
UI language is stored in user settings for authenticated users;
otherwise is only stored in the current model (not persisted).
2021-04-02 11:28:21 +02:00
Eike Kettner
9fcab84267 Add icon to fixed dropdown 2021-04-02 11:28:21 +02:00
Eike Kettner
589e136883 Add flag icons 2021-04-02 11:28:21 +02:00
Eike Kettner
c36073b852 Allow to give human readable summary to user tasks 2021-03-27 22:13:13 +01:00
Eike Kettner
63331b6399 Remove unused code 2021-03-27 22:13:13 +01:00
Eike Kettner
ff0b70abfe Fix scrollbar position 2021-03-27 22:13:13 +01:00
Eike Kettner
cc38b850a6 Remove deprecated search routes and some refactoring 2021-03-27 22:13:13 +01:00
Eike Kettner
eb56c605cb Add scrollbars 2021-03-13 14:11:37 +01:00
Eike Kettner
76f5ab6c68 Allow to reprocess single and multiple items in the ui 2021-03-12 00:16:19 +01:00
Eike Kettner
274e433d9d Allow to change use enum for org/equipment 2021-03-10 23:55:18 +01:00
Eike Kettner
0229a867af Add a use colum to metadata entities 2021-03-10 23:55:18 +01:00
Eike Kettner
a4a84abae5 Show errors from failed register request
Also include a `@` in the valid chars for "idents". This allows to use
an e-mail address as username.
2021-03-10 22:14:55 +01:00
Eike Kettner
b95338e744 Remove old ui code in frontend 2021-03-09 20:40:49 +01:00
Eike Kettner
9991ad5fcc Add latvian language 2021-03-09 00:23:17 +01:00
Eike Kettner
77a87782b7 Refactoring parser
- put all used strings in one place to have it easier to track
- don't use `$` for shortcuts, it's a detail not interesting to a
  user; now names must not clash (which is a good idea anyways)
- Added two more shortcuts `conc` and `corr`
2021-03-08 22:51:14 +01:00
Eike Kettner
c6032ff279 Check query in client 2021-03-08 00:46:31 +01:00
Eike Kettner
a48504debb Specificly search for field id vs name 2021-03-02 21:09:31 +01:00
Eike Kettner
b4b5acde13 Enable power search for power users via ui settings
A different search bar is presented if enabled in ui settings that
allows to search via the new query language.
2021-03-01 22:45:17 +01:00
Eike Kettner
889e4f4fb0 SearchMenu uses query string instead of json form 2021-03-01 20:56:23 +01:00
Eike Kettner
dadab0d308 Implement search by query in endpoints 2021-03-01 15:31:02 +01:00
Yumekui
017241bccb
Fix typo 2021-02-22 15:09:10 +00:00
Eike Kettner
07a061febc Make sure certain styles are not stripped by purge-css 2021-02-19 22:36:55 +01:00
Eike Kettner
211499a7e6 Add bottom border to metadata view 2021-02-19 11:17:35 +01:00
Eike Kettner
d819878974 Re-add the button to create new tags in detail view 2021-02-19 11:07:42 +01:00
mergify[bot]
9156e56d65
Merge pull request #651 from eikek/language-source
Add language to a source
2021-02-19 01:30:24 +00:00
Eike Kettner
7ef3185659 Add language to a source
Allows to define upload urls for different languages.
2021-02-18 23:34:42 +01:00
Eike Kettner
70fa57587b Fix setting ui theme for anonymous 2021-02-18 22:02:56 +01:00
Eike Kettner
0e9d8f8794 Fix hover when folder is a drop-target 2021-02-18 00:43:15 +01:00
mergify[bot]
b16166f1e9
Merge pull request #645 from eikek/equipment-description
Equipment description
2021-02-17 22:17:03 +00:00
Eike Kettner
5181283b1b Add a short-name to organizations 2021-02-17 22:55:35 +01:00
Eike Kettner
20ccdda609 Add a notes field to equipments 2021-02-17 22:39:07 +01:00
Eike Kettner
e07d732193 Show item position in detail view 2021-02-17 22:18:22 +01:00
Eike Kettner
a79fa6f74a Add version info back to frontend 2021-02-17 21:54:53 +01:00
Eike Kettner
e177336155 Better align tags in multi-select field 2021-02-17 00:14:06 +01:00
Eike Kettner
4ef1996137 Fix extracted content border 2021-02-17 00:14:06 +01:00
Eike Kettner
33cfd6df6f Hide Load-more button when there is no more 2021-02-17 00:14:06 +01:00
Eike Kettner
29d80adace Ui updates: place result message below buttons 2021-02-17 00:14:06 +01:00
Eike Kettner
48eee00c0b Allow person to be correspondent, concerning or both 2021-02-16 22:49:55 +01:00
Eike Kettner
64bacb665a Show queue counts in side menu 2021-02-15 00:27:55 +01:00
Eike Kettner
07edaaaf5e Try fix attachment selection for firefox
It works great in chromium, in firefox the border is a bit off.
2021-02-15 00:11:37 +01:00
Eike Kettner
9c90d7c4c2 Fix min height of tag area in detail
This avoids "nervous/noisy" ui flickering when changing between items
where one has no tags/fields to show.
2021-02-15 00:10:38 +01:00
Eike Kettner
a10971607e Always show custom field dropdown in detail mode
Even if there are no custom fields define, the control is shown now.
The user can create a new one in this view.
2021-02-14 23:34:18 +01:00
Eike Kettner
dec6148df6 Hide field stats component if there is nothing to show 2021-02-14 23:29:05 +01:00
Eike Kettner
31cb8284a5 Fix formatting icon in top nav bar 2021-02-14 23:22:37 +01:00
Eike Kettner
1dcc3941ed Fix overflowing content in item cards
When displaying long lines this leads to horizontal scrolling the
complete item list.
2021-02-14 23:18:18 +01:00
Eike Kettner
5461321e59 Remove unused styles and prevent postcss from purging relevant ones 2021-02-14 02:20:01 +01:00
Eike Kettner
dd935454c9 First version of new ui based on tailwind
This drops fomantic-ui as css toolkit and introduces tailwindcss. With
tailwind there are no predefined components, but it's very easy to
create those. So customizing the look&feel is much simpler, most of
the time no additional css is needed.

This requires a complete rewrite of the markup + styles. Luckily all
logic can be kept as is. The now old ui is not removed, it is still
available by using a request header `Docspell-Ui` with a value of `1`
for the old ui and `2` for the new ui.

Another addition is "dev mode", where docspell serves assets with a
no-cache header, to disable browser caching. This makes developing a
lot easier.
2021-02-14 01:46:13 +01:00
Eike Kettner
442b76c5af Setup tailwind with docspell build 2021-02-03 21:35:15 +01:00
Eike Kettner
96612e0e59 Refactor scan mailbox form and add flag for post-processing
Mails are filtered once by using an imap search and then by some globs
to filter files and subjects. Imap can search by subject via a
string-contains, but not via globs or patterns (afaik). The subject
filter is applied to all downloaded mail headers. Now for post
processing (moving to some target folder or deleting), it can be
chosen to post-process all "seen" mails or only those that matched all
filters.
2021-01-24 01:46:31 +01:00
Eike Kettner
4cba96f390 Always return classifier results as suggestion
The classifier results are spliced into the suggestion list at second
place. When linking they are only used if nlp didn't find anything.
2021-01-21 21:05:28 +01:00
Eike Kettner
5d366c3bd6 Make labels in classifier settings more clear 2021-01-20 01:05:59 +01:00
Eike Kettner
a6f29153c4 Control what tag categories to use for auto-tagging 2021-01-19 01:20:13 +01:00
Eike Kettner
249f9e6e2a Extend guessing tags to all tag categories 2021-01-18 21:51:45 +01:00
Eike Kettner
3f75af0807 Add 9 more lanugages to the list of document lanugages 2021-01-18 17:41:40 +01:00
Eike Kettner
26dff18ae0 Add spanish as an example
Adding a new language without nlp requires now only to fill out the
pieces:

- define a list of month names to support date recognition
- add it to joex' dockerfile to be available for tesseract
- update the solr migration/field definitions
- update the elm file so it shows up on the client
2021-01-18 17:41:40 +01:00
Eike Kettner
f01646aeb5 Reorganize nlp pipeline and add nlp-unsupported language italian
Improves and reorganizes how nlp pipelines are setup. Now users can
choose from many options, depending on their hardware and usage
scenario.

This is the base to use more languages without depending on what
stanford-nlp supports. Support then is involves to text extraction and
simple regex-ner processing.
2021-01-18 17:41:40 +01:00
Eike Kettner
38ae7a9027 Make source a quick link on card and detail 2021-01-11 21:37:36 +01:00
Eike Kettner
33458766fe Correcty reset search menu when clicking on custom-field quick link 2021-01-11 14:03:23 +01:00
Eike Kettner
7beda302b2 Fix and improve tag search menu
Show also "empty tags", where the count is 0. Before only tags with a
count > 0 were displayed. When searching this is fine, but when using
drag&drop to attach tags to items, it is good to see all. They can be
hidden via a button.

The tags are now ordered by their count descending, but regarding to
the overall count – not the current view. Otherwise the tags are
reordered when clicking on them, which is confusing. Also it then
shows the "more important" (most used) tags first, even when the
result is a subset.

A fix was made related to updating the menu. When coming back from
the detail view where a tag with prior count=0 was associated, the
menu didn't show it, because it relied on a previous state, where this
tag were not included.
2021-01-11 13:01:38 +01:00
Eike Kettner
cbca4d234f Fix scrolling to card
That was broken due to the independent scroll in commit #bcb1b8.
2021-01-09 02:00:01 +01:00
Eike Kettner
cef1c38cc4 Restrict height of job output 2021-01-09 01:49:55 +01:00
Eike Kettner
0abd7dea10 Fix scrolling to top in detail view 2021-01-09 01:16:59 +01:00