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

299 Commits

Author SHA1 Message Date
Nick O'Leary
6a37a823df Update orion to 7.0 release
Closes #467

Version: http://download.eclipse.org/orion/drops/R-7.0-201410282256/index.html
2014-10-31 14:28:33 +00:00
Nick O'Leary
dfc79e3122 Preserve unknown node type properties across deploys
Closes #5
2014-10-30 21:41:42 +00:00
Nick O'Leary
d9648ca76b Add subflow support 2014-10-29 20:26:25 +00:00
Dave C-J
98b875c4a0 Neater fix for Mac meta key - thanks to Nick. 2014-10-29 09:05:48 +00:00
Dave C-J
bd75c1c753 Better attempt at adding Apple meta key 2014-10-28 09:03:00 +00:00
Dave C-J
c51866c2c5 Add ⌘ Cmd key as alternative to Ctrl key to make Mac users happy. 2014-10-27 15:07:34 +00:00
Nick O'Leary
04673c65f4 Node drag start threshold incorrectly calculated 2014-10-26 22:23:56 +00:00
Anna Thomas
206b8ac34a Refactored to reuse calculateTextWidth 2014-10-09 10:07:17 +01:00
Nick O'Leary
748c7aedee Add nodes to provide custom palette labels 2014-10-08 13:54:48 +01:00
Anna Thomas
1afd4e7acc Node expands for multi-line node names splitting on spaces only 2014-10-08 13:20:56 +01:00
Nick O'Leary
dbaa1ed59c Don't cache api requests in the editor
Fixes #413
2014-09-24 09:57:45 +01:00
Nick O'Leary
e48cbafbd6 Fix jshint test 2014-09-22 13:22:23 +01:00
Nick O'Leary
da61fe12d0 Add dynamic node api
Closes #322
- nodes modules can be installed/removed dynamically at runtime
- nodes can be enabled/disabled
- onpaletteadd/onpaletteremove api added to node definitions
- initial implementation of nr-cli
2014-09-17 23:57:29 +01:00
Nick O'Leary
7b63680be1 Upgrade FontAwesome to 4.2
Part of #377
2014-09-08 21:01:49 +01:00
Nick O'Leary
3e3b388ca7 Prevent adding empty twitter creds
Closes #372
2014-09-08 14:41:39 +01:00
Nick O'Leary
b3fa866385 Remove last remnants of bootstrap icons from core
Closes #376
2014-09-08 14:18:34 +01:00
Nick O'Leary
995268c5df Handle node imports containing tab nodes
Closes #172
2014-09-08 10:54:06 +01:00
Mark Hindess
553935ecc8 Correct logic to avoid 'undefined' label style being inserted. 2014-09-04 19:56:53 +01:00
Dave C-J
5bf9819bd1 add comment to main.js - how to enable auto clear of debug on deploy 2014-09-04 08:19:37 +01:00
Nick O'Leary
8e78df09da Don't clear selection on ctrl-click
Fixes #373
2014-09-02 16:00:01 +01:00
jhr007
5c39e330cb Add checkbox support so config dialogs can save checkbox values 2014-09-01 11:50:29 -05:00
jhr007
eb1e967be6 Update index.html
Closing head tag
2014-08-31 20:18:12 -05:00
Nick O'Leary
fae8b35961 Allow spaces in node category names
Fixes #361
2014-08-29 20:37:30 +01: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
ec5aaa5bfb Update header buttons 2014-08-22 11:07:32 +01:00
Nick O'Leary
7a9696526a Fix header css and tidy up 2014-08-21 21:48:08 +01:00
Nick O'Leary
7176f3ee2b Add declarative menu structure 2014-08-20 21:58:54 +01:00
Nick O'Leary
47b4ebc92f Check for null when undoing history actions 2014-08-20 17:05:01 +01:00
Nick O'Leary
44a51e849d Info sidebar tweaks 2014-08-19 23:46:18 +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
fde77cec5d Add rest endpoint for add/remove and send updates to editor 2014-08-07 13:46:38 +01:00
Nick O'Leary
536a0c9142 Only trigger dbl click on single node
Fixes #301
2014-07-27 22:08:27 +01:00
Mark Hindess
6c4611a934 Fix EOL to be dos or unix not both in same file. 2014-07-23 22:07:02 +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
Nick O'Leary
84a0e8ceff Add version information to /settings 2014-07-17 21:32:30 +01:00
Antoine Aflalo
4d97d9d300 Rewrite credentials API to work with save on deploy. 2014-07-16 11:25:40 +03:00
Dave C-J
ac7448759b Revert Alt zoom change as it doesn't work in FF... 2014-07-08 14:17:37 +01:00
Dave C-J
4532cadb14 Add Alt zoom to help page (to be complete) 2014-07-08 08:47:44 +01:00
tjkoury
4afda2f53b Added deprecated to exclusion list 2014-07-02 17:20:16 -04:00
tjkoury
ef6a0e5947 Added default sub-categories to the core categories; 2014-06-30 23:31:06 -04:00
tjkoury
e43b342048 Removed unnecessary console.log 2014-06-30 11:33:46 -04:00
tjkoury
5959da2d37 Added dynamic category capability 2014-06-30 11:31:02 -04:00
Nick O'Leary
1602d9496f Add trigger node 2014-06-25 21:36:28 +01:00
Dave C-J
2d9e72816f Update comment node to fa icons - plus matching node icon. 2014-06-08 22:13:12 +01:00
Nick O'Leary
fce00b2f4b Update debug icon 2014-06-04 23:13:01 +01:00
Nick O'Leary
e296635b57 Icon rework 2014-06-04 22:44:01 +01:00
Nick O'Leary
32cad7a627 Icon refresh 2014-05-31 22:20:06 +01:00
Nick O'Leary
a4d27e4cb5 Update some icons 2014-05-31 00:32:00 +01:00
Nick O'Leary
c4b00de48b Add font-awesome 2014-05-31 00:01:22 +01:00
Nick O'Leary
1d5e8de6f6 Add function documentation to editor.js 2014-05-27 16:06:25 +01:00
Nick O'Leary
7333eb80b4 Merge branch 'master' of github.com:node-red/node-red 2014-05-27 10:54:45 +01:00
Nick O'Leary
d8df592ea6 Merge pull request #228 from Belphemur/credentials
Credentials Validation
2014-05-27 10:53:10 +01:00
Nick O'Leary
b995f70d36 Do not reset mouse mode when trigging edit 2014-05-25 22:24:08 +01:00
Nick O'Leary
74007f2ef4 Fix wire corruption across tabs
Fixes #229
2014-05-16 23:28:02 +01:00
Nick O'Leary
b7f8c92b13 Add chrome rendering workaround 2014-05-16 20:43:22 +01:00
Antoine Aflalo
364f44451f Validation of credentials inputs. 2014-05-16 11:20:36 +03:00
Nick O'Leary
2fa82d9f1f Touch: don't trigger radialMenu on pinch zoom 2014-05-15 22:56:12 +01:00
Nick O'Leary
e524393d87 Touch: add long-touch menu 2014-05-15 22:49:07 +01:00
Nick O'Leary
863ceb065a Make links a bigger target 2014-05-15 22:44:07 +01:00
Dave C-J
3ba6ad07b7 Finally get Firefox and Chrome to wheel zoom in the same manner... 2014-05-14 17:41:04 +01:00
Nick O'Leary
e0971d96c6 add grip handle icon 2014-05-14 15:38:54 +01:00
Dave C-J
a99b41a101 Self inflicted type - apologies to all... 2014-05-14 15:14:53 +01:00
Dave C-J
7ed10d631e Reverse mouse wheel - so canvas (alt) zoom consistent with page (ctrl) zoom 2014-05-14 14:22:28 +01:00
Dave C-J
a76f48f50b Add alt key hook to keyboard event handler (just in case :-) 2014-05-14 14:18:12 +01:00
Nick O'Leary
789b86b122 Prevent node label selection on drag in FF 2014-05-14 13:49:16 +01:00
Nick O'Leary
a3ce04e9a5 Increase double-click to edit time 2014-05-14 09:50:06 +01:00
Nick O'Leary
0e8f0735cc Touch: long-press initiate lasso 2014-05-13 00:42:24 +01:00
Nick O'Leary
aa4bf4d640 Add sidebar grip and make drag-openable 2014-05-13 00:01:05 +01:00
Nick O'Leary
b29e434449 Touch: add meta tags for chrome/ios save to homescreen 2014-05-12 23:59:27 +01:00
Nick O'Leary
2ee78b73fb Touch: pinch-to-zoom from touchpoint not origin 2014-05-12 23:57:14 +01:00
tjkoury
cf7339dc6d Merged with latest from node-RED master 2014-05-12 09:19:54 -04:00
Nick O'Leary
e15a0d545d Touch: unable to scroll after drawing link 2014-05-11 23:55:11 +01:00
Nick O'Leary
bf49485d4c Handle null TouchEvent (FF/Safari) 2014-05-11 13:57:54 +01:00
Nick O'Leary
7e85eb297d Make status display toggleable and add to MQTT nodes 2014-05-10 23:33:02 +01:00
Nick O'Leary
ec5985eaa3 Touch: double tap to edit rather than long-touch 2014-05-09 23:46:36 +01:00
Nick O'Leary
a3dea6ec0d Touch: enable wiring nodes together 2014-05-09 23:30:00 +01:00
Nick O'Leary
a5cf4b17bf New config nodes not picking up defaults 2014-05-09 15:23:33 +01:00
Nick O'Leary
87410621c7 Merge pull request #222 from Belphemur/node-credentials
Node credentials
2014-05-09 15:11:55 +01:00
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