Closed monoidic closed 3 years ago
Actually, rather than working with app.edges
, I think it'd be a better idea to get rid of it entirely and merge the edges into the bots here as well. It'll make something else I'm working on (fixing bot renaming issues) simpler as well.
Just noticed that the variable node
declared on line 586 in configs.js
is actually meant to be a global variable (not just declared as such due to the wonderful defaults of JS).
There's still quite a few rough edges here, I'll work on them for a bit.
There's still quite a few rough edges here, I'll work on them for a bit.
I feel your pain. Thanks for tackling this issue!
I think I managed to remove the bugs I'd introduced now.
pipeline.js
is redundant due to the changes and was removedALLOWED_PATH
and CONTROLLER_CMD
are defined in a seperate .js file rather than being templated into the HTML, fixing #183${source_node}|${destination_node}|${edge_name}
/runtime
and /positions
API endpoints at the same time, when /runtime
is updating runtime.yaml
at the same time that /positions
is trying to parse it
runtime.yaml
Thank you very much!
I picked the commits for the maintenance branch and applied some minor (administrative) additions in 83f999c and 92f726a.
We need to have a look at some potential security-related issues, for which I'll open separate issues.
This PR fixes a current issue where working with edges between bots is broken, due to added edges not being transmitted to the server with the new API. Along that, it fixes an UX issue, with the
destination_queues
parameter being visible in the bot editor. It also fixes issue #263, restoring the sane default bot IDs.