Commit Graph

840 Commits

Author SHA1 Message Date
3f096bda96 fixes loading enum from json file
Loading from json file happens by name. The sio client will send the whole
enumeration and thus we have to handle both strings and enumerations.
2024-03-27 17:30:37 +01:00
e56a6e0653 fixing tests 2024-03-27 17:13:40 +01:00
e71186dce4 updates types 2024-03-27 17:13:37 +01:00
d1007fad14 removes unused code 2024-03-27 16:52:48 +01:00
6f2c1f8951 exports dump function from pydase.utils.serialization 2024-03-27 16:37:06 +01:00
f18880abd5 moves serializer tests into separate module 2024-03-27 16:31:08 +01:00
9851ccfcdf moves serializer file into serialization module 2024-03-27 16:30:15 +01:00
f312ec1e51 moving deserializer into serialization module 2024-03-27 16:26:46 +01:00
7405d2cafc adds serialization module, moves types into separate file 2024-03-27 16:26:24 +01:00
e6251975b8 adds try...except blocks around update_value and get_value sio events 2024-03-27 16:18:59 +01:00
780a2466d3 fixes updating a value through sio client 2024-03-27 16:18:04 +01:00
8979a1885e fixes method execution from frontend, adds simple serialization methods 2024-03-27 16:00:54 +01:00
fbc4af28ae removes debugging statements 2024-03-27 16:00:24 +01:00
454b0fb7d1 adds start and stop methods for tasks in socketio client 2024-03-27 15:32:51 +01:00
9d3264de1f fixes cache update of task status change 2024-03-27 15:32:51 +01:00
2d6c681690 improves SerializedObject type hint 2024-03-27 15:32:51 +01:00
612e62d06b updates ProxyClassFactory (go through handled types before components) 2024-03-27 15:20:50 +01:00
31f280c9cb frontend components pass actual readOnly and docString values to backend 2024-03-27 15:20:50 +01:00
e4f5374783 fixes docstring when setting nested value by path 2024-03-27 15:20:50 +01:00
6397307690 restructuring EnumComponent (now for both Enum and ColouredEnum) 2024-03-27 15:20:50 +01:00
2ce4c9ce9b using new runMethod function 2024-03-27 15:20:50 +01:00
15cf0bd414 adapting components to new callback function 2024-03-27 15:20:23 +01:00
ff3a509132 passing fullAccessPath instead of parentPath and name 2024-03-27 15:20:23 +01:00
1a01222cb3 updates changeCallback and SerializedObject in GenericComponent.tsx 2024-03-27 12:08:10 +01:00
2eb996b382 updates frontend socket to use new sio events 2024-03-27 12:08:10 +01:00
8addcd26aa fixes state manager enum handlign 2024-03-27 12:08:10 +01:00
4db15f2fe8 updates sio events in web server 2024-03-27 12:08:10 +01:00
27f22d472d updates Deserializer (handle components at last) 2024-03-27 12:06:14 +01:00
c1aa678384 clients will now receive updates from socketio server and notify the observer 2024-03-27 12:06:14 +01:00
11670addc4 replaces ClientDeserializer with ProxyClassFactory 2024-03-27 12:06:14 +01:00
1c663e9a2e updates Deserializer (type hints, adding keyword to argument) 2024-03-27 12:06:14 +01:00
ada9dcce4a adds websocket-client package 2024-03-27 12:06:14 +01:00
bd5c162148 adds socketio client code 2024-03-27 12:06:14 +01:00
4e1ec90dee adds Deserializer, converting SerializedObject objects back to actual objects 2024-03-27 12:06:14 +01:00
4406acf4dd adds support for serializing exceptions 2024-03-27 12:06:14 +01:00
1ad917a423 removes rpyc 2024-03-27 12:06:14 +01:00
57e7deb552 Serializer adds full_access_path to serialized object representation 2024-03-26 10:52:06 +01:00
d9ea33abb6 adds enum name to serialized object representation 2024-03-26 10:50:16 +01:00
75c5bc6877 updates to version v0.7.4 v0.7.4 2024-03-19 08:28:13 +01:00
a606194c48 Merge pull request #116 from tiqi-group/feat/customisable_frontend_src
feat: adds option for custom frontend_src directory
2024-03-14 16:45:04 +01:00
5da7bdea78 updates Readme 2024-03-14 16:43:59 +01:00
c6a52914c5 adds option for custom frontend_src directory 2024-03-14 16:30:57 +01:00
ae68a89f48 Merge pull request #115 from tiqi-group/feat/add_custom_css_default_response
feat: add "custom.css" endpoint default Response
2024-03-12 14:41:09 +01:00
386e69b048 custom.css endpoint defaults to empty Response now 2024-03-12 14:37:12 +01:00
8310a51a74 Merge pull request #113 from tiqi-group/feat/frontend_display_toggle
Feat: frontend display toggle
2024-03-12 07:40:50 +01:00
2a8cbf7a4a updates Readme 2024-03-12 07:35:45 +01:00
857b81d213 updates tests 2024-03-11 15:37:56 +01:00
25834534ad npm run build 2024-03-11 15:37:56 +01:00
4a948f9155 adds "display" web settings support to frontend
Components with a "display" equals false in the web settings will not be displayed
in the frontend.
2024-03-11 15:37:56 +01:00
df42f41f53 adds "display" key in web settings 2024-03-11 15:37:56 +01:00