Commit Graph

1708 Commits

Author SHA1 Message Date
eikek
f6fd155150 Update scribe to 3.9.0 2022-06-27 13:27:01 +02:00
eikek
bca2ea28e3 Update binny to 0.6.0 2022-06-27 13:23:48 +02:00
eikek
5c66fdda3a Fail addon validation when joex cannot be reached 2022-06-18 16:53:13 +02:00
eikek
6cef9d4f07 Improve performance of zip/unzip
Adds tests and includes some cleanup
2022-06-18 16:39:57 +02:00
eikek
7b535e59a6 Fix starting a background task to install an addon 2022-06-17 22:37:50 +02:00
eikek
42588593f3 Dependency updates 2022-06-14 23:52:43 +02:00
eikek
3d58cffada Remove search feature flag 2022-06-11 21:14:25 +02:00
eikek
aeeb54fcc3 Remove unused column in item 2022-06-11 13:03:14 +02:00
eikek
1611df81ed Add more indexes 2022-06-11 12:40:46 +02:00
eikek
4d79badc2d Fix logging warn->debug 2022-06-11 12:40:16 +02:00
eikek
4bca6031af Fix flaky db test 2022-06-11 01:02:22 +02:00
eikek
c76644511f Add paging to share view 2022-06-11 00:34:55 +02:00
eikek
cfe500f813 Fix external link icon 2022-06-09 22:02:36 +02:00
eikek
5d612f6ca1 Use backticks instead of scaladoc link 2022-06-06 13:18:37 +02:00
eikek
7ce6bc2f9d Remove unused code (search update) 2022-06-05 23:27:59 +02:00
eikek
c6a9a17f89 Set version to 0.38.0-SNAPSHOT 2022-06-04 23:35:10 +02:00
eikek
f4460c92d9 Set version to 0.37.0 2022-06-04 23:06:49 +02:00
eikek
6063ccef3a Return 400 when input is invalid instead of server error 2022-06-04 19:08:38 +02:00
eikek
d58bf80c46 Fix select e-mail from suggestions
The blur event messed up when clicking on a suggestion. Now it only is
used when the user has typed in an e-mail not in the suggestion list.

Fixes: #1565
2022-06-04 18:57:42 +02:00
eikek
ae265ed19a Fix tests for mariadb 2022-06-04 10:16:03 +02:00
eikek
cfc903403a Fix load-more button state 2022-06-04 01:36:15 +02:00
eikek
b50f57f7fe Send no fts query if it is disabled 2022-06-04 01:36:15 +02:00
eikek
66aab0c952 Refactoring 2022-05-31 23:15:04 +02:00
eikek
78b19a0940 Remove obsolete endpoint
Search by index is the same as a search with only a `content:`
expression.
2022-05-31 20:15:39 +02:00
eikek
e47396182d Fix obvious things and add search summary 2022-05-31 19:56:45 +02:00
eikek
1266cdefe1 Prepare for new search logic with feature toggle 2022-05-30 22:45:46 +02:00
eikek
04ccad2ce0 Temporary table support for holding fts results 2022-05-29 22:33:50 +02:00
eikek
671230a9aa Streamline database tests 2022-05-29 00:09:51 +02:00
eikek
42435c693a Add a db type for db specific things 2022-05-28 17:19:33 +02:00
eikek
4ce64d2841 Fix detecting addons from zip file
Also set the default to `collectOutput` where it would parse the
output of an addon.
2022-05-27 22:44:05 +02:00
eikek
50edf13f94 Include limit-capped flag with search response
The server defines a `limit` value and search requests are capped to
this limit if their requested value exceeds it. If this happens it is
now returned with the search response (clients can print a warning).

