Commit Graph

98 Commits

Author SHA1 Message Date
Lennart K
0d071d3b92 run clippy fix 2025-10-27 19:01:04 +01:00
Lennart
c4604d4376 xml: Comprehensive refactoring from byte strings to strings 2025-08-28 18:01:41 +02:00
Lennart
bfe17d0b65 caldav import: Add safeguard against empty addressbooks 2025-08-23 19:55:29 +02:00
Lennart
94ace71745 carddav: Change addressbook PUT to IMPORT 2025-08-23 19:01:19 +02:00
Lennart
2774d092ac propfind: Implement <include/>
Implements #95
2025-07-10 15:45:54 +02:00
Lennart K
b02f7c427a minor refactoring 2025-07-10 10:51:59 +02:00
Lennart
3ca02d9792 dav: Implement HEAD method 2025-07-05 08:47:22 +02:00
Lennart
fe78a82806 clippy appeasement 2025-06-27 13:57:57 +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
03ae492483 Implement DAV Push 2025-06-14 20:24:50 +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
54997ef865 MKCOL: Set empty displayname to None 2025-06-13 18:23:32 +02:00
Lennart
41d5c72e4e Fix and simplify support-report-set 2025-06-12 17:39:42 +02:00
Lennart K
0c1c04d1cd dav: Move displayname to common properties 2025-06-12 14:39:16 +02:00
Lennart
a20e9800bd Implement PUT method for addressbook import 2025-06-10 23:43:53 +02:00
Lennart
103ac0b1f9 Implement download feature for calendars and addressbooks
Fixes #70
2025-06-10 17:23:11 +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
7f3ce01c2b Move ical-related stuff to rustical_ical crate 2025-06-03 18:15:26 +02:00
Lennart
3c9c1c7abf slightly more refactoring 2025-06-02 20:18:59 +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
212274fce9 xml: Implement proper NamespaceOwned type 2025-05-14 20:18:45 +02:00
Lennart
8f69bc839a dav: Add namespace to propname 2025-05-10 13:13:51 +02:00
Lennart
d1f249a01b Implement data model changes to support new WebDAV Push spec 2025-05-03 15:24:00 +02:00
Lennart
c9683580eb Some refactoring work 2025-05-02 19:53:02 +02:00
Lennart
d826cb5fdd Fix hrefs for calendar/addressbook get_members 2025-05-02 15:19:57 +02:00
Lennart
5f8dc290d8 Fix bug in addressbook multiget 2025-05-02 14:57:09 +02:00
Lennart
a78dd4a451 Add .ics and .vcf suffix to object resources
This fixes #61
2025-05-02 14:55:30 +02:00
Lennart
99388cf992 addressbook_store, add option to not return deleted objects with get_object
#61
2025-04-27 18:32:17 +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
031d94c9d1 Some preparations for supporting principal memberships 2025-02-02 11:34:10 +01:00
Lennart
1442d79a24 Remove some anyhow dependencies 2025-01-23 18:56:21 +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
c5a91358b6 Remove getcontenttype from collections, they don't belong there 2025-01-18 23:03:01 +01:00
Lennart
eb1a8578d7 Replace this internal_props stuff with CommonPropertiesExtension 2025-01-18 22:59:02 +01:00
Lennart
1dda9dea8d Group some DAV properties in extensions 2025-01-18 22:23:56 +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
3e0571bb72 xml: Strict namespace, some tests and restructuring 2025-01-15 19:12:54 +01:00