Commit Graph

187 Commits

Author SHA1 Message Date
Lennart
ea4281babd formatting 2024-10-27 00:47:57 +02:00
Lennart
c4f68e2cf1 recurrence rules: We can now just not return a last occurence instead of throwing an error 2024-10-26 21:25:20 +02:00
Lennart
03ce10b6dd CalDateTime: Add timezone guessing from TZID as well as some error handling 2024-10-26 14:43:27 +02:00
Lennart
d87b7dcb8d Refactor: Rename uid to object_id 2024-10-14 10:13:32 +02:00
Lennart
ac0206568d remove debug print 2024-10-13 19:53:25 +02:00
Lennart
7ce0fc53a4 Add authentication with session cookie 2024-10-13 19:05:57 +02:00
Lennart
c2dbd9d0b9 auth: Add tracing around token validation 2024-10-09 00:30:42 +02:00
Lennart
41aa1a2105 Add proper Unauthorized error for user extractor 2024-10-09 00:07:13 +02:00
Lennart
66486a5e27 remove debug statement 2024-10-09 00:04:06 +02:00
Lennart
a75b9f213a Support timezone ids from the Olson database 2024-10-08 18:06:26 +02:00
Lennart
b6d22f218b implement From<CalDateTime> for DateTime<Utc> 2024-10-08 15:57:43 +02:00
Lennart
dd93afebb3 Implement occurence getters for calendar object 2024-10-08 15:06:45 +02:00
Lennart
f91ed0cb5d Rewrite occurence getters for Event 2024-10-08 15:05:07 +02:00
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
f7d253de85 Add app tokens (secondary passwords) to afford cheaper hashes 2024-10-06 12:54:19 +02:00
Lennart
2faed682b1 sql schema formatting 2024-10-04 21:36:32 +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
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
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
acc47e4e24 Refactor store crate 2024-09-30 18:23:30 +02:00
Lennart
48abbb7ac3 minor refactoring 2024-09-29 15:09:58 +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
436d6fd41c Update dependencies 2024-09-19 15:27:26 +02:00
Lennart
076f140923 bump dependencies 2024-08-03 16:32:05 +02:00
Lennart
3dd9a048ac Fixes to event timestamps 2024-08-03 16:27:41 +02:00
Lennart
d3ab140c3a sql schema add ; 2024-08-03 16:27:03 +02:00
Lennart
c50485f13d Add sync_changes to CalendarStore 2024-08-02 20:36:37 +02:00
Lennart
33539e8c7a Add basic sync-token implementation 2024-07-28 17:49:15 +02:00
Lennart
a0864d6eeb Bump sqlx to 0.8 2024-07-28 17:48:03 +02:00
Lennart
21fe841ef1 events: Add updated_at field 2024-07-27 14:38:39 +02:00
Lennart
8afcbccd6a Fix bug where deleted events stay listed 2024-06-30 19:42:26 +02:00
Lennart
9a2173c987 fix typo 2024-06-30 17:21:38 +02:00
Lennart
06d1095c66 Fix data model to fix event collisions with multiple principals 2024-06-21 21:16:31 +02:00
Lennart
aed6bcff63 Add trash bin feature 2024-06-21 19:30:59 +02:00
Lennart
26d2f88d1c Change upsert_event to put_event to match webdav spec 2024-06-21 18:24:06 +02:00
Lennart
9c703673fa Remove toml store 2024-06-21 18:01:41 +02:00
Lennart
ae58a11500 Update ical and rstest 2024-06-20 19:37:55 +02:00
Lennart
69d6778193 store: Add update_calendar method 2024-06-16 13:01:53 +02:00
Lennart
d647e45e5c Add calendar-order prop 2024-06-01 22:00:07 +02:00