Commit Graph

158 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
f7d253de85 Add app tokens (secondary passwords) to afford cheaper hashes 2024-10-06 12:54:19 +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
3dd9a048ac Fixes to event timestamps 2024-08-03 16:27:41 +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
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
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
Lennart
35acfe1575 store(Event): Keep plaintext ics string 2024-05-25 17:39:10 +02:00
Lennart
be27d4d7fa store: Add delete_calendar 2024-05-25 17:38:29 +02:00
Lennart
29adbadfb4 refactoring 2024-03-29 14:06:33 +01:00
Lennart
f8ba0c3600 sqlite: constructor for testing store 2024-02-26 16:30:08 +01:00
Lennart
92102ebfc0 TOML store, optional path for unit testing 2024-02-26 16:29:32 +01:00
Lennart
2b2f445e8c make test function private 2024-02-25 12:50:32 +01:00
Lennart
509f8f7aeb Outsource db pool creation in preparation for unit tests 2024-02-25 12:50:19 +01:00
Lennart
c45af9a91e remove unnecessary import 2024-02-25 11:39:54 +01:00
Lennart
6be9ce5061 store: update ical-rs 2024-02-25 11:39:41 +01:00
Lennart
488bce0792 Some work on the sqlite store 2024-02-06 12:36:00 +01:00
Lennart
4f2e92c953 Add WIP sqlite store 2023-10-08 14:48:51 +02:00
Lennart
0a9d255029 Move events into their own file 2023-09-29 13:16:26 +02:00
Lennart
872313bd48 refactoring 2023-09-21 15:34:51 +02:00
Lennart
900d432828 Add half-baked implementation for first_ and last_occurence to Event 2023-09-21 15:16:58 +02:00
Lennart
0c71fec7fc Switch event representation such that properties can be extracted 2023-09-20 16:40:38 +02:00
Lennart
d4025c4f89 fix store/lib.rs 2023-09-20 15:42:26 +02:00