1768 Commits

Author SHA1 Message Date
Eike Kettner
198b2f8f96 Move consumedir entrypoint to docker and fix compose setup
To make it work as before, some env variables are necessary to be
available to the consumedir container. It's only needed there, but
since the env file exists, they are now listed there.

Also partially reverts the consumedir.dockerfile. Using the base-image
makes sure that all build images are created from the same sources.
2021-01-28 22:31:58 +01:00
eikek
e9f30e0990
Merge pull request #603 from JaCoB1123/consumedir_polling
Add consumedir-entrypoint.sh to allow polling consumedir (Fixes #507)
2021-01-28 12:44:43 +01:00
mergify[bot]
cc208e53fb
Merge pull request #602 from scala-steward/update/flyway-core-7.5.2
Update flyway-core to 7.5.2
2021-01-27 22:19:03 +00:00
Jan Bader
5df9d11d06 Simplify consumedir.dockerfile 2021-01-27 21:40:36 +01:00
Jan Bader
650685976c Use linux line-endings 2021-01-27 21:36:49 +01:00
Jan Bader
517979f81e Add usage 2021-01-27 21:30:38 +01:00
Jan Bader
bebe0dabde Add consumedir-entrypoint.sh to allow polling consumedir 2021-01-27 21:13:16 +01:00
Scala Steward
242e4d52c1
Update flyway-core to 7.5.2 2021-01-27 20:25:38 +01:00
eikek
5ff6cb7b66
Merge pull request #601 from sukram230799/docker-docspell-tools-permission-fix
Fix permission of scripts in base-binaries
2021-01-27 18:54:37 +01:00
Markus Wüst
a917d66afd
Fix permission of scripts in base-binaries
Include shell files in subdirectory of `/opt/docspell-tools/` via `**/*.sh`.
2021-01-27 16:46:55 +01:00
Eike Kettner
596b1c6076 Merge branch 'current-docs' 2021-01-25 11:06:40 +01:00
Eike Kettner
8013e44aca Fix release date 2021-01-25 10:20:06 +01:00
Eike Kettner
62f596be35 Set version to 0.20.0-SNAPSHOT 2021-01-25 10:19:00 +01:00
Eike Kettner
c45d72df34 Update nix setup 2021-01-25 10:17:25 +01:00
Eike Kettner
73b54addc5 Set version to 0.19.0 2021-01-25 09:21:16 +01:00
Eike Kettner
946204e809 Update documentation 2021-01-25 09:11:54 +01:00
Eike Kettner
e9a4f904c9 Update consumedir docs 2021-01-25 08:13:55 +01:00
Eike Kettner
0d7e92be40 Update changelog 2021-01-25 08:13:55 +01:00
Eike Kettner
6b5382add1 Update docs 2021-01-25 08:13:55 +01:00
mergify[bot]
8de4b67b45
Merge pull request #595 from eikek/h2-fix
H2 fix
2021-01-25 00:56:10 +00:00
Eike Kettner
394aeeccb6 Introduce a sql literal and constants in query builder
The h2 jdbc driver could not translate the union query in QCollective
when the `kind` was set via a constant value. Using literals works
here. Renamed the corresponding elements in the query builder.
2021-01-25 00:18:24 +01:00
Eike Kettner
bb744668ca Remove unused code 2021-01-24 23:24:33 +01:00
mergify[bot]
69c0254bcf
Merge pull request #593 from eikek/emil-update
Update emil to 0.7.1
2021-01-24 19:48:07 +00:00
Eike Kettner
1e48346361 Update emil to 0.7.1 2021-01-24 20:07:09 +01:00
mergify[bot]
bbc8f0774e
Merge pull request #592 from scala-steward/update/http4s-blaze-client-0.21.16
Update http4s-blaze-client, ... to 0.21.16
2021-01-24 18:19:37 +00:00
Scala Steward
01eca0dd14
Update http4s-blaze-client, ... to 0.21.16 2021-01-24 18:31:47 +01:00
mergify[bot]
6cc9c159d6
Merge pull request #590 from eikek/scan-mailbox-filter
Refactor scan mailbox form and add flag for post-processing
2021-01-24 01:06:51 +00:00
Eike Kettner
96612e0e59 Refactor scan mailbox form and add flag for post-processing
Mails are filtered once by using an imap search and then by some globs
to filter files and subjects. Imap can search by subject via a
string-contains, but not via globs or patterns (afaik). The subject
filter is applied to all downloaded mail headers. Now for post
processing (moving to some target folder or deleting), it can be
chosen to post-process all "seen" mails or only those that matched all
filters.
2021-01-24 01:46:31 +01:00
mergify[bot]
d3e5bca9f6
Merge pull request #589 from eikek/nix-tools-package
Nix tools package
2021-01-24 00:43:34 +00:00
mergify[bot]
2f9671f5c1
Merge pull request #588 from scala-steward/update/imageio-jpeg-3.6.2
Update imageio-jpeg, imageio-tiff to 3.6.2
2021-01-23 21:49:40 +00:00
Scala Steward
529dca091d
Update imageio-jpeg, imageio-tiff to 3.6.2 2021-01-23 22:20:29 +01:00
mergify[bot]
0089021f92
Merge pull request #587 from eikek/save-settings
Fix classifier_settings table
2021-01-23 20:59:28 +00:00
Eike Kettner
1b66e2af5c Fix classifier_settings table 2021-01-23 21:30:26 +01:00
Eike Kettner
606a6756c8 Fix nix package for tools 2021-01-23 20:30:48 +01:00
Eike Kettner
98aa3423c1 Fix joex config for nix package 2021-01-23 20:30:48 +01:00
Eike Kettner
189f202b21 Move tool scripts into a separate dir 2021-01-23 20:30:48 +01:00
mergify[bot]
e6d67c368b
Merge pull request #586 from eikek/optional-text-limit
Make the text length limit optional
2021-01-22 23:47:38 +00:00
Eike Kettner
c7e850116f Make the text length limit optional 2021-01-22 23:06:50 +01:00
mergify[bot]
8dd1672c8c
Merge pull request #583 from eikek/fix-baseurl-setting
Render baseurl without trailing slash
2021-01-21 23:44:14 +00:00
mergify[bot]
38e0a50942
Merge pull request #582 from eikek/delete-org-fix
Fix deleting organization
2021-01-21 22:56:56 +00:00
mergify[bot]
df5f9e8c51
Merge pull request #581 from eikek/text-analysis-improvements
Text analysis improvements
2021-01-21 22:01:50 +00:00
Eike Kettner
0ec620fcf0 Render baseurl without trailing slash
The webapp expects it like this currently, because the url is only a
string.
2021-01-21 21:42:08 +01:00
Eike Kettner
f4a03e7c69 Fix deleting organization
The foreign key in person must be resetted.
2021-01-21 21:27:02 +01:00
Eike Kettner
4cba96f390 Always return classifier results as suggestion
The classifier results are spliced into the suggestion list at second
place. When linking they are only used if nlp didn't find anything.
2021-01-21 21:05:28 +01:00
mergify[bot]
b9b554980a
Merge pull request #580 from scala-steward/update/flyway-core-7.5.1
Update flyway-core to 7.5.1
2021-01-21 19:20:53 +00:00
Eike Kettner
021ac568ae Update documentation for text analysis 2021-01-21 20:06:53 +01:00
Scala Steward
cea9fa0d38
Update flyway-core to 7.5.1 2021-01-21 18:27:10 +01:00
Eike Kettner
9957c3267e Add constraints from config to classifier training
For large and/or many documents, training the classifier can lead to
OOM errors. Some limits have been set by default.
2021-01-21 17:46:39 +01:00
Eike Kettner
363cf5aef0 Quote names in sql changesets 2021-01-21 00:22:58 +01:00
Eike Kettner
38387e00a0 Fix mariadb migration 2021-01-21 00:22:53 +01:00