2858 Commits

Author SHA1 Message Date
eikek
9dfe7f30a0 Remove unused contact kind 2021-09-01 00:57:03 +02:00
mergify[bot]
b0d676d70d
Merge pull request #1045 from scala-steward/update/scodec-bits-1.1.28
Update scodec-bits to 1.1.28
2021-08-31 20:36:30 +00:00
Scala Steward
fecd9d0d7a
Update scodec-bits to 1.1.28 2021-08-31 22:23:37 +02:00
mergify[bot]
b2589b9104
Merge pull request #1044 from eikek/feature/762-2fa
Add two-factor authentication using TOTP
2021-08-31 19:43:54 +00:00
eikek
1afc005a6c Adopt login process for two-factor auth 2021-08-31 21:29:07 +02:00
eikek
999c39833a Add user setting page for totp 2021-08-31 21:28:17 +02:00
eikek
309a52393a Initial impl for totp 2021-08-31 16:45:39 +02:00
eikek
2b46cc7970 Add a simple module for totps
This is a wrapper around the nice and minimal java-otp library [0].

[0] https://github.com/jchambers/java-otp
2021-08-31 16:45:39 +02:00
mergify[bot]
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
Scala Steward
3210195062
Update munit, munit-scalacheck to 0.7.29 2021-08-31 10:26:12 +02:00
mergify[bot]
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
mergify[bot]
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
Scala Steward
9c6329a5c6
Update doobie-core, doobie-hikari to 1.0.0-RC1 2021-08-31 02:22:13 +02:00
Scala Steward
c1c0bcbd6b
Update testcontainers-scala-mariadb, ... to 0.39.7 2021-08-31 02:22:09 +02:00
mergify[bot]
68f3d6101b
Merge pull request #1040 from eikek/query-improvements
Query improvements
2021-08-30 18:30:25 +00:00
eikek
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
eikek
a5a8c2553b Add indexes to better support certain queries 2021-08-29 00:38:12 +02:00
eikek
9812b8f6c8 Set new version to 21.12-SNAPSHOT 2021-08-28 12:54:44 +02:00
eikek
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
eikek
be510b0363 Set version to 0.26.0 2021-08-28 11:54:08 +02:00
eikek
cf984e82bb Update Changelog 2021-08-28 11:52:00 +02:00
mergify[bot]
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
eikek
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
mergify[bot]
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
eikek
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
mergify[bot]
eb53b08acd
Merge pull request #1036 from eikek/fix/1032-source-insert
Fix/1032 source insert
2021-08-27 21:01:51 +00:00
eikek
7b2fb70c04 Add missing data to insert statement
Closes: #1032
2021-08-27 22:51:34 +02:00
eikek
77d69bdcf6 Remove obsolete dockerignore file 2021-08-27 22:49:42 +02:00
mergify[bot]
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
eikek
15f9f907e2
Merge pull request #1034 from seijikun/master
Add documentation for the new dsc export functionality
2021-08-27 20:56:00 +02:00
Scala Steward
ca382a02ef
Update scalafmt-core to 3.0.1 2021-08-27 20:53:57 +02:00
Markus Ebner
e829b86021
Add documentation for the new dsc export functionality 2021-08-27 20:14:57 +02:00
mergify[bot]
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
Scala Steward
93053e52af
Update sbt-sonatype to 3.9.10 2021-08-25 22:18:14 +02:00
mergify[bot]
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
Scala Steward
040dae0e93
Update fs2-core, fs2-io to 3.1.1 2021-08-25 00:18:45 +02:00
eikek
3bdc9477ca
Merge pull request #1027 from wallace11/add-hebrew
Add hebrew document language
2021-08-24 18:45:20 +02:00
mergify[bot]
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
Scala Steward
9127b6c44c
Update tika-core to 2.1.0 2021-08-24 14:17:53 +02:00
wallace
eab7fe57d2 Fix formatting with scalafmt 2021-08-24 02:24:20 +03:00
wallace
589c41003f Add hebrew document language 2021-08-24 01:19:42 +03:00
mergify[bot]
945ca6f561
Merge pull request #1026 from eikek/migration-tests
Test db migrations for all supported databases
2021-08-23 21:53:51 +00:00
eikek
6bb6cad39d Test db migrations for all supported databases 2021-08-23 23:41:03 +02:00
mergify[bot]
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
eikek
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
mergify[bot]
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
eikek
d5022f883e Enhance search mode to search in all items 2021-08-21 15:45:14 +02:00
mergify[bot]
2cec8822c7
Merge pull request #1023 from eikek/feature/983-attachments-only
Feature/983 attachments only
2021-08-21 12:40:04 +00:00
eikek
0a0dd80bdc Add new checkbox to scan mailbox form 2021-08-21 13:49:12 +02:00
eikek
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