1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Commit Graph

42 Commits

Author SHA1 Message Date
Nick O'Leary
ad6254c0b8 Add oneditdelete handler for config nodes
Already had the undocumented ondelete handler. Adding
this to be consistent with the other oneditXYZ handlers.
2015-02-13 11:20:08 +00:00
Nick O'Leary
d6ca421d59 Remove unecessary argument to oneditcancel 2015-02-13 11:05:45 +00:00
Nick O'Leary
79bd01f810 Remove X button on dialogs
Fixes #561

Also, oneditcancel not being honoured for regular nodes, only config nodes
2015-02-13 10:06:28 +00:00
Nick O'Leary
f6f4b0784b Make subflow delete option more obvious
Fixes #514
2015-01-18 09:38:47 +00:00
Nick O'Leary
426fcc2fdd Rework subflow edit process 2014-11-13 12:59:28 +00:00
Nick O'Leary
64a6fe11da Add subflow outputs to be delete by selection 2014-11-12 23:51:42 +00:00
Nick O'Leary
e7dccf04d2 Changing subflow in/outs leaving wires behind
Fixes #477
2014-11-07 11:22:00 +00:00
Nick O'Leary
a520240b25 Ensure application/json on library flows reqs 2014-11-05 23:08:23 +00:00
Nick O'Leary
d9648ca76b Add subflow support 2014-10-29 20:26:25 +00:00
Nick O'Leary
e48cbafbd6 Fix jshint test 2014-09-22 13:22:23 +01:00
Nick O'Leary
3e3b388ca7 Prevent adding empty twitter creds
Closes #372
2014-09-08 14:41:39 +01:00
jhr007
5c39e330cb Add checkbox support so config dialogs can save checkbox values 2014-09-01 11:50:29 -05:00
Nick O'Leary
8849f11eb5 Change how hidden input is appended
Fixes #360
2014-08-28 20:56:04 +01:00
Nick O'Leary
96a0a9d2d2 Update credential in edit form when left unchanged
Related to #355
2014-08-27 22:06:45 +01:00
Nick O'Leary
2dac28a421 Add hidden input to prevent edit form submit on enter
closes #349
2014-08-27 21:48:27 +01:00
Nick O'Leary
1e33843798 Move main ui over to font-awesome 2014-08-19 22:58:52 +01:00
Nick O'Leary
972e6fc6b3 Tidy editor code to pass jshint 2014-08-08 00:01:35 +01:00
Nick O'Leary
9d481858a0 Update twitter node to new credential api 2014-07-20 22:00:02 +01:00
Nick O'Leary
4302deb5a6 Change credential boolean prefix 2014-07-20 20:42:41 +01:00
Nick O'Leary
b604db83f6 Tweak the credential handling
- use node.credentials rather than node._creds for consistency with the runtime
 - simplify the structure of node.credentials
2014-07-19 00:25:22 +01:00
Antoine Aflalo
4d97d9d300 Rewrite credentials API to work with save on deploy. 2014-07-16 11:25:40 +03:00
Nick O'Leary
1d5e8de6f6 Add function documentation to editor.js 2014-05-27 16:06:25 +01:00
Antoine Aflalo
364f44451f Validation of credentials inputs. 2014-05-16 11:20:36 +03:00
Nick O'Leary
a5cf4b17bf New config nodes not picking up defaults 2014-05-09 15:23:33 +01:00
Antoine Aflalo
6a7b3cf62c REST API for Credentials
Adding RED.nodes.registerCredentials to register the credentials definition server sided.
Adding the property credentials in the template definition client-side.

Connecting the editor to the credential API.
I added a TODO for the validation of Credentials field.
As the other field, the developer should be able to set the credentials as required and also give a validation function.
2014-05-09 13:47:21 +03:00
Nick O'Leary
0d6525623d Refactor editor.js to reduce duplication of editor setup
Part of #93

This reduces the duplication in code that creates the both the normal-
and the config-node dialogs.

It also identifies the key points that credentials handling should
be introduced.
2014-05-06 23:44:35 +01:00
Nick O'Leary
8a646f73b3 Config node validation should define to node-defined func 2014-04-08 16:19:58 +01:00
Nick O'Leary
d784889b75 Validate properties after calling oneditprepare 2014-04-08 15:32:58 +01:00
Nick O'Leary
cefa0ae5b6 Node defaults of 0 not showing in edit form
Fixes #186
2014-03-28 21:00:11 +00:00
Nick O'Leary
68d5ebf388 Allow multiple config types in a node
Fixes #170
2014-02-28 20:58:04 +00:00
Nick O'Leary
e403924d2b Only refresh info if editing_node not null 2014-02-27 16:28:12 +00:00
Nick O'Leary
325600ea61 Update info sidebar on node edit
Fixes #168

Moves info sidebar to its own file so it can be refreshed from other parts of the UI
2014-02-26 22:59:53 +00:00
Nick O'Leary
d8f2f24b44 Add optional basic-auth to HTTP Request node
Closes #160
2014-02-19 20:31:42 +00:00
Nick O'Leary
cfd8d137cf Add config-node sidebar tab
Accessed from the drop-down menu
2014-01-25 22:31:43 +00:00
Nick O'Leary
48d37df199 Track node.changed state over undo
Part of #33
2013-12-19 21:34:25 +00:00
Nicholas O'Leary
6a4aa1ff21 Disable escape-to-close on edit dialog
Closes #84
2013-11-21 11:02:31 +00:00
Nicholas O'Leary
1fc4a65307 Handle un-validated config nodes on open
Part of #33
2013-11-18 21:17:29 +00:00
Nicholas O'Leary
cbe57aa96c Validate config node properties
Fixes #74
2013-11-17 17:49:32 +00:00
Nicholas O'Leary
e703fa1b6b Add 'changed' property to nodes to track undeployed changes
Part of #33
2013-11-15 23:40:36 +00:00
Nicholas O'Leary
8c6aa07d91 Allow node properties to be objects/arrays 2013-10-12 21:54:07 +01:00
Nicholas O'Leary
1d4adecaa0 Validate functions should be called in context of the node 2013-09-17 13:23:08 +01:00
Nicholas O'Leary
32796dd74c Got to start somewhere 2013-09-05 15:02:48 +01:00