Eike Kettner
1ef035f061
Fix hiding tags/fields when corresponding setting exists
2020-11-23 11:20:59 +01:00
Eike Kettner
473985c80e
Filter empty custom field values in webui
2020-11-23 10:47:45 +01:00
Eike Kettner
f8c6d183ed
Don't scroll in preview image
2020-11-23 10:30:24 +01:00
Eike Kettner
6d22bac720
Display custom field values on item card
2020-11-23 10:23:37 +01:00
Eike Kettner
44459aecd0
Fix initialising date fields
2020-11-23 09:43:12 +01:00
Eike Kettner
cdcc8210fe
Throttle customfield update requests
2020-11-23 09:27:05 +01:00
Eike Kettner
7026852123
Indicate saving custom field values
2020-11-23 00:16:50 +01:00
Eike Kettner
bcdb2fc0fe
Show custom field values in item detail header
2020-11-22 23:14:51 +01:00
Eike Kettner
a2e0c23644
Amend search form for custom fields
2020-11-22 21:41:09 +01:00
Eike Kettner
23b343649c
Fix and enhance custom-multi-input field
2020-11-22 21:41:09 +01:00
Eike Kettner
c5ab663091
Allow a comma and a point for money values
2020-11-22 21:41:09 +01:00
Eike Kettner
bb19e02c66
Ui improvements
...
- don't show custom fields in edit menu if there are none. This
reduces load of ui elements. The first custom field must be created in
manage-data page.
- Add more validation to the money type
2020-11-22 21:41:09 +01:00
Eike Kettner
ff30ed5558
Add custom fields to multi-edit form
2020-11-22 21:41:09 +01:00
Eike Kettner
76647d132f
Show custom field values in detail view
2020-11-22 21:41:09 +01:00
Eike Kettner
1ee36cef8f
Add fields when clicking in the dropdown
...
Remove the additional button
2020-11-22 21:41:09 +01:00
Eike Kettner
cc6db61a3a
Allow to create fields when editing items
2020-11-22 21:41:09 +01:00
Eike Kettner
4059ef31c1
Allow providing values for custom fields in item detail
2020-11-22 21:41:09 +01:00
Eike Kettner
e90f65f941
Manage custom fields in webui
2020-11-22 21:41:09 +01:00
Eike Kettner
f8634a5098
Use js pdf renderer for file view when settings tell so
2020-11-15 01:13:13 +01:00
Eike Kettner
063c9895dd
Fix table layout and notification form
...
The styling is broken if th elements are outside a tr. The
notification form had the same problem as the scan-mailbox form
reported in #382
2020-11-15 00:09:29 +01:00
Eike Kettner
46dbdd2625
Fix css when hovering a blue card
2020-11-14 13:42:30 +01:00
Eike Kettner
b98edba9e5
Click on tag in item detail to switch to search
2020-11-14 13:16:35 +01:00
Eike Kettner
fe8c122968
Switch to search by clicking on correspondent/concerned in detail
2020-11-14 12:57:38 +01:00
Eike Kettner
cf578a88d3
Make item detail header a link list
2020-11-14 12:11:04 +01:00
Eike Kettner
e2545de347
Make item-detail and item-light consistent in field naming
...
This changes the public structure for an "item-light" as returned in
search results. It makes unifying things easier if both names are the
same.
2020-11-14 11:37:50 +01:00
Eike Kettner
23391ef41c
Refactor link-target in a separate module
2020-11-14 11:32:19 +01:00
Eike Kettner
4b700fb249
Indicate on a card that multi-select mode is active
2020-11-14 11:03:22 +01:00
Eike Kettner
ee6b54006c
Fix reset search for content-only and provide it on top bar
2020-11-14 10:41:20 +01:00
Eike Kettner
795cd8bc80
Set search when clicking on parts of the item card
...
When user clicks on correspondent etc. on an item card, the search is
set to this value.
2020-11-14 01:45:10 +01:00
Eike Kettner
faf97222ea
Make resetting search form more efficient
...
Instead of reloading the whole menu, only empty the fields.
2020-11-14 01:45:10 +01:00
Eike Kettner
b1d0ae0cc8
Expose clicks on item cards
2020-11-14 01:45:10 +01:00
Eike Kettner
ec5b822e09
Add subject-filter to scan-mailbox-form
2020-11-13 23:15:20 +01:00
Eike Kettner
2f9e0a8214
Use more prominent indication when an item is selected
...
Downside to this approach is that the item card is not accessible when
selected.
2020-11-13 01:54:19 +01:00
Eike Kettner
8950cc4dc9
Improve item card
2020-11-13 01:18:45 +01:00
mergify[bot]
e5ce1fd45f
Merge pull request #437 from eikek/upload-improvements
...
Upload improvements
2020-11-12 22:58:08 +00:00
Eike Kettner
75c1c5b7f4
Add tags and file-filter settings to scan-mailbox form
2020-11-12 22:37:37 +01:00
Eike Kettner
04ba14f802
Amend source form with tags and file-filter
...
Allow to define tags and a file filter per source.
2020-11-12 22:37:28 +01:00
Eike Kettner
ed26fe226b
Split item card it several functions
2020-11-10 22:25:25 +01:00
Eike Kettner
976aa75710
Move card size definition in css and fix height bug
...
For very tall images (sometimes shopping receipts), the height must be
restricted, too.
2020-11-09 21:36:17 +01:00
Eike Kettner
de00b46e5d
Move searchbar to the right
2020-11-09 17:12:06 +01:00
Eike Kettner
89646ef3f6
Hide number of pages, if item is only one file with one page
2020-11-09 17:06:44 +01:00
Eike Kettner
7a14b05ea7
Enhance item card displaying current file and number of pages
2020-11-09 17:04:56 +01:00
Eike Kettner
848c245db6
Change the card link to only use the main content
...
The card is no longer a link itself. The main target is moved to be
the content (the area containing the title and tags). This is in
preparation of upcoming changes: if the whole card is a link, it
cannot contain other links, due to a restriction by html. Later a card
may have more links to provide.
2020-11-09 14:36:58 +01:00
Eike Kettner
67e8994aec
Use attachment preview urls
...
This changes the preview urls to use the concrete attachment ids. This
way browsers have it easier to switch the preview image when the
attachment position is changed.
2020-11-09 14:29:52 +01:00
Eike Kettner
5906c705c9
Allow the user to choose between 3 preview sizes
2020-11-09 09:40:21 +01:00
Eike Kettner
8c8788bc69
Provide fallback image for previews
2020-11-09 09:00:03 +01:00
Eike Kettner
30682fbecc
Document the re-generate all previews endpoint
2020-11-09 09:00:03 +01:00
Eike Kettner
f4e50c5229
Provide endpoints to submit tasks to re-generate previews
...
The scaling factor can be given in the config file. When this changes,
images can be regenerated via POSTing to certain endpoints. It is
possible to regenerate just one attachment preview or all within a
collective.
2020-11-09 09:00:02 +01:00
Eike Kettner
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
Eike Kettner
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