Commit graph

70 commits

Author SHA1 Message Date
daladim
313f2ed0e9 [minor] Unused variable 2021-12-24 14:56:22 +01:00
daladim
6c64bcce8e [optim] Download 30 added items at once in a single HTTP request from the server 2021-12-24 14:56:22 +01:00
daladim
0075ebfbdb More ID -> URL renaming 2021-11-16 00:10:47 +01:00
daladim
2f7c14d0aa Better distinction ID/UID 2021-11-15 23:52:26 +01:00
daladim
56b86adf02 [doc] 2021-11-15 23:00:02 +01:00
daladim
413b2b285e [cleanup] 2021-11-10 22:45:46 +01:00
daladim
9dcf7e0499 Fixed tests to support unknown iCal fields 2021-11-10 22:22:24 +01:00
daladim
75fe00983d Added a parsing/building round-trip test 2021-11-10 22:16:40 +01:00
daladim
78bb78f61f [fixup] Doc and usability 2021-07-08 16:05:15 +02:00
daladim
17716575d8 Added support for calendar colors 2021-07-08 16:01:54 +02:00
daladim
f1a350f6a5 Renamed the crate as kitchen_fridge 2021-04-28 23:46:11 +02:00
daladim
9b622e1ad6 More tests 2021-04-28 23:43:50 +02:00
daladim
26c49a85c2 [gitignore] 2021-04-20 00:22:55 +02:00
daladim
e6ccae75be Clearly ignore non-applicable tests 2021-04-20 00:22:55 +02:00
daladim
8fd416fae1 Provider uses update_item 2021-04-20 00:22:55 +02:00
daladim
4f68296f93 Better API to reflect optional yet related fields in an iCal item 2021-04-20 00:22:42 +02:00
daladim
65da7b34cf [tests] Ignoring irrelevant tests 2021-04-20 00:22:41 +02:00
daladim
9d2d83e06f [minor] API change for Task::new 2021-04-20 00:22:41 +02:00
daladim
62a4063e22 [tests] Multiple scenarios with forced errors 2021-04-20 00:22:40 +02:00
daladim
0d485b382d [tests] Tasks are split across various calendars 2021-04-20 00:22:40 +02:00
daladim
b2704bd3d2 Ability to mock behaviours for tests 2021-04-20 00:22:40 +02:00
daladim
081fc2cbc8 [tests] Add a task that has various modifications 2021-04-20 00:22:40 +02:00
daladim
6f84a0c897 [tests] Testing successive syncs 2021-04-20 00:22:40 +02:00
daladim
9305a7a689 ChangedCalendar is not implemented this way 2021-04-20 00:22:40 +02:00
daladim
12385d3a85 [minor] Refactored 2021-04-20 00:22:40 +02:00
daladim
b360e52144 [minor] Logs 2021-04-20 00:22:39 +02:00
daladim
9f7c2805ca [tests] Added transient task scenarii 2021-04-20 00:22:39 +02:00
daladim
aa02fa182d Fixed calendar metadata sync 2021-04-20 00:22:39 +02:00
daladim
f2dd528d33 Fixed initial sync 2021-04-20 00:22:39 +02:00
daladim
427212be89 [tests] Testing a first sync from a server 2021-04-17 19:41:49 +02:00
daladim
3d9adcec08 Fixed a SyncStatus inconsistency 2021-04-03 19:14:38 +02:00
daladim
5179ef5c1a [tests] Using scenarii in tests 2021-04-03 18:53:17 +02:00
daladim
952fa67d99 [test scenarii] Ability to build expected provider state 2021-04-03 18:53:17 +02:00
daladim
6c9d7b4ed4 [minor] Doc fixes 2021-04-03 18:53:16 +02:00
daladim
d5932121dd [cleanup] 2021-04-03 18:48:31 +02:00
daladim
28c93a6248 [tests] Adding actual scenarii 2021-04-03 18:47:52 +02:00
daladim
9b3afd3001 [tests] Adding support for reproducible scenarii 2021-04-03 18:47:52 +02:00
daladim
931d74f577 [minor] Tests 2021-04-03 18:47:51 +02:00
daladim
45b4c1a056 [minor] 2021-04-03 18:47:04 +02:00
daladim
479011755e Traits are closer to what actual calendars provide 2021-04-03 18:46:59 +02:00
daladim
9355629136 add_item now returns a Result 2021-03-28 19:47:28 +02:00
daladim
fd0568dbcc Add mark_for_deletion 2021-03-28 19:47:27 +02:00
daladim
cbb4378581 last_modified is no longer required 2021-03-28 19:47:26 +02:00
daladim
5c3c5c8090 Re-wrote Provider::sync 2021-03-28 19:47:26 +02:00
daladim
c46222c8c7 [provider] Renamed server -> remote 2021-03-28 19:47:25 +02:00
daladim
86f3566532 Trait is closer to what caldav servers provide 2021-03-28 19:47:25 +02:00
daladim
499f25b9b9 ItemId is the Url 2021-03-28 19:47:24 +02:00
daladim
a8ccdef0bb More Results in the trait 2021-03-28 19:47:22 +02:00
daladim
bb2122db6b Changed an argument to a reference 2021-03-28 19:47:22 +02:00
daladim
ddaa32c9f5 More async in traits 2021-03-28 19:47:21 +02:00