Stefan Pranger
5f2725b5c2
added deletion of events
3 years ago
Stefan Pranger
495f323e07
updated event creation
- added filename to events
- added util for epoch to dtime with format string
- fixed bug in which epoch times would be parsed with gmtime instead of
localtime
3 years ago
Stefan Pranger
986eb07abe
added alarm action parsing
3 years ago
Stefan Pranger
75398ebfcb
added functionality to StatementBuilders
3 years ago
Stefan Pranger
51c92e88ac
updated includes in main source file
3 years ago
Stefan Pranger
c47ccdc13b
set timezone on startup
3 years ago
Stefan Pranger
4a66b49bed
enabled foreign keys on startup
3 years ago
Stefan Pranger
e7a87bbaa9
removed unnecessary flush from DEBUG
3 years ago
Stefan Pranger
7cc6a792e0
updated event migration
added autoincrement id and filename
which is used for deleting events
3 years ago
Stefan Pranger
297c5e13ad
updated alarms migration
Added foreign key and constraints for event+trigger time uniqueness
3 years ago
Stefan Pranger
76c496e068
added fk methods to TableBuilder
3 years ago
Stefan Pranger
46af41e99a
added notification script for alarms
3 years ago
Stefan Pranger
09c4fcb2b6
updated cmake
3 years ago
Stefan Pranger
36c5b28f2b
addded module for FSWatcher
3 years ago
Stefan Pranger
7ded95e8e2
fetch alarms in heartbeat
3 years ago
Stefan Pranger
f60e0f24d2
added stmtbuilder and split up source
3 years ago
Stefan Pranger
df32a646a5
Init FSWatcher
3 years ago
Stefan Pranger
0e55e4d2d7
split up update.h
3 years ago
Stefan Pranger
889a37abd6
reworked Alarm and Event
fixed wrong offset in datetime conversion
3 years ago
Stefan Pranger
c1928ee495
store events to db
3 years ago
Stefan Pranger
2241481f27
IcalObject methods are const
3 years ago
Stefan Pranger
c08c09cf1e
fixed event getter
3 years ago
Stefan Pranger
a8fc450a02
changed events table migration
3 years ago
Stefan Pranger
ede7da0c94
add db_safe util method
3 years ago
Stefan Pranger
25b2594206
pass databases in daemon functions
3 years ago
Stefan Pranger
e97543f0c6
added getter to Event
3 years ago
Stefan Pranger
eec728876b
added UID to event and fixed dtend parsing
3 years ago
Stefan Pranger
70640b183f
added new files to cmake
3 years ago
Stefan Pranger
bdcd71bbde
added alarm migration and changes events table
3 years ago
Stefan Pranger
8dead037e4
init db update and refactored ical classes
- IcalObject is now a proper class
- fixed Alarm/Event/IcalObject includes
- objects now get instantiated in parse_cal_dir and get filled up
along the way
3 years ago
Stefan Pranger
967abc2cc9
refactored debug to make it cleaner
3 years ago
Stefan Pranger
c1683a42f4
added printout for defines in cmake
3 years ago
Stefan Pranger
be6825048f
updated executable in cmake
3 years ago
Stefan Pranger
88c61caa3f
introduced statement builder
3 years ago
Stefan Pranger
9b1c810bb3
migrations now run with savepoints
3 years ago
Stefan Pranger
cd93c42cf0
fixed debug macros
3 years ago
Stefan Pranger
67aaef771f
debug statements only show filename
3 years ago
Stefan Pranger
982c226ade
added first version of README
3 years ago
Stefan Pranger
29a2c8abe2
added MIT license
3 years ago
Stefan Pranger
94a5b5e333
removed unused include from first migration
3 years ago
Stefan Pranger
cc85930e69
create_migrations now adds migration to Schema.cpp
3 years ago
Stefan Pranger
e0bc912db1
added script for creation of migrations
3 years ago
Stefan Pranger
5148636927
added create_events migration
3 years ago
Stefan Pranger
a794d93997
added db create to daemon main
3 years ago
Stefan Pranger
f068a178e0
added files to CMake
3 years ago
Stefan Pranger
806e9e5c5a
run migrations on db init
3 years ago
Stefan Pranger
5ed4c01cc3
added Schema and Migration
3 years ago
Stefan Pranger
8351edbe77
removed AbstractTableBuilder
3 years ago
Stefan Pranger
fccaa5d639
added builder code for db migrations
3 years ago
Stefan Pranger
6b35fed492
removed event debug output
3 years ago