Commit Graph

46 Commits

Author SHA1 Message Date
Lennart
feb8b3ff09 Add member search to user store 2025-06-12 19:50:32 +02:00
Lennart
7c73223877 dav: Implement some principal props for WebDAV ACL 2025-06-12 15:00:54 +02:00
Lennart
bbe9113f5c minor stuff 2025-06-08 20:23:53 +02:00
Lennart
00eb43f048 Implement almost all previous features 2025-06-08 19:38:33 +02:00
Lennart
95889e3df1 Checkpoint: Migration to axum 2025-06-08 14:10:12 +02:00
Lennart
790c657b08 Work on axum support 2025-06-07 20:17:50 +02:00
Lennart
7f3ce01c2b Move ical-related stuff to rustical_ical crate 2025-06-03 18:15:26 +02:00
Lennart
87112f3794 Migrate principal store to sqlite 2025-04-26 14:13:37 +02:00
Lennart
4071ea4ff4 CLI: Allow editing principal password 2025-04-26 10:52:23 +02:00
Lennart
54e327d764 dav: Make reusable for other projects 2025-04-18 13:26:44 +02:00
Lennart
626eff0373 Add CLI for most basic user management 2025-04-17 23:27:43 +02:00
Lennart
ed84fb894f Wrap app tokens and password of User in secret type 2025-04-16 16:30:45 +02:00
Lennart
93b967093c Make stricter distinction between password and app tokens 2025-04-14 18:00:07 +02:00
Lennart
2ce8529002 Some refactoring and app token management 2025-04-14 17:17:36 +02:00
Lennart
14e5533b6f Move nextcloud_login to frontend crate 2025-04-13 19:00:51 +02:00
Lennart
f132f9ccc8 Add insert_principal method to AuthenticationProvider 2025-04-13 15:29:43 +02:00
Lennart
63c16f411d frontend: Show group calendars 2025-04-12 13:13:16 +02:00
Lennart
30b0bf5b56 User middleware, fix #54 2025-04-12 13:12:48 +02:00
Lennart K
63c8f8b5f2 Remove Default from TomlUserStoreConfig 2025-02-11 12:57:20 +01:00
Lennart
7e8a246084 AppToken add creation date 2025-02-10 15:20:01 +01:00
Lennart
23007a3bda Implement Nextcloud login flow 2025-02-09 22:14:55 +01:00
Lennart
1d103ea312 user: Add name to app token 2025-02-09 17:28:15 +01:00
Lennart
d0d7a6dc78 user: Rename user_type to principal_type 2025-02-09 17:21:29 +01:00
Lennart
8948589b09 Breaking changes to auth provider, principal store outsourced to new config file 2025-02-09 17:19:08 +01:00
Lennart
aa6bd1cbc0 implement principal types 2025-02-02 15:12:15 +01:00
Lennart
bb8f2bb370 implement principal types 2025-02-02 12:27:03 +01:00
Lennart
ccae96bb17 Add principal memberships to allow group accounts 2025-02-02 11:58:58 +01:00
Lennart
031d94c9d1 Some preparations for supporting principal memberships 2025-02-02 11:34:10 +01:00
Lennart
d67efd8feb Remove accidentally pushed code 2025-02-02 10:31:34 +01:00
Lennart
21af6b0535 auth: Remove unused UserStore trait and put app_tokens into User struct 2025-01-29 10:28:07 +01:00
Lennart
577091cf02 Workaround for #10 2025-01-04 16:10:07 +01:00
Lennart
4fd32b3f33 minor cleanup stuff 2024-11-03 23:21:27 +01:00
Lennart
31c7143dd8 frontend: Add redirect to login page for unauthorized requests 2024-11-03 16:23:37 +01:00
Lennart
0f2db05a07 Add some CLI commands to generate a default configuration and password hashes 2024-11-03 13:17:38 +01:00
Lennart
3ea004f75d store auth: Fix bug that app tokens were only usable when password is set 2024-11-03 13:10:52 +01:00
Lennart
ac0206568d remove debug print 2024-10-13 19:53:25 +02:00
Lennart
7ce0fc53a4 Add authentication with session cookie 2024-10-13 19:05:57 +02:00
Lennart
c2dbd9d0b9 auth: Add tracing around token validation 2024-10-09 00:30:42 +02:00
Lennart
41aa1a2105 Add proper Unauthorized error for user extractor 2024-10-09 00:07:13 +02:00
Lennart
f7d253de85 Add app tokens (secondary passwords) to afford cheaper hashes 2024-10-06 12:54:19 +02:00
Lennart
4e85d129d1 change user.rs 2024-10-04 11:58:29 +02:00
Lennart
a47d056df0 Massive refactoring how DAV resources and routes work 2024-10-03 23:02:13 +02:00
Lennart
9c8c05eaca Fix that auth middleware should not actually throw an error when unauthorized 2024-10-03 20:24:14 +02:00
Lennart
4872d67a36 remove comment 2024-10-03 19:55:43 +02:00
Lennart
dd3d05907c Move authentication middleware into the caldav scope 2024-10-03 19:55:05 +02:00
Lennart
6f12a1d80e completely rebuilt the auth implementation to support OIDC in the future 2024-10-03 19:47:50 +02:00