Commit Graph

1507 Commits

Author SHA1 Message Date
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
tibbi 95beb83913 sign the debug version with a debug keystore 2017-07-23 12:17:57 +02:00
tibbi f726e8c00e delete the synced events from the device at disabling google sync 2017-07-21 22:46:18 +02:00
tibbi 9357ab7bca change event source to an Int 2017-07-21 22:30:17 +02:00
tibbi 56fbef19ae adding 2 more google sync strings 2017-07-21 22:20:37 +02:00
Tibor Kaputa 9c9ee6b513 removing an empty space 2017-07-19 22:58:32 +02:00
Sérgio Marques b08eb948ac Update strings.xml 2017-07-19 21:36:19 +01:00
tibbi c5532cc9d6 updating the google sync warning message 2017-07-18 21:20:32 +02:00
tibbi 011c6024db move event storing in EventActivity in a separate function 2017-07-18 20:37:13 +02:00
tibbi 58faeda4b3 use the proper google event color when available 2017-07-18 20:19:10 +02:00
tibbi 30c82c6dc7 destroy multiselector mode after deleting an event type 2017-07-18 19:31:24 +02:00
tibbi 230b02437d update the google event on sync when appropriate 2017-07-18 16:39:53 +02:00
tibbi b964a86be7 update commons to 2.22.8 2017-07-18 00:02:07 +02:00
tibbi 55bfaf3c12 check if the current week fragment is really added to the activity 2017-07-17 23:17:31 +02:00
tibbi 70cc8a0781 unselect all items at day view on swipe sideways 2017-07-17 23:05:08 +02:00
tibbi 69293dd399 move reminder fetching into a separate function 2017-07-17 22:58:05 +02:00
tibbi 021ad93b6a move google sync event type handling in a separate function 2017-07-17 22:51:41 +02:00
tibbi 370243f280 handle exporting Last-Modified field in .ics too 2017-07-17 22:36:05 +02:00
tibbi 0b12748966 add parsing Last-Modified field at importing .ics events 2017-07-17 22:29:16 +02:00
tibbi d89c723af7 check last updated timestamp at reimporting google events 2017-07-17 22:22:24 +02:00
tibbi 34e1717dcd subtract a day from all-day events lasting multiple days 2017-07-17 20:42:43 +02:00
tibbi 31061141d8 add another event field, Source 2017-07-17 19:59:42 +02:00
tibbi 55a97d2cd3 add a new event field, last_updated 2017-07-17 19:45:15 +02:00
tibbi 558fc55c1f insert the event in db if everything went fine 2017-07-17 19:20:52 +02:00
tibbi 3d51c9e6fa add the new event type to the list after creating 2017-07-17 19:16:18 +02:00
tibbi 911c3a35dd delete event types without confirmation if they contain no event on Delete 2017-07-17 19:01:31 +02:00
tibbi 3ac477e7a1 parsing a couple more fields at google calendar events 2017-07-17 18:15:37 +02:00
tibbi bf6920380a tweaking the way Exceptions table is created at upgrade 2017-07-17 17:30:59 +02:00
tibbi 553e658b88 disable google sync if we dont have the Get Accounts permission 2017-07-12 23:50:36 +02:00
tibbi cfeaf7bfc8 show a confirmation dialog before enabling Google Sync mentioning beta feature 2017-07-12 23:46:04 +02:00
tibbi 4f809f9f24 update version to 2.5.8 2017-07-12 23:22:22 +02:00
tibbi 521eeb6b19 catch exceptions thrown at adding a new column to exceptions table 2017-07-12 23:03:39 +02:00
tibbi 4c66bd4e13 parse some additional fields at the google sync events 2017-07-12 21:43:53 +02:00
tibbi 034601a2b7 move some parts of the parser in a standalone file 2017-07-12 21:33:28 +02:00
tibbi 424e6894d3 create a RepeatRule model for parsing event repetition rules 2017-07-12 21:24:46 +02:00
tibbi e135b37b0b reuse some constants from the Constants file 2017-07-11 20:07:16 +02:00
tibbi 0f295c1c16 untoggle Google sync switch when no account was chosen 2017-07-11 20:04:04 +02:00
tibbi 3cebca160b reenable the Google Sync related things 2017-07-11 19:55:05 +02:00
tibbi b5447496bc updating the Austrian holidays 2017-07-10 22:13:47 +02:00
tibbi 60fa61d15e update commons to 2.22.5 2017-07-10 22:11:00 +02:00
tibbi d2b6e591d3 update version to 2.5.7 2017-07-06 23:36:50 +02:00
tibbi a7453f1b1e adding the widget font size changing in release notes 2017-07-06 23:36:13 +02:00
tibbi da4bc20d2a adding the Widgets string in some missing languages 2017-07-06 23:36:00 +02:00
tibbi 5160ac3ba6 adding holidays to Austria 2017-07-06 23:25:23 +02:00
tibbi 678e870b00 make sure mEvent is initialized when working with it at EventActivity 2017-07-06 22:58:49 +02:00
tibbi 5a86786894 catch just ArrayIndexOutOfBoundsException at the monthly widget try/catch block 2017-07-06 22:56:39 +02:00
tibbi 2199c4eb37 catch exceptions thrown at updating monthly calendar 2017-07-06 22:34:39 +02:00
tibbi c9a342f516 add a try/catch block around updating the app widget 2017-07-06 21:45:20 +02:00
tibbi 935c499b95 make dayfragment receiver context nullable 2017-07-06 21:37:13 +02:00
tibbi 35fdbed726 properly update the even list widget font size too 2017-07-06 21:10:06 +02:00
tibbi f88b9425bd update the monthly wdget font size appropriately 2017-07-06 20:53:54 +02:00
tibbi aab856555a update kotlin to 1.1.3-2 2017-07-06 20:20:23 +02:00
tibbi e29ad62623 add a setting for changing font size 2017-07-04 21:52:27 +02:00
tibbi a1a93bce7f update kotlin to 1.1.3 2017-07-04 21:28:19 +02:00
tibbi 523b4eab3f Merge branch 'master' of github.com:SimpleMobileTools/Simple-Calendar 2017-07-04 21:09:43 +02:00
tibbi bfc991ae6e fix #185, properly display weekly all-day events 2017-07-04 21:09:30 +02:00
Anton Shestakov 4660721fb3 Use local name for Japan 2017-07-03 18:44:18 +08:00
Anton Shestakov 3d7ac75b9f Use local name for Russia 2017-07-03 18:41:32 +08:00
en2sv 203d4f5d40 Update Swedish translation 2017-07-02 20:23:34 +02:00
tibbi dadaec8eb9 update Commons to 2.22.3 2017-07-01 16:05:15 +02:00
tibbi 87df7b8c96 add holidays of Argentina 2017-07-01 16:01:05 +02:00
tibbi 292cfe72b0 reactivate proguard 2017-06-25 21:09:28 +02:00
tibbi 1e2e7beb2d update version to 2.5.6 2017-06-24 18:44:09 +02:00
tibbi c3e154c051 disable proguard for a build 2017-06-24 18:43:14 +02:00
tibbi 038e1a59c4 display repeating all-day events at event lists properly too 2017-06-24 17:12:33 +02:00
tibbi 0138fb9777 open the proper repeatable event instance from week fragment 2017-06-24 14:03:59 +02:00
tibbi 14a1658b0a add all-day events to event list views 2017-06-24 14:01:31 +02:00
tibbi b4ac200836 update version to 2.5.4 2017-06-23 23:46:15 +02:00
tibbi 4884a4ce39 make widget variables non static 2017-06-23 23:18:01 +02:00
tibbi fbaf5b6f1e make sure the Exceptions table exists before altering it 2017-06-23 22:46:24 +02:00
tibbi 073539952b try adding Exceptions to proguard rules too 2017-06-23 22:41:42 +02:00
tibbi 6b02be7e27 escaping some quotes at the italian strings 2017-06-23 22:30:35 +02:00
tibbi f893b00898 update commons to 2.21.12 2017-06-23 22:30:27 +02:00
tibbi c718274dac adding a round launcher icon 2017-06-21 23:56:19 +02:00
tibbi 6ddcc03805 removing the mdpi resolution launcher 2017-06-21 23:54:57 +02:00
Giuseppe 03284f24b8 Update strings.xml
Add some translations
2017-06-15 10:44:54 +02:00
Sérgio Marques 989cb19643 Create strings.xml 2017-06-14 22:20:11 +01:00
tibbi 060f281b09 update version to 2.5.3 2017-06-14 21:39:54 +02:00
tibbi e052e2f6f8 update release notes 2017-06-14 21:39:48 +02:00
tibbi 369179bd16 open proper event occurrence from event list widget too 2017-06-14 21:30:29 +02:00
tibbi e6ec7d8210 open proper event occurrence from the notification 2017-06-14 21:18:51 +02:00
tibbi b4e935722c delete children events at deleting the parent 2017-06-13 23:56:25 +02:00
tibbi 4b2ebcafd3 show proper toast message when updating individual repeatable instances 2017-06-13 23:21:32 +02:00
tibbi 1c14ccc8f3 show the repeating event update dialog only if the event was repeatable 2017-06-13 23:07:13 +02:00
tibbi 9fd58e7307 display proper start date at repeatable events 2017-06-13 22:51:53 +02:00
tibbi 2d6f3f4907 unify event click handling a bit 2017-06-12 23:19:40 +02:00
tibbi c1850c7da8 use a Cross icon instead of Back at event activity 2017-06-12 23:07:07 +02:00
tibbi baa5f6f372 allow updating one instance of repeatable events 2017-06-12 22:53:28 +02:00
tibbi ebdf8efe41 add a dialog asking if all occurrences of repeating event should be edited 2017-06-12 22:16:14 +02:00
tibbi 729056e7c1 use a different dialog text at deleting a single repeating event 2017-06-10 22:49:09 +02:00
tibbi 2e274eb9b2 do not insert children of repeating events into meta repeating table 2017-06-10 22:20:24 +02:00
tibbi fdf9ba3f41 copy excluded repetition child at events, with the parent event id stored 2017-06-10 20:39:05 +02:00
tibbi c5070b8bc4 delete events belonging to a particular event type if selected so 2017-06-07 23:07:18 +02:00
tibbi 67135b0122 add a selector for deleting or keeping affected events at deleting event type 2017-06-07 21:50:23 +02:00
tibbi c0042ac0c9 remove a null check at updating widget 2017-06-07 21:05:58 +02:00
tibbi 73b36f8c24 remove the mdpi resources 2017-06-07 20:58:42 +02:00
tibbi ea7fc269a1 add some strings used at removing event types 2017-06-07 20:42:09 +02:00
tibbi d391a98d6d update version to 2.5.2 2017-06-05 21:44:58 +02:00
tibbi 7612cd08dc update version to 2.19.6 2017-06-05 21:43:45 +02:00
tibbi 6ea1ed7c8e add keeping line numbers in proguard rules 2017-06-05 21:42:55 +02:00
tibbi 02bb7c570d add a null check at widget updating 2017-06-05 21:24:52 +02:00
tibbi 78fed3e844 remember if daylight saving was active at updating the event 2017-06-04 23:42:23 +02:00
tibbi 4ba7ab7d1a store current time offset at inserting/updating event 2017-06-04 22:21:59 +02:00
tibbi 2c2ba94f8d store the event offset in db 2017-06-04 22:15:02 +02:00
tibbi 242f959200 fix #175, properly handle the reminders of all-day events 2017-06-03 22:22:38 +02:00
tibbi 8fad741fcc check if given day is today nicer 2017-06-03 16:46:25 +02:00
tibbi 3288435662 avoid creating multiple db instances 2017-06-03 16:41:39 +02:00
tibbi 130b4fe1e3 prefill more pages into the viewpagers 2017-06-02 23:34:36 +02:00
tibbi e7cb174e25 update commons to 2.19.5 2017-06-02 22:55:34 +02:00
tibbi c47b15f02c correct some russian strings style 2017-06-02 18:11:51 +02:00
Anton Shestakov e608f40bc5 Update values-ru/strings.xml
Mostly missing plurals, holiday-related strings and copy editing.

