Commit Graph

57 Commits

Author SHA1 Message Date
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
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