Commit Graph

23 Commits

Author SHA1 Message Date
c29ce73dd0 Client settings per collective and user
Client settings can be stored at the user and and the collective. The
settings used in the application are merged from these two settings,
where any user setting takes precedence. The form can now manage both
variants.

Refs: #838
2022-01-29 10:11:25 +01:00
cf933b60a7 Encode ws messages as JSON 2021-11-11 23:54:37 +01:00
3e58d97f72 Add websockets and notify frontend when an item is processed 2021-11-06 21:32:30 +01:00
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
8f23b68587 Add a qr code to the link of an item or attachment 2021-08-18 00:20:27 +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
e406718cb7 Add a way to migrate settings stored at the browser to the server 2021-05-27 21:34:05 +02:00
9ccc3ce438 Store and load client settings 2021-05-27 21:34:05 +02:00
9f76357879 Add api functions for getting/setting client settings 2021-05-27 21:34:05 +02:00
c6032ff279 Check query in client 2021-03-08 00:46:31 +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
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
ad110b2a05 Replace js code with proper elm using elm-scroll package 2020-09-14 23:35:21 +02:00
3852c69da1 Scroll to the current item when going back from detail
The list view now supports an item id that will be scrolled to and is
highlighted with a shadow. When going back from detail view this is
now used to scroll to the currently viewed item.
2020-09-14 21:57:14 +02:00
dbd27057d1 Improve source view and add qrcode for urls
The qr-code for urls is added so that these urls are easy to copy into
a phone. Then buttons for copying them into the clipboard have been
added.
2020-08-03 23:58:41 +02:00
1cd65b7b7c Store tag category colors in ui settings 2020-06-07 22:16:40 +02:00
79fc5a30a1 Introduce ui settings and let user set page size for item search 2020-06-07 00:51:11 +02:00
b150269528 Add a load-more button to item list 2020-06-06 11:05:15 +02:00
c504a3df42 Fix elm-analyse issues 2020-01-29 20:56:14 +01:00
2001cca88b Using elm-format for all files 2019-12-29 21:55:12 +01:00
831cd8b655 Initial version.
Features:

- Upload PDF files let them analyze

- Manage meta data and items

- See processing in webapp
2019-09-21 22:02:36 +02:00
6154e6a387 Initial application stub 2019-09-21 14:54:03 +02:00