155 Commits

Author SHA1 Message Date
Mose Müller
779a23b320 fix. read-only attributes are not upated with values from json 2023-08-09 09:06:28 +02:00
Mose Müller
3bf2bd23ca frontend: npm run build 2023-08-08 16:43:21 +02:00
Mose Müller
b1dcceebf7 fix: version number is not read from pyproject.toml anymore 2023-08-08 14:12:46 +02:00
Mose Müller
3972b52f32 frontend: updating notification message 2023-08-07 16:19:52 +02:00
Mose Müller
6e8fa23a44 feat: moving notifications into separate component 2023-08-07 16:15:42 +02:00
Mose Müller
14c51a89a9 feat: formatting of notification message
- added function to get the value of a specified key in the serialized
DataService object by the full access path
- formatting notification message in "onNotify" function
2023-08-07 15:51:01 +02:00
Mose Müller
817b22ec85 feat: differentiating between exceptions and other notifications 2023-08-07 14:56:58 +02:00
Mose Müller
218d9f93c3 fixing linting issue 2023-08-07 14:43:06 +02:00
Mose Müller
9e0422fb50 updating __ini__.py files
- using full import paths
- removing some exports
2023-08-07 14:08:26 +02:00
Mose Müller
eed309590e feat: adding support for units
With `pint` as the unit package, the user can now define Quantities as
attributes of their DataService class. This will be rendered as a float
in the frontend application with the unit as an additional field
appended to the form.
2023-08-07 14:05:48 +02:00
Mose Müller
472f37c6d6 updating filename 2023-08-03 15:39:27 +02:00
Mose Müller
91ea07905d feat: adding time string to notifications 2023-08-03 15:30:34 +02:00
Mose Müller
b30295d840 feat: added frontend exception notifications 2023-08-03 15:18:32 +02:00
Mose Müller
85a171c33e cleaning up type hinting (using TYPE_CHECKING) 2023-08-03 14:44:14 +02:00
Mose Müller
cea831f72c fix: crashed if stopping a task that didn't run 2023-08-03 14:20:40 +02:00
Mose Müller
cf46dbbdde feat: adding frontend notifications for attribute updates 2023-08-03 12:00:25 +02:00
Mose Müller
cb7dcb625e fix: fixing autostart of tasks 2023-08-02 16:23:04 +02:00
Mose Müller
b317cba95f fix flake8 error 2023-08-02 15:30:45 +02:00
Mose Müller
c3e760c483 Update python-package.yml 2023-08-02 15:30:25 +02:00
Mose Müller
6b97b9b70c Adding py.typed marker 2023-08-02 14:43:40 +02:00
Mose Müller
53afb139f2 renaming pyDataService -> pydase 2023-08-02 12:09:33 +02:00
Mose Müller
5ae6cfb38c frontend: updating navigation bar 2023-08-02 12:06:23 +02:00
Mose Müller
29ce850775 updating confz dependency 2023-08-02 12:06:23 +02:00
Mose Müller
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
Mose Müller
c1a250e7e6 feat: adding navigation bar to frontend 2023-08-02 12:06:22 +02:00
Mose Müller
c5bbaad58d fix: NumberComponent cursor position change 2023-08-02 12:06:22 +02:00
Mose Müller
4597dbca99 feat: NumberSlider accepts value type now 2023-08-02 12:06:22 +02:00
Mose Müller
3a0c65aa89 feat: serialized dict is ordered now 2023-08-02 12:06:22 +02:00
Mose Müller
b385d728fc fix: do not prevent Tab behaviour in NumericComponent 2023-08-02 12:06:22 +02:00
Mose Müller
1f4c3db9bb updating config.py 2023-08-02 12:06:22 +02:00
Mose Müller
2c9f1be4a9 removing client.py 2023-08-02 12:06:22 +02:00
Mose Müller
f446c0b1d2 docs: adding docstring to Server 2023-08-02 12:06:22 +02:00
Mose Müller
93b7e25e57 feat: adding support for additional servers, removing tiqi_rpc dependency 2023-08-02 12:06:22 +02:00
Mose Müller
d4c72d7026 exceptions have a separate socketio event now 2023-08-02 12:06:22 +02:00
Mose Müller
ac9f39ca56 updating TaskManager 2023-08-02 12:06:22 +02:00
Mose Müller
74d121b19d updating helpers.py 2023-08-02 12:06:22 +02:00
Mose Müller
7861def541 renaming pyDataInterface -> pyDataService 2023-08-02 12:06:22 +02:00
Mose Müller
e7a0017431 feat: using TaskManager as attribute instead of inheriting 2023-08-02 12:06:22 +02:00
Mose Müller
8fd1f1822f feat: CallbackManager inherits from abstract class now 2023-08-02 12:06:22 +02:00
Mose Müller
096292a862 fix: checking is "_rpc_server" attributes exists to not throw exception 2023-08-02 12:06:22 +02:00
Mose Müller
f81f9b7ff8 fix: adding NoneType to STANDARD_TYPES, fixing reading None from JSON file 2023-08-02 12:06:22 +02:00
Mose Müller
86dd15d3f6 update warning function to ignore TaskManager 2023-08-02 12:06:22 +02:00
Mose Müller
be624f8f07 renaming file containing abstract base classes 2023-08-02 12:06:22 +02:00
Mose Müller
3294617542 feat: adding other abstract base classes 2023-08-02 12:06:22 +02:00
Mose Müller
bcc846f70d feat: moving CallbackManager to new file, moving emit_notification to CallbackManager 2023-08-02 12:06:22 +02:00
Mose Müller
2632e7ba6e creating AbstractDataService class
This is needed to split the CallbackManager into another class.
2023-08-02 12:06:22 +02:00
Mose Müller
4265929b4e feat: creating CallbackManager class which does all the callback related stuff 2023-08-02 12:06:22 +02:00
Mose Müller
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
Mose Müller
3e72e25f9f changing utils module exports 2023-08-02 12:06:22 +02:00
Mose Müller
a4402061e9 removing unused function 2023-08-02 12:06:21 +02:00