Commit graph

26 commits

Author SHA1 Message Date
daladim
5b1adca42c A function is only useful in tests 2021-04-20 00:22:55 +02:00
daladim
85d8b9f7fd [minor] Logs 2021-04-20 00:22:42 +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
b2704bd3d2 Ability to mock behaviours for tests 2021-04-20 00:22:40 +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
f760176435 Cleaner comparisons 2021-04-03 18:53:16 +02:00
daladim
f18b1acc0f Changed signature of insert_calendar 2021-04-03 18:47:52 +02:00
daladim
401099ed33 Implemented pulling new calendars from server 2021-04-03 18:47:05 +02:00
daladim
479011755e Traits are closer to what actual calendars provide 2021-04-03 18:46:59 +02:00
daladim
3da86bc146 last_sync is no longer required 2021-03-28 19:47:27 +02:00
daladim
86f3566532 Trait is closer to what caldav servers provide 2021-03-28 19:47:25 +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
6ce077ca12 More async functions in traits 2021-03-28 19:47:20 +02:00
daladim
d53ec193d8 Cache saves to a folder 2021-03-28 19:47:20 +02:00
daladim
060f33b4bd Turning calendars into Arc<Mutex> 2021-03-28 19:47:18 +02:00
daladim
9c17f07660 The Big Type Overhaul 2021-03-28 19:47:17 +02:00
daladim
02a0eece63 [test] check calendar equalitys after sync 2021-03-28 19:47:17 +02:00
daladim
caaddf910c Major overhaul: more generics! 2021-03-28 19:47:15 +02:00
daladim
f06b5ac9ae [doc] 2021-03-28 19:47:14 +02:00
daladim
df9d5a2d07 Better API for last sync timestamp 2021-03-28 19:47:14 +02:00
daladim
6b1d5635c6 Added functions to the trait 2021-03-28 19:47:10 +02:00
daladim
7197a5669a Added Cache 2021-03-28 19:47:10 +02:00
daladim
7e3bccb5ad Refactored modules 2021-03-28 19:47:06 +02:00