Closes: #1358
2022-05-26 22:24:56 +02:00
eikek
7b281a0162 Enable/disable user task based on addon run config 2022-05-26 10:39:38 +02:00
eikek
6c57077d68 Fixes related to addons
- Fix applying new-items from addon results
- Notify joex when a scheduled addon is updated
2022-05-23 23:28:54 +02:00
eikek
3f0c21e429 Set version to 0.37.0-SNAPSHOT 2022-05-22 12:04:48 +02:00
eikek
f593b76389 Set version to 0.36.0 2022-05-22 10:11:11 +02:00
eikek
3764f9265b Configure run/repair db migrations
Refs: #1517
2022-05-22 00:07:36 +02:00
mergify[bot]
ad658806ff
Merge pull request #1561 from eikek/ui-tweaks
UI tweaks
2022-05-21 17:05:33 +00:00
eikek
a156fc4e0b Show dashboard box headers in bold not italic
Closes: #1531
2022-05-21 18:52:42 +02:00
mergify[bot]
9ef8d2ccc8
Merge pull request #1556 from scala-steward/update/circe-core-0.14.2
Update circe-core, circe-generic, ... to 0.14.2
2022-05-21 14:51:26 +00:00
eikek
7a2491a61e Split out separate circe versions 2022-05-21 16:36:27 +02:00
eikek
5ec311c331 Add polish to processing lanugages
SOLR doesn't support polish out of the box. Plugins are required for
polish. The language has been added only with basic support. For
better results, a manual setup of solr is required.

Closes: #1345
2022-05-21 14:41:16 +02:00
eikek
9d69401fea Add Lithuanian to processing languages
SOLR doesn't support Lithuanian, maybe it can be added via plugins. A
manual setup of solr is required then. It has been added with basic
support.

Closes: #1540
2022-05-21 14:36:01 +02:00
eikek
47bd6cd0ba Fail fast when multiple addons are run 2022-05-21 00:40:26 +02:00
eikek
29a5894884 Refresh item after addon is done 2022-05-21 00:40:26 +02:00
eikek
73747c4ea3 Basic ui for addons 2022-05-15 23:46:43 +02:00
eikek
7fdd78ad06 Experiment with addons
Addons allow to execute external programs in some context inside
docspell. Currently it is possible to run them after processing files.
Addons are provided by URLs to zip files.
2022-05-15 23:46:43 +02:00
eikek
506fbcbcb7 Improve log events, adding new logger to capture data 2022-05-01 12:28:27 +02:00
eikek
5bdf728eb3 Improve logging configuration
- Log levels of specific loggers can be defined in the config
  file (doesn't work with env variables)

- Log events of background tasks carry now additional data
2022-04-30 18:26:19 +02:00
eikek
ab56d3706c Fix validation 2022-04-29 22:16:54 +02:00
eikek
0d8666491a Allow an auth token to carry a specific validity 2022-04-29 21:02:17 +02:00
eikek
868d06d378 Merge branch 'current-docs' 2022-04-24 22:28:24 +02:00
eikek
9851b71c45 Fix documentation about fulltext search 2022-04-24 18:34:22 +02:00
eikek
8b235dc705 Set version to 0.36.0-SNAPSHOT 2022-04-14 23:45:36 +02:00
eikek
f5958b3a51 Set version to 0.35.0 2022-04-14 22:11:21 +02:00
eikek
46f65b10ad Log server options 2022-04-14 22:03:29 +02:00
monnypython
7e176e1bd1
Update Search.elm
Typos
2022-04-11 21:54:59 +02:00
eikek
8a2fed47aa Increase size for passwords
Closes: #1508
2022-04-11 10:55:06 +02:00
eikek
f6bfb6f1d2 Revert z-index change
It is used by global dimmer that must be on top
2022-04-10 14:09:40 +02:00
eikek
9759a9258a Hide delete button on new notification channels 2022-04-09 20:36:38 +02:00
eikek
b4ee1a52e1 Fix loading collective settings
It responded with 404 when some sub-settings (classifier) didn't exist.
2022-04-09 20:33:06 +02:00
eikek
613f21a9fc Run fixup migration from 0.32 onwards 2022-04-09 16:50:06 +02:00
eikek
4bbf0b60a3 Avoid logging non-errors as error 2022-04-09 16:00:51 +02:00
eikek
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
dependabot[bot]
0b3a043025
Bump minimist from 1.2.5 to 1.2.6 in /modules/webapp
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 04:22:17 +00:00
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