Commit Graph

1467 Commits

Author SHA1 Message Date
eikek
f22f0150e8 Set samesite=strict for all cookies 2022-02-27 22:57:31 +01:00
eikek
aa7fd5d504 Update tailwindcss 2022-02-27 22:56:53 +01:00
eikek
834ce7773c Select item in detail view 2022-02-27 22:56:53 +01:00
eikek
adcfe10460 Add selection to search menu 2022-02-27 22:56:53 +01:00
eikek
63e0258db7 Store item selection globally 2022-02-27 22:56:53 +01:00
mergify[bot]
203788c746
Merge pull request #1420 from eikek/ui-improvements
UI improvements
2022-02-27 00:09:25 +00:00
eikek
96bcb11e7d Fix input field updates
Issue: #1340, #1299
2022-02-27 00:55:06 +01:00
eikek
79d58fe320 Sort tags by category and then name
Issue: #1396
2022-02-27 00:55:06 +01:00
eikek
dcd8267d6e Improve detail view on small screens 2022-02-25 22:47:49 +01:00
eikek
cab2fc7997 Provide more vertical space beneath direction dropdown
When openening the dropdown, it requires to scroll to see the options
which is inconvenient.

Fixes: #1400
2022-02-24 21:51:14 +01:00
eikek
3545426582 Filter out empty tag categories in search menu
Fixes: #1402
2022-02-24 21:41:34 +01:00
eikek
b664b5771d Fixes in dashboard table view
- The first tag was rendered with slightly higher height than the rest
- Columns between first and last are hidden on small screens
- Use `break-all` to break all words if necessary without trying to
  keep whole words
2022-02-23 23:26:22 +01:00
eikek
8103e25e32 Set default log format to fancy 2022-02-23 23:26:22 +01:00
eikek
e616fde9b7 Fix logger configuration 2022-02-23 22:48:00 +01:00
mergify[bot]
1d62ead55b
Merge pull request #1411 from scala-steward/update/scribe-3.8.0
Update scribe, scribe-slf4j to 3.8.0
2022-02-22 22:20:10 +00:00
eikek
0c56549736 Adopt to new scribe version 2022-02-22 22:40:00 +01:00
Scala Steward
ece6b0354f Update yamusca-circe, yamusca-core to 0.9.0 2022-02-22 22:34:51 +01:00
eikek
79d29229ae Add more breakpoints and increase card column count
Refs: #1401
2022-02-21 22:52:39 +01:00
eikek
c80ae83664 Compare zip file exstension case insensitive
Some other filetypes, like office documents, are also zip file. To
distinguish these without unpacking them, the file extensions is
checked.

Fixes: #1365
2022-02-21 20:55:53 +01:00
eikek
99329805ad Always log to stdout 2022-02-20 00:15:43 +01:00
eikek
9eb9497675 Fix logging in tests 2022-02-19 23:33:01 +01:00
eikek
8b42708db2 Remove old log stuff 2022-02-19 22:01:49 +01:00
eikek
e483a97de7 Adopt to new loggin api 2022-02-19 21:41:38 +01:00
eikek
6442771270 Add a new module to take care of logging
It is based on outr/scribe; mainly providing a json log format and
much easier configuration.
2022-02-19 02:31:26 +01:00
Henning Häcker
7d60cce769 fix typo 2022-02-17 21:18:13 +01:00
eikek
55700992c2 Migrate file ids
Issue: #1379
2022-02-15 22:20:12 +01:00
eikek
553b1fa249 Add a file-repository for better organizing files
Docspell now must use a new api for accessing files.

Issue: #1379
2022-02-15 22:20:06 +01:00
eikek
19e040b029 Send results from processing documents in the event 2022-02-10 23:37:36 +01:00
eikek
d6829ea69b Allow background tasks return results that are included in the event 2022-02-09 23:39:53 +01:00
Renovate Bot
c79460f260 Update dependency @fortawesome/fontawesome-free to v6 2022-02-07 23:22:46 +00:00
eikek
55fe9d7882 Set version to 0.33.0-SNAPSHOT 2022-02-07 00:07:45 +01:00
eikek
64c03927aa Set version to 0.32.0 2022-02-06 23:32:51 +01:00
eikek
1b4443c83e Update some node packages 2022-02-05 18:11:53 +01:00
eikek
d67b063735 Fix updating queue page 2022-01-30 17:39:34 +01:00
eikek
14a413e787 Update channel names when retrieving user tasks
Usertasks hold their arguments in an opaque json structure that is not
connected to the other data at the db level. When loading tasks that
holds references (like channels) they could have changed in the
meantime. This is now a hacky way around that updates the channels
when loading. Should they be deleted, the tasks fails when running.
2022-01-30 17:09:52 +01:00
mergify[bot]
151646bba2
Merge pull request #1329 from eikek/fix/periodic-query-scope
Fix query in periodic query task
2022-01-29 18:04:10 +00:00
eikek
9a516d95c8 Fix query in periodic query task
It didn't specify to only search in valid items

Fixes: #1323
2022-01-29 18:49:09 +01:00
eikek
4f9c91d6af Reordered some routes due to a change in http4s
Upstream ticket http4s#5959
2022-01-29 18:33:06 +01:00
eikek
e8afdf71f4 Table ui tweak 2022-01-29 17:36:18 +01:00
eikek
040100f992 Keep form state after save 2022-01-29 17:36:18 +01:00
eikek
e4527400ca Remove more unused client code 2022-01-29 17:36:18 +01:00
eikek
74db2d39a7 Remove unused settings 2022-01-29 17:36:18 +01:00
eikek
e1a8b9b121 Use collective settings for shares 2022-01-29 17:36:18 +01:00
eikek
3710f525d1 Use share ui settings 2022-01-29 10:12:15 +01:00
eikek
1ca64f09d1 Add route to get settings for a share
Returns the client settings of the creator.
2022-01-29 10:11:54 +01:00
eikek
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
eikek
d0248c530b Wrap tag columns in query boxes 2022-01-28 00:21:42 +01:00
eikek
00b65f664d Fix sorting of tags in search menu
The order of tags is based on their overall counts and doesn't change
when tag association changes (due drag and drop) or the search.
2022-01-28 00:03:41 +01:00
mergify[bot]
b701d25c77
Merge pull request #1320 from eikek/dashboard
Dashboard
2022-01-26 22:40:40 +00:00
eikek
c83f3564b3 Fix formatting 2022-01-26 23:26:06 +01:00
eikek
e6477a04b6 Dashboard updates 2022-01-26 21:27:31 +01:00
eikek
3ff7e255b4 Save and load dashboards 2022-01-26 21:27:31 +01:00
eikek
e83bf6b750 Editable dashboard 2022-01-26 21:27:26 +01:00
eikek
2c2b34cd89 Readonly dashboard 2022-01-26 21:22:51 +01:00
eikek
67f1575707 Create upload component 2022-01-26 21:22:35 +01:00
eikek
370679daed Some predefined boxes for a dashboard 2022-01-26 21:22:20 +01:00
eikek
0337be98f9 Outline dashboard model 2022-01-26 21:21:55 +01:00
eikek
cb3005211b Permalink for bookmark searches 2022-01-26 21:21:36 +01:00
eikek
631450cb16 Add some static links to the dashboard 2022-01-26 21:21:19 +01:00
eikek
e6775f77dc Dashboard page template 2022-01-26 21:21:01 +01:00
eikek
c38ab3ef82 Rename HomePage to SearchPage 2022-01-26 21:20:34 +01:00
eikek
e847b58692 Fix initializing new fields from given data 2022-01-23 10:09:49 +01:00
eikek
0c56c3b46a Fixing typo in version
This should fix nightly builds. Build script changed to be more compatible.
2022-01-23 01:06:00 +01:00
Renovate Bot
c1147a4c85 Update dependency nanoid to 3.1.31 [SECURITY] 2022-01-22 10:30:56 +00:00
eikek
73f47d7be3 Replace viewerjs with pdfjs viewer
The pdfjs distribution contains a standalone viewer already.
2022-01-20 00:16:39 +01:00
eikek
23cb34a6ff Manage notification channels separately and migrate
It's more convenient to manage notification channels separately, as it
is done with email settings. Notification hook and other forms are
adopted to only select channels. Hooks can now use more than one
channel.
2022-01-19 21:57:30 +01:00
eikek
d41490dd88 Add a name to notification channels
This name is supposed to be used by users to distinguish multiple channels.
2022-01-17 18:10:59 +01:00
eikek
76ad708111 Update sbt-openapi-schema plugin to 0.9.0 2022-01-17 17:53:31 +01:00
eikek
4aee69b6ee Set version to 0.32.0-SNAPSHOT 2022-01-16 13:48:23 +01:00
eikek
0d1d093c59 Set version to 0.31.0 2022-01-16 13:18:33 +01:00
eikek
8a4471343c Fix personal/non-personal when updating bookmarks 2022-01-16 00:31:59 +01:00
eikek
7b4300ee2f Add quick-select for tag categories above dropdown
Closes: #960
2022-01-15 18:52:46 +01:00
eikek
ab2b18e192 Extract tag dropdown into a separate component 2022-01-15 13:26:32 +01:00
eikek
348fd50297 Improve selecting tags in the dropdown a bit
This is some low hanging fruit, related to #573, #960. At least we see
now the category and the filter is applied to it as well.
2022-01-14 23:49:08 +01:00
eikek
bc1ec90b6e Allow subsampling when generating preview images
This cuts down considerably when high-dpi images are provided in pdfs.
The test file, scanned with 600dpi resulting in a 5.4M pdf file
contains a 9900x13800 image. This image is loaded into memory in order
to scale it down by PDFBox. This easily results in out of memory
errors (this image requires already ~400M). With subsampling the size
is reduced at most by a factor of 8. Still recommended to avoid large
dpi image-only scans for text based documents or increase the heap
size for joex.
2022-01-13 00:04:50 +01:00
eikek
42fb87a432 Remove pubsub entries when shutting down and initialize by uri 2022-01-12 21:18:38 +01:00
mergify[bot]
02790ba8e7
Merge pull request #1279 from eikek/gotify-priority
Add priority to gotify channel
2022-01-12 20:17:11 +00:00
eikek
7aebc1ccdf Add priority to gotify channel
Closes: #1277
2022-01-12 20:59:24 +01:00
eikek
bafb930877 Fix preview css when switching between tile and list
Closes: #1261
2022-01-12 19:23:20 +01:00
mergify[bot]
5f10798e86
Merge pull request #1274 from eikek/feature/email-content
Feature/email content
2022-01-11 22:06:20 +00:00
eikek
404fb2a37f Allow a custom message part for the periodic query task 2022-01-11 22:50:19 +01:00
eikek
dd9937740a Allow notification templates to fail
Templates were hardcoded. To make them dynamic, errors must be handled.
2022-01-11 21:49:39 +01:00
eikek
42d631876d Remove obsolete code 2022-01-11 21:09:38 +01:00
eikek
648a81bcdb Disable "group by month" option when there is only one group
When fulltext search is used, there only is one group. It also doesn't
make much sense when there is just one month group as well.
2022-01-11 18:33:26 +01:00
eikek
379c016aa2 Fix deleting periodic query tasks 2022-01-11 00:48:53 +01:00
eikek
cf92550de4 Fix mariadb migration 2022-01-10 15:28:02 +01:00
eikek
c79bdad7e4 Rename methods 2022-01-10 15:09:49 +01:00
eikek
978381a5ba Fix openapi spec 2022-01-10 14:59:27 +01:00
eikek
699cf091e6 Allow bookmarks in periodic query notification 2022-01-10 14:25:20 +01:00
eikek
ccb4df5bd7 Prevent duplicate bookmark names 2022-01-10 00:41:07 +01:00
eikek
54a4e6efee Fix formatting 2022-01-09 23:58:57 +01:00
eikek
9415f72ec0 Instead of client only, make bookmarks a server aware feature
Makes it much more useful
2022-01-09 23:58:57 +01:00
eikek
187e7d020d Some ui tweaks 2022-01-09 14:58:21 +01:00
eikek
c2fc1d117f Manage bookmarks 2022-01-09 14:39:59 +01:00
eikek
a5b70962d8 Select bookmarks in search menu 2022-01-09 02:10:22 +01:00
eikek
04b258689f Check for existing bookmarks 2022-01-08 22:42:48 +01:00
eikek
a50a0a9a1a Bookmark queries scoped to user or collective 2022-01-08 22:42:48 +01:00
eikek
f914aa723e Move lesser used menubar items into a menu 2022-01-08 12:38:14 +01:00
eikek
05229a7e9c Allow managing clientsettings per collective 2022-01-08 12:38:14 +01:00
eikek
706cfaeb05 Introduce table to store client settings per collective 2022-01-08 12:38:14 +01:00