2 weeks agoUpdate requirements.txt and add specific requirements for tests.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 28 Feb 2025 16:56:53 +0100] rev 4125
Update requirements.txt and add specific requirements for tests.

Consequence of crossbar support in tests.

2 weeks agoIDE: enforce CRA to WAMP connector, using known PSK as credentials. TLS support is WIP.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 28 Feb 2025 16:53:33 +0100] rev 4124
IDE: enforce CRA to WAMP connector, using known PSK as credentials. TLS support is WIP.

2 weeks agoIDE: Enhancements in PSK management.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 28 Feb 2025 16:48:28 +0100] rev 4123
IDE: Enhancements in PSK management.

- move secret reading code from eRPC connector to PSK management
- fix browser window not showing last connection date properly

2 weeks agopython runtime: more Wamp client fixes
Edouard Tisserant <edouard@beremiz.fr> [Fri, 28 Feb 2025 16:43:36 +0100] rev 4122
python runtime: more Wamp client fixes

2 weeks agopython runtime: fix behaviour of -c when given file do not exist yet
Edouard Tisserant <edouard@beremiz.fr> [Fri, 28 Feb 2025 16:41:26 +0100] rev 4121
python runtime: fix behaviour of -c when given file do not exist yet

2 weeks agoIDE/CLI: cleaner implementation of actions To Do Before Quit
Edouard Tisserant <edouard@beremiz.fr> [Thu, 27 Feb 2025 14:55:42 +0100] rev 4120
IDE/CLI: cleaner implementation of actions To Do Before Quit

2 weeks agotest: upgrade wamp test.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 27 Feb 2025 09:38:10 +0100] rev 4119
test: upgrade wamp test.

2 weeks agofix random python 3 porting consequences.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 26 Feb 2025 16:33:13 +0100] rev 4118
fix random python 3 porting consequences.

2 weeks agopython runtime: use given service name (-n CLI option) as CRA ID by default.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 26 Feb 2025 16:31:59 +0100] rev 4117
python runtime: use given service name (-n CLI option) as CRA ID by default.

2 weeks agopython runtime: Wamp CRA authentication is now mandatory, no connection if secret is missing.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 26 Feb 2025 16:30:09 +0100] rev 4116
python runtime: Wamp CRA authentication is now mandatory, no connection if secret is missing.

2 weeks agopython runtime: Wamp client now parses PSK file to extract secret from it instead of using the whole file as a secret.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 26 Feb 2025 16:24:35 +0100] rev 4115
python runtime: Wamp client now parses PSK file to extract secret from it instead of using the whole file as a secret.

2 weeks agopython runtime: fix behaviour of -s CLI option when given file doesn't exist.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 26 Feb 2025 16:17:15 +0100] rev 4114
python runtime: fix behaviour of -s CLI option when given file doesn't exist.

3 weeks agoWAMP: enable TLS support. Add web settings for hostname verification and server certificate.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 18 Feb 2025 16:22:54 +0100] rev 4113
WAMP: enable TLS support. Add web settings for hostname verification and server certificate.

3 weeks agoPython runtime: change meaning of -s and -c options in CLI
Edouard Tisserant <edouard@beremiz.fr> [Tue, 18 Feb 2025 16:19:23 +0100] rev 4112
Python runtime: change meaning of -s and -c options in CLI

3 weeks agoFix debugger exception caused by py2/py3 merging error.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 17 Feb 2025 14:15:48 +0100] rev 4111
Fix debugger exception caused by py2/py3 merging error.

4 weeks agoPY_EXT: fix exception with CSV loading.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 11 Feb 2025 15:59:23 +0100] rev 4110
PY_EXT: fix exception with CSV loading.

5 weeks agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 07 Feb 2025 18:42:43 +0100] rev 4109
merge

5 weeks agoFix csv_by_string example
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 15:05:50 +0100] rev 4108
Fix csv_by_string example

5 weeks agoPY_EXT: fix wrong column header produced by csv_write_by_string.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 14:29:11 +0100] rev 4107
PY_EXT: fix wrong column header produced by csv_write_by_string.

5 weeks agoAdd example for CSV_WRITE_BY_STRING
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 11:22:53 +0100] rev 4106
Add example for CSV_WRITE_BY_STRING

5 weeks agoPy_ext: add CSV write by String FB + refactoring
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 11:21:15 +0100] rev 4105
Py_ext: add CSV write by String FB + refactoring

- CSV_WRITE_BY_STR can create file from scratch
- Moved python runtime code from a string to a separate file.

5 weeks agoPython runtime: call "OnIdle" tasks when py_eval FBs execution queue is empty.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 10:52:09 +0100] rev 4104
Python runtime: call "OnIdle" tasks when py_eval FBs execution queue is empty.

This is usefull to execute slow operations that can be deffered from functions called by py_eval FBs.
User python code add a callable to "OnIdle" list made available in global scope.

7 weeks agoMerge remote-tracking branch 'hggit/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 26 Jan 2025 14:58:13 +0100] rev 4103
Merge remote-tracking branch 'hggit/python3' into python3

7 weeks agoSVGHMI: update generated xslt
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Jan 2025 22:05:08 +0100] rev 4102
SVGHMI: update generated xslt

7 weeks agomerged
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 26 Jan 2025 12:20:12 +0100] rev 4101
merged

7 weeks agoMQTT: fix typo in resub python callback.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 22 Jan 2025 11:39:27 +0100] rev 4100
MQTT: fix typo in resub python callback.

7 weeks agoMQTT: fix non reconnecting python topics. WIP
Edouard Tisserant <edouard@beremiz.fr> [Tue, 21 Jan 2025 16:28:43 +0100] rev 4099
MQTT: fix non reconnecting python topics. WIP

7 weeks agoLet extensions know when configuration is new, to apply defaults.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 21 Jan 2025 09:29:59 +0100] rev 4098
Let extensions know when configuration is new, to apply defaults.

Add "new_config" member to CTN, True when config was just created.

8 weeks agoMQTT: fix build error when publishing json topic.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 16 Jan 2025 15:30:35 +0100] rev 4097
MQTT: fix build error when publishing json topic.

8 weeks agoIDE: Better xmlclass behavior with simple XML element having no attibutes (simple TAGs).
Edouard Tisserant <edouard@beremiz.fr> [Thu, 16 Jan 2025 14:52:49 +0100] rev 4096
IDE: Better xmlclass behavior with simple XML element having no attibutes (simple TAGs).

xsd:choice can sometime lead to such situation when there is no additional data associated to a particular choice.