Commit graph

190 commits

Author SHA1 Message Date
daladim
6c4ffa020c Fix sync bug on conflicts 2021-03-28 19:47:13 +02:00
daladim
571420126f Created Item (enum of either a task or en event) 2021-03-28 19:47:13 +02:00
daladim
e60ad19fa5 Provider: correctly syncs deleted items 2021-03-28 19:47:13 +02:00
daladim
a76a0c86ac Calendar keeps track of deleted items 2021-03-28 19:47:12 +02:00
daladim
91f62aa200 [tests] Conflicts handling 2021-03-28 19:47:12 +02:00
daladim
89d2c3fcef Sync: server wins for conflicts 2021-03-28 19:47:12 +02:00
daladim
6e81bd61f5 [doc] 2021-03-28 19:47:11 +02:00
daladim
6fe9b71e16 Syncs without handling conflicts 2021-03-28 19:47:11 +02:00
daladim
4dd0bea78b get_tasks returns a HashMap 2021-03-28 19:47:11 +02:00
daladim
6b1d5635c6 Added functions to the trait 2021-03-28 19:47:10 +02:00
daladim
8ecab2c182 [tests] Testing sync behaviour 2021-03-28 19:47:10 +02:00
daladim
7197a5669a Added Cache 2021-03-28 19:47:10 +02:00
daladim
624aec5dd1 Task: doc and more methods 2021-03-28 19:47:10 +02:00
daladim
4cf2ad13fe Calendar: doc and more methods 2021-03-28 19:47:09 +02:00
daladim
cefcb7289f Added the CalDavSource trait 2021-03-28 19:47:09 +02:00
daladim
364c91fed2 [minor] Fewer warnings 2021-03-28 19:47:08 +02:00
daladim
1451f41ae3 Made stuff serializable 2021-03-28 19:47:08 +02:00
daladim
03884c6ff9 Revert "Made Url serde-compatible"
This reverts commit 3cb52a83013e228ed0fd7d33b7cf125607409fd9.
2021-03-28 19:47:07 +02:00
daladim
61784a9c55 Made Url serde-compatible 2021-03-28 19:47:07 +02:00
daladim
5e6eb6863c [minor] Fixed case for an enum 2021-03-28 19:47:06 +02:00
daladim
7e3bccb5ad Refactored modules 2021-03-28 19:47:06 +02:00
daladim
65a7670a1b Moved some tests 2021-03-28 19:47:05 +02:00
daladim
a9f69c1160 Changed a type 2021-03-28 19:47:05 +02:00
daladim
5a090f5e53 More debug functions to utils.rs 2021-03-28 19:47:05 +02:00
daladim
45bd81f883 Placeholder for get_tasks 2021-03-28 19:47:04 +02:00
daladim
9e625cb94d A few getters 2021-03-28 19:47:04 +02:00
daladim
99088d29ca Created util.rs 2021-03-28 19:47:03 +02:00
daladim
8963f17118 Using AsRef parameters 2021-03-28 19:47:03 +02:00
daladim
ca0d07f16a Parsing calendars from server 2021-03-28 19:47:03 +02:00
daladim
0f081f78b4 Log crate 2021-03-28 19:47:02 +02:00
daladim
6c94881b5a [doc] 2021-03-28 19:47:02 +02:00
daladim
72f3dbbd7e Caching calendars Url 2021-03-28 19:47:01 +02:00
daladim
9d0221d9a9 [doc] 2021-03-28 19:47:01 +02:00
daladim
01b7d41e04 Fetch the calendar list 2021-03-28 19:47:00 +02:00
daladim
2e2164bbb3 De-duplicated code 2021-03-28 19:47:00 +02:00
daladim
de3c9cd7c5 Fetches the calendar home set 2021-03-28 19:46:59 +02:00
daladim
3f7de0e802 Added placeholder for settings.rs 2021-03-28 19:46:59 +02:00
daladim
f8c8f09203 More API changes 2021-02-19 07:58:53 +01:00
daladim
0cf441475d Replaced ...View by &... 2021-02-18 12:07:38 +01:00
daladim
58b96a89b0 Initial API structre 2021-02-18 12:02:04 +01:00