Commit Graph

1644 Commits

Author SHA1 Message Date
eikek
0346c5a654 Apply fixup migration only from previous version 2022-03-23 23:52:41 +01:00
eikek
f9f6504471 Set version to 0.35.0-SNAPSHOT 2022-03-21 21:55:07 +01:00
eikek
c6da3eb0d6 Set version to 0.34.0 2022-03-21 21:25:01 +01:00
eikek
1693871e0d Show link icon when no tags or fields exists 2022-03-21 21:22:56 +01:00
eikek
21e13341e3 Configure postgres fts backend 2022-03-21 11:05:03 +01:00
eikek
1e56e832da Reformat code 2022-03-21 11:04:26 +01:00
eikek
fef00bdfb5 Some basic tests and config 2022-03-21 11:04:26 +01:00
eikek
029335e607 Working poc of postgresql based fulltext search backend 2022-03-21 11:04:26 +01:00
eikek
b2add008ed Pass language when updating fulltext index 2022-03-21 11:04:26 +01:00
eikek
f2a2d15e7f Add missing fixup changesets 2022-03-21 10:28:21 +01:00
eikek
892b3cdcfd Return results for empty trash task 2022-03-20 11:51:53 +01:00
eikek
0b3fe8eb5c Publish joex from within the job store
Reduces friction when using the job store.
2022-03-20 11:40:44 +01:00
eikek
b84bbbd750 Upload zip files contents as independent files 2022-03-20 11:40:25 +01:00
eikek
37b5a4dfef Select linked items from search page
- Quickly select related items from the search view
- Include related items with item details to spare another request
2022-03-19 18:31:45 +01:00
eikek
ae845dfe3b Fix previously published db migration 2022-03-19 14:20:25 +01:00
eikek
57bcea7ae3 Allow to configure some http server details 2022-03-19 00:22:15 +01:00
eikek
e3ed0ba24d Use temporary files when receiving large data 2022-03-18 23:57:36 +01:00
eikek
e957d6e96f Link multiple items via selection 2022-03-18 00:41:00 +01:00
eikek
288ed83b7f Make ItemMerge independent from the action 2022-03-17 23:25:04 +01:00
eikek
c7b2a1271a Link items it detail view 2022-03-16 23:56:59 +01:00
eikek
232baf5858 Add routes to link items 2022-03-16 23:56:59 +01:00
eikek
1874ac070f Fix executing collective user tasks now 2022-03-16 23:56:59 +01:00
eikek
8d5fc7f9da Move scheduler queries into the new module 2022-03-16 23:56:59 +01:00
eikek
d12c672dcf Log structured details during job execution 2022-03-16 23:56:59 +01:00
eikek
c7da3dcfee Fix French translation
Thanks @jgiradet
2022-03-16 23:25:06 +01:00
moerfi
cdbc73bba2 Add french translations with help of a translator 2022-03-15 22:04:31 +01:00
moerfi
805f57def3 Simplify recursive folder scan with 2022-03-15 21:52:54 +01:00
moerfi
a6e79a32a8 Change scanRecursively to an Option field 2022-03-15 21:52:54 +01:00
moerfi
39f2f8cc1b Add a recursive mail folder scan option to ScanMailboxTask 2022-03-15 21:52:54 +01:00
eikek
46ebfbea41 Use calev-fs2 artifact
Ref: #1394
2022-03-13 19:24:00 +01:00
eikek
4207c395e9
Merge pull request #1440 from jgirardet/master
French translation
2022-03-13 17:14:14 +01:00
eikek
4c220879db Reformat code 2022-03-13 15:20:34 +01:00
eikek
90e52efbff Remove store dependency from scheduler api 2022-03-13 15:20:33 +01:00
eikek
3a05dc56cb Refactor scheduler into api / impl 2022-03-13 15:20:33 +01:00
eikek
69765f05ff Move user task to scheduler module 2022-03-13 15:20:33 +01:00
eikek
83d3644b39 Move job queue to scheduler-api and fix notification of periodic tasks 2022-03-13 15:20:33 +01:00
eikek
aafd908906 Adopt code to use moved schedule api 2022-03-13 15:20:33 +01:00
eikek
0ce3abb3ff Move scheduler code into separate module 2022-03-13 15:20:33 +01:00
eikek
0739957fd7 Fix package name 2022-03-13 15:20:33 +01:00
eikek
cd3db6ea08 Run file integrity check in house keeping tasks 2022-03-13 15:20:33 +01:00
eikek
b71085761b Add some docs to file backends 2022-03-13 15:20:33 +01:00
eikek
290b4ca58b Provide tasks with ability to return data and human message
To allow better communication from background tasks, tasks can return
not only data (json), but also a human readable message which is send
via notification channels
2022-03-12 12:58:34 +01:00
eikek
c1ce0769eb Check file integrity 2022-03-12 12:58:34 +01:00
eikek
422c0905dc Add task to copy files 2022-03-12 12:58:28 +01:00
eikek
e82b00c582 Use different file stores based on config 2022-03-12 12:19:00 +01:00
eikek
c812ea1009 Store files in different binary stores 2022-03-12 12:18:58 +01:00
eikek
d3ef4b6166 Moved route definitions in RestApp 2022-03-12 12:18:36 +01:00
Jimmy Girardet
2ce4bb74ec apply eml-format 2022-03-10 14:18:52 +01:00
Jimmy Girardet
c98ecd172a apply eml-format 2022-03-10 14:18:28 +01:00
Jimmy Girardet
81e447c0bf adjustemts 2022-03-10 14:14:10 +01:00
Jimmy Girardet
58255f60a3 share et dashboad 2022-03-10 12:11:43 +01:00
Jimmy Girardet
8d7308d970 search 2022-03-10 11:26:12 +01:00
Jimmy Girardet
b5fe694522 manage data 2022-03-09 17:09:33 +01:00
Jimmy Girardet
2b42a1cc8b fix uilangauge 2022-03-09 14:10:26 +01:00
Jimmy Girardet
7bc1b3d916 fin user settings 2022-03-09 12:10:19 +01:00
Jimmy Girardet
febb173498 periodic query 2022-03-09 10:33:22 +01:00
Jimmy Girardet
7186df2e60 webhook 2022-03-08 15:13:29 +01:00
Jimmy Girardet
3c82975453 partial user settings 2022-03-08 09:42:45 +01:00
eikek
ffb78d1265 Set version to 0.34.0-SNAPSHOT 2022-03-06 14:28:06 +01:00
eikek
aafa73e724 Set version to 0.33.0 2022-03-06 13:51:23 +01:00
eikek
e6777df5f2 Log flywaydb migrations 2022-03-06 13:43:01 +01:00
eikek
d0805d133a Upgrade npm packages 2022-03-06 13:12:37 +01:00
eikek
427df0b33d Make caret visible in list view 2022-03-06 13:12:37 +01:00
Jimmy Girardet
28eb1f0060 queue 2022-03-06 00:06:24 +01:00
Jimmy Girardet
adb723ee03 itemdetail 2022-03-05 23:46:48 +01:00
Jimmy Girardet
d33513dc7d upload 2022-03-05 22:41:40 +01:00
Jimmy Girardet
e0d2528135 new invite 2022-03-05 22:23:45 +01:00
Jimmy Girardet
2a263ed54c signup 2022-03-05 22:14:24 +01:00
Jimmy Girardet
fb7fa301f8 Login 2022-03-05 22:09:27 +01:00
Jimmy Girardet
5559c5aed4 start and coolectivesettings 2022-03-05 22:04:34 +01:00
Renovate Bot
3820404f73
Update dependency @tailwindcss/forms to ^0.5.0 2022-03-02 22:06:31 +00:00
eikek
a3569598d8 Minor improvements
- use a one-line log format
- load templates only once
- fixed typos
- fix reset timezone in ui settings
- hide bookmarks headline if there are none
2022-03-02 22:22:54 +01:00
eikek
9e404ca4e9 Change icon for select/deselect 2022-03-01 23:15:59 +01:00
eikek
9545431d59 Allow the user to set time zone
Fix timezone handling for periodic tasks
2022-03-01 23:15:59 +01:00
eikek
6f7eafcebc Require a time zone when formatting date-times 2022-03-01 22:03:39 +01:00
eikek
6d822a0769 Remove Util.Time module, useing Message.DateFormat 2022-03-01 21:58:13 +01:00
eikek
78448991ca Use iframe for cross-browser pdf view (pdfjs)
Since some browsers (safari and some mobile ones) don't update their
ui when the src attribute of an embed element changes, an iframe is
used now. But only for the "cross browser" variant.

Fixes: #1210
2022-02-28 11:20:17 +01:00
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
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