Commit Graph

1570 Commits

Author SHA1 Message Date
tibbi
6031a4596b store caldav event type displayName and email separately 2017-08-22 21:59:14 +02:00
Yonghoon Kim
dffe58d105 Add korean translation 2017-08-23 00:32:04 +09:00
tibbi
805823c58d use a helper function for fetching proper calendar color_key, if it exists 2017-08-22 16:19:13 +02:00
tibbi
0d5b40583d implement updating remote caldav calendar name 2017-08-22 15:31:43 +02:00
tibbi
a0738b9306 rename CalDAVEventsHandler to CalDAVHandler 2017-08-22 14:08:53 +02:00
tibbi
a5d11ec1fd delete event types created at caldav sync, if the calendar is unsynced 2017-08-22 13:38:36 +02:00
tibbi
937c98f758 ignore caldav calendars at modifying the only local calendar color 2017-08-22 12:10:44 +02:00
tibbi
460bbfbb51 do not allow selecting a caldav event type at non-synced event types 2017-08-22 11:57:46 +02:00
tibbi
1786704213 revert some tools:text to android:text so it actually occupies the space 2017-08-22 11:43:24 +02:00
tibbi
3f31762b3b get proper event type title at inserting caldav events 2017-08-22 11:28:08 +02:00
tibbi
a62fa7dd8e append the caldav account email after the eventtype 2017-08-21 23:56:24 +02:00
tibbi
2c36d51536 rename refresh_caldav_accounts to refresh_caldav_calendars 2017-08-21 22:30:19 +02:00
tibbi
345b9a2efa remove a redundant import 2017-08-21 22:17:40 +02:00
tibbi
b6247d55ab properly handle moving an event from 1 caldav calendar to another one 2017-08-21 22:16:33 +02:00
tibbi
7549beb814 properly handle updating event importId at moving event to a different calendar 2017-08-21 15:08:56 +02:00
tibbi
41cc9009af properly select the synced calendar at event activity 2017-08-21 14:57:43 +02:00
tibbi
6d74925a25 implement caldav event updating 2017-08-21 14:30:06 +02:00
tibbi
ca8252fc13 add an empty helper function for updating caldav events 2017-08-20 23:16:16 +02:00
tibbi
3e6b64c4b6 reset the 4 hourly caldav update at manual refreshing 2017-08-20 22:08:27 +02:00
tibbi
90164ba8ed lets also refresh the calendar without any delay 2017-08-20 22:07:12 +02:00
tibbi
b94ed6d07c set the MANUAL refreshing flag at manual caldav sync 2017-08-20 22:05:59 +02:00
tibbi
ec02fb162e some code style updating 2017-08-20 21:58:16 +02:00
tibbi
3505567083 implement the manual caldav calendar refreshing 2017-08-20 21:55:34 +02:00
tibbi
d766aaed70 add a menu button for refreshing caldav accounts manually 2017-08-20 19:45:13 +02:00
tibbi
c5a45a96b9 schedule a caldav sync for every 4 hours 2017-08-20 19:05:29 +02:00
tibbi
e718c02275 delete invalid caldav events at sync 2017-08-20 18:38:33 +02:00
tibbi
fe4ff6e276 updating some event screen margins 2017-08-20 16:50:08 +02:00
tibbi
646bacc3f9 update kotlin to 1.1.4-2 2017-08-19 09:42:23 +02:00
tibbi
26bd74f17d add a helper function for fetching event type with a particular caldav calendar id 2017-08-18 16:08:48 +02:00
tibbi
bd9372b8c4 store the CalDAV calendar id at EventTypes too 2017-08-18 15:52:55 +02:00
tibbi
0817efbd1d add reminders to CalDAV events too 2017-08-18 15:29:25 +02:00
tibbi
ab21bcd1a8 add event to CalDAV if sync is on 2017-08-18 15:18:10 +02:00
tibbi
d8ed0c49d4 do not allow selecting an event type at caldav synced events 2017-08-17 23:51:49 +02:00
tibbi
a66931c17d allow storing events locally only, even if caldav sync is on 2017-08-17 23:31:01 +02:00
tibbi
53e08da673 do not show not synced calendars at the calendar selector 2017-08-17 21:58:19 +02:00
tibbi
82d18556bf change the default lastUsedCaldavCalendar at creating events 2017-08-17 21:54:30 +02:00
tibbi
ed9b0caa7b show the currently selected calendar info on the events screen 2017-08-17 16:01:10 +02:00
tibbi
20b6578225 add a calendar picker to the event creation activity 2017-08-17 15:42:58 +02:00
tibbi
67f651adef rename dialog_select_event_type to dialog_select_radio_group 2017-08-17 15:32:43 +02:00
tibbi
9546220a8c add a helper function for checking which caldav calendar is writable 2017-08-17 15:13:29 +02:00
tibbi
4898311b0b add a caldav calendar selector at the new event activity 2017-08-17 14:35:18 +02:00
tibbi
e447df141d remove all local caldav events at unchecking Caldav sync 2017-08-17 11:42:41 +02:00
tibbi
5cef06637f implement deleting/unsyncing caldav events locally 2017-08-16 23:59:06 +02:00
tibbi
16538e1bde implement CalDAV event deleting 2017-08-16 23:31:19 +02:00
tibbi
3d2ba4d0ef properly handle multiple days lasting all-day events at caldav 2017-08-16 22:34:18 +02:00
tibbi
8f0c8f6018 move the CalDAV related functions away from context extensions 2017-08-16 21:38:41 +02:00
tibbi
c0d6beb81f add a boolean to indicate if the created event should be added to caldav 2017-08-16 21:28:43 +02:00
tibbi
5d6404d075 update commons to 2.25.4 2017-08-16 21:12:21 +02:00
tibbi
5765bfa644 properly send info about multiple days long all-day events to caldav 2017-08-16 00:05:08 +02:00
tibbi
77a6a0fa9d update the event importId and source after creating and syncing with caldav 2017-08-15 23:27:48 +02:00
tibbi
f4c28d26f0 add a helper function for adding new events in caldav 2017-08-15 23:02:17 +02:00
tibbi
3ed2c4e472 update existing caldav event if it changed 2017-08-15 21:19:25 +02:00
Sérgio Marques
0fd2f99ccd Update strings.xml 2017-08-15 01:25:57 +01:00
tibbi
5b134a63e2 avoid inserting the same caldav event twice 2017-08-14 23:48:52 +02:00
tibbi
016b27e762 insert the parsed caldav event in our db 2017-08-14 23:19:37 +02:00
Tibor Kaputa
ed69a4b900 Merge pull request #204 from jonathan-caryl/add_fdroid_product_flavor
Add fdroid buildType so leak canary can be excluded.
2017-08-14 22:40:21 +02:00
Jonathan Caryl
705ce828d6 Add fdroid configuration so we can leave LeakCanary to just debug build 2017-08-14 21:22:19 +01:00
tibbi
65e77bf7eb do not select all caldav calendars at first sync 2017-08-14 22:18:02 +02:00
tibbi
bded050f63 ignore caldav events without titles 2017-08-14 22:15:53 +02:00
tibbi
297db04f46 if caldav event endTS is missing, use start + duration 2017-08-14 22:08:17 +02:00
tibbi
e71c8b699e parse some more fields at caldav events 2017-08-14 21:22:23 +02:00
tibbi
484554d373 store event sources as strings 2017-08-14 21:21:57 +02:00
tibbi
ad9ad142ed add some checks if cursors arent empty 2017-08-14 19:24:02 +02:00
tibbi
e65b97e647 parse a couple more fields at caldav events 2017-08-14 16:38:08 +02:00
tibbi
21efc99428 fetch event reminders at caldav events 2017-08-14 15:42:06 +02:00
tibbi
6388a67cc6 do not sign the debug build of the app 2017-08-14 09:59:26 +02:00
tibbi
d794d59166 add a helper function for fetching caldav calendar events 2017-08-13 23:14:25 +02:00
tibbi
cebc748a7f create the missing event types at importing caldav events 2017-08-13 21:47:34 +02:00
tibbi
3efe4b0f16 allow selecting specific calendars from caldav 2017-08-13 17:23:06 +02:00
tibbi
e5bbec13d0 move caldav related buttons in Settings in a standalone section 2017-08-13 16:58:36 +02:00
tibbi
b8e15d95f6 add a new settings button for managing caldav synced calendars 2017-08-13 16:54:08 +02:00
tibbi
25f38916f1 select all calendars at first Caldav Sync 2017-08-13 16:25:29 +02:00
tibbi
e0177f355c remember which calendars should be checked at caldav sync 2017-08-13 16:18:59 +02:00
tibbi
37dda42a6b add a dialog for selecting which caldav calendars to sync 2017-08-13 13:59:46 +02:00
tibbi
ef25f7d352 fetch the caldav calendar color too 2017-08-13 13:09:32 +02:00
tibbi
5f9a13ee14 flip some fields at getting caldav calendars 2017-08-13 12:31:34 +02:00
tibbi
13b2cdf1d7 add a helper function for retrieving calDAV calendars 2017-08-13 12:15:10 +02:00
Tibor Kaputa
3f06fd20b3 Merge pull request #203 from jonathan-caryl/content_description
Content description
2017-08-13 09:15:13 +02:00
Jonathan Caryl
17e9f5221f Switch some hard-coded strings from android:text to tools:text
Hard-coded as they’re always replaced at runtime, so better to have
them as tools:text
2017-08-12 22:17:00 +01:00
tibbi
760ec1e517 disable lint in release builds + minor code style update 2017-08-12 23:13:59 +02:00
Jonathan Caryl
a13231c8b3 Add importantForAccessibility="no" for dividers 2017-08-12 22:09:49 +01:00
Tibor Kaputa
84e6a779ed Merge pull request #202 from jonathan-caryl/leak_canary
Add LeakCanary for debug versions of the app
2017-08-12 22:59:10 +02:00
Jonathan Caryl
1beab19679 Add LeakCanary for debug versions of the app 2017-08-12 21:55:17 +01:00
tibbi
214a95eb5d remove Google Sync as a standalone feature 2017-08-12 22:13:57 +02:00
tibbi
257144241a updating some polish plural strings 2017-08-11 23:06:39 +02:00
tibbi
f9ce636ada updating the CalDAV sync string 2017-08-11 22:54:58 +02:00
gregory678
4f4fb381de Update strings.xml 2017-08-11 15:52:23 +02:00
gregory678
e1c789b178 Polish translation
I have some doubts about some lines, but we'll see how it looks anyway.
2017-08-11 15:24:34 +02:00
tibbi
3eef430226 require write_calendar permission before activating caldav sync 2017-08-10 21:04:32 +02:00
tibbi
cde8deb059 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Calendar 2017-08-10 20:56:06 +02:00
tibbi
8bfae3e737 adding a toggle for caldav sync 2017-08-10 20:55:41 +02:00
tibbi
dcb16990d3 adding some new Dutch events 2017-08-10 15:54:21 +02:00
tibbi
da99b5798c update commons to 2.25.3 2017-08-08 22:39:09 +02:00
tibbi
f2afa03142 updating some time strings 2017-08-04 19:57:07 +02:00
Oleh Misko
6906a373b9 Changed some small code style issues 2017-08-04 16:24:26 +03:00
Oleh Misko
3147be1d9b Fixed bug with tablet landscape years view and bug with current day drawing circle. 2017-08-04 15:46:47 +03:00
tibbi
830d9d0fa7 update version to 2.6.1 2017-07-30 11:30:23 +02:00
tibbi
8804518572 use empty importId if null 2017-07-30 11:30:11 +02:00
tibbi
a34f61a562 updating some playstore descriptions with Google sync 2017-07-29 20:21:24 +02:00
tibbi
eea7a53887 fix #191, properly display all-day weekly repeating events 2017-07-29 11:02:43 +02:00
tibbi
dddfc3e00d updating version to 2.6.0 2017-07-29 10:04:51 +02:00
tibbi
d5d6a3e656 adding a missing import 2017-07-29 10:04:37 +02:00
tibbi
0f9f1d905e updating release notes 2017-07-29 10:01:25 +02:00
tibbi
fef403b9d0 adding some new proguard rules 2017-07-29 10:01:08 +02:00
tibbi
d1dd1f0142 offer uploading local events to Google at activating sync 2017-07-28 23:28:45 +02:00
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