Commit Graph

2354 Commits

Author SHA1 Message Date
tibbi
38e28c8e4b increasing the top and bottom padding at a Settings item 2018-11-16 20:32:44 +01:00
tibbi
7679d2c6bc make sure the keyboard is visible by default at creating a new event 2018-11-16 20:23:05 +01:00
tibbi
708a9e32ea properly import event repeat exceptions from .ics files 2018-11-16 19:11:50 +01:00
tibbi
88586d509a fix #683, properly handle timestamp value begining with a space 2018-11-16 18:50:36 +01:00
tibbi
5e7be876e5 fix importing events from .ics file 2018-11-16 18:17:56 +01:00
tibbi
5ee19b7bfc avoid duplicating repeat exception dates at events 2018-11-16 18:13:00 +01:00
tibbi
3b6f06db8b simplify repetition exception handling, CalDAV synced too 2018-11-16 18:03:53 +01:00
tibbi
5b0076302d avoid caldav syncing calendars too many times in a row 2018-11-16 17:35:46 +01:00
tibbi
4b7185a74b fix some glitches related to selecting events at the list view 2018-11-16 17:14:04 +01:00
tibbi
6a226de151 do not allow long pressing Event List view section labels 2018-11-16 17:06:15 +01:00
tibbi
0b198a3c3a removing the redundant EventRepetitionExceptions table too 2018-11-16 17:01:49 +01:00
tibbi
bd4687bfb3 fully removing the old DBHelper 2018-11-16 16:18:06 +01:00
tibbi
6a36e4e1fd handle generating events to export in room 2018-11-16 16:16:02 +01:00
tibbi
69a23c0d5f move running event fetching in Room 2018-11-16 15:28:10 +01:00
tibbi
50c6826ec0 handle repeatable event fetching in Room 2018-11-16 15:15:07 +01:00
tibbi
932cee76b0 add separate functions for getting one-time events 2018-11-16 14:48:14 +01:00
tibbi
b97cbf6ce9 adding a Room function for getting relevant events at reboot 2018-11-16 14:34:44 +01:00
tibbi
8861cbde1a reordering some EventsDao functions 2018-11-16 14:26:46 +01:00
tibbi
ce6e3b3db6 removing the flag_is_repeatable constant 2018-11-16 14:22:39 +01:00
tibbi
c372eda2ac lets remove the EventRepetition table, we dont even neede it 2018-11-16 13:11:24 +01:00
tibbi
b00d7366d9 set up foreign keys at event repetitions and repetition exceptions 2018-11-16 11:45:33 +01:00
tibbi
c76d1db104 show next event reminder toast at insert/update when appropriate 2018-11-15 13:38:08 +01:00
tibbi
f9056061e6 add a flag for determining if an event is repeatable 2018-11-15 13:18:04 +01:00
tibbi
5221f75941 adding a helper function for setting integer bits 2018-11-15 12:22:19 +01:00
tibbi
e6ab8282c9 removing some no longer needed code 2018-11-15 12:05:18 +01:00
tibbi
76c92eea78 removing a probably/hopefully redundant function 2018-11-15 11:59:38 +01:00
tibbi
427a3fa6fc add initial event fetching in Room 2018-11-15 11:45:47 +01:00
tibbi
847db07d66 converting some timestamp related fields from int to long 2018-11-15 11:09:09 +01:00
tibbi
71e066ae15 adding a helper context extension for getting some references 2018-11-14 23:37:42 +01:00
tibbi
92862d1193 moving some event repetition related things into Room 2018-11-14 23:08:59 +01:00
tibbi
c91a32ccf4 adding a few local helper variables to EventsHelper to remove some boilerplace code 2018-11-14 22:59:49 +01:00
tibbi
15600571a1 move event searching into Room 2018-11-14 22:52:30 +01:00
tibbi
361e1204bb moving another check in Room 2018-11-14 22:41:08 +01:00
tibbi
85d614f690 moving more functions into Room 2018-11-14 22:28:01 +01:00
tibbi
771f66ac8e moving a few more functions into Room 2018-11-14 22:17:29 +01:00
tibbi
86a4b3fdb1 moving getCalDAVCalendarEvents to Room 2018-11-14 22:07:54 +01:00
tibbi
5b466ec841 moving some delete functions into Room 2018-11-14 21:25:43 +01:00
tibbi
96d290a635 pass event IDs to delete as a list of longs 2018-11-14 21:03:31 +01:00
tibbi
ea80900eea moving 2 more functions into Room 2018-11-14 20:37:01 +01:00
tibbi
467585e229 allow fetching specific events with Room 2018-11-14 20:13:51 +01:00
tibbi
22bb7595d5 add a Room function for getting events with filled import ids 2018-11-14 20:08:24 +01:00
tibbi
a5e809b4c9 allow fetching birthdays and anniversaries in Room 2018-11-14 20:03:53 +01:00
tibbi
b4d84e8960 create a room function for fetching events by ids 2018-11-14 19:51:36 +01:00
tibbi
ec40b5954c require Context at EventsHelper constructor 2018-11-14 19:08:23 +01:00
tibbi
8cbbc2effe moving event insert/update in Room 2018-11-14 18:51:57 +01:00
tibbi
977b137a9b renaming EventTypesHelper to EventsHelper 2018-11-14 18:39:50 +01:00
tibbi
7ed9a42575 handle event insertions into Room 2018-11-14 17:52:58 +01:00
tibbi
2e49e9bd12 moving some functions from DBHelper to Events 2018-11-14 17:29:38 +01:00
tibbi
cd655e734a moving event repetition into Room 2018-11-14 13:25:04 +01:00
tibbi
1c41b3f6a9 moving some event repetition handling in Room 2018-11-14 13:00:48 +01:00
tibbi
4bdd09bea9 moving the event repetition exceptions into a new table 2018-11-14 11:56:56 +01:00
tibbi
aa6ae0811a moving event type deleting in Room 2018-11-14 11:06:11 +01:00
tibbi
4ed323e60e destroy the DB instance on leaving the app 2018-11-14 10:08:47 +01:00
tibbi
b532c7852e try fixing the glitch with multiple CalDAV synced event copies 2018-11-14 10:01:47 +01:00
tibbi
27179145e1 moving a couple new functions into EventTypesHelper 2018-11-14 00:08:35 +01:00
tibbi
9640ca26e2 moving some event type fetching functions into Room 2018-11-13 23:11:34 +01:00
tibbi
b1a263d54f insert regular event type into the database on creation 2018-11-13 22:41:21 +01:00
tibbi
7ae700db34 creating some event related database tables 2018-11-13 22:34:59 +01:00
tibbi
b1badc5e1a adding an event_repetition_exceptions table 2018-11-13 20:54:49 +01:00
tibbi
1a5adc9c43 make sure imported events have an ImportId + flipping some arguments 2018-11-13 20:36:52 +01:00
tibbi
d9fae609ac transforming RepeatRule into a database table 2018-11-13 20:07:37 +01:00
tibbi
0d7d4efc97 defining the Event related db columns 2018-11-13 13:19:44 +01:00
tibbi
af4f476aa6 removing another redundant repeat_start column 2018-11-13 13:09:56 +01:00
tibbi
71ff5ee61a removing another redundant db column 2018-11-13 12:23:22 +01:00
tibbi
a54004a4fb removing a redundant event_child_id column from event repetition exceptions 2018-11-13 12:11:20 +01:00
tibbi
a4ae3f9318 removing some redundant db columns 2018-11-13 12:04:58 +01:00
tibbi
7dae374b4d move the events Color field in an inline property, do not store it in db 2018-11-13 11:41:11 +01:00
tibbi
fe31ba5622 reorder Event fields, move location up 2018-11-13 11:22:41 +01:00
tibbi
5ec19501f3 create an isPastEvent inline variable for the model 2018-11-12 23:47:58 +01:00
tibbi
4ac956d315 removing the event isPastEvent field 2018-11-12 23:38:26 +01:00
tibbi
57235ab44a removing the offset and isDstIncluded event fields 2018-11-12 23:00:06 +01:00
tibbi
430899a732 improve some threading at importing events from an .ics file 2018-11-12 21:59:53 +01:00
tibbi
d6d8d912b4 removing the ignoredEventOccurrences field of Event 2018-11-12 21:53:40 +01:00
tibbi
56167f7d1f use a background thread for inserting the initial regular event type 2018-11-12 21:33:38 +01:00
tibbi
bb34f8085a renaming Meta db table to Repetitions 2018-11-12 21:15:41 +01:00
tibbi
2a909e779f do not show any event if every event type is filtered out 2018-11-12 20:40:00 +01:00
tibbi
717f103b59 move some FilterEventTypesDialog things on a background thread 2018-11-12 20:30:13 +01:00
tibbi
4f5a2de20e handle event sharing on a background thread 2018-11-12 20:23:01 +01:00
tibbi
fab72371d0 moving event deleting on a background thread in some cases 2018-11-12 19:00:26 +01:00
tibbi
ab10394122 fix saving new events with reminders 2018-11-12 18:52:55 +01:00
tibbi
d0055239bd fixing a couple more threading issues 2018-11-12 18:35:55 +01:00
tibbi
9e06f1f338 handle a couple more threading issues related to storing events 2018-11-11 23:53:47 +01:00
tibbi
6ec9792aa0 moving Event storing functions on a background thread too 2018-11-11 23:46:44 +01:00
tibbi
34778bb56a adding a temporary workaround needed at inserting new events 2018-11-11 23:34:17 +01:00
tibbi
1ca2c2d195 fetch event types at the EventActivity on background threads 2018-11-11 23:11:58 +01:00
tibbi
7a6d48d9db handle event fetching at EventActivity on a background thread 2018-11-11 23:06:38 +01:00
tibbi
e3decbe1b6 use a background thread for deleting CalDAV events after disabling sync 2018-11-11 22:42:32 +01:00
tibbi
f7e3717ed1 do the doEventTypesContainEvent check asynchronously 2018-11-11 22:35:26 +01:00
tibbi
3e05501242 move the EditEventTypeDialog confirmation handling on a background thread 2018-11-11 22:11:01 +01:00
tibbi
895c55d72e changing the event Id type to Long 2018-11-11 15:53:03 +01:00
tibbi
e535072247 updating events parentId to Long 2018-11-11 14:49:21 +01:00
tibbi
94abbaebf5 making the event Id field mandatory 2018-11-10 15:25:06 +01:00
tibbi
dcdac6b1a1 making ListEvent fields mandatory 2018-11-10 15:03:43 +01:00
tibbi
9356cc3df3 making the event ID field nullable 2018-11-10 14:53:24 +01:00
tibbi
c78b15a629 making EventType id a Long type, instead of Int 2018-11-09 19:02:24 +01:00
tibbi
aef5e4b3b7 adding Room 2018-11-09 18:32:12 +01:00
tibbi
51236061b1 removing some redundant db related functions 2018-11-09 17:48:46 +01:00
tibbi
fe694368e9 append package name with .pro 2018-11-09 17:12:02 +01:00
tibbi
47e219ba2a removing the initial Upgrade to Pro dialog too 2018-11-09 11:33:38 +01:00
tibbi
e45a2a91d4 removing some Upgrade to Pro related things 2018-11-09 11:32:20 +01:00