Alex Mikhalev
|
4e21e7b96a
|
Use built in MQTT reconnection behavior
|
4 years ago |
Alex Mikhalev
|
f9cdb0e57b
|
Implement proper quit behavior for update_listener
|
4 years ago |
Alex Mikhalev
|
387cc42331
|
Fix tests after changing span logs
|
4 years ago |
Alex Mikhalev
|
4fc6d24de1
|
Change some logging
|
4 years ago |
Alex Mikhalev
|
63fd0be100
|
Implement mqtt section states
|
4 years ago |
Alex Mikhalev
|
46fab5b50f
|
Use immutable collections in section_runner
|
4 years ago |
Alex Mikhalev
|
cfde268603
|
Add publishing of section states
|
4 years ago |
Alex Mikhalev
|
239a289e4e
|
Publish programs
|
4 years ago |
Alex Mikhalev
|
b5b87fe587
|
Fix json naming of ProgramItem section_id to use camelCase
|
4 years ago |
Alex Mikhalev
|
2270c69f2b
|
Add support for publishing sections
|
4 years ago |
Alex Mikhalev
|
12c326ad86
|
Update rusqlite version
|
4 years ago |
Alex Mikhalev
|
dc724ec2ba
|
Remove unused import in schedule
|
4 years ago |
Alex Mikhalev
|
68b303e32d
|
Synchronous runner quit for determinism
|
4 years ago |
Alex Mikhalev
|
effd3d8ec1
|
Add message on startup
|
4 years ago |
Alex Mikhalev
|
7efb3b81bd
|
Fix program sequences db view
|
4 years ago |
Alex Mikhalev
|
10f1003b56
|
Move most db stuff to database module
|
4 years ago |
Alex Mikhalev
|
8c2f76ddd2
|
Reorganize migrations and database stuff
|
4 years ago |
Alex Mikhalev
|
0fe30fa7a9
|
Add support for reading programs from database
Closes #8
|
4 years ago |
Alex Mikhalev
|
e5a2e169a2
|
Format some SQL queries better
|
4 years ago |
Alex Mikhalev
|
aed95202ce
|
Few fixes in scripts/add_migration.sh
|
4 years ago |
Alex Mikhalev
|
6361ebbe76
|
Add script for adding a migration
|
4 years ago |
Alex Mikhalev
|
2e17452315
|
Move migrations to files
|
4 years ago |
Alex Mikhalev
|
9e9c1a353a
|
Implement de/serialization of schedules
Fixes #7
|
4 years ago |
Alex Mikhalev
|
b6bcde020c
|
Flesh out main a bit more
There is now an instance of SectionRunner and ProgramRunner
|
4 years ago |
Alex Mikhalev
|
9120f0cbd3
|
Add support for scheduled programs
|
4 years ago |
Alex Mikhalev
|
c7450f1cc5
|
Remove debug prints
|
4 years ago |
Alex Mikhalev
|
a56da9b9e0
|
Add schedule fields to program
|
4 years ago |
Alex Mikhalev
|
e2c06f03a5
|
Add Schedule module for schedule support
|
4 years ago |
Alex Mikhalev
|
0263a2b782
|
Documentation for model
|
4 years ago |
Alex Mikhalev
|
d400834f54
|
Add more docs for section
|
4 years ago |
Alex Mikhalev
|
d4e067a947
|
Improve ProgramRunner task error handling
|
4 years ago |
Alex Mikhalev
|
9d5877106b
|
Implement program cancellation
|
4 years ago |
Alex Mikhalev
|
6d33b7ed50
|
Add a few more ProgramRunner tests
|
4 years ago |
Alex Mikhalev
|
690a165950
|
Add more ProgramRunner tests
|
4 years ago |
Alex Mikhalev
|
6343ed1353
|
Add ProgramRunner
still needs some more tests
|
4 years ago |
Alex Mikhalev
|
10abb912d4
|
Rename types pertaining to SectionRunner
|
4 years ago |
Alex Mikhalev
|
a509303bc2
|
Add Program model
Also expose types for collections of Sections and Programs
|
4 years ago |
Alex Mikhalev
|
46d90b4e84
|
Add type alias for Section id
|
4 years ago |
Alex Mikhalev
|
7cb956c2bd
|
Rename section_interface::SectionId
To SecId
|
4 years ago |
Alex Mikhalev
|
bd643607a9
|
Add SectionRunner events
|
4 years ago |
Alex Mikhalev
|
1d5e05270e
|
Fix clippy warning
|
4 years ago |
amikhalev
|
8d719032e1
|
Merge pull request 'Refactor SectionRunner runner_task' (#6) from refactor-section-runner into master
Reviewed-on: #6
|
4 years ago |
Alex Mikhalev
|
f8c9fd2def
|
Refactor SectionRunner runner_task
Create a struct to stores state and split up `runner_task` in
to separate functions.
|
4 years ago |
Alex Mikhalev
|
4c782addb7
|
Move OptionFuture to its own file
|
4 years ago |
Alex Mikhalev
|
7aaab40e0b
|
Fix clippy warnings
|
4 years ago |
Alex Mikhalev
|
2d0927cff2
|
Separate drone steps and add clippy
|
4 years ago |
amikhalev
|
e75a326f7d
|
Merge pull request 'Add test for SectionRunner pause/unpause' (#3) from section-runner-pause into master
Reviewed-on: #3
|
4 years ago |
Alex Mikhalev
|
4cf93a9568
|
Fix test usage of `tokio::time::advance`
|
4 years ago |
Alex Mikhalev
|
ab994d027a
|
Implement SectionRunner pause/unpause
|
4 years ago |
Alex Mikhalev
|
42cce06d68
|
Add test for SectionRunner pause/unpause
|
4 years ago |