Commit graph

3176 commits

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