NB: Using the same translations of week days for alt-strings, as the nearby comment suggests. Should work well enough to see if it's the best option.
2017-06-02 23:12:55 +08:00
Sérgio Marques 7b85e0f4a6 Update strings.xml 2017-05-28 22:27:55 +01:00
tibbi 1f0370372f update version to 2.5.1 2017-05-26 11:12:43 +02:00
tibbi 7b4f2dae07 make removeviews at monthly widget nullable 2017-05-26 11:05:05 +02:00
tibbi ab6d9794fc update commons to 2.18.0 2017-05-24 19:54:30 +02:00
tibbi a1ca5154d7 updating release notes and version to 2.5.0 2017-05-24 19:54:04 +02:00
tibbi 125c027fb8 make sure we try updaing the viewpager from the UI thread after importing 2017-05-24 19:50:08 +02:00
tibbi fd2ec79435 mark running all-day events with the primary color 2017-05-24 19:42:34 +02:00
tibbi b2fe7950a6 really display past events too as appropriate 2017-05-24 19:39:25 +02:00
tibbi 53792443d1 update text colors depending on the event state 2017-05-24 19:31:58 +02:00
tibbi 8003febf23 do not update the text colors on resume if the Events list view is selected 2017-05-24 19:27:01 +02:00
tibbi 9812bf56a7 allow changing the Period used for displaying past events 2017-05-24 19:17:47 +02:00
tibbi 57f246c52a do not write "before" at the display past events duration 2017-05-24 19:06:46 +02:00
tibbi 120041cd09 show the current DisplayPastEvents period in settings 2017-05-24 19:03:23 +02:00
tibbi ea498e2bc1 add some strings used at "Display past events" setting 2017-05-24 18:46:32 +02:00
tibbi 619eef546b delete the title of the custom event reminder dialog 2017-05-23 23:35:52 +02:00
tibbi e5ac8a3e77 add an option to display past events in the events list view 2017-05-23 23:26:05 +02:00
tibbi 791d9fe66b add some subsections in Settings by view type 2017-05-23 22:33:03 +02:00
tibbi c6ca96437c move the extra height calculation in a separate function 2017-05-23 22:12:00 +02:00
tibbi 41369041cf add some logic to adding all-day events to lines 2017-05-23 22:07:27 +02:00
tibbi 6801f9bcbf add all-day events in week fragment in a dynamically added relative layout 2017-05-21 23:48:04 +02:00
tibbi 0d96caf25d use red text if the events start is later then end 2017-05-21 21:23:01 +02:00
tibbi 858396a36d add a helper function for updating start date and time 2017-05-21 21:06:06 +02:00
tibbi c6082a5ac4 update the end date/time of event when start changes, keep same duration 2017-05-21 16:19:12 +02:00
tibbi 4bf3a8a576 do not automatically set end date with start date change 2017-05-21 12:06:19 +02:00
tibbi f99320724c update kotlin to 1.1.2-3 2017-05-21 11:43:20 +02:00
tibbi b8d88f141a updating release notes and version to 2.4.3 2017-05-18 23:54:42 +02:00
tibbi c78da7f9fb removing some explicit calls to runOnUiThread at toasts 2017-05-18 23:51:50 +02:00
tibbi 1db93656a3 update commons to 2.17.8 2017-05-18 23:47:17 +02:00
tibbi 846ee6a1b3 allow changing the minutes used at postponing by Snooze 2017-05-18 23:40:48 +02:00
tibbi bb475eea5f fix #88, add Snooze to reminders 2017-05-18 23:04:49 +02:00
tibbi 71bf88bfa3 export only events belonging to the selected event types 2017-05-18 22:23:29 +02:00
tibbi 25e22a67e6 allow selecting which event type events should be exported 2017-05-18 22:01:27 +02:00
tibbi 537afc2f05 do not show the "Exporting..." toast if theres no events to export 2017-05-18 21:45:49 +02:00
tibbi 9c937c2a0d add some Snooze related strings 2017-05-18 21:27:58 +02:00
tibbi 0f7a2a516a make sure we schedule the next event reminder properly 2017-05-18 21:13:45 +02:00
tibbi 183ef15de2 fix #132, refresh the main screen if the date changed since last run 2017-05-17 22:26:34 +02:00
tibbi b0b7b4eb2c show a toast when the exporting starts 2017-05-17 21:59:23 +02:00
tibbi 4efacece63 allow changing the filename of the file where events will be exported 2017-05-17 21:56:12 +02:00
tibbi 749f7f1fb0 add a filename field to the event exporting dialog 2017-05-17 21:38:17 +02:00
tibbi 6ff8de40e8 import holidays into the Holidays event type 2017-05-17 21:13:42 +02:00
tibbi 785216582e adding some new strings related to holiday importing 2017-05-17 19:15:25 +02:00
tibbi 4404ebb5d9 move the holiday ics files back in assets folder 2017-05-16 22:10:35 +02:00
tibbi 91ee576440 adding a couple new strings 2017-05-16 21:01:43 +02:00
tibbi 118f47bcbf add events in India, Spain and United Kingdom 2017-05-16 20:35:26 +02:00
tibbi cef4aae783 undo some ics importer changes 2017-05-16 20:22:08 +02:00
tibbi cf11065223 add a menu item for adding holidays
- move the holiday files in Raw folder
2017-05-16 20:12:13 +02:00
tibbi 7a4f244897 fix #172, properly handle newlines at export/import 2017-05-15 23:29:42 +02:00
tibbi ac9c91be33 adding some country holidays as ics files 2017-05-15 23:03:41 +02:00