Commit graph

  • d9b11a30ec [doc] daladim 2021-04-17 20:05:44 +02:00
  • 85d8b9f7fd [minor] Logs daladim 2021-04-17 19:40:55 +02:00
  • f750257b3b [example] Update provider-sync daladim 2021-04-17 19:31:09 +02:00
  • c63f859cbc Implemented delete_item for remote calendars daladim 2021-04-17 19:30:52 +02:00
  • 4f68296f93 Better API to reflect optional yet related fields in an iCal item daladim 2021-04-16 09:58:03 +02:00
  • 3bf1fed5b9 Added item's creation_date daladim 2021-04-16 09:05:30 +02:00
  • 092765f769 Tasks include a COMPLETED timestamp daladim 2021-04-14 23:09:41 +02:00
  • 8e35f4c579 Items include a last modified (DTSTAMP) date daladim 2021-04-14 21:19:32 +02:00
  • e24fab2ccb Implemented add_item for remote calendars daladim 2021-04-13 23:33:38 +02:00
  • e39cdc7cd5 Provider-sync example daladim 2021-04-13 23:30:43 +02:00
  • 36f08756bd cache is automatically saved when dropped daladim 2021-04-13 23:29:14 +02:00
  • a2f227e73b Correctly serializing cache daladim 2021-04-13 23:19:41 +02:00
  • 65da7b34cf [tests] Ignoring irrelevant tests daladim 2021-04-12 09:26:52 +02:00
  • f32fe121aa Implemented iCal file creation daladim 2021-04-12 09:23:37 +02:00
  • 0fe487c988 Support for iCal UID daladim 2021-04-12 09:21:50 +02:00
  • 9d2d83e06f [minor] API change for Task::new daladim 2021-04-11 19:58:42 +02:00
  • 18e2d0a96a [doc] daladim 2021-04-11 19:53:38 +02:00
  • 2945bed865 [examples] Renamed a file daladim 2021-04-11 19:15:04 +02:00
  • 62a4063e22 [tests] Multiple scenarios with forced errors daladim 2021-04-11 19:02:33 +02:00
  • 0d485b382d [tests] Tasks are split across various calendars daladim 2021-04-11 19:01:20 +02:00
  • b2704bd3d2 Ability to mock behaviours for tests daladim 2021-04-13 23:32:07 +02:00
  • 081fc2cbc8 [tests] Add a task that has various modifications daladim 2021-04-05 23:26:20 +02:00
  • 6f84a0c897 [tests] Testing successive syncs daladim 2021-04-05 23:20:45 +02:00
  • 9305a7a689 ChangedCalendar is not implemented this way daladim 2021-04-05 23:16:19 +02:00
  • 12385d3a85 [minor] Refactored daladim 2021-04-05 23:04:52 +02:00
  • a922495b46 Refactored functions daladim 2021-04-05 23:02:24 +02:00
  • b360e52144 [minor] Logs daladim 2021-04-05 23:01:44 +02:00
  • 9f7c2805ca [tests] Added transient task scenarii daladim 2021-04-05 22:21:56 +02:00
  • aa02fa182d Fixed calendar metadata sync daladim 2021-04-04 01:02:37 +02:00
  • f2dd528d33 Fixed initial sync daladim 2021-04-04 00:35:59 +02:00
  • 842e34fb85 [provider] Minor refactoring daladim 2021-04-03 23:25:34 +02:00
  • 427212be89 [tests] Testing a first sync from a server daladim 2021-04-03 19:38:18 +02:00
  • 88af366edf [minor] Reviewed re-imports daladim 2021-04-03 18:57:40 +02:00
  • 3d9adcec08 Fixed a SyncStatus inconsistency daladim 2021-04-03 18:32:59 +02:00
  • 841d14807b [minor] Logs daladim 2021-04-03 18:31:40 +02:00
  • 5179ef5c1a [tests] Using scenarii in tests daladim 2021-04-03 18:04:56 +02:00
  • 952fa67d99 [test scenarii] Ability to build expected provider state daladim 2021-04-03 17:43:36 +02:00
  • f760176435 Cleaner comparisons daladim 2021-04-03 17:42:55 +02:00
  • 751a98d281 cleanup daladim 2021-04-03 17:41:25 +02:00
  • 6c9d7b4ed4 [minor] Doc fixes daladim 2021-04-03 16:27:04 +02:00
  • d5932121dd [cleanup] daladim 2021-04-03 09:23:20 +02:00
  • 28c93a6248 [tests] Adding actual scenarii daladim 2021-04-03 00:25:55 +02:00
  • 9b3afd3001 [tests] Adding support for reproducible scenarii daladim 2021-04-02 09:37:21 +02:00
  • f18b1acc0f Changed signature of insert_calendar daladim 2021-04-03 09:24:20 +02:00
  • 707d764e6b Implemented get_item_by_id for CachedCalendar daladim 2021-04-02 09:35:45 +02:00
  • 7924866e6b iCal parser handles completion status daladim 2021-04-02 08:27:47 +02:00
  • 931d74f577 [minor] Tests daladim 2021-03-31 08:40:21 +02:00
  • 401099ed33 Implemented pulling new calendars from server daladim 2021-03-31 08:32:28 +02:00
  • 0b65dff46d Caching version IDs from the server daladim 2021-03-30 00:07:31 +02:00
  • 0158cfb2d4 Changed traits daladim 2021-03-29 23:46:21 +02:00
  • b54fe5e228 Added an iCal parser daladim 2021-03-29 09:31:22 +02:00
  • f6d542460c Fixed a parsing bug daladim 2021-03-29 09:29:56 +02:00
  • 351d8c73da Add Event::new daladim 2021-03-29 09:29:48 +02:00
  • 078b650c00 Implemented get_item_version_tags for RemoteCalendar daladim 2021-03-29 09:33:39 +02:00
  • e622ec0f7e utils can print remote calendars daladim 2021-03-28 20:02:35 +02:00
  • 45b4c1a056 [minor] daladim 2021-03-28 19:42:18 +02:00
  • 9a23081cda [provider] More logs + fixed syncing bugs daladim 2021-03-28 19:42:07 +02:00
  • 479011755e Traits are closer to what actual calendars provide daladim 2021-03-28 01:22:24 +01:00
  • 9355629136 add_item now returns a Result daladim 2021-03-24 09:15:55 +01:00
  • fd0568dbcc Add mark_for_deletion daladim 2021-03-24 09:04:23 +01:00
  • bcc8fc705b chrono crate is no longer required daladim 2021-03-23 00:15:23 +01:00
  • 3da86bc146 last_sync is no longer required daladim 2021-03-23 00:14:14 +01:00
  • cbb4378581 last_modified is no longer required daladim 2021-03-23 00:13:03 +01:00
  • 5c3c5c8090 Re-wrote Provider::sync daladim 2021-03-22 23:42:41 +01:00
  • c46222c8c7 [provider] Renamed server -> remote daladim 2021-03-22 22:39:50 +01:00
  • 647199af93 Removed sync implementation daladim 2021-03-22 22:37:29 +01:00
  • 86f3566532 Trait is closer to what caldav servers provide daladim 2021-03-22 22:06:43 +01:00
  • 7af147e417 Implemented RemoteCalendar::get_item_ids daladim 2021-03-22 00:20:04 +01:00
  • f2349dbd0a [minor] Refactored daladim 2021-03-22 00:07:50 +01:00
  • 499f25b9b9 ItemId is the Url daladim 2021-03-21 23:54:33 +01:00
  • cbffef8b97 More Results in traits daladim 2021-03-21 23:53:42 +01:00
  • def17b6218 Wrapped Url, username and password together daladim 2021-03-21 23:52:42 +01:00
  • 50ac358791 Added utils::build_url daladim 2021-03-21 23:34:37 +01:00
  • a8ccdef0bb More Results in the trait daladim 2021-03-21 19:58:37 +01:00
  • 9a2a61a17b [gitignore] daladim 2021-03-21 19:31:57 +01:00
  • bb2122db6b Changed an argument to a reference daladim 2021-03-21 19:27:55 +01:00
  • f29aca941b Removed unwraps daladim 2021-03-21 19:24:31 +01:00
  • ddaa32c9f5 More async in traits daladim 2021-03-21 19:19:49 +01:00
  • 6ce077ca12 More async functions in traits daladim 2021-03-21 19:05:22 +01:00
  • d53ec193d8 Cache saves to a folder daladim 2021-03-21 00:11:35 +01:00
  • d6ee642dd9 [tests] added some edge cases daladim 2021-03-20 20:13:07 +01:00
  • 54c6d510e8 Re-wrote sync() daladim 2021-03-20 20:12:48 +01:00
  • 70557160f2 Fixed warnings daladim 2021-03-19 00:08:16 +01:00
  • 35674a80c7 [tests] daladim 2021-03-19 00:01:32 +01:00
  • 060f33b4bd Turning calendars into Arc<Mutex> daladim 2021-03-18 23:59:06 +01:00
  • d07a2b9493 [cleanup] daladim 2021-03-18 23:52:01 +01:00
  • 9c17f07660 The Big Type Overhaul daladim 2021-03-05 23:32:42 +01:00
  • 02a0eece63 [test] check calendar equalitys after sync daladim 2021-03-04 23:09:00 +01:00
  • 57489ee04a [test] Sync: properly use last_sync timestamp daladim 2021-03-02 00:22:35 +01:00
  • 41502271ff Added find_deletions and fixed sync daladim 2021-03-02 00:21:58 +01:00
  • 4cc882039b [minor] Logs daladim 2021-03-02 00:20:47 +01:00
  • 4eb1ae2fb1 Fewer warnings daladim 2021-03-01 23:50:19 +01:00
  • caaddf910c Major overhaul: more generics! daladim 2021-03-01 23:39:16 +01:00
  • eaa6d8a61e Moved a module daladim 2021-02-28 23:22:29 +01:00
  • 6ff4822d6e [utils] Added print_calendar_list daladim 2021-02-28 23:10:40 +01:00
  • f06b5ac9ae [doc] daladim 2021-02-28 18:02:01 +01:00
  • df9d5a2d07 Better API for last sync timestamp daladim 2021-02-28 18:00:37 +01:00
  • 6c4ffa020c Fix sync bug on conflicts daladim 2021-02-28 12:21:29 +01:00
  • 571420126f Created Item (enum of either a task or en event) daladim 2021-02-28 11:54:31 +01:00
  • e60ad19fa5 Provider: correctly syncs deleted items daladim 2021-02-28 11:02:16 +01:00