cc9e3a31d8
Add openid to the nixos module
2021-09-06 14:47:42 +02:00
11de82402e
Add cross checks for the server config
2021-09-06 14:47:42 +02:00
4237caa755
Add some documentation for OIDC
2021-09-06 14:24:52 +02:00
28fdeb5a93
Fixing http redirect status codes
2021-09-06 11:40:47 +02:00
468ba90158
Fix OTP authentication for external accounts
2021-09-06 01:07:31 +02:00
8158e36d40
Improve logging and rename oauth->openid
2021-09-06 00:29:19 +02:00
984dda9da0
Add OpenID support to webapp
2021-09-05 23:43:07 +02:00
f8362329a9
Authenticate with external accounts using OIDC
...
After successful authentication at the provider, an account is
automatically created at docspell and the user is logged in.
2021-09-05 21:39:30 +02:00
7edb96a297
Register external accounts
...
This creates the account if it doesn't exist yet; otherwise it's a
noop. Only valid for non-local accounts.
2021-09-05 21:38:14 +02:00
aa099a340e
Remove unused code
2021-09-05 21:38:14 +02:00
aef56233a5
Add a new column to distinguish local from external users
2021-09-05 21:38:14 +02:00
b73c252762
Implement authentication via OpenIdConnect and OAuth2
...
The new subproject "oidc" handles all the details for working with an
OpenID Connect provider (like keycloak) or only OAuth2 - only
supporting the "Authorization Code Flow" for both variants.
2021-09-05 17:32:15 +02:00
7677340fa6
Merge pull request #1051 from scala-steward/update/scalafmt-core-3.0.2
...
Update scalafmt-core to 3.0.2
2021-09-03 20:33:04 +00:00
177dc1fd10
Update scalafmt-core to 3.0.2
2021-09-03 22:19:45 +02:00
25e5f487ca
Merge pull request #1050 from scala-steward/update/http4s-blaze-client-0.23.3
...
Update http4s-blaze-client, ... to 0.23.3
2021-09-02 22:29:20 +00:00
b4ab4f6d83
Update http4s-blaze-client, ... to 0.23.3
2021-09-03 00:16:02 +02:00
48b35e175f
Merge pull request #1049 from scala-steward/update/sbt-openapi-schema-0.8.2
...
Update sbt-openapi-schema to 0.8.2
2021-09-02 20:32:56 +00:00
9f13058b23
Update sbt-openapi-schema to 0.8.2
2021-09-02 22:21:37 +02:00
4e57be6dfd
Fix endpoint path in openapi spec
2021-09-02 22:06:33 +02:00
93f6f5c8c9
Merge pull request #1048 from scala-steward/update/flyway-core-7.14.1
...
Update flyway-core to 7.14.1
2021-09-01 22:45:48 +00:00
21ecee4f87
Update flyway-core to 7.14.1
2021-09-02 00:34:46 +02:00
73de1330f3
Merge pull request #1047 from scala-steward/update/http4s-blaze-client-0.23.2
...
Update http4s-blaze-client, ... to 0.23.2
2021-09-01 18:50:50 +00:00
25ce18cdef
Update http4s-blaze-client, ... to 0.23.2
2021-09-01 20:40:01 +02:00
ec6ebb9e96
Merge pull request #1046 from eikek/minor-cleanups
...
Minor cleanups
2021-08-31 23:07:54 +00:00
3a5ef62715
Add missing sql changesets
2021-09-01 00:57:03 +02:00
9dfe7f30a0
Remove unused contact kind
2021-09-01 00:57:03 +02:00
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
fecd9d0d7a
Update scodec-bits to 1.1.28
2021-08-31 22:23:37 +02:00
b2589b9104
Merge pull request #1044 from eikek/feature/762-2fa
...
Add two-factor authentication using TOTP
2021-08-31 19:43:54 +00:00
1afc005a6c
Adopt login process for two-factor auth
2021-08-31 21:29:07 +02:00
999c39833a
Add user setting page for totp
2021-08-31 21:28:17 +02:00
309a52393a
Initial impl for totp
2021-08-31 16:45:39 +02:00
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
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