Commit Graph

259 Commits

Author SHA1 Message Date
Lennart
646919587e some refactoring 2025-01-01 15:07:22 +01:00
Lennart
72688f1761 xml: Add janky implementation for namespaces without prefix 2025-01-01 14:44:02 +01:00
Lennart
11fa0f24c7 store: Fix test_calendar 2025-01-01 14:18:37 +01:00
Lennart
00d284b0fb quick-xml: Remove serde-related features 2024-12-31 20:14:15 +01:00
Lennart
b7f090e467 Add namespace 2024-12-31 20:06:10 +01:00
Lennart
5cacca9046 xml: Add namespace prefixes 2024-12-31 19:07:37 +01:00
Lennart
09239dba7e Add namespaces to props 2024-12-31 18:25:55 +01:00
Lennart
098e374e4d xml: namespace serialization 2024-12-31 18:20:02 +01:00
Lennart
c16a5214bc save progress: Move from serde::Serialize to XmlSerialize 2024-12-28 12:47:33 +01:00
Lennart
b9edc295a8 dav: Make owner field optional again 2024-12-25 17:42:39 +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
72844aa94e Migrate propfind and report to rustical_xml 2024-12-23 16:44:26 +01:00
Lennart
a9ef680c30 Some initial work on xml parsing 2024-11-24 15:09:34 +01:00
Lennart
7dfa0c9062 caldav, carddav: Generate Propname enums with strum 2024-11-12 15:28:22 +01:00
Lennart
6747fde623 some preparations for WebDav Push 2024-11-11 19:33:06 +01:00
Lennart
1d671ad266 caldav: add support for calendar subscriptions 2024-11-11 17:31:32 +01:00
Lennart
eebed51aec fix: deny_unknown_fields also forbids xmlns attributes 2024-11-06 17:52:07 +01:00
Lennart
f56fd81d0e simple refactoring 2024-11-06 16:18:11 +01:00
Lennart
c21993ab15 Refactoring 2024-11-06 15:57:10 +01:00
Lennart
ae4d5f0fc6 some refactoring 2024-11-06 11:01:13 +01:00
Lennart
85b5af2e76 clippy appeasement 2024-11-06 10:56:15 +01:00
Lennart
f1c43a8271 minor changes 2024-11-05 17:24:20 +01:00
Lennart
d5ef6669a6 Remove all that extension business and replace with internal properties 2024-11-05 17:22:48 +01:00
Lennart
4da0ca34c7 Fix prop parsing in PROPPATCH 2024-11-04 21:26:44 +01:00
Lennart
0cf6e5cb92 props: skip deserialization where it doesn't make sense 2024-11-04 21:14:54 +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
35955c09a5 appeasing to clippy 2024-11-04 20:11:29 +01:00
Lennart
05bd8f2aa0 prop: implement InvalidProperty with Default 2024-11-04 20:04:46 +01:00
Lennart
782d886302 remove boxed extensions 2024-11-04 19:49:09 +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
0fed7b05fa outsource root resource to dav crate 2024-11-04 17:42:55 +01:00
Lennart
4fd32b3f33 minor cleanup stuff 2024-11-03 23:21:27 +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
a136f86ca7 remove unused roxmltree dependency 2024-10-31 18:16:38 +01:00
Lennart
764f9401ac dav: remove anyhow dependency 2024-10-31 18:15:44 +01:00
Lennart
925b26ea0f update quick-xml to 0.37 2024-10-28 15:36:39 +01:00
Lennart
30a795b816 multistatus: Add CardDAV namespace 2024-10-27 13:31:45 +01:00
Lennart
42f2ea6ff9 dav proppatch: remove debug and todos 2024-10-27 00:43:42 +02:00
Lennart
26f6d7d72f Activate propfind propname, was already implemented :D 2024-10-08 16:17:05 +02:00
Lennart
d593a28381 propfind does not need to be async 2024-10-08 16:13:48 +02:00
Lennart
efa5e3ab89 Update docstrings 2024-10-04 20:09:28 +02:00