Commit Graph

57 Commits

Author SHA1 Message Date
Lennart
529f36ad99 dav: Convert is_collection const to function which will make filesystem access easier 2025-06-14 15:21:10 +02:00
Lennart K
0c1c04d1cd dav: Move displayname to common properties 2025-06-12 14:39:16 +02:00
Lennart
7628cdafbd Fix bug with missing trailing slash in propfind response 2025-06-09 22:36:11 +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
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
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
a78dd4a451 Add .ics and .vcf suffix to object resources
This fixes #61
2025-05-02 14:55:30 +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
180295ef1a Implement If-Match, If-None-Match for DELETE method 2025-02-06 15:17:49 +01:00
Lennart
031d94c9d1 Some preparations for supporting principal memberships 2025-02-02 11:34:10 +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
6d78a3936f stores: Switch from dyn to impl and implement Sized 2025-01-15 17:21:01 +01:00
Lennart
b9af6c10a3 birthday calendar, lots of refactoring 2025-01-12 16:04:38 +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
Lennart
c19e4745f9 Refactor how ResourceService works 2025-01-04 14:24:01 +01:00
Lennart
40c8624703 some refactoring 2025-01-01 15:22:51 +01:00
Lennart
09239dba7e Add namespaces to props 2024-12-31 18:25:55 +01:00
Lennart
c16a5214bc save progress: Move from serde::Serialize to XmlSerialize 2024-12-28 12:47:33 +01:00
Lennart
2eac441bad Remove garbage comment 2024-12-25 17:39:44 +01:00
Lennart
8fdaba2b57 dav: Refactor proppatch, remove InvalidProperty trait 2024-12-25 17:34:38 +01:00
Lennart
80472289dc Migrate all deserialization business to rustical_xml 2024-12-25 10:24:37 +01:00
Lennart
3e870bcbe6 fix: exclude invalid prop from allprop 2024-12-23 12:06:01 +01:00
Lennart
7dfa0c9062 caldav, carddav: Generate Propname enums with strum 2024-11-12 15:28:22 +01:00
Lennart
1d671ad266 caldav: add support for calendar subscriptions 2024-11-11 17:31:32 +01:00
Lennart
d5ef6669a6 Remove all that extension business and replace with internal properties 2024-11-05 17:22:48 +01:00
Lennart
ff95d65d44 fix props deserialization (quick-xml doesn't support untagged enums) 2024-11-04 21:10:43 +01:00
Lennart
2143bc850c simplify resourcetype 2024-11-04 20:46:16 +01:00
Lennart
ab9c5f6b38 fix some resource types 2024-11-04 20:30:50 +01:00
Lennart
2ff27814b7 make attributes private 2024-11-04 20:07:57 +01:00
Lennart
05bd8f2aa0 prop: implement InvalidProperty with Default 2024-11-04 20:04:46 +01:00
Lennart
0d2e07fb65 changes around extensions 2024-11-04 19:19:54 +01:00
Lennart
c41e3e3abb fix some dumb design decisions 2024-11-04 17:57:09 +01:00
Lennart
e9dc8e01d5 dav: add default implementation for save_resource 2024-11-03 23:17:57 +01:00
Lennart
f2d39e3351 outsource owner property 2024-11-03 23:00:20 +01:00
Lennart
f1997f2c18 outsource resourcetype to extension 2024-11-03 22:51:19 +01:00
Lennart
0c8d339ced dav: Introduce resource extension for common properties 2024-11-03 22:32:21 +01:00
Lennart
f92be513dc resource: change some type signatures 2024-11-02 11:49:55 +01:00
Lennart
0c14f8ba90 Improvement to access control 2024-10-31 21:18:41 +01:00
Lennart
eab03fef6b dav: get_resource replace principal with User 2024-10-31 18:20:43 +01:00
Lennart
db01df5cb8 store: Refactoring to split calendar and addressbook 2024-10-28 17:44:22 +01:00