27 Commits

Author SHA1 Message Date
Mose Müller
bc50f99e18 feat: adding task status change callbacks
When a task (async function) is started / stopped, this will emit a
notification via socketio.
2023-08-02 12:06:20 +02:00
Mose Müller
3d07a5c9dd DataService: converting ints to floats if current value is a float 2023-08-02 12:06:20 +02:00
Mose Müller
07d9066be9 docs: adding some docstrings 2023-08-02 12:06:20 +02:00
Mose Müller
b503a5018e web server: adding function handler 2023-08-02 12:06:20 +02:00
Mose Müller
74576a5810 DataService: serialised json does not contain start/stop task functions 2023-08-02 12:06:20 +02:00
Mose Müller
b1d162a28b fix: update start_task function signature to match original async function 2023-08-02 12:06:20 +02:00
Mose Müller
e48e33c948 feat: adding support for enums
- handling fronend upates
- adding serialization for DataService classes
- adapting notification emission
2023-08-02 12:06:20 +02:00
Mose Müller
ec99078925 fixing linting issues in web_server.py 2023-08-02 12:06:20 +02:00
Mose Müller
1b11e88d5a fixing linting issues in server.py 2023-08-02 12:06:20 +02:00
Mose Müller
95dd12bf7f feat: adding backend NumberSlider 2023-08-02 12:06:20 +02:00
Mose Müller
4d929afa79 feat: adding socketio frontend handler to web server 2023-08-02 12:06:19 +02:00
Mose Müller
8c0ad6f334 adding TODO 2023-08-02 12:06:19 +02:00
Mose Müller
193775c609 dataservice: adapting serialize method 2023-08-02 12:06:19 +02:00
Mose Müller
fa9086baa8 feat: adding first version of webapi server 2023-08-02 12:06:19 +02:00
Mose Müller
617450c2bf feat: adding confz configuration 2023-08-02 12:06:19 +02:00
Mose Müller
3858c7efc2 feat: adding notification callback functionality to DataService 2023-08-02 12:06:19 +02:00
Mose Müller
8ae2bc0410 feat: adding first version of the Server 2023-08-02 12:06:19 +02:00
Mose Müller
0bfb3a44ae DataService: removing threading, using asyncio loop
Start tasks through asyncio loop instead of a separate thread.
Autmatic tasks are not started in the init function. They can be started elsewhere.
2023-08-02 12:06:19 +02:00
Mose Müller
0bd6b58515 Adding version.py 2023-08-02 12:06:19 +02:00
Mose Müller
387c258e95 Reordering DataService methods 2023-08-02 12:06:19 +02:00
Mose Müller
a09ec145ca small update on DataService class 2023-08-02 12:06:19 +02:00
Mose Müller
319a62bb01 fix: property callback issues, implemented new tests 2023-08-02 12:06:19 +02:00
Mose Müller
ae8be562db chore: updating docs, renaming _root to __root__ 2023-08-02 12:06:19 +02:00
Mose Müller
206a831473 feat: added property callbacks, added warnings 2023-08-02 12:06:19 +02:00
Mose Müller
8e7568b57f docs: Adding documentation 2023-08-02 12:06:19 +02:00
Mose Müller
460be17ecb moving from _full_access_name to callbacks 2023-08-02 12:06:19 +02:00
Mose Müller
b67c0f9da3 Initial commit 2023-08-02 12:06:19 +02:00