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

166 Commits

Author SHA1 Message Date
Nick O'Leary
bd6ac11c43 Unable to click-select link 2014-05-09 14:22:10 +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
034f17a8e8 Touch ui - deselect nodes when touch on canvas 2014-05-08 23:00:11 +01:00
Nick O'Leary
9524ef726a Change status icon look 2014-05-08 22:56:17 +01:00
Nick O'Leary
e061b2559c Remove touch-undo 2014-05-08 21:54:20 +01:00
Nick O'Leary
1d2fcc6fa1 Disable native pinch zoom of page 2014-05-08 21:50:19 +01:00
Nick O'Leary
17ad6f94dd Touch enable jQuery UI components 2014-05-08 21:47:58 +01:00
Nick O'Leary
7ecb80bf40 Add node status updates 2014-05-08 14:15:54 +01:00
Nick O'Leary
16f8673ec0 Add comms module 2014-05-07 20:47:25 +01: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
d982d02810 Prevent accidental edit of nodes
Part of #217
2014-05-06 10:14:18 +01:00
Nick O'Leary
7c5baac192 Don't show edit dialog for dblclick-drag
Closes #217
2014-05-05 23:28:24 +01:00
Nick O'Leary
02eb1d9a64 Import unknown config node breaks layout
Fixes #211
2014-04-28 21:40:32 +01:00
Nick O'Leary
b5a8a7288b Tidy up ajax usage 2014-04-21 22:42:46 +01:00
Nick O'Leary
775297d625 Fix library ui 2014-04-20 23:07:54 +01:00
Nick O'Leary
d00624f9e3 Tidy up REST interface
- Ensure application/json where appropriate
 - Use jquery api rather than d3
