Commit graph

226 commits

Author SHA1 Message Date
daladim
a2f227e73b Correctly serializing cache 2021-04-20 00:22:41 +02:00
daladim
65da7b34cf [tests] Ignoring irrelevant tests 2021-04-20 00:22:41 +02:00
daladim
f32fe121aa Implemented iCal file creation 2021-04-20 00:22:41 +02:00
daladim
0fe487c988 Support for iCal UID 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
18e2d0a96a [doc] 2021-04-20 00:22:40 +02:00
daladim
2945bed865 [examples] Renamed a file 2021-04-20 00:22:40 +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
a922495b46 Refactored functions 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
842e34fb85 [provider] Minor refactoring 2021-04-20 00:22:09 +02:00
daladim
427212be89 [tests] Testing a first sync from a server 2021-04-17 19:41:49 +02:00
daladim
88af366edf [minor] Reviewed re-imports 2021-04-17 19:41:48 +02:00
daladim
3d9adcec08 Fixed a SyncStatus inconsistency 2021-04-03 19:14:38 +02:00
daladim
841d14807b [minor] Logs 2021-04-03 18:53:17 +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
f760176435 Cleaner comparisons 2021-04-03 18:53:16 +02:00
daladim
751a98d281 cleanup 2021-04-03 18:53:16 +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
f18b1acc0f Changed signature of insert_calendar 2021-04-03 18:47:52 +02:00
daladim
707d764e6b Implemented get_item_by_id for CachedCalendar 2021-04-03 18:47:51 +02:00
daladim
7924866e6b iCal parser handles completion status 2021-04-03 18:47:51 +02:00
daladim
931d74f577 [minor] Tests 2021-04-03 18:47:51 +02:00
daladim
401099ed33 Implemented pulling new calendars from server 2021-04-03 18:47:05 +02:00
daladim
0b65dff46d Caching version IDs from the server 2021-04-03 18:47:05 +02:00
daladim
0158cfb2d4 Changed traits 2021-04-03 18:47:05 +02:00
daladim
b54fe5e228 Added an iCal parser 2021-04-03 18:47:05 +02:00
daladim
f6d542460c Fixed a parsing bug 2021-04-03 18:47:04 +02:00
daladim
351d8c73da Add Event::new 2021-04-03 18:47:04 +02:00
daladim
078b650c00 Implemented get_item_version_tags for RemoteCalendar 2021-04-03 18:47:04 +02:00
daladim
e622ec0f7e utils can print remote calendars 2021-04-03 18:47:04 +02:00
daladim
45b4c1a056 [minor] 2021-04-03 18:47:04 +02:00
daladim
9a23081cda [provider] More logs + fixed syncing bugs 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
bcc8fc705b chrono crate is no longer required 2021-03-28 19:47:27 +02:00