323 Commits

Author SHA1 Message Date
Mose Müller
7f402b45e7 docs: adding docstring to ConnectionToast 2023-11-02 15:34:07 +01:00
Mose Müller
c4056d3ca8 chore: formatting, renaming 2023-11-02 15:31:46 +01:00
Mose Müller
47d64243c3 adds connection toast component to app 2023-11-02 15:23:31 +01:00
Mose Müller
6804cdf3b1 refactoring Serializer class 2023-11-02 14:33:16 +01:00
Mose Müller
2eb0eb84cf moves serialization into separate class in the utils module 2023-11-02 14:10:33 +01:00
Mose Müller
9ac6e2c56a npm run build 2023-10-30 14:37:25 +01:00
Mose Müller
3ecb6384ad npm run build 2023-10-30 14:15:38 +01:00
Mose Müller
5b4c74f1c2 npm run build 2023-10-30 13:27:02 +01:00
Mose Müller
eb46a088ee chore: refactoring method 2023-10-25 16:48:33 +02:00
Mose Müller
81f2281002 fix: autostart_tasks capbability in sub-classes 2023-10-25 16:33:29 +02:00
Mose Müller
0504a50a08 fix: creates property functions to avoid closure and late binding issue
When having multiple tasks, they all pointed to the one defined last.
2023-10-25 16:23:06 +02:00
Mose Müller
8564df5adc fix: adds start_stop_task callbacks to lists 2023-10-25 16:23:06 +02:00
Mose Müller
9054f05f30 fix: convert quantity dict to quantity when loading from json 2023-10-25 16:15:19 +02:00
Mose Müller
b790b6a6ca fix: adds ColouredEnum to STANDARD_TYPES 2023-10-25 10:47:15 +02:00
Mose Müller
22f832054e Updating logging message 2023-10-19 17:48:05 +02:00
Mose Müller
1bc2bb3605 Enhances signal handling, adds force exit capability 2023-10-19 10:59:00 +02:00
Mose Müller
d334ec5284
Merge pull request #41 from tiqi-group/39-feat-add-customcss-option-to-pydaseserver
adds custom css option to pydase.Server
2023-10-17 17:04:30 +02:00
Mose Müller
43e0c72018 updating comments 2023-10-17 12:52:08 +02:00
Mose Müller
27b430333a ignoring flake8 error 2023-10-17 12:52:00 +02:00
Mose Müller
e25acb7e59 removing unused web server functions 2023-10-17 12:49:18 +02:00
Mose Müller
829e73e2e7 npm run build 2023-10-17 11:50:35 +02:00
Mose Müller
6e14837e15 adding custom.css endpoint to web server 2023-10-17 11:47:34 +02:00
Mose Müller
c1f0b7b74d using logger instead of print statement 2023-10-16 17:29:00 +02:00
Mose Müller
5badd86d5a chore: formatting 2023-10-16 17:26:26 +02:00
Mose Müller
b5953f13f7 fix: updating uvicorn logger config 2023-10-16 17:24:51 +02:00
Mose Müller
e61b2a4969 fix: pyright issue 2023-10-16 17:06:11 +02:00
Mose Müller
5d7a7c6bdb update logging module 2023-10-16 15:51:52 +02:00
Mose Müller
1241d7a128 using logging instead of loguru 2023-10-16 15:51:37 +02:00
Mose Müller
d144b6c42b configures pint to autoconvert offset units to base units 2023-10-16 12:05:07 +02:00
Mose Müller
b04ad0c6a3 fix: removes notification for updating protected lists 2023-10-12 14:12:48 +02:00
Mose Müller
a8b14180ad fix: using Enum instead of StrEnum (>=3.11 only) 2023-10-11 14:03:07 +02:00
Mose Müller
26a366842a frontend: npm run build 2023-10-11 14:03:07 +02:00
Mose Müller
34e46e05ee feat: adding ColouredEnum component 2023-10-11 14:03:07 +02:00
Mose Müller
21cd039610 fix: only check inheritance of public attributes 2023-10-10 12:51:50 +02:00
Mose Müller
06bf5fb539 fix: serializing enum properties 2023-10-10 12:18:13 +02:00
Mose Müller
bdbb79e131 feat: removing "install_signal_handlers" method from protocol (would have been overwritten anyway) 2023-10-03 16:15:08 +02:00
Mose Müller
78b94d4fc8 feat: updating method docstring 2023-10-03 16:12:07 +02:00
Mose Müller
ee124ead89 removes buttons from number components 2023-09-14 10:17:25 +02:00
Mose Müller
bbee77e231 feat: adds simple functionality to buttons in number component 2023-09-14 10:12:51 +02:00
Mose Müller
27520864c4 frontend: 'instant update' defaults to false 2023-09-14 08:35:10 +02:00
Mose Müller
050a718e44 feat: highlighted digits are overwritten in number components 2023-09-14 08:28:38 +02:00
Mose Müller
d5cb1a1478 fix: ignoring flake8 error 2023-09-13 18:02:50 +02:00
Mose Müller
c12bb87b2b feat: removing superfluous property accesses 2023-09-13 17:56:23 +02:00
Mose Müller
76fb674fcd adds task_done_callback to each task
The task_done_callback function handles exceptions and emitting
a notification when the task has finished.
2023-08-18 16:25:13 +02:00
Mose Müller
e86fd1ffbe fix: intercepting rpyc-handled errors 2023-08-18 16:20:12 +02:00
Mose Müller
60984b6e13 fix: pyright error in helpers.py 2023-08-17 17:08:05 +02:00
Mose Müller
f132d71f60 feat: adds logging setup
- logging can now be configured using the setup_logging function and
  using the ENVIRONMENT env variable.
- using InterceptHandler to intercept standard logging towards the
  loguru sink
- forcing uvicorn to use the same handler
2023-08-17 17:05:44 +02:00
Mose Müller
fb6fac5f9a allways mount frontend files at port 8001
- files were previously only mounted when in production mode
2023-08-17 16:41:40 +02:00
Mose Müller
a2ce2e1116 update version.py to use metadata 2023-08-17 15:47:42 +02:00
Mose Müller
b275446960 adapts slider frontend component (highlights pressed settigns button) 2023-08-17 11:15:39 +02:00