Commit Graph

80 Commits

Author SHA1 Message Date
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
Lennart
7dcc29302a Replace more anyhow errors with explicit error types 2024-06-01 14:24:31 +02:00
Lennart
1d763b5c8f Error typing for rustical_store as well as some refactoring 2024-06-01 13:00:36 +02:00
Lennart
7fcd9a17f5 move CalendarStore to separate file 2024-06-01 11:44:04 +02:00
Lennart
fd4fdb8f52 Fix toml_store not saving on calendar deletion 2024-05-29 15:52:51 +02:00
Lennart
bdca080558 sqlite: refactor insert_calendar 2024-05-25 22:29:43 +02:00
Lennart
1c88821b21 sqlite: clean up get_events 2024-05-25 22:27:37 +02:00
Lennart
7e02a7e095 I didn't know about into_iter before :/ 2024-05-25 22:23:19 +02:00