Commit graph

33 commits

Author SHA1 Message Date
Tobias Reisinger 11e1a51a2a
Add parameter for db pool size 2024-05-10 18:03:02 +02:00
Tobias Reisinger 9a87e502f7
Fix some workflow problems 2024-05-10 13:29:24 +02:00
Tobias Reisinger 87ea9aa668
Improve logging a bit
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 23s
/ build-artifacts (x86_64-unknown-linux-gnu) (push) Failing after 10s
/ build-artifacts (x86_64-unknown-linux-musl) (push) Failing after 16s
2024-05-10 13:09:27 +02:00
Tobias Reisinger 3c70ae1da3
Add strict mode and defaults for GET tagged schedules 2024-05-06 16:27:42 +02:00
Tobias Reisinger f9ad8f9399
Improve api schema 2024-05-04 18:35:19 +02:00
Tobias Reisinger bc47ca1b67
Update dependenies 2024-05-03 13:32:03 +02:00
Tobias Reisinger b5157623ca
Fix actions workflow
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 16s
/ build-artifacts (x86_64-unknown-linux-gnu) (push) Failing after 10s
/ build-artifacts (x86_64-unknown-linux-musl) (push) Failing after 14s
2024-05-02 22:14:39 +02:00
Tobias Reisinger 9bc75b9627
Rename emgauwa-lib to emgauwa-common 2024-04-30 08:44:33 +02:00
Tobias Reisinger 4ed1cd3182
Add drivers for gpio and piface 2024-04-28 01:13:22 +02:00
Tobias Reisinger 8a83602d6a
Add basic exchange of relay states 2024-04-25 01:31:47 +02:00
Tobias Reisinger dd850766fd
Add notification to controllers on schedule change 2024-04-24 01:29:47 +02:00
Tobias Reisinger e950a33e98
Add swagger-ui 2024-04-22 03:41:41 +02:00
Tobias Reisinger 1d4e9efa15
Try to fix the threading
Add explicit tokio::spawn in controller
Add an arbiter for the app_state in core
2024-03-28 01:23:49 +01:00
Tobias Reisinger 3d66ca2472
Add more debugging and fix some 2024-03-03 22:39:28 +01:00
Tobias Reisinger 83c1f033d5
Add AppState to Controller and split up models 2023-12-07 01:32:20 +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 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 4e3df272c3
Add self-creation for controller 2023-11-25 00:39: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 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
Tobias Reisinger 131bdeec78 Add WIP controller websocket 2023-11-22 16:28:46 +01:00
Tobias Reisinger f3d08aab80 Migrate to sqlx 2023-11-21 00:44:45 +01:00
Tobias Reisinger bd44dc3183 Add much stuff for rewrite 2023-11-19 20:52:24 +01:00
Tobias Reisinger 53c6fcd917 Add wiring pi (for test and doc) 2022-04-15 02:11:34 +02:00
Tobias Reisinger 53ead537ff Prepare pipeline 2021-11-09 16:43:43 +01:00
Tobias Reisinger e6278176e4 Add middleware 2021-11-06 14:54:45 +01:00
Tobias Reisinger 483fd60daa Add saving periods 2021-11-05 16:32:30 +01:00
Tobias Reisinger 12d57d020f Start rust rewrite 2021-11-04 23:43:52 +01:00