Commit Graph

1431 Commits

Author SHA1 Message Date
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
Scala Steward
652e85ccea
Reformat with scalafmt 3.3.1 2022-01-02 00:50:55 +01:00
Sytone
b8d7b6952e
Add more countries
Missing a set of countries so added them and the rest I could find so more users can use this.
2021-12-29 21:47:19 -08:00
eikek
808672ed07 Set version to 0.31.0-SNAPSHOT 2021-12-22 22:18:42 +01:00
eikek
9b701035b2 Set version to 0.30.1 2021-12-22 20:37:28 +01:00
eikek
3a642ee01e Fix sending notification mails from background tasks
When looking up the mail settings, a valid user id must be given.
2021-12-22 17:57:26 +01:00
eikek
50e4c31872 Set new version to 0.31.0-SNAPSHOT 2021-12-21 22:01:03 +01:00
eikek
42a54e134d Set version to 0.30.0 2021-12-21 21:28:43 +01:00
eikek
5b5dfeb51c Simplify postcss config
No need to split plugins anymore
2021-12-21 21:09:03 +01:00
eikek
1a86fcca78 Enable tests again
They were disabled due to network problems
2021-12-21 19:50:40 +01:00
eikek
1ff2af6779 Disable tests due to networking problems 2021-12-21 00:36:43 +01:00
eikek
f5e375614f Fix tailwind setup
- Adopted postcss and tailwind config to new version
- renamed colors bluegray->slate etc to not have custom
  definitions (hope to reduce migration next time)
- tailwind now doesn't build the complete css anymore, so the
  `dev-ui-build` script must compile both
2021-12-20 23:40:32 +01:00
eikek
0b606e6b05 Use logfmt for log lines and remove ansi color codes 2021-12-19 22:29:56 +01:00
eikek
55b93e2853 Small correction in ui text 2021-12-19 20:24:24 +01:00
eikek
435036505a List view styling tweaks 2021-12-17 00:36:23 +01:00
eikek
1eb1db730c Select list/tile view and store to ui settings
Issue: #526
2021-12-15 22:30:41 +01:00
eikek
114576f984 Remove print statement 2021-12-11 22:46:55 +01:00
eikek
c21b2cdd29 Update scalafmt to 3.0.8 2021-12-11 22:46:55 +01:00
eikek
4ffc8d1f14 Add support for more generic notification
This is a start to have different kinds of notifications. It is
possible to be notified via e-mail, matrix or gotify. It also extends
the current "periodic query" for due items by allowing notification
over different channels. A "generic periodic query" variant is added
as well.
2021-12-11 18:57:32 +01:00
Renovate Bot
bfd8b2554e Update dependency tailwindcss to v3 2021-12-09 23:09:15 +00:00
Renovate Bot
400aae8224 Update dependency @tailwindcss/forms to ^0.4.0 2021-12-09 20:48:36 +00:00
eikek
b79ac5fbad Add missing db migrations for h2 and mariadb 2021-11-20 15:24:23 +01:00
eikek
501c6f2988 Updating stanford corenlp to 4.3.2; adding more languages
There are models for Spanish, that have been added now. Also the
Hungarian language has been added to the list of supported
languages (for tesseract mainly, no nlp models)
2021-11-20 14:31:39 +01:00
eikek
20fc9955ba Fix reprocessing to lookup the last used language 2021-11-20 01:34:16 +01:00
eikek
4176b6bc64 Publish event when a waiting job is removed
Fixes: #1182
2021-11-18 21:52:11 +01:00
eikek
95ded62cb9 Set version to 0.30.0-SNAPSHOT 2021-11-18 00:24:52 +01:00
eikek
54bbbde8b9 Set version to 0.29.0 2021-11-17 23:00:49 +01:00
eikek
13f28f753a Use an internal url for the rest server to register for messages 2021-11-17 21:27:26 +01:00
eikek
d2b7c37dfc Fix searching on share page if fulltext search is disabled 2021-11-16 22:55:37 +01:00
eikek
0651db9901 Make publish async, replace joexclient in periodic job scheduler 2021-11-16 22:55:37 +01:00
eikek
ce4c192b5b Fix notification about new items
Don't set the flag when already on "home page".
2021-11-14 21:45:59 +01:00
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
9acdb8ef96 Fix formatting 2021-11-12 00:10:12 +01:00