Commit Graph

1754 Commits

Author SHA1 Message Date
tibbi 0d7653787c show a toast when importing events completes successfully 2017-07-28 22:57:08 +02:00
tibbi 485b126d51 apply the default calendar reminders where appropriate 2017-07-28 22:32:58 +02:00
tibbi 2da1739431 store default calendar reminders 2017-07-28 22:23:14 +02:00
tibbi 77eeb1aba7 properly import events without title 2017-07-28 21:59:21 +02:00
tibbi 890a7f34a6 use the proper default event color at google events 2017-07-28 21:51:23 +02:00
tibbi dc5846f268 show an error if fetching google events fails 2017-07-28 20:39:30 +02:00
tibbi 617c56cefd make reminder "overrides" field optional at google events 2017-07-28 20:13:40 +02:00
tibbi ccac76588d handle queued google Update operations 2017-07-28 19:13:46 +02:00
tibbi cc428983e8 handle adding queued events in google 2017-07-28 19:04:37 +02:00
tibbi 9758919b80 handle queued Delete operation 2017-07-27 23:26:44 +02:00
tibbi 386c48bc56 if a local google event was deleted after inserting while offline, forget it 2017-07-27 23:00:56 +02:00
tibbi e3dabf8ce5 add some logic to queueing operations 2017-07-27 22:14:03 +02:00
tibbi 18d377401a add Insert and Update operations in the queue as appropriate 2017-07-27 21:23:41 +02:00
tibbi 8160443ac5 clear Google sync queue if google sync is turned off 2017-07-27 20:58:40 +02:00
tibbi 20a5ef2a69 make sure the database table primary keys autoincrement 2017-07-26 23:12:27 +02:00
tibbi 8e4565e575 store event to delete from Google sync in db, if offline 2017-07-26 23:00:36 +02:00
tibbi d14a64d744 create some helper functions for handling operation items in the database 2017-07-26 22:14:28 +02:00
tibbi ce3934612c create a database for storing event operations, if the user was offline 2017-07-26 21:37:27 +02:00
tibbi 891bae5378 recheck google events every 4 hours if the app isnt launched meanwhile 2017-07-26 20:15:37 +02:00
tibbi ccede052a8 updating a french string 2017-07-26 18:44:46 +02:00
tibbi ff32824435 disable google sync if permission to managing calendars wasnt granted 2017-07-26 18:33:40 +02:00
tibbi 7e048eff37 properly update google events at Updating 2017-07-25 23:07:51 +02:00
tibbi 9f3d0c2c6a remove the fake importid 2017-07-25 21:32:07 +02:00
tibbi 2d6ecb068b make the toast messages clearer 2017-07-25 20:52:45 +02:00
tibbi 593af1b6ba preparations for updating event on Google cloud at updating locally 2017-07-25 20:50:55 +02:00
tibbi d0eb958c9c use a callback at updating events 2017-07-25 20:25:37 +02:00
tibbi 8ea163b439 show an error toast when something goes wrong at uploading an event 2017-07-25 18:48:53 +02:00
tibbi a95fed8c14 couple updates at sending events to google 2017-07-25 18:24:26 +02:00
tibbi add8aae840 move the functions handling uploading to Google in a separate file 2017-07-24 23:32:15 +02:00
tibbi 4b530dd9c0 use proper start and end date at all-day events 2017-07-24 23:08:03 +02:00
tibbi 62a0f5af2a add reminders to exported google events 2017-07-24 22:16:51 +02:00
tibbi dee94d7c9a add recurrence to newly created google sync event 2017-07-24 22:04:11 +02:00
tibbi 18b47b3ffc move repeat interval parsing from exporter to parser 2017-07-24 21:51:30 +02:00
tibbi 33f10240af add an initial way of uploading local events to google 2017-07-23 23:28:55 +02:00
tibbi d95152d53c add a helper function for checking if google sync is active 2017-07-23 23:05:20 +02:00
tibbi c6f716206f add a comment for more info about oauth 2017-07-23 22:46:28 +02:00
tibbi aa31875bd3 flip some condition checks 2017-07-23 22:13:55 +02:00
tibbi 55c6f7267c delete redundant local google sync events when appropriate 2017-07-23 22:12:18 +02:00
tibbi c9ec5c9606 move the fetching of local google events in a separate function 2017-07-23 21:57:54 +02:00
tibbi 038d00ed0a clear the stored Account Name at disabling google sync 2017-07-23 20:41:14 +02:00
tibbi 84d710dd6d refresh the calendar after fetching google events 2017-07-23 20:34:59 +02:00
tibbi 3767883d19 make credential a local variable 2017-07-23 20:09:08 +02:00
tibbi 016ed0e4a5 ignore all error returned from google calendar at deleting for now 2017-07-23 19:54:03 +02:00
tibbi 49d539b899 ignore empty importIDs at trying to delete them from google calendars 2017-07-23 19:52:25 +02:00
tibbi 79e6e94c6d delete events from the google calendar when appropriate 2017-07-23 19:50:55 +02:00
tibbi 7eca2a7d65 use id instead of iCalUID at importing google events 2017-07-23 19:24:59 +02:00
tibbi eea1ab8261 do not allow enabling google sync while offline 2017-07-23 19:02:16 +02:00
tibbi d7dde0517c make google sync service fetching a context extension function 2017-07-23 17:34:20 +02:00
tibbi 2564c17434 handle null description at importing google events 2017-07-23 17:33:45 +02:00
tibbi 850b0bd61c request write permission to google calendar too 2017-07-23 12:25:47 +02:00