2014-04-20 22:35:38 +01:00
Nick O'Leary
fa275646a1 Allow use of arrow keys to move selected node
Closes #176
2014-04-16 13:39:16 +01:00
Nick O'Leary
e9c6501771 Add onadd node edit hook 2014-04-15 22:31:34 +01:00
Nick O'Leary
10d9dee4aa Escape html chars in Inject/Debug and Info pane 2014-04-09 14:50:53 +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
Dave C-J
789d64f7ed Add Ctrl-x (cut) to shortcuts 2014-04-03 00:05:16 +01:00
Nick O'Leary
6cc0df75a6 Better spinner graphic
Fixes #189
2014-04-01 22:53:48 +01:00
Nick O'Leary
c24cf9c1c2 Fix config node usage counts 2014-03-28 21:34:26 +00: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
0b516a83db Fix snap-to-grid
Fixes #177
2014-03-22 13:47:47 +00:00
Nick O'Leary
4dce130acb Hide palette until nodes loaded 2014-03-17 16:26:15 +00:00
Nick O'Leary
015adb3dfd Clear palette filter box on reload (firefox) 2014-03-17 16:01:47 +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
1c655b5945 Missed sidebar api changes 2014-02-27 16:47:28 +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
fb5b45c655 Tidy up tab switching 2014-02-24 23:42:24 +00:00
Nick O'Leary
6d4a7c73b5 Move switch-workspace menu up a level 2014-02-24 23:21:23 +00:00
Nick O'Leary
3ac0ea75f4 Update orion editor to 5.0RC1 2014-02-24 23:07:23 +00:00
Nick O'Leary
a0aec3f8f1 Fix config node tab entry for blank label 2014-02-23 20:58:24 +00:00
Nick O'Leary
715fb6e7f4 Tidy-up tab ui api 2014-02-21 09:54:50 +00:00
Nick O'Leary
309e5f4921 Add deploy-in-action spinner gif 2014-02-20 17:32:16 +00:00
Nick O'Leary
ed9ce1bb3c Add deploy-in-action spinner 2014-02-20 17:31:40 +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
ec0b5da29c Import dragging off-node failed to set dirty flag 2014-02-19 20:08:25 +00:00
Nick O'Leary
19d5709e2a Allow Escape to clear the droptarget 2014-02-19 10:38:46 +00:00
Nick O'Leary
7c24d4d760 Separate out httpAdmin and httpNode 2014-02-16 00:39:30 +00:00
Nick O'Leary
eb90d96d65 Fix drag'n'drop of flows on FF 2014-02-12 22:33:07 +00:00
Andy Piper
c9374532a9 Fix for bad MIME Content-Type (per #152) 2014-02-11 13:21:30 +00:00
Nick O'Leary
75fc46c05d Improve node info properties table 2014-02-09 15:24:05 +00:00
Nick O'Leary
d52cd1ce00 Merge branch 'master' of github.com:node-red/node-red 2014-01-27 21:55:58 +00:00
Nick O'Leary
f79fdc66e0 Fix Firefox palette filter CSS 2014-01-27 21:55:31 +00:00
Dave C-J
3a2ed39b51 Add new Range Node 2014-01-27 19:23:35 +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
1bdbd6a5b0 Cannot toggle an empty category 2014-01-19 19:23:25 +00:00
Nick O'Leary
8178ab3415 Add palette filter (again) 2014-01-19 12:12:07 +00:00
Nick O'Leary
a6d5d6ca82 Add palette filter 2014-01-19 00:01:27 +00:00
Nick O'Leary
5219d08cb8 Support drag/drop of flow json onto the canvas
Closes #43
2013-12-31 21:32:50 +00:00
Nick O'Leary
0046164689 Prevent nodes being dragged off canvas - top-left only
Fixes #120

Doesn't prevent dragging off the right/bottom sides, but that should be less likely to occur
2013-12-28 20:03:43 +00:00
Nick O'Leary
4e3594d617 Disable keyboard handler whilst workspace dialogs are open
Fixes #128
2013-12-28 17:59:45 +00:00
Nick O'Leary
48d37df199 Track node.changed state over undo
Part of #33
2013-12-19 21:34:25 +00:00
Nick O'Leary
344660dfee Refinements to Unknown-node handling
Refinement to #113
2013-12-12 15:51:15 +00:00
Dave C-J
4fff3ce448 Make missing node type error popup non-permanent
Fixes Issue #113
2013-12-11 22:22:33 +00:00
Dave C-J
ac884bfdf3 Add "Unknown node" type to core.
Relates to Issue #5
not the best/complete solution - but a start.
2013-12-08 21:55:34 +00:00
Dave C-J
3982dcdaf1 Add change node to core/logic - allows simple(r) manipulation of some payloads and msg.properties to save having to write functions for these basic tasks. You can replace contents (regex based or simple swap), and add, modify or delete proerties. 2013-11-24 22:25:35 +00:00
Nicholas O'Leary
6a4aa1ff21 Disable escape-to-close on edit dialog
Closes #84
2013-11-21 11:02:31 +00:00
Dave C-J
620af84088 Auto select node on drop onto canvas so info panel shows relevant info (if visible) 2013-11-19 08:48:44 +00:00
Nicholas O'Leary
72f72e8a50 Less intruisive node-changed icon
Part of #33
2013-11-18 23:02:27 +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
3797ace89b Display node-changed icon when there are unsaved changes
Part of #33
2013-11-17 15:52:34 +00:00
Nicholas O'Leary
7d2195d95c Add node-changed icon
Part of #33
2013-11-16 18:38:30 +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
Dave C-J
f7fc0760ca Fix to Close #72 . remove drag back to left palette to delete. 2013-11-15 17:46:57 +00:00
Nicholas O'Leary
cb6fbf29a8 Palette popover defined title twice
fixes #64
2013-11-07 16:08:35 +00:00
Dave C-J
d9ed5b46c4 Various little tweaks - less console.log more util.log, add exra try/catch to serial, add wiring-pi url to Pi "error message". 2013-11-03 19:10:35 +00:00
Nicholas O'Leary
8befd44195 Rename workspaces to tabs/sheets 2013-10-30 21:45:45 +00:00
Nicholas O'Leary
426e866113 Move nodes over to node-red-nodes repo 2013-10-30 21:13:52 +00:00
Nicholas O'Leary
b71645f8ea Rename Workspaces to Sheets (ui only) 2013-10-30 19:58:42 +00:00
Nicholas O'Leary
60652d2095 Update workspace delete button state properly 2013-10-30 19:25:22 +00:00
Nicholas O'Leary
a16c0835fd Merge branch 'master' into tabs 2013-10-28 23:05:40 +00:00
Nicholas O'Leary
37c89a7796 Account for scrolling when pasting nodes across tabs 2013-10-28 22:50:22 +00:00
Nicholas O'Leary
12d8d45f83 Add add-tab button to tab bar 2013-10-28 22:31:36 +00:00
Nicholas O'Leary
c3258e91d6 Remove unused style 2013-10-28 20:49:55 +00:00
Nicholas O'Leary
a8f5d6b9ee Prevent deleting the final tab 2013-10-28 20:48:25 +00:00
Nicholas O'Leary
419b044a12 Add delete button to tab edit dialog 2013-10-28 20:28:44 +00:00
Nicholas O'Leary
9c72b65611 Update workspace switcher menu when tabs removed 2013-10-28 20:14:59 +00:00
Nicholas O'Leary
2e15944b20 Use new tab style for sidebar 2013-10-28 20:06:46 +00:00
Nicholas O'Leary
8d14ae888f Make highlighted node more accessible 2013-10-28 16:54:49 +00:00
Nicholas O'Leary
948cbc537e Add toggle button support to core, tidying up debug node 2013-10-28 16:45:31 +00:00
Dave C-J
87fdc74ed0 Make debug button move/partially hide when disabled to make it obvious. Also thicken border of node selected from within debug window - again to make it "pop" so it is obvious. Fixes #47 2013-10-28 10:01:12 +00:00
Nicholas O'Leary
c9344cd5f1 Restore scroll position on tab switch 2013-10-27 21:05:12 +00:00
Nicholas O'Leary
386520e65b Make tab operations undoable 2013-10-27 20:42:42 +00:00
Nicholas O'Leary
c810edc10e Rename/Delete tab support 2013-10-26 22:29:24 +01:00
Nicholas O'Leary
3604286793 Save/restore tabs 2013-10-25 21:34:00 +01:00
Nicholas O'Leary
f3e33f4c29 Add workspace menu and start plumbing in 2013-10-23 16:42:13 +01:00
Nicholas O'Leary
fa3c219685 Better tab sizing and scaling 2013-10-23 10:44:08 +01:00
Nicholas O'Leary
dce09f318f Add some tabs 2013-10-23 00:02:22 +01:00
Nicholas O'Leary
fda72d2b53 Restrict Lasso select to current workspace 2013-10-21 23:22:56 +01:00
Nicholas O'Leary
31a3d1e91b Add workspace/z property to nodes 2013-10-20 23:11:38 +01:00
Dave C-J
c4f30a6111 remove extra logging from exec , add sun icon 2013-10-20 20:37:40 +01:00
Dave C-J
426444b042 Tweaks to timer node - limit delays/rate to +ve numbers... add bit more info, slight tidy up. 2013-10-17 22:45:17 +01:00
Nicholas O'Leary
32fcd12919 Add switch node 2013-10-13 20:28:21 +01:00
Nicholas O'Leary
8c6aa07d91 Allow node properties to be objects/arrays 2013-10-12 21:54:07 +01:00