Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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
858f43de67 Remove RwLock around stores, locking shall be the responsibility of the store implementation 2024-10-27 16:18:56 +01:00
Lennart
d4d6a9e8d0 caldav: Document which RFCs the properties originate from 2024-10-27 11:55:10 +01:00
Lennart
a47d056df0 Massive refactoring how DAV resources and routes work 2024-10-03 23:02:13 +02:00
Lennart
3469252cd3 Refactoring to move authentication out of the ResourceService layer 2024-09-29 15:01:46 +02:00
Lennart
f2f66c95d2 refactor from file to resource 2024-09-29 14:42:56 +02:00
Lennart
2a347f0616 caldav: Refactoring to for consistent terminology between resources and resource services 2024-09-29 14:00:06 +02:00
Lennart
7f164da438 caldav: refactor resource newtypes 2024-09-29 13:39:45 +02:00
Lennart
1b438ea98a caldav: Replace anyhow!'s with panics where the program should really panic 2024-09-29 12:57:07 +02:00
Lennart
93e28a1a32 Remove unnecessary async_trait usages 2024-09-29 12:47:38 +02:00
Lennart
c956189ceb whoops, last commit created an error 2024-09-29 12:25:24 +02:00
Lennart
ea460f8187 Formatting 2024-07-28 17:47:49 +02:00
Lennart
b6debf2ad2 Fix a few principal urls 2024-06-30 20:35:08 +02:00
Lennart
04ad124799 Some refactoring 2024-06-28 21:55:15 +02:00
Lennart
55e6faf822 Add <remove> to PROPPATCH implementation and some refactoring 2024-06-23 16:42:44 +02:00
Lennart
584e325596 Remove unnecessary traits 2024-06-21 18:03:00 +02:00
Lennart
f78f3e8194 Add basic framework for PROPPATCH implementation 2024-06-20 19:40:01 +02:00
Lennart
bee4675f82 Add explicit error type to propfind resources 2024-06-01 13:58:43 +02:00
Lennart
1d763b5c8f Error typing for rustical_store as well as some refactoring 2024-06-01 13:00:36 +02:00
Lennart
7fcd9a17f5 move CalendarStore to separate file 2024-06-01 11:44:04 +02:00
Lennart
fe5f3207ae principal: Add auth checking and fix member path 2024-05-27 15:38:00 +02:00
Lennart
b910fd461c refactor(caldav) 2024-05-27 15:11:36 +02:00