Commit Graph

92 Commits

Author SHA1 Message Date
Lennart
0ef3e19bd3 caldav: Fix principal collection permissions 2025-07-23 11:28:14 +02:00
Lennart
18af1b9aa2 remove calendar-proxy from DAV header 2025-07-22 15:41:24 +02:00
Lennart K
69163404a1 caldav: Add endpoint with simplified calendar-home-set 2025-07-18 12:18:27 +02:00
Lennart K
891ef6a9f3 write test fixtures for sqlite store 2025-06-29 12:23:23 +02:00
Lennart
86ae31e94c tiny steps towards unit testing for each resource 2025-06-27 14:33:25 +02:00
Lennart
6046439fc7 feat(dav): Add show_deleted parameter to get_resource
Fixes #86
2025-06-23 16:43:46 +02:00
Lennart
15aadcf1be Rename User struct to Principal 2025-06-19 20:59:59 +02:00
Lennart
a387885b0a Remove calendar-proxy-write from caldav principal 2025-06-15 11:44:44 +02:00
Lennart
529f36ad99 dav: Convert is_collection const to function which will make filesystem access easier 2025-06-14 15:21:10 +02:00
Lennart
32bc8c707d Add group-membership to both caldav and carddav and fix addressbook-home-set for shared principals 2025-06-12 20:55:22 +02:00
Lennart
4dbc316e64 Remove member principals from calendar-home-set 2025-06-12 20:10:14 +02:00
Lennart
0e2f08d7f2 caldav: Add some access control-related properties and advertise calendar-proxy 2025-06-12 19:51:02 +02:00
Lennart
f857d68760 principal: Implement principal-collection-set 2025-06-12 15:31:34 +02:00
Lennart
9e5eaa5e1c Fix bug where principal collections would return information about the requesting user instead of the principal resource 2025-06-12 15:23:02 +02:00
Lennart
7c73223877 dav: Implement some principal props for WebDAV ACL 2025-06-12 15:00:54 +02:00
Lennart K
0c1c04d1cd dav: Move displayname to common properties 2025-06-12 14:39:16 +02:00
Lennart
4eb35d6c0d caldav: Merge calendar store and birthday store into combined store 2025-06-11 19:57:04 +02:00
Lennart
7628cdafbd Fix bug with missing trailing slash in propfind response 2025-06-09 22:36:11 +02:00
Lennart
6d6f8f20df Make sure collections have trailing slashes (py-caldav is very pedantic about that) 2025-06-09 22:23:01 +02:00
Lennart
71c2f8c019 Move properties into separate files 2025-06-09 21:09:46 +02:00
Lennart
0595920809 dav: Make the get_members function more ergonomic 2025-06-09 20:35:25 +02:00
Lennart
8f29a468db Improve routing 2025-06-09 16:30:14 +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
e57a14cad1 WIP: Complete work of propfind parsing 2025-06-04 18:11:25 +02:00
Lennart
b7c24fe2f0 Lots of refactoring around routing 2025-06-02 19:41:30 +02:00
Lennart K
ef33868151 Refactoring around routing and getting the principal uri (less dependence on actix) 2025-06-02 16:17:28 +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
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
3edcca608e Principal resources: Set displayname 2025-02-04 17:52:06 +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
6448b23f8c Janky fix to make birthday calendar set read_only 2025-01-19 13:34:00 +01:00
Lennart
6485b89c73 Ensure all routes check for authorization 2025-01-19 00:20:16 +01:00
Lennart
8359e4ee1c Remove Resource::PropName 2025-01-18 23:18:59 +01:00
Lennart
eb1a8578d7 Replace this internal_props stuff with CommonPropertiesExtension 2025-01-18 22:59:02 +01:00
Lennart
8d1202234d Generate everything strum does myself (no duplicate prop names) 2025-01-18 20:00:26 +01:00
Lennart
ea9f5a711d Add namespaces to propnames 2025-01-18 18:56:37 +01:00
Lennart K
807335de17 xml: Differentiate between ValueSerialize and ValueDeserialize to prevent unwraps 2025-01-15 11:05:57 +01:00
Lennart
d448f3f575 caldav principal: Add displayname and calendar-user-type 2025-01-12 18:05:35 +01:00
Lennart
b9af6c10a3 birthday calendar, lots of refactoring 2025-01-12 16:04:38 +01:00
Lennart
6a7e839f35 Support read-only calendar store as preparation for birthday calendars 2025-01-06 17:28:40 +01:00
Lennart
9ea9beb143 xml use tuple structs 2025-01-05 17:06:15 +01:00
Lennart
2eb6b1934d resourcetype: Use tuple struct 2025-01-05 16:44:31 +01:00
Lennart
f406b7dbb2 resourcetype: Proper namespace handling 2025-01-04 14:58:33 +01:00