Commit Graph

763 Commits

Author SHA1 Message Date
Lennart
40cb0c56e9 sqlite_store: Reorder migrations 2025-04-26 14:21:59 +02:00
Lennart
87112f3794 Migrate principal store to sqlite 2025-04-26 14:13:37 +02:00
Lennart
1f915b73de frontend: Wrap timezone in textarea 2025-04-26 11:31:55 +02:00
Lennart
4071ea4ff4 CLI: Allow editing principal password 2025-04-26 10:52:23 +02:00
Lennart
3d1e44cc71 Update Cargo.toml 2025-04-20 22:23:13 +02:00
Lennart
0c940b595e oidc: Remove all dependencies on other rustical crates 2025-04-20 22:12:52 +02:00
Lennart
be9712241c Move oidc to dedicated crate 2025-04-20 21:40:03 +02:00
Lennart
5e4cdc6a12 oidc: Add checking of state returned by IdP 2025-04-20 21:30:32 +02:00
Lennart
2c74d56f50 Refactoring of frontend and OIDC
I want to make some code reusable for other projects
2025-04-20 21:23:52 +02:00
Lennart
678d2291e0 frontend: Move oidc configuration to dedicated section 2025-04-20 20:42:24 +02:00
Lennart
cd0ebc574a rustical_dav: Add Overwrite header 2025-04-20 17:47:11 +02:00
Lennart
8eb46523a3 dav: Outsource PrincipalResource AT to where it's actually needed 2025-04-19 12:43:32 +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
39b1da3a8f edit stylesheet 2025-04-17 23:25:39 +02:00
Lennart
63ee4d7d53 frontend: set max width 2025-04-16 21:51:15 +02:00
Lennart
5b0868c544 frontend stuff 2025-04-16 21:14:49 +02:00
Lennart
68e824e6ba stylesheet change 2025-04-16 20:53:55 +02:00
Lennart
b24c7ca52a some minor frontend work 2025-04-16 20:52:56 +02:00
Lennart
df3f8ea06d Rename userid_claim option and document OIDC options 2025-04-16 17:28:45 +02:00
Lennart
90606092ed OIDC: Add configurable user id (between sub and preferred_username) 2025-04-16 17:26:12 +02:00
Lennart
fc147c388a OIDC: Add option to require group from IdP 2025-04-16 17:16:29 +02:00
Lennart
ed84fb894f Wrap app tokens and password of User in secret type 2025-04-16 16:30:45 +02:00
Lennart
0b7e6bb7ce Support for disabling password login 2025-04-14 18:06:36 +02:00
Lennart
93b967093c Make stricter distinction between password and app tokens 2025-04-14 18:00:07 +02:00
Lennart
154d0c80c0 refactoring 2025-04-14 17:32:53 +02:00
Lennart
1157e334ab frontend: Fix app token generation form 2025-04-14 17:23:53 +02:00
Lennart
7b58df4153 Prevent empty app tokens 2025-04-14 17:19:37 +02:00
Lennart
2ce8529002 Some refactoring and app token management 2025-04-14 17:17:36 +02:00
Lennart
354c6c97eb Fix frontend login for nextcloud flows 2025-04-13 20:22:15 +02:00
Lennart
64233f91d2 frontend: Janky code to make redirects after login work 2025-04-13 19:55:48 +02:00
Lennart
14e5533b6f Move nextcloud_login to frontend crate 2025-04-13 19:00:51 +02:00
Lennart
a60d8deacc frontend: Minor work to make it a little less terrible 2025-04-13 18:42:13 +02:00
Lennart
8976832e6b Fix restoring for group calendars 2025-04-13 18:08:40 +02:00
Lennart
fe0bab00f6 frontend: Add button to log out 2025-04-13 15:49:27 +02:00
Lennart
cf3d9bb16b Add initial OIDC support #33 2025-04-13 15:31:58 +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
7b70b79bf0 use askama_web to make template responses more ergonomic 2025-04-12 12:15:50 +02:00
Lennart
6e03d58457 Update askama 2025-04-05 14:02:30 +02:00
Lennart
e6d3c4e0e5 nextcloud_login: Fix routing 2025-02-11 17:13:58 +01:00
Lennart K
63c8f8b5f2 Remove Default from TomlUserStoreConfig 2025-02-11 12:57:20 +01:00
Lennart
9ff04f3bbb nextcloud_login: Remove unused assets stuff 2025-02-10 17:06:32 +01:00
Lennart
01049bad18 Fix Nextcloud login flaws 2025-02-10 16:42:48 +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