Commit Graph

2800 Commits

Author SHA1 Message Date
60c5120785 Merge pull request #1043 from scala-steward/update/munit-0.7.29
Update munit, munit-scalacheck to 0.7.29
2021-08-31 08:38:15 +00:00
3210195062 Update munit, munit-scalacheck to 0.7.29 2021-08-31 10:26:12 +02:00
0dc43efa9f Merge pull request #1042 from scala-steward/update/doobie-core-1.0.0-RC1
Update doobie-core, doobie-hikari to 1.0.0-RC1
2021-08-31 00:34:18 +00:00
aeeb0c252a Merge pull request #1041 from scala-steward/update/testcontainers-scala-mariadb-0.39.7
Update testcontainers-scala-mariadb, ... to 0.39.7
2021-08-31 00:32:54 +00:00
9c6329a5c6 Update doobie-core, doobie-hikari to 1.0.0-RC1 2021-08-31 02:22:13 +02:00
c1c0bcbd6b Update testcontainers-scala-mariadb, ... to 0.39.7 2021-08-31 02:22:09 +02:00
68f3d6101b Merge pull request #1040 from eikek/query-improvements
Query improvements
2021-08-30 18:30:25 +00:00
733096f979 Improve querying item results
The join to retrieve the attachment count per item turned out to be
very expensive. And it is not used anymore for the result, only to
support fulltext search. It is now removed from the query. The
DISTINCT keyword is also removed, because it is not necessary and it
is expensive. With the DISTINCT removed, a new index (provided in the
previous commit) can now be used to avoid sorting items.
2021-08-29 11:09:06 +02:00
a5a8c2553b Add indexes to better support certain queries 2021-08-29 00:38:12 +02:00
9812b8f6c8 Set new version to 21.12-SNAPSHOT 2021-08-28 12:54:44 +02:00
5cc2ad92a2 Update nix setup
Removes the consumedir module, use the module in the dsc project [0]
instead.

[0] https://github.com/docspell/dsc/blob/master/nix/module.nix
2021-08-28 12:52:43 +02:00
be510b0363 Set version to 0.26.0 2021-08-28 11:54:08 +02:00
cf984e82bb Update Changelog 2021-08-28 11:52:00 +02:00
b98f6b96ba Merge pull request #1038 from eikek/fix/add-proper-solr-heb-field
Fix solr setup by adding a text_he field
2021-08-27 22:29:18 +00:00
637f11d0f6 Fix solr setup by adding a text_he field
This field is used for Hebrew language. Solr doesn't support it out of
the box. The new field type is just a very basic field using the
standard tokenizer and lowercase filter. It is very likely not
providing good results. Hebrew is really difficult and it requires at
least installing plugins for solr - this is out of scope for docspell.
Users can setup their solr however they like and run a re-index
afterwards.
2021-08-28 00:10:36 +02:00
3520a2ec26 Merge pull request #1037 from eikek/small-list-improvements
Allow to specify ordering when retrieving meta data
2021-08-27 21:18:47 +00:00
cf88f5c2de Allow to specify ordering when retrieving meta data
The query now searches in more fields. For example, when getting a
list of tags, the query is applied to the tag name *and* category.
When listing persons, the query now also looks in the associated
organization name.

This has been used to make some headers in the meta data tables
clickable to sort the list accordingly.

Refs: #965, #538
2021-08-27 23:04:54 +02:00
eb53b08acd Merge pull request #1036 from eikek/fix/1032-source-insert
Fix/1032 source insert
2021-08-27 21:01:51 +00:00
7b2fb70c04 Add missing data to insert statement
Closes: #1032
2021-08-27 22:51:34 +02:00
77d69bdcf6 Remove obsolete dockerignore file 2021-08-27 22:49:42 +02:00
5926565267 Merge pull request #1035 from scala-steward/update/scalafmt-core-3.0.1
Update scalafmt-core to 3.0.1
2021-08-27 19:03:56 +00:00
15f9f907e2 Merge pull request #1034 from seijikun/master
Add documentation for the new dsc export functionality
2021-08-27 20:56:00 +02:00
ca382a02ef Update scalafmt-core to 3.0.1 2021-08-27 20:53:57 +02:00
e829b86021 Add documentation for the new dsc export functionality 2021-08-27 20:14:57 +02:00
fb8d55aaec Merge pull request #1031 from scala-steward/update/sbt-sonatype-3.9.10
Update sbt-sonatype to 3.9.10
2021-08-25 20:30:04 +00:00
93053e52af Update sbt-sonatype to 3.9.10 2021-08-25 22:18:14 +02:00
9394cbd06a Merge pull request #1030 from scala-steward/update/fs2-core-3.1.1
Update fs2-core, fs2-io to 3.1.1
2021-08-24 22:29:33 +00:00
040dae0e93 Update fs2-core, fs2-io to 3.1.1 2021-08-25 00:18:45 +02:00
3bdc9477ca Merge pull request #1027 from wallace11/add-hebrew
Add hebrew document language
2021-08-24 18:45:20 +02:00
4ac4e12127 Merge pull request #1028 from scala-steward/update/tika-core-2.1.0
Update tika-core to 2.1.0
2021-08-24 12:37:08 +00:00
9127b6c44c Update tika-core to 2.1.0 2021-08-24 14:17:53 +02:00
eab7fe57d2 Fix formatting with scalafmt 2021-08-24 02:24:20 +03:00
589c41003f Add hebrew document language 2021-08-24 01:19:42 +03:00
945ca6f561 Merge pull request #1026 from eikek/migration-tests
Test db migrations for all supported databases
2021-08-23 21:53:51 +00:00
6bb6cad39d Test db migrations for all supported databases 2021-08-23 23:41:03 +02:00
54b160138d Merge pull request #1025 from eikek/fixup/983-source-option
Add the attachment-only option to a source
2021-08-23 12:32:30 +00:00
993a391c13 Add the attachment-only option to a source
The upload request can now contain a boolean for importing only
attachments when e-mails are uploaded. This option is now also added
to a source url.

Refs: #983
2021-08-23 14:19:11 +02:00
45f6357f49 Merge pull request #1024 from eikek/enhance-search-mode
Enhance search mode to search in all items
2021-08-21 13:56:43 +00:00
d5022f883e Enhance search mode to search in all items 2021-08-21 15:45:14 +02:00
2cec8822c7 Merge pull request #1023 from eikek/feature/983-attachments-only
Feature/983 attachments only
2021-08-21 12:40:04 +00:00
0a0dd80bdc Add new checkbox to scan mailbox form 2021-08-21 13:49:12 +02:00
751fa3da5a Add attachments-only filter to uploads
When uploading a file which is an e-mail, this option allows to skip
the mail body when the file is being processed.
2021-08-21 13:49:12 +02:00
bb8a6c054b Merge pull request #1022 from scala-steward/update/calev-circe-0.6.0
Update calev-circe, calev-core to 0.6.0
2021-08-21 09:29:47 +00:00
865d4a3172 Disable eviction warnings regarding calev and fs2-cron-calev
The calev-core jar and fs2-cron-calev are compatible, although the
minor was increased in the calev project. This can be removed once
fs2-cron-calev has been released.
2021-08-21 11:18:29 +02:00
5272677c1b Update calev-circe, calev-core to 0.6.0 2021-08-20 22:18:17 +02:00
3407abbad1 Merge pull request #1021 from eikek/remove-scripts
Remove scripts
2021-08-20 16:53:19 +00:00
d6af7dd659 Remove the "tools" docker image 2021-08-20 18:21:28 +02:00
461ae74c28 Remove obsolete shell scripts
The commandline interface now supersedes these scripts.
2021-08-20 18:19:51 +02:00
30dec30450 Merge pull request #1019 from eikek/feature/990-check-for-update
Feature/990 check for update
2021-08-19 22:41:46 +00:00
5d33b3841a Add a task to check for updates periodically
It must be enabled and configured by the admin.

Refs: #990
2021-08-20 00:25:27 +02:00