Commit Graph

202 Commits

Author SHA1 Message Date
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
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
69fec2f8b2 store: experiments with unit tests 2024-03-29 15:35:15 +01:00
Lennart
320e1a7462 sql: make calendar name optional 2024-03-29 15:34:48 +01:00
Lennart
29adbadfb4 refactoring 2024-03-29 14:06:33 +01:00
Lennart
128e8c5531 Add a unit test to test unit testing 2024-02-27 17:35:30 +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
bc370f9fa9 Update dependencies and make version constraints more lenient 2024-01-21 15:31:38 +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
94500d25d6 remove forgotten Cargo.lock files 2023-09-20 15:44:41 +02:00
Lennart
d4025c4f89 fix store/lib.rs 2023-09-20 15:42:26 +02:00
Lennart
78a5a95aa6 Refactor: to_ics to as_ics 2023-09-16 14:09:27 +02:00
Lennart
759c4afee9 outsource toml store into own file 2023-09-13 12:46:08 +02:00
Lennart
f1112a3056 Add calendar color and description 2023-09-07 19:18:40 +02:00
Lennart
e875c04332 obvious thing: not every event belongs to every calendar 2023-09-07 19:06:28 +02:00
Lennart
0d460cb983 add ownership to calendar 2023-09-07 19:05:13 +02:00
Lennart
092f418ba8 store: Update Cargo.toml 2023-09-07 18:47:53 +02:00
Lennart
4da1507919 Switch db from json to toml 2023-09-07 18:45:28 +02:00