Commit Graph

307 Commits

Author SHA1 Message Date
Lennart
f56fd81d0e simple refactoring 2024-11-06 16:18:11 +01:00
Lennart
c21993ab15 Refactoring 2024-11-06 15:57:10 +01:00
Lennart
d5ef6669a6 Remove all that extension business and replace with internal properties 2024-11-05 17:22:48 +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
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
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
46b8593a6e add tracing to route_mkcalendar 2024-11-02 12:11:08 +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
9db7f629f2 minor refactoring 2024-10-31 18:09:57 +01:00
Lennart
658ea6fab6 comment 2024-10-28 18:26:25 +01:00
Lennart
fcbf7cf352 store: move timestamp to calendar 2024-10-28 17:51:07 +01:00
Lennart
d9b9b0825c put synctoken into common module 2024-10-28 17:47:00 +01:00
Lennart
db01df5cb8 store: Refactoring to split calendar and addressbook 2024-10-28 17:44:22 +01:00
Lennart
53d2ea10e6 caldav: Support VJOURNAL 2024-10-27 16:32:08 +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
61aef8d52b Refactoring to remove CalDavContext 2024-10-27 01:20:27 +02:00
Lennart
d87b7dcb8d Refactor: Rename uid to object_id 2024-10-14 10:13:32 +02:00
Lennart
e7b290149d report: add tracing and remove debug statements 2024-10-09 00:30:14 +02:00
Lennart
a75b9f213a Support timezone ids from the Olson database 2024-10-08 18:06:26 +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
c0fb7d1d11 Refactor the .ics path normalisation for CalendarObject 2024-10-08 15:54:19 +02:00
Lennart
63f16b6081 fix typo 2024-10-08 15:24:40 +02:00
Lennart
fe13e9f2db REPORT calendar-query: implement time-range filter 2024-10-08 15:23:50 +02:00
Lennart
5c77dbc607 change string 2024-10-08 12:53:22 +02:00
Lennart
00c493dea4 report multiget: Add NotFound handling 2024-10-08 12:53:16 +02:00
Lennart
8e1e1d5af5 Reimplement the OPTIONS handler such that the Allowed methods are actually correct 2024-10-04 21:35:07 +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
8ed0c3ec2a remove prefix parameter 2024-10-04 18:16:25 +02:00
Lennart
2aa0e173c8 Got rid of this ServicePrefix thing 2024-10-04 18:15:35 +02:00
Lennart
12e4e42c7c calendar_query: sketch out the time-range filtering 2024-10-04 16:30:22 +02:00
Lennart
a47d056df0 Massive refactoring how DAV resources and routes work 2024-10-03 23:02:13 +02:00
Lennart
dd3d05907c Move authentication middleware into the caldav scope 2024-10-03 19:55:05 +02:00
Lennart
6f12a1d80e completely rebuilt the auth implementation to support OIDC in the future 2024-10-03 19:47:50 +02:00
Lennart
235e7b207a Changed CalendarStore put_object interface 2024-10-03 16:08:35 +02:00