Commit graph

3199 commits

Author SHA1 Message Date
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