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
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
eikek
cf933b60a7
Encode ws messages as JSON
2021-11-11 23:54:37 +01:00
eikek
5c7947299f
Fix scaladoc
2021-11-08 00:15:14 +01:00
eikek
7b8afe8371
Make internal endpoints available to nodes only
2021-11-08 00:13:02 +01:00
eikek
61c01ad79b
Use job group instead of parsing the task arguments
2021-11-08 00:07:44 +01:00
eikek
b041e2616d
Fix uploads with utf8 bytes in filenames
...
This adds a modified parser for `Content-Disposition` header to fix
issue #991 . The parser in http4s for `Content-Disposition` header
removes filenames that are sent as plain utf8 bytes. See also
http4s/http4s#5053 .
2021-11-07 22:11:00 +01:00
eikek
62d02d75b4
Show a message when a new document arrived
2021-11-07 17:14:02 +01:00
eikek
8ae314bead
Fix websocket initialization
2021-11-07 00:40:43 +01:00
eikek
42767e7732
Refresh home page on item-process event
2021-11-06 23:35:43 +01:00
eikek
3e58d97f72
Add websockets and notify frontend when an item is processed
2021-11-06 21:32:30 +01:00
eikek
f38d520a1d
Hooking the new pubsub impl into the application
2021-11-06 01:44:06 +01:00
eikek
4d5c695882
Hide implementation details from PubSubT interface
2021-11-05 20:56:02 +01:00
eikek
d483d9f176
Initial naive pubsub impl generalising from current setup
2021-11-05 01:05:24 +01:00
eikek
ae30a3890e
Set version to 0.29.0-SNAPSHOT
2021-10-27 22:08:16 +02:00