Commit Graph

149 Commits

Author SHA1 Message Date
b4b2600bf6 adding .vscode/settings.json 2023-08-02 12:13:04 +02:00
53afb139f2 renaming pyDataService -> pydase 2023-08-02 12:09:33 +02:00
5ae6cfb38c frontend: updating navigation bar 2023-08-02 12:06:23 +02:00
29ce850775 updating confz dependency 2023-08-02 12:06:23 +02:00
7143ab96db updating .gitignore 2023-08-02 12:06:23 +02:00
5400067c18 feat: updating frontend styling
- forms will have red background colour when "instant  update" is enabled
- button styling is in css file now
2023-08-02 12:06:23 +02:00
c1a250e7e6 feat: adding navigation bar to frontend 2023-08-02 12:06:22 +02:00
7a89168d14 fix: "instant update" feature
- Components do update to values received from backend even if instant
  update is not selected.
2023-08-02 12:06:22 +02:00
4ff07aa587 fix: only pass callback in emit_update if given 2023-08-02 12:06:22 +02:00
5cb30688cf feat: adding instant_update switch 2023-08-02 12:06:22 +02:00
80fe1051f1 feat: adding "emit_update" function 2023-08-02 12:06:22 +02:00
c5bbaad58d fix: NumberComponent cursor position change 2023-08-02 12:06:22 +02:00
4597dbca99 feat: NumberSlider accepts value type now 2023-08-02 12:06:22 +02:00
3a0c65aa89 feat: serialized dict is ordered now 2023-08-02 12:06:22 +02:00
b385d728fc fix: do not prevent Tab behaviour in NumericComponent 2023-08-02 12:06:22 +02:00
1f4c3db9bb updating config.py 2023-08-02 12:06:22 +02:00
2c9f1be4a9 removing client.py 2023-08-02 12:06:22 +02:00
6c15b85679 fixing tests 2023-08-02 12:06:22 +02:00
f446c0b1d2 docs: adding docstring to Server 2023-08-02 12:06:22 +02:00
93b7e25e57 feat: adding support for additional servers, removing tiqi_rpc dependency 2023-08-02 12:06:22 +02:00
d4c72d7026 exceptions have a separate socketio event now 2023-08-02 12:06:22 +02:00
ac9f39ca56 updating TaskManager 2023-08-02 12:06:22 +02:00
e8dd332753 updatign python environment 2023-08-02 12:06:22 +02:00
74d121b19d updating helpers.py 2023-08-02 12:06:22 +02:00
7861def541 renaming pyDataInterface -> pyDataService 2023-08-02 12:06:22 +02:00
e7a0017431 feat: using TaskManager as attribute instead of inheriting 2023-08-02 12:06:22 +02:00
8fd1f1822f feat: CallbackManager inherits from abstract class now 2023-08-02 12:06:22 +02:00
096292a862 fix: checking is "_rpc_server" attributes exists to not throw exception 2023-08-02 12:06:22 +02:00
f81f9b7ff8 fix: adding NoneType to STANDARD_TYPES, fixing reading None from JSON file 2023-08-02 12:06:22 +02:00
86dd15d3f6 update warning function to ignore TaskManager 2023-08-02 12:06:22 +02:00
be624f8f07 renaming file containing abstract base classes 2023-08-02 12:06:22 +02:00
3294617542 feat: adding other abstract base classes 2023-08-02 12:06:22 +02:00
bcc846f70d feat: moving CallbackManager to new file, moving emit_notification to CallbackManager 2023-08-02 12:06:22 +02:00
2632e7ba6e creating AbstractDataService class
This is needed to split the CallbackManager into another class.
2023-08-02 12:06:22 +02:00
4265929b4e feat: creating CallbackManager class which does all the callback related stuff 2023-08-02 12:06:22 +02:00
2e683df6ef feat: only updating the class attributes with the values from the JSON if the types are the same 2023-08-02 12:06:22 +02:00
3e72e25f9f changing utils module exports 2023-08-02 12:06:22 +02:00
a4402061e9 removing unused function 2023-08-02 12:06:21 +02:00
dd1cc3bc31 feat: wrapping main loop in try except block
This ensures that
- the shutdown coroutine will be saved to close all resources gracefully
- the service state is being saved when some unexpected error
happens
2023-08-02 12:06:21 +02:00
5fbbdd994c docs: updating docstring, formatting 2023-08-02 12:06:21 +02:00
5695d28ea3 fix: component import 2023-08-02 12:06:21 +02:00
d721ef05f5 refactoring the way DataService instance attributes are updated 2023-08-02 12:06:21 +02:00
df8ea404ae fix: use relative import to avoid import loop 2023-08-02 12:06:21 +02:00
216f3cb008 fix: ignore _abc module in warnings 2023-08-02 12:06:21 +02:00
b68cb4d309 feat: creating components module, adding docstrings 2023-08-02 12:06:21 +02:00
21eb7d4c26 docs: updating TaskManager documentation 2023-08-02 12:06:21 +02:00
a9b98b675d feat: adding support for saving the status of a DataService class
By passing a the "filename" keyword to the DataService init function,
one can save the state of the instance in this file. Quitting the service
(Ctrl+C) will dump the state of the instance in the file with given
filename. When starting the instance, it will load these values again.
2023-08-02 12:06:21 +02:00
a288c35c50 revert: moving DataServiceSerializer functionality back to
DataService
2023-08-02 12:06:21 +02:00
6c9a09eabc feat: updating utils
- moving apply_update_to_data_service to data_service and renaming to
update_DataService_by_path
    - splitting function into several logical parts
- adding and rewriting multiple helper functions
2023-08-02 12:06:21 +02:00
cbdf894073 fixing warning messages comming from asyncio 2023-08-02 12:06:21 +02:00