Commit graph

29 commits

Author SHA1 Message Date
Tobias Reisinger 8785186dfa
Add notifier to break relay loop 2023-12-07 04:30:33 +01:00
Tobias Reisinger 8dc9072fe8
Rename AppServer to AppState 2023-12-05 21:57:00 +01:00
Tobias Reisinger 6f8d63e7be
Fix bugs and add controller action for controller ws 2023-12-05 16:11:40 +01:00
Tobias Reisinger 8b1affd8c7
Fix small bugs in updating relays 2023-12-05 03:12:47 +01:00
Tobias Reisinger e2cd84b136
Set options on request types 2023-12-05 02:41:43 +01:00
Tobias Reisinger 2a82cf79c4
Move request models 2023-12-05 01:51:06 +01:00
Tobias Reisinger b3228ea6b5
Replace expect usage with Result 2023-12-05 01:42:19 +01:00
Tobias Reisinger 9394a1ae52
Refactor more stuff 2023-12-04 23:59:26 +01:00
Tobias Reisinger 5a7b2de0ea
Refactor errors and some other stuff/fixes 2023-12-01 18:27:04 +01:00
Tobias Reisinger 8d996888bd
Add endpoints for tags 2023-11-30 03:31:35 +01:00
Tobias Reisinger c8f40284ef
Add feature to import missing schedules 2023-11-30 02:40:28 +01:00
Tobias Reisinger 6400b7745c
Improve controller endpoint and model 2023-11-30 01:43:56 +01:00
Tobias Reisinger a90ea25b87
Refactor initialization of on/off schedule 2023-11-29 17:55:49 +01:00
Tobias Reisinger 5b54f40ec0
Add cache option to from_db_model functions 2023-11-29 17:13:15 +01:00
Tobias Reisinger 5e738501dd
Fix bugs to align with tests 2023-11-29 15:59:44 +01:00
Tobias Reisinger fdca5b7277
Add fmt options and move handlers 2023-11-29 14:49:48 +01:00
Tobias Reisinger 50bcac2a1b
Add log-init-function and websocket retry 2023-11-29 01:03:04 +01:00
Tobias Reisinger 6536ff0792
Add connected controllers hashmap for controller-ws 2023-11-28 20:20:12 +01:00
Tobias Reisinger 6459804e1f
Improve active handling for controllers 2023-11-28 00:19:15 +01:00
Tobias Reisinger ec461a1a14
Refactor drop privileges method 2023-11-27 19:36:53 +01:00
Tobias Reisinger 7ed3a9e52d
Add ability to drop privileges after binding to port 2023-11-27 17:36:44 +01:00
Tobias Reisinger be7f31906c
Refactor models names 2023-11-27 12:49:40 +01:00
Tobias Reisinger 734f8b291c
Add WIP relays to database and api 2023-11-26 00:54:03 +01:00
Tobias Reisinger d193000aec
Add controller to database 2023-11-24 22:45:44 +01:00
Tobias Reisinger 9f64075f5a
Add better cors for core 2023-11-24 01:10:33 +01:00
Tobias Reisinger 32c75ad73a
Add WIP websocket to controller and refactor settings 2023-11-23 19:44:54 +01:00
Tobias Reisinger ee68405874
Add settings and constants 2023-11-23 03:36:14 +01:00
Tobias Reisinger d5583e86bc Apply small fixes and prepare emgauwa-controller 2023-11-22 23:40:32 +01:00
Tobias Reisinger bacea1e3e9 Refactor project into workspaces 2023-11-22 20:06:20 +01:00