Commit graph

151 commits

Author SHA1 Message Date
daladim
2408349ec7 More error checks 2021-04-20 00:22:56 +02:00
daladim
7c6a4f89fb fixup! [example] Updated provider-sync 2021-04-20 00:22:56 +02:00
daladim
65791806bc Checking HTTP response codes 2021-04-20 00:22:56 +02:00
daladim
2dbd3726a5 fixup! Implemented create_calendar for caldav client 2021-04-20 00:22:56 +02:00
daladim
71ec8fe323 Sanity checks 2021-04-20 00:22:56 +02:00
daladim
93aa096821 [example] Updated provider-sync 2021-04-20 00:22:55 +02:00
daladim
75a6e17a7f [doc] 2021-04-20 00:22:55 +02:00
daladim
5322f04d83 Implemented create_calendar for caldav client 2021-04-20 00:22:55 +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
266437a4d1 Logic fix 2021-04-20 00:22:55 +02:00
daladim
849cbbc07a Added the update_item function 2021-04-20 00:22:55 +02:00
daladim
5b1adca42c A function is only useful in tests 2021-04-20 00:22:55 +02:00
daladim
d9b11a30ec [doc] 2021-04-20 00:22:55 +02:00
daladim
85d8b9f7fd [minor] Logs 2021-04-20 00:22:42 +02:00
daladim
f750257b3b [example] Update provider-sync 2021-04-20 00:22:42 +02:00
daladim
c63f859cbc Implemented delete_item for remote calendars 2021-04-20 00:22:42 +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
3bf1fed5b9 Added item's creation_date 2021-04-20 00:22:42 +02:00
daladim
092765f769 Tasks include a COMPLETED timestamp 2021-04-20 00:22:41 +02:00
daladim
8e35f4c579 Items include a last modified (DTSTAMP) date 2021-04-20 00:22:41 +02:00
daladim
e24fab2ccb Implemented add_item for remote calendars 2021-04-20 00:22:41 +02:00
daladim
e39cdc7cd5 Provider-sync example 2021-04-20 00:22:41 +02:00
daladim
36f08756bd cache is automatically saved when dropped 2021-04-20 00:22:41 +02:00
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