Commit Graph

138 Commits

Author SHA1 Message Date
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
Lennart
6d1a2f59c0 edit resource.rs 2024-10-04 20:07:19 +02:00
Lennart
b710dd9df6 Reorganise resource methods 2024-10-04 20:02:14 +02:00
Lennart
6bc1ac6a7d Minor refactoring and tracing 2024-10-04 19:42:44 +02:00
Lennart
2aa0e173c8 Got rid of this ServicePrefix thing 2024-10-04 18:15:35 +02:00
Lennart
d123117c8c Update Cargo.toml 2024-10-04 16:34:48 +02:00
Lennart
c14eddb0b6 Add tracing and restructure the Cargo.tomls 2024-10-04 16:30:59 +02:00
Lennart
a47d056df0 Massive refactoring how DAV resources and routes work 2024-10-03 23:02:13 +02:00
Lennart
6f12a1d80e completely rebuilt the auth implementation to support OIDC in the future 2024-10-03 19:47:50 +02:00
Lennart
41d68f9ae0 code cleanup 2024-09-30 18:30:01 +02:00
Lennart
2670abfef0 typing 2024-09-29 15:22:45 +02:00
Lennart
b35e50bf76 typing 2024-09-29 15:14:36 +02:00
Lennart
48abbb7ac3 minor refactoring 2024-09-29 15:09:58 +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
e9e16a71f0 caldav: some minor refactoring 2024-09-29 14:40:28 +02:00
Lennart
93e28a1a32 Remove unnecessary async_trait usages 2024-09-29 12:47:38 +02:00
Lennart
11e929a2de remove unnecessary ?Sized constraints 2024-09-29 12:47:13 +02:00
Lennart
8e11e1aa0d Migrate from derive_more to thiserror 2024-09-19 15:38:57 +02:00
Lennart
436d6fd41c Update dependencies 2024-09-19 15:27:26 +02:00
Lennart
076f140923 bump dependencies 2024-08-03 16:32:05 +02:00
Lennart
2bc9635501 Add status code to multistatus element 2024-08-02 20:35:52 +02:00