Commit Graph

59 Commits

Author SHA1 Message Date
74db2d39a7 Remove unused settings 2022-01-29 17:36:18 +01:00
cb3005211b Permalink for bookmark searches 2022-01-26 21:21:36 +01:00
c38ab3ef82 Rename HomePage to SearchPage 2022-01-26 21:20:34 +01:00
ab2b18e192 Extract tag dropdown into a separate component 2022-01-15 13:26:32 +01:00
f216c472ee Detect how to display pdf files
Closes: #1099
2021-10-23 14:33:24 +02:00
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
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
8f23b68587 Add a qr code to the link of an item or attachment 2021-08-18 00:20:27 +02:00
828e5cf703 Allow to restore deleted items in webui 2021-08-14 16:50:17 +02:00
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
fcef52856a Allow tag ids or tag names when replacing tags 2021-07-25 21:26:22 +02:00
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
21eb7dad94 Change headers of all elm files 2021-07-25 14:00:11 +02:00
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
6d8bd530cb Fix translation for direction 2021-06-07 10:11:41 +02:00
e3053549b3 Extract strings in item detail modals 2021-04-26 22:02:45 +02:00
b2cffb22ef Externalize error messages 2021-04-26 10:00:01 +02:00
5faf0e5a0e Made viewMode pattern matches exhaustive 2021-04-18 22:31:17 +02:00
dd743cf273 Reformatted changed source files with elm-format 2021-04-18 22:27:50 +02:00
decae84aec Using SelectViewModel, bulk deletion of item attachments 2021-04-18 18:38:38 +02:00
1db5eaf5ee Attachments selectable 2021-04-17 16:43:24 +02:00
a9c02e9e88 Prepared multiselect view mode for attachment list 2021-04-17 13:04:30 +02:00
2f678aca17 Externalize strings in detail page 2021-04-09 22:40:03 +02:00
1762e7afac Externalize strings for home page 2021-04-05 21:31:45 +02:00
9c1beb2240 Externalize strings in usersettings page 2021-04-04 22:07:37 +02:00
8d15d97857 Refactor Dropdown 2021-04-02 22:20:55 +02:00
76f5ab6c68 Allow to reprocess single and multiple items in the ui 2021-03-12 00:16:19 +01:00
48eee00c0b Allow person to be correspondent, concerning or both 2021-02-16 22:49:55 +01:00
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
c0d7aba5d5 Improve selecting attachments of an item
Use a list of small thumbnails instead of just names.

Closes: #396
2021-01-09 01:16:59 +01:00
d4470ab5fd Restrict person dropdown options to the associated organization 2020-12-01 23:39:45 +01:00
a6dd71af9f Set an organization to a person in webapp 2020-12-01 23:39:45 +01:00
346d23928d Allow to search in source names in webui 2020-11-30 14:26:10 +01:00
1091a4fbdc Show concerning/correspond person exclusively in dropdowns
Now a person that is not marked as "concerning only" is treated as
"correspondent only". The options of all dropdown fields are now
restricted to those subsets.

Issue: #332
2020-11-27 23:13:37 +01:00
c87163052b Allow to choose from existing tag categories
Also fixes a ui problem with a too long dropdown menu in the small
modal popup when adding tags or custom fields in item detail view.

Issue: #331
2020-11-26 23:53:50 +01:00
44459aecd0 Fix initialising date fields 2020-11-23 09:43:12 +01:00
cdcc8210fe Throttle customfield update requests 2020-11-23 09:27:05 +01:00
7026852123 Indicate saving custom field values 2020-11-23 00:16:50 +01:00
23b343649c Fix and enhance custom-multi-input field 2020-11-22 21:41:09 +01:00
76647d132f Show custom field values in detail view 2020-11-22 21:41:09 +01:00
cc6db61a3a Allow to create fields when editing items 2020-11-22 21:41:09 +01:00
4059ef31c1 Allow providing values for custom fields in item detail 2020-11-22 21:41:09 +01:00
e90f65f941 Manage custom fields in webui 2020-11-22 21:41:09 +01:00
fe8c122968 Switch to search by clicking on correspondent/concerned in detail 2020-11-14 12:57:38 +01:00
cf578a88d3 Make item detail header a link list 2020-11-14 12:11:04 +01:00
2c96590aad First ui view of preview images for items
Users can choose to not show them via ui settings
2020-11-08 15:12:56 +01:00
59dfae6a49 Introduce fomantic-ui, replacing semantic-ui
Replaced semantic-ui with the drop-in replacement fomantic-ui [0]
which is a maintained fork. The fomantic-ui used here is a custom
build [1] of the less-version _without_ google-fonts (css-only). The
javascript part of fomantic-ui is not used, and also jquery could be
dropped now.

[0] https://fomantic-ui.com
[1] https://github.com/eikek/fomantic-slim-default

Issue: #349
2020-11-05 22:44:10 +01:00
183bcf5bec Add ui-settings flag for side menus 2020-10-27 22:35:52 +01:00
5e0eaf419e Fix browser back button to restore scroll state
Removes the url parameter that was used to identify the card to scroll
to and instead use the id from the internal model.
2020-10-18 21:35:42 +02:00
e831d7bdd7 Move attachment tabs into a menu
If multiple attachments are present, the tab menu doesn't show all. So
if there is more than one attachment they can be selected from a menu.
2020-09-26 01:14:56 +02:00