Commit graph

37 commits

Author SHA1 Message Date
59a8152855
Add redirect to docs page 2024-06-11 14:04:23 +02:00
e3f3f85ef5
Refactor the utils (remove them) 2024-05-29 00:58:51 +02:00
45409168d6
Improve handling of override_schedule 2024-05-28 21:17:29 +02:00
470b9c905b
Rename active_schedule to override_schedule in request 2024-05-26 22:47:13 +02:00
b28db015b4
Format code a bit 2024-05-23 20:18:11 +02:00
d76bf0f711
Improve macro-execute function and simplify schedule in macro action 2024-05-13 19:17:24 +02:00
11e1a51a2a
Add parameter for db pool size 2024-05-10 18:03:02 +02:00
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
3c70ae1da3
Add strict mode and defaults for GET tagged schedules 2024-05-06 16:27:42 +02:00
f9ad8f9399
Improve api schema 2024-05-04 18:35:19 +02:00
8616c70f21
Add filter by controller uid in macro execute 2024-05-02 21:24:31 +02:00
02c613e0fd
Revert "Add sql transactions"
This caused the error "locked database".
This reverts commit 9823511b62.
2024-05-02 19:33:25 +02:00
9823511b62
Add sql transactions 2024-05-02 13:30:14 +02:00
455ca50695
Replace api.v1.yaml with json variant 2024-05-02 02:32:47 +02:00
ea09061b29
Fix minor bugs 2024-05-01 01:48:19 +02:00
b742f0f8d6
Split project (keep core)
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 9m27s
2024-04-30 10:38:01 +02:00
bacea1e3e9 Refactor project into workspaces 2023-11-22 20:06:20 +01:00
131bdeec78 Add WIP controller websocket 2023-11-22 16:28:46 +01:00
ee5d4e2126 Add minor fixes 2023-11-22 16:15:15 +01:00
80d1fa32a0 Cleanup db/tag namespace 2023-11-21 16:46:12 +01:00
effd3f3b18 Cleanup db/schedule namespace 2023-11-21 16:33:41 +01:00
09c50411d1 Switch from "impl Responder" to Result<> response 2023-11-21 15:30:30 +01:00
a17a9868fa Reformat code 2023-11-21 15:00:14 +01:00
271b24b70d Make use of pool.acquire to prevent out-of-order db-actions 2023-11-21 14:56:14 +01:00
f3d08aab80 Migrate to sqlx 2023-11-21 00:44:45 +01:00
bd44dc3183 Add much stuff for rewrite 2023-11-19 20:52:24 +01:00
4261141c3a Switch spaces to tabs 2022-07-20 00:38:09 +02:00
467a98af43 Fix clippy warnings 2022-07-17 21:01:32 +02:00
e3adc35221 Add function and prefer .iter() 2022-07-17 20:19:36 +02:00
53c6fcd917 Add wiring pi (for test and doc) 2022-04-15 02:11:34 +02:00
e157a5d02d Add update and get-by-tag for schedules 2022-04-03 18:39:31 +02:00
75f8afd624 Add tags for schedules 2022-04-03 01:35:51 +02:00
f3f3d36eed Cleanup db stuff 2021-12-21 12:17:01 +01:00
7254eddc6c Add delete handler and json-payload error response 2021-11-08 13:11:20 +01:00
e6278176e4 Add middleware 2021-11-06 14:54:45 +01:00
483fd60daa Add saving periods 2021-11-05 16:32:30 +01:00
12d57d020f Start rust rewrite 2021-11-04 23:43:52 +01:00