Commit Graph

606 Commits

Author SHA1 Message Date
Lennart
b82daeb4e2 remove todo
The annoyance of making sure the stored is ETag is correct is larger
than the cost of just keeping things as they are
2024-10-08 14:33:51 +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
f7d253de85 Add app tokens (secondary passwords) to afford cheaper hashes 2024-10-06 12:54:19 +02:00
Lennart
a119e7f099 frontend 2024-10-05 19:07:50 +02:00
Lennart
2faed682b1 sql schema formatting 2024-10-04 21:36:32 +02:00
Lennart
59006bc9f2 some experimentation with frontend 2024-10-04 21:36:07 +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
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
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
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
12e4e42c7c calendar_query: sketch out the time-range filtering 2024-10-04 16:30:22 +02:00
Lennart
15d3050569 update Cargo.toml 2024-10-04 11:58:42 +02:00
Lennart
4e85d129d1 change user.rs 2024-10-04 11:58:29 +02:00
Lennart
8949506758 CalDateTime: implement Deserialize 2024-10-04 11:58:17 +02:00
Lennart
a47d056df0 Massive refactoring how DAV resources and routes work 2024-10-03 23:02:13 +02:00
Lennart
9c8c05eaca Fix that auth middleware should not actually throw an error when unauthorized 2024-10-03 20:24:14 +02:00
Lennart
4872d67a36 remove comment 2024-10-03 19:55:43 +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
Lennart
6eaaae37b3 Rename events to calendar objects 2024-10-03 15:59:19 +02:00
Lennart
c3a2e331ac Add rudimentary comp-filter support in calendar-query 2024-09-30 20:20:51 +02:00
Lennart
eeacbc888d Add first VTODO support 2024-09-30 20:20:32 +02:00
Lennart
b3a7806139 Migrate from Event type to CalendarObject
This is preparation to support other calendar components like VTODO and
VJOURNAL
2024-09-30 19:35:54 +02:00
Lennart
41d68f9ae0 code cleanup 2024-09-30 18:30:01 +02:00
Lennart
acc47e4e24 Refactor store crate 2024-09-30 18:23:30 +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
ac10ed096a set max-resource-size to i64 2024-09-29 14:17:32 +02:00
Lennart
e863f994b0 caldav: set calendar-order to i64 2024-09-29 14:14:40 +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
11e929a2de remove unnecessary ?Sized constraints 2024-09-29 12:47:13 +02:00
Lennart
c956189ceb whoops, last commit created an error 2024-09-29 12:25:24 +02:00
Lennart
04bc989271 Update dependencies 2024-09-29 12:23:50 +02:00
Lennart
e5c5ebd5b8 store: Remove postgres dependency 2024-09-29 12:22:28 +02:00
Lennart
3ac7e01b53 calendar: refactoring 2024-09-29 12:22:07 +02:00
Lennart
4597f67777 remove broken tests 2024-09-29 12:18:52 +02:00