2747 Commits

Author SHA1 Message Date
mergify[bot]
84e16f65f9
Merge pull request #1060 from eikek/fix/delete-user
Fix/delete user
2021-09-08 19:11:50 +00:00
eikek
a94aeff75c Add ui for showing data to be deleted for a user 2021-09-08 20:57:10 +02:00
eikek
e89b571ab2 Add a route to show what is deleted 2021-09-08 20:57:10 +02:00
eikek
736968b049 Fix adding a new user and don't allow to add non-local users
The user structure must provide the correct account source now.
2021-09-08 20:57:10 +02:00
eikek
8df235e9db Delete the user along its data 2021-09-08 20:57:10 +02:00
eikek
3650a7d20c Make sure DML statements use the correct logger
It also seems to be necessary now to add the space in the `WHERE`.
Normally, the `fr` interpolator would add spaces….
2021-09-08 20:56:18 +02:00
Renovate Bot
b6ea91d87a Update cachix/install-nix-action action to v14 2021-09-08 17:02:31 +00:00
mergify[bot]
805a9242fa
Merge pull request #1057 from scala-steward/update/emil-common-0.10.0-M3
Update emil-common, emil-doobie, ... to 0.10.0-M3
2021-09-06 22:36:48 +00:00
mergify[bot]
1168f7acdf
Merge pull request #1056 from scala-steward/update/bitpeace-core-0.9.0-M3
Update bitpeace-core to 0.9.0-M3
2021-09-06 22:36:02 +00:00
Scala Steward
a391cb5a6e
Update emil-common, emil-doobie, ... to 0.10.0-M3 2021-09-07 00:24:40 +02:00
Scala Steward
e76c5f6066
Update bitpeace-core to 0.9.0-M3 2021-09-07 00:24:27 +02:00
mergify[bot]
9386b66e43
Merge pull request #1054 from scala-steward/update/flyway-core-7.15.0
Update flyway-core to 7.15.0
2021-09-06 16:24:38 +00:00
Scala Steward
a9b227f77e
Update flyway-core to 7.15.0 2021-09-06 18:12:05 +02:00
mergify[bot]
e943b4c60d
Merge pull request #1053 from eikek/feature/openid
Feature/openid
2021-09-06 12:56:46 +00:00
eikek
cc9e3a31d8 Add openid to the nixos module 2021-09-06 14:47:42 +02:00
eikek
11de82402e Add cross checks for the server config 2021-09-06 14:47:42 +02:00
eikek
4237caa755 Add some documentation for OIDC 2021-09-06 14:24:52 +02:00
eikek
28fdeb5a93 Fixing http redirect status codes 2021-09-06 11:40:47 +02:00
eikek
468ba90158 Fix OTP authentication for external accounts 2021-09-06 01:07:31 +02:00
eikek
8158e36d40 Improve logging and rename oauth->openid 2021-09-06 00:29:19 +02:00
eikek
984dda9da0 Add OpenID support to webapp 2021-09-05 23:43:07 +02:00
eikek
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
eikek
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
eikek
aa099a340e Remove unused code 2021-09-05 21:38:14 +02:00
eikek
aef56233a5 Add a new column to distinguish local from external users 2021-09-05 21:38:14 +02:00
eikek
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
mergify[bot]
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
Scala Steward
177dc1fd10
Update scalafmt-core to 3.0.2 2021-09-03 22:19:45 +02:00
mergify[bot]
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
Scala Steward
b4ab4f6d83
Update http4s-blaze-client, ... to 0.23.3 2021-09-03 00:16:02 +02:00
mergify[bot]
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
Scala Steward
9f13058b23
Update sbt-openapi-schema to 0.8.2 2021-09-02 22:21:37 +02:00
eikek
4e57be6dfd Fix endpoint path in openapi spec 2021-09-02 22:06:33 +02:00
mergify[bot]
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
Scala Steward
21ecee4f87
Update flyway-core to 7.14.1 2021-09-02 00:34:46 +02:00
mergify[bot]
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
Scala Steward
25ce18cdef
Update http4s-blaze-client, ... to 0.23.2 2021-09-01 20:40:01 +02:00
mergify[bot]
ec6ebb9e96
Merge pull request #1046 from eikek/minor-cleanups
Minor cleanups
2021-08-31 23:07:54 +00:00
eikek
3a5ef62715 Add missing sql changesets 2021-09-01 00:57:03 +02:00
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