Dave Conway-Jones
7c4e782c60
clone msg for every single line output
...
(this may not be desired)
Add tests to ensure properties go trhough
2019-10-25 15:09:20 +01:00
Dave Conway-Jones
c8b8beda6a
update grunt sass and add node-sass for node 12
...
update Gruntfile.js to work with node 12
2019-10-25 15:07:09 +01:00
Nick O'Leary
6026da867b
Fix timings of Delay node tests
2019-10-25 11:48:12 +01:00
Nick O'Leary
4d58902ba7
Merge pull request #2340 from pdong/chore/update-to-jsonata-1.7
...
Update JSONata to 1.7.0
2019-10-25 10:25:22 +01:00
Nick O'Leary
4dc1343445
Merge pull request #2350 from kazuhitoyokoi/master-addtranslation4httprequest
...
Add translation for http request node
2019-10-25 10:22:41 +01:00
Nick O'Leary
080487cb33
Bump https-proxy-agent version
2019-10-25 10:22:05 +01:00
Nick O'Leary
0febcf4f9e
Merge pull request #2339 from bartbutenaers/master
...
Check auth type on opening
2019-10-23 21:38:54 +01:00
Nick O'Leary
cd23f711ed
Merge pull request #2332 from TJKoury/patch-2
...
Remove msg
2019-10-23 21:37:58 +01:00
Nick O'Leary
f9b147af42
Merge pull request #2334 from kazuhitoyokoi/master-fixsubflowlang2
...
Fix language handling in subflow node
2019-10-23 21:36:57 +01:00
Nick O'Leary
775f1110d3
Merge pull request #2337 from piyonakajima/language_of_tooltip
...
fix tooltip language in subflow
2019-10-23 21:33:32 +01:00
Nick O'Leary
57649a9b81
Merge pull request #2345 from 1ft-seabass/fix-tcpin
...
Removed unused variable "remoteDetails"
2019-10-23 21:32:29 +01:00
Nick O'Leary
72a268b70a
Merge pull request #2344 from 1ft-seabass/fix-70-csv
...
Fixed the code format of 70-CSV.js from Tab to Space. try again.
2019-10-23 21:31:30 +01:00
Nick O'Leary
f86a171dff
Merge pull request #2346 from 1ft-seabass/fix-jsdoc-description
...
Fixed jsdoc descriptions
2019-10-23 21:31:02 +01:00
tseigo
e022b782a9
Fixed jsdoc descriptions
2019-10-22 00:35:35 +09:00
tseigo
bd67731bb7
Removed unused variable "remoteDetails"
2019-10-22 00:28:57 +09:00
tseigo
25de4e4782
Fixed the code format of 70-CSV.js from Tab to Space. try again.
2019-10-22 00:24:10 +09:00
Phi Dong
c590247afa
Update node-red/util JSONata to 1.7.0
2019-10-19 14:33:13 -07:00
Phi Dong
5d36539271
Update JSONata to 1.7.0
2019-10-19 12:37:54 -07:00
bartbutenaers
0d673486a3
Check auth type on opening
2019-10-19 14:16:03 +02:00
Nick O'Leary
29f1651a18
Use default language if lng param not set in i18n req
2019-10-18 16:09:14 +01:00
NAKAJIMA,Tomohiro
dd20a3e685
Fix the language of the tooltip
2019-10-18 23:50:54 +09:00
Kazuhito Yokoi
75a5b1354c
Add translation for http request node
2019-10-17 21:56:22 +09:00
Kazuhito Yokoi
dae9ac8173
Fix language handling in subflow node
2019-10-17 21:24:55 +09:00
Dave Conway-Jones
78b735276b
fix httprequest timeout units info
...
to close #2333
2019-10-17 13:24:51 +01:00
Kazuhito Yokoi
e10dd54e2b
Revert "Merge pull request #2328 from kazuhitoyokoi/master-fixsubflowlang"
...
This reverts commit 873bdc6733 , reversing
changes made to 8a40b075b5 .
2019-10-17 21:05:06 +09:00
TJKoury
cb8deab1f9
Update packages/node_modules/@node-red/runtime/lib/nodes/Node.js
...
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com >
2019-10-17 07:42:11 -04:00
TJKoury
e5c27d0236
Remove msg
...
`msg` not defined in scope.
2019-10-16 20:00:11 -04:00
Nick O'Leary
873bdc6733
Merge pull request #2328 from kazuhitoyokoi/master-fixsubflowlang
...
Fix language handling in subflow node
2019-10-16 11:12:48 +01:00
Nick O'Leary
8a40b075b5
Merge pull request #2326 from bonanitech/patch-1
...
Fix palette editor search visualization
2019-10-16 11:12:03 +01:00
Kazuhito Yokoi
56c41374bf
Fix language handling in subflow node
2019-10-15 16:50:16 +09:00
Mauricio Bonani
a08c2c6437
Fix palette editor search visualization
2019-10-14 15:13:59 -04:00
Nick O'Leary
e94634544c
Add script to generate npm publish script
2019-10-14 15:50:48 +01:00
Nick O'Leary
07fe5b247b
Bump for 1.0.2
2019-10-14 13:17:48 +01:00
Nick O'Leary
c1c694035d
Allow node.status() to be passed number/bool types
...
Adds to the existing support for string types. Also
adds unit tests for all three cases
2019-10-14 13:06:59 +01:00
Nick O'Leary
147d2a02be
Ensure node status is refreshed whenever node is edited
...
Fixes an issue where, if the number of node outputs was changes
the node would resize, but the status text would not reposition
until a new status message arrived.
This change marks status as dirty whenever the node has been
edited, forcing it to be redrawn.
2019-10-14 13:05:45 +01:00
Nick O'Leary
6f91786f4d
Fixup Change node use of node.done
2019-10-11 11:08:25 +01:00
Nick O'Leary
f62a933d1c
Ensure z property included in full message debug payload
...
Fixes #2315 #2316
2019-10-11 11:07:48 +01:00
1ft-seabass
451835fbeb
Fixed editor.json ( #2321 )
2019-10-11 08:55:23 +01:00
Nick O'Leary
547e7a1b21
Allow node emitted events to have multiple arguments
...
This is fixing a regression introduced in 1.0 where a custom
`Node.emit` function was added that could only handle a single
argument.
2019-10-10 16:35:12 +01:00
Nick O'Leary
053e3ba923
Merge pull request #2313 from kazuhitoyokoi/master-fixvisualeditor
...
Fix menu in visual JSON editor
2019-10-10 14:31:19 +01:00
Nick O'Leary
bf65dcd49b
Merge pull request #2314 from ThierryLeGal/addItem-insert-divider
...
Insert divider in menu by calling RED.menu.addItem('id', null);
2019-10-10 14:29:14 +01:00
Nick O'Leary
a1d186112a
Merge pull request #2323 from boisei0/jsdoc-red-util
...
Fixed docstrings to have them match the function signature
2019-10-10 14:26:52 +01:00
Arlena Derksen
ca7a298509
Fixed docstrings to have them match the function signature (name of parameters).
2019-10-10 14:57:19 +02:00
Kazuhito Yokoi
ff4d58f648
Fix invalid JSON data in template node ( #2322 )
2019-10-10 10:34:10 +01:00
kitazaki
a1e10e99fa
Update 10-file.html ( #2320 )
2019-10-09 14:51:38 +01:00
Ryoichi Obara
16bda530f6
Remove unnecessary comma. ( #2312 )
2019-10-09 08:41:33 +01:00
Ryoichi Obara
bf9e04d9db
Unify translations of "boolean". ( #2318 )
2019-10-09 08:40:36 +01:00
Ryoichi Obara
8df86a75b1
Interval of inject node should be 596 hours or less. ( #2319 )
2019-10-09 08:39:08 +01:00
Thierry Le Gal
5056203023
Insert divider in menu by calling RED.menu.addItem('id', null);
2019-10-07 14:47:20 +02:00
Kazuhito Yokoi
a0026e66ce
Fix element to collapse items in visual JSON editor
2019-10-07 16:13:04 +09:00
Nick O'Leary
f75dd2209d
Bump for 1.0.1
2019-10-04 11:13:46 +01:00
Nick O'Leary
e35f6d9e35
Allow TLS config node to provide just CA cert
...
Fixes #2297
2019-10-04 11:02:00 +01:00
Nick O'Leary
3cb00ce4e0
Merge pull request #2308 from kazuhitoyokoi/master-fixgridsetting
...
Fix grid setting in flow editor
2019-10-04 10:53:01 +01:00
Nick O'Leary
8e18cf5986
Merge pull request #2306 from kazuhitoyokoi/master-fixtooltips
...
i18n support in tooltips
2019-10-04 10:50:27 +01:00
Nick O'Leary
81f80600f5
Merge pull request #2307 from kazuhitoyokoi/master-fixinjectnode
...
Fix width on inject node property
2019-10-04 10:49:48 +01:00
Kazuhito Yokoi
895156675f
Fix grid setting
2019-10-04 18:15:32 +09:00
Kazuhito Yokoi
1c424e2e0a
Fix width on inject node property
2019-10-04 15:33:31 +09:00
Kazuhito Yokoi
0124bb17e8
i18n support in tooltips
2019-10-04 12:22:09 +09:00
Hiroyasu Nishiyama
2c89b2d262
update Japanese info text of range node ( #2302 )
2019-10-03 20:32:56 +01:00
Nick O'Leary
c7bbe2f1fe
Add env vars to enable safe mode and projects ( #2301 )
...
* Add NODE_RED_ENABLE_SAFE_MODE and NODE_RED_ENABLE_PROJECTS
* Allow env-vars to be set to false to disable features
2019-10-03 20:31:16 +01:00
Nick O'Leary
88609a8829
Merge pull request #2303 from pdong/bug/node-color-change-when-not-on-a-flow
...
Fix issue where subflow color did not update when not on a flow
2019-10-03 15:59:35 +01:00
Nick O'Leary
329beb166c
Merge pull request #2305 from kazuhitoyokoi/master-fixlargeicon4subflowtab
...
Fix large icon on subflow tab in IE
2019-10-03 15:54:34 +01:00
Nick O'Leary
e36f3d937c
Merge branch 'pr_2304'
2019-10-03 15:53:58 +01:00
Nick O'Leary
1395092ca6
Add viewbox to default icon
2019-10-03 15:53:26 +01:00
Nick O'Leary
c09004dbc8
Fix error when setting typedInput to boolean true/false
2019-10-03 15:04:49 +01:00
Kazuhito Yokoi
7efe4a2776
Fix large icon on subflow tab in IE
2019-10-02 18:22:43 +09:00
Dave Conway-Jones
b763e0b0cb
Let switch node between rule work both ways round
...
and add test
2019-10-02 09:52:26 +01:00
Kazuhito Yokoi
ddd0d1bef3
Fix invisible icons in IE
2019-10-02 17:39:38 +09:00
Phi Dong
dbca2178c0
Fix issue where subflow color did not update when not on a flow
2019-10-01 22:46:01 -07:00
Dave Conway-Jones
af742ea536
Add example to range node info and make use of target consistent
2019-10-01 20:57:20 +01:00
Nick O'Leary
14c1a86b9b
Merge pull request #2299 from kazuhitoyokoi/master-fixtypedinput4ie
...
Fix large icons in typed input for IE
2019-10-01 12:43:23 +01:00
Nick O'Leary
ee3dc8c4cd
Join node must clone group message before sending
2019-10-01 12:41:20 +01:00
Kazuhito Yokoi
1ed148aaf5
Fix large icons in typed input for IE
2019-10-01 20:02:34 +09:00
Nick O'Leary
3327adb1ae
Update readme
2019-09-30 13:38:46 +01:00
Nick O'Leary
4d5f771f9f
Bump for 1.0
2019-09-30 11:02:22 +01:00
Nick O'Leary
aa69d663ed
Put <meta> inside <head> to keep IE11 happy
2019-09-30 10:59:20 +01:00
Nick O'Leary
29d1894f9a
Fix wrap of header logo in IE11
2019-09-30 10:59:04 +01:00
Nick O'Leary
e5738d608c
Add fallback for Object.values call in IE11
2019-09-30 10:58:03 +01:00
Nick O'Leary
9775d3a33d
Ensure status is refreshed when switching tabs
2019-09-30 09:56:51 +01:00
Nick O'Leary
ad4cf8d631
Merge branch 'dev' of github.com:node-red/node-red into dev
2019-09-30 09:56:01 +01:00
Dave Conway-Jones
a27e8777aa
Let function node spinner go to 0
2019-09-30 09:54:05 +01:00
Nick O'Leary
d23edcc0b5
Merge branch 'dev' of github.com:node-red/node-red into dev
2019-09-29 16:47:44 +01:00
Nick O'Leary
52373e5bef
Add click-on-tooltip to close
...
For the rare occasions a tooltip gets orphaned on the page
2019-09-29 16:47:18 +01:00
Dave Conway-Jones
bb70e796a1
Change MQtt node default 3.1 compatibility mode to false
2019-09-27 14:22:37 +01:00
Nick O'Leary
3365d26b40
Merge pull request #2291 from kazuhitoyokoi/dev-fixmenuhiding
...
Fix menu hiding function for flow editor
2019-09-26 20:45:59 +01:00
Nick O'Leary
d3c111b533
Merge pull request #2293 from kazuhitoyokoi/dev-fixi18n4project
...
Update i18n for project feature
2019-09-26 20:32:15 +01:00
Nick O'Leary
ec876eb102
Merge pull request #2295 from kazuhitoyokoi/dev-fixnodedraggablehandling
...
Fix draggable handling in palette
2019-09-26 20:31:41 +01:00
Kazuhito Yokoi
dddfb1ec08
Fix node draggable handling
2019-09-26 11:43:24 +09:00
Nick O'Leary
6fc9c03d70
Ensure complete node scope property is remapped on import
2019-09-24 21:04:33 +01:00
Kazuhito Yokoi
199ff071e8
Update i18n for project feature
2019-09-24 19:46:51 +09:00
Kazuhito Yokoi
7e4a06044a
Fix menu hiding function for flow editor
2019-09-24 17:22:36 +09:00
Nick O'Leary
d047b75cb7
Show clear debug shortcut in tooltip
2019-09-23 10:28:26 +01:00
Nick O'Leary
6fb6b13037
Normalise default subflow color references
2019-09-23 10:28:26 +01:00
Dave Conway-Jones
460c5a1ae3
fix file-in port labels for all 4 options
2019-09-20 21:57:19 +01:00
Nick O'Leary
9955bcc339
Hide header text of very small screens to deploy is visible
2019-09-20 13:08:50 +01:00
Nick O'Leary
0a3ab996eb
Merge pull request #2290 from node-red-hitachi/fix-node-name-breaking
...
allow word breaking of node name with long word
2019-09-20 13:08:34 +01:00
Nick O'Leary
46f912a6f9
Merge pull request #2283 from kazuhitoyokoi/dev-fixmarkdowneditor
...
Fix Markdown editor
2019-09-20 13:00:04 +01:00
Nick O'Leary
01e0f24752
Merge pull request #2289 from kazuhitoyokoi/dev-fixinfo4completenode
...
Fix typo in complete node
2019-09-20 12:59:38 +01:00
Nick O'Leary
7178c63e10
Fix tab access on touch screens
2019-09-20 12:58:21 +01:00
Nick O'Leary
30c402eb83
Update radialMenu to use standard theme colours
2019-09-20 12:58:21 +01:00
Nick O'Leary
2601cc898c
Fix undefined reference loading on mobile
2019-09-20 12:58:21 +01:00
Dave Conway-Jones
d2a8823808
add extra comment re mustache escapes to tempalte info
2019-09-20 11:20:40 +01:00
Dave Conway-Jones
6b61fa9f6f
remove legacy error option from file in mode
...
(for 1.0)
2019-09-20 11:18:19 +01:00
Hiroyasu Nishiyama
247052df5f
allow word breaking of node name with long word
2019-09-19 22:50:35 +09:00
Kazuhito Yokoi
8eb28555bc
Enable wrap mode in Markdown editor
2019-09-17 20:26:59 +09:00
Kazuhito Yokoi
73132475dc
Fix typo in complete node
2019-09-17 18:10:47 +09:00
Kazuhito Yokoi
42c6487ff3
Show print margin on ace editor
2019-09-17 14:47:00 +09:00
Nick O'Leary
8d2ca25fd6
Update changelog
2019-09-16 15:33:05 +01:00
Nick O'Leary
5c5919a7eb
Merge branch 'master' into dev
2019-09-16 15:27:34 +01:00
Nick O'Leary
34cdbfc852
Bump for 1.0.0-beta.4
2019-09-16 15:27:06 +01:00
Nick O'Leary
1bc50194aa
Merge pull request #2282 from node-red-hitachi/update-jp-message
...
update Japanese message catalogue
2019-09-16 15:23:38 +01:00
Nick O'Leary
4a75236e74
Merge pull request #2286 from node-red-hitachi/fix-subflow-UI-select
...
Fix subflow UI for select
2019-09-16 15:23:15 +01:00
Nick O'Leary
64b2f881c4
Merge pull request #2285 from node-red-hitachi/fix-subflow-ui-label-padding
...
Remove padding for label for SUBFLOW UI row without icon
2019-09-16 15:21:05 +01:00
Nick O'Leary
4709ddea5d
Merge pull request #2284 from node-red-hitachi/allow-subflow-label-row-wo-name
...
Allow subflow label row without environment variable name
2019-09-16 15:18:44 +01:00
Hiroyasu Nishiyama
6ef49152f3
remove useless variable definition
2019-09-15 23:55:27 +09:00
Hiroyasu Nishiyama
1c44b0bc98
Fix subflow UI for select
2019-09-15 23:44:01 +09:00
Hiroyasu Nishiyama
11bce8c17c
remove padding before label text for SUBFLOW UI row
2019-09-13 23:11:23 +09:00
Hiroyasu Nishiyama
b42fff1055
Allow SUBFLOW UI label row without variable name
2019-09-13 22:49:48 +09:00
Kazuhito Yokoi
1b2e442513
Remove print margin from library editor
2019-09-13 14:43:13 +09:00
Kazuhito Yokoi
a4d48077ba
Remove print margin from ace editor
2019-09-13 14:42:45 +09:00
Kazuhito Yokoi
901e2527d8
Maximize the size of markdown editor
2019-09-13 14:41:10 +09:00
Nick O'Leary
f0839571d0
Clone the first message passed to node.send in Function
...
Also introduces an optional second arg to node.send in the Function
node that can disable that cloning
2019-09-12 22:09:35 +01:00
Dave Conway-Jones
89d0d6ec93
remove old rc option from exec node for 1.0
...
(not removing functionality so old flows will keep working - just removing option to select it)
2019-09-12 17:01:11 +01:00
Hiroyasu Nishiyama
922ab1d17b
update Japanese message catalogue
2019-09-11 22:46:01 +09:00
Dave Conway-Jones
7c7be378bc
Add python and SQL to template language options
...
as we already include in the ACE modes
2019-09-10 17:17:21 +01:00
Nick O'Leary
ec01f8f54b
Move context sidebar auto-refresh option to individual sections
2019-09-10 17:10:22 +01:00
Nick O'Leary
5a094b44c4
Remove 'uglify' from Grunt watch task
...
The grunt watch task is used by the grunt dev task that watches for
changes and auto rebuilds the editor js.
When running in dev mode, the editor will load the unminified version
of red.js. This means there is no point in running the uglify task to
generate the minified version. The uglify task tasks a few seconds and
if you do a couple rapid saves, the second will often not get built as
the previous uglify task was still running.
Removing it from the dev task shouldn't have any side effects. It still
forms part of the `grunt build` and `grunt release` tasks where it is
needed.
2019-09-10 17:04:53 +01:00
Nick O'Leary
3c657a6645
Fix Switch node display of jsonata_exp type
2019-09-10 14:31:34 +01:00
Nick O'Leary
3129d44ff1
Realign subflow output port labels
2019-09-10 14:31:17 +01:00
Nick O'Leary
00306f82c5
Remove sentiment from core nodes
2019-09-10 14:31:08 +01:00
Nick O'Leary
7def676a17
Create SECURITY.md
2019-09-10 12:56:32 +01:00
Nick O'Leary
6c48735854
Move flow-status button to footer for consistency
2019-09-10 11:49:59 +01:00
Nick O'Leary
a0b1831cdb
Fix node hover effect to prevent jumping position
2019-09-10 11:39:07 +01:00
Nick O'Leary
db9fb8480a
Filter quickadd properly when splicing a wire
2019-09-10 11:38:35 +01:00
Nick O'Leary
c138e2ffb4
Mark workspace dirty when deleting link node link
...
Fixes #2274
2019-09-10 11:12:38 +01:00
Nick O'Leary
473c45794e
Merge pull request #2281 from node-red-hitachi/fix-comple-node-info-text
...
update info text of complete node & add JP text
2019-09-10 09:55:46 +01:00
Nick O'Leary
a12aa81d73
Add red-ui-button class to strategy login button
2019-09-10 09:54:15 +01:00
Nick O'Leary
0033e279f1
Merge pull request #2277 from hobbyquaker/patch-1
...
Add css class to login submit button
2019-09-10 09:48:26 +01:00
Nick O'Leary
a25e98d0cb
Fix padding of subflow locale select
...
Closes #2276
2019-09-10 09:45:04 +01:00
Nick O'Leary
bc65480f27
Merge pull request #2273 from node-red-hitachi/update-jp-message
...
Update JP message catalogue
2019-09-10 09:32:27 +01:00
Hiroyasu Nishiyama
8582cda124
update info text of complete node & add JP text
2019-09-09 21:44:23 +09:00
Nick O'Leary
d963dfdbb6
Merge branch 'master' into dev
2019-09-06 10:49:27 +01:00
Nick O'Leary
f7e9c109f6
Bump for 0.20.8
2019-09-06 10:28:52 +01:00
Nick O'Leary
30c3004f27
Sanitize tab name in edit dialog
2019-09-06 10:25:30 +01:00
Sebastian Raff
4f049fd94b
add class red-ui-button to cancel button
2019-08-28 17:55:59 +02:00
Sebastian Raff
f98d1c95cc
Add css class to login submit button ( #2275 )
2019-08-27 19:32:59 +02:00
Hiroyasu Nishiyama
a2b5c0247b
update JP message catalogue
2019-08-26 23:08:25 +09:00
Nick O'Leary
28bda9fa41
Bump for 1.0.0-beta.3
2019-08-22 11:09:55 +01:00
Nick O'Leary
18aeeab041
Bump dependencies
2019-08-22 10:40:33 +01:00
Nick O'Leary
c7427a5f7c
Add nls messages for new palette categories
2019-08-21 17:30:02 +01:00
Nick O'Leary
03aa6c7d3a
Apply user specified palette cateogies and remaining core ones
2019-08-21 17:27:06 +01:00
Nick O'Leary
10077ae750
Use a more atomic process for writing context files
...
Fixes #2271
2019-08-21 16:54:26 +01:00
Nick O'Leary
74eec25285
Merge pull request #2213 from node-red/node-categories
...
Change core node categories
2019-08-21 16:04:44 +01:00
Nick O'Leary
b6055479a1
Move Complete node to the new common category
2019-08-21 14:41:51 +01:00
Nick O'Leary
69b781419f
Move io to network
2019-08-21 14:23:24 +01:00
Nick O'Leary
da6db24f9e
Reorganise nodes into new categories
2019-08-21 14:23:23 +01:00
Nick O'Leary
2b66723d42
Another pass of categorisation
2019-08-21 14:22:30 +01:00
Nick O'Leary
00a3e25714
Change core node categories
2019-08-21 14:21:34 +01:00
Nick O'Leary
8ccbd2d8f9
Merge branch 'dev' into pr_2258
2019-08-21 12:52:58 +01:00
Nick O'Leary
8307f26099
Fix up dynamic generation of switch ui
2019-08-21 12:39:51 +01:00
Nick O'Leary
c686f7eefc
Set default http request persist option to false
2019-08-21 11:45:21 +01:00
Nick O'Leary
311c7b1158
Merge pull request #2261 from eeyepee/master
...
Add HTTP Persistent (session reuse) capability
2019-08-21 11:44:35 +01:00
Nick O'Leary
a17325f028
Update Function catch tests to handle async receive
2019-08-21 11:39:34 +01:00
Nick O'Leary
b734097d16
Merge pull request #2227 from node-red/node-done
...
Adds Done callback to Input event handler
2019-08-21 11:15:00 +01:00
Nick O'Leary
afaf077aca
Pass httpServer to runtime even when httpAdmin disabled
...
Fixes #2272
2019-08-21 11:12:50 +01:00
Dave Conway-Jones
bf14af6a1f
Function node - handle things thrown that aren't proper Error types
...
and add tests
to close #2269
2019-08-19 10:42:14 +01:00
Nick O'Leary
e72faef839
Check both node props and defn props when deciding to splice
2019-08-16 14:59:15 +01:00
Nick O'Leary
b274bafe8e
Allow a node to change if it has an input port
...
Closes #2268
2019-08-15 13:29:08 +01:00
Nick O'Leary
7bed967755
Add node.done to exec node
2019-08-15 10:40:40 +01:00
Nick O'Leary
944b81b71c
Update UDP nodes for node.done
2019-08-15 10:20:54 +01:00
Nick O'Leary
cd529d53ae
Update TCP nodes to node.done
2019-08-15 10:19:03 +01:00
Nam Giang
0d680a58f3
removed expensive try/catch
2019-08-14 15:11:03 -07:00
Nam Giang
b30d519523
Merge branch 'master' of github.com:namgk/node-red
2019-08-14 15:02:51 -07:00
Nick O'Leary
83932e1725
Fix Flow test for updated node.done api
2019-08-14 22:55:46 +01:00
Nick O'Leary
4ce0e39760
Add nodeDone to File nodes
2019-08-14 22:28:10 +01:00
Nick O'Leary
84232f25f0
Add node done to mqtt, http req and ws output nodes
2019-08-14 15:54:06 +01:00
Nick O'Leary
2daedf8fd5
Sanitize subflow env var names properly when building ui form
2019-08-14 11:43:04 +01:00
Nick O'Leary
fe084a4478
Allow search results to show more than 25 results
2019-08-14 11:37:46 +01:00
Nick O'Leary
5bf9646a76
Merge pull request #2266 from node-red-hitachi/fix-subflow-i18n
...
Fix i18n of new subflow feature
2019-08-14 09:52:42 +01:00
Nick O'Leary
2b1f28e6c2
Merge pull request #2265 from node-red-hitachi/fix-ko-message-catalogue
...
remove unused entries in KO message catalogue
2019-08-14 09:52:05 +01:00
Nick O'Leary
5b8bd6e64f
Merge pull request #2264 from node-red-hitachi/fix-de-message-catalogue
...
remove unused entries in DE message catalogue
2019-08-14 09:51:51 +01:00
Nick O'Leary
426fd499ce
Fix ctrl-click on wire whilst already in quick-join
2019-08-14 09:50:34 +01:00
Nick O'Leary
17d3a5840d
Revert "Add initial core:layout-flow action"
...
This reverts commit be49e1d383 .
2019-08-13 20:41:13 +01:00
Nick O'Leary
be49e1d383
Add initial core:layout-flow action
2019-08-13 20:38:25 +01:00
Hiroyasu Nishiyama
daa98e8925
fix i18n of new subflow feature
2019-08-13 21:17:31 +09:00
Nick O'Leary
58784b7568
Use ctrl-click on wire to splice node in place
2019-08-13 10:31:21 +01:00
Hiroyasu Nishiyama
419a183167
remove unused entries in KO message catalogue
2019-08-13 15:05:14 +09:00
Hiroyasu Nishiyama
675b4bde14
remove unused entries in DE message catalogue
2019-08-13 14:51:59 +09:00
Nick O'Leary
ee6ee99577
Make icon and color pickers more consistent
2019-08-12 22:07:55 +01:00
Ibrahim Al-Mahfooz
3bc1f69e75
Update 21-httprequest.js
2019-08-12 22:52:00 +03:00
Ibrahim Al-Mahfooz
5b9df6d5f2
Update 21-httprequest.html
2019-08-12 22:50:37 +03:00
Ibrahim Al-Mahfooz
9f062ec1b8
Update messages.json
2019-08-12 22:49:41 +03:00
Ibrahim Al-Mahfooz
b52a47bd03
Update messages.json
...
Change persistent to persist
2019-08-12 22:06:49 +03:00
Ibrahim Al-Mahfooz
5e20134f4f
Update 21-httprequest.html
...
Change persistent to persist
2019-08-12 22:05:50 +03:00
Ibrahim Al-Mahfooz
89d267d6a2
Update packages/node_modules/@node-red/nodes/locales/en-US/messages.json
...
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com >
2019-08-12 20:29:09 +03:00
Nick O'Leary
607bc42f59
Merge branch 'dev' into pr_2225
2019-08-12 15:05:12 +01:00
Nick O'Leary
880757fb5d
Rework Subflow Instance property UI ( #2236 )
...
* Add support of Subflow UI definition
* new UI definition for env var
* fix label
* fixed value obtaining
* fixed label width
* fix checkbox
* fix subflow info
* remove old subflow ui tests
* add tests
* merge ui new changes
* fix initial open button
* fix environment variable edit tab
* WIP: cp-1
* Rework subflow ui property
* Restrict SF value type according to input selection
* Move subflow property UI code to subflow.js
* Update subflow ui type select appearance
* Present subflow instance properties as table rather than generated UI
* Move subflow instance properties to separate tab
* Fix subflow property ui element layout issues
2019-08-12 15:01:54 +01:00
Nick O'Leary
c8acc6a12e
Fix redo of subflow create
2019-08-12 14:51:01 +01:00
Nick O'Leary
7d4c2442da
Merge branch 'dev' into pr_2221
2019-08-12 14:44:30 +01:00
Nick O'Leary
e5255b0c7c
Ensure 2nd arg to node.error is an object
...
Fixes #2228
2019-08-12 14:36:26 +01:00
Nick O'Leary
ac3ef9b6fc
Merge pull request #2263 from node-red-hitachi/fix-subflow-category-change
...
fix subflow category change on palette
2019-08-12 10:58:56 +01:00
Hiroyasu Nishiyama
7b5a41c3ff
fix subflow category change on palette
2019-08-12 13:49:34 +09:00
Ibrahim Al-Mahfooz
d5b0d2a886
Update 21-httprequest.html
...
Adding the HTTP Persistent web configuration
2019-08-09 21:26:14 +03:00
Ibrahim Al-Mahfooz
4d60447242
Update 21-httprequest.js
...
Adding HTTP persistent definition and function
2019-08-09 21:23:28 +03:00
Ibrahim Al-Mahfooz
78bee3dc59
Update messages.json
...
Added the HTTP Persistent item
2019-08-09 21:20:45 +03:00
Nick O'Leary
e2db958510
Fix up admin nodes test for audit log changes
2019-08-09 17:27:32 +01:00
Nick O'Leary
16440072fb
Add audit log to project spec tests
2019-08-09 17:09:03 +01:00
Nick O'Leary
be2dd6dc32
Add req back to audit log events and extend to Projects api
2019-08-09 16:56:11 +01:00
Nick O'Leary
189bde7c9c
Merge pull request #2259 from kazuhitoyokoi/master-fixtabsmenu
...
Remove tab menu from node property UI for subflow and configuration nodes
2019-08-09 10:26:08 +01:00
Nick O'Leary
6a4760e291
Mark workspace dirty when shift-click-drag detaches wires
...
Fixes #2260
2019-08-09 10:24:52 +01:00
Kazuhito Yokoi
c082bb97e0
Remove tab menu from node property UI for subflow and config nodes
2019-08-07 12:29:20 +09:00
Nam Giang
c8e14f91e7
optimization for switch node
2019-08-06 17:41:35 -07:00
Nick O'Leary
6032d096ec
Merge branch 'master' into dev
2019-08-06 17:13:00 +01:00
Nick O'Leary
defa9a2270
Fix ssh-keygen error handling
2019-08-06 17:12:40 +01:00
Nick O'Leary
77a913f858
Add Node 12 to full build matrix on Travis
...
Having removed the ui test dependencies out of package.json
we can remove the 'allow failures' flag from the node 12 build.
Given how close Node 12 is to being LTS, we really need to pay
proper attention to it.
2019-08-06 16:34:43 +01:00
Nick O'Leary
6e3fa974ba
Remove all ui test dependencies from package.json
...
Given chromedriver was already an extra dependency that needed to
be manually installed, I have now moved all of the webdriver.io
dependencies out as well.
A new script has been added to install all of the ui test dependencies.
The Grunt file has been updated on how it checks for the missing
deps.
2019-08-06 16:32:46 +01:00
Nick O'Leary
7926055b97
Merge branch 'master' into dev
2019-08-06 16:10:33 +01:00
Nick O'Leary
ffd10e656e
Merge pull request #2251 from kazuhitoyokoi/master-fixsplitnode
...
Fix escape character handling for separator in split node
2019-08-06 16:00:58 +01:00
Nick O'Leary
59c1828078
Merge pull request #2253 from kazuhitoyokoi/master-removetooltip
...
Fix duplicated tooltips
2019-08-06 16:00:40 +01:00
Nick O'Leary
6164271fe8
Merge pull request #2250 from kazuhitoyokoi/master-updatetranslation4delaynode
...
Add Japanese translation into delay node
2019-08-06 16:00:01 +01:00
Nick O'Leary
26ba35933d
Merge pull request #2257 from kazuhitoyokoi/dev-updatejapanesetranslation
...
Update Japanese message catalog
2019-08-06 15:59:46 +01:00
Nick O'Leary
87359937c9
Merge pull request #2256 from kazuhitoyokoi/master-fixerrorhandlingtostartserver
...
Use appropriate version of Node.js
2019-08-06 15:59:34 +01:00
Nick O'Leary
9b938f6515
Fix default value handling on context array access
...
Fixes #2252
2019-08-06 15:55:25 +01:00
Nick O'Leary
6c3913785d
Add error event handler to ssh-keygen child_process
...
Fixes #2255
2019-08-06 15:21:57 +01:00
Nick O'Leary
542cf3147d
Support displaying falsey node status values
...
Fixes #2246
2019-08-06 15:12:13 +01:00
Nick O'Leary
fb9828badc
Update Function node to add node.done
2019-08-06 14:27:56 +01:00
Kazuhito Yokoi
2505ac3f98
Update Japanese message catalog
2019-08-06 19:57:39 +09:00
Kazuhito Yokoi
fde8548166
Remove handling for unused error code
2019-08-06 19:30:05 +09:00
Kazuhito Yokoi
fe91295704
Replace node.js with Node.js
2019-08-06 19:27:46 +09:00
Kazuhito Yokoi
15b99c5749
Use appropriate the version of Node.js
2019-08-06 19:24:45 +09:00
Kazuhito Yokoi
9d66ca4a49
Fix duplicated tooltip
2019-08-05 19:03:30 +09:00
Kunihiko Toumura
b749a27f86
Eliminate snake_case and use camelCase, and change assignment of keyboard shortcut
2019-08-05 10:20:46 +09:00
Nick O'Leary
083212cffe
Merge pull request #2248 from kazuhitoyokoi/master-removeunusedvariables
...
Remove unused variable
2019-08-02 09:42:22 +01:00
Kunihiko Toumura
c4e8756210
merge upstream changes
2019-08-02 15:15:30 +09:00
Kazuhito Yokoi
3a6448f727
Fix splitters in split node
2019-08-02 13:56:37 +09:00
Kazuhito Yokoi
fe18df25ba
Add Japanese translation to delay node
2019-08-01 20:50:35 +09:00
Hiroyasu Nishiyama
db65460ec0
fix SUBFLOW palette node update & SUBFLOW default color
2019-07-31 22:59:29 +09:00
Kazuhito Yokoi
0ad3eceb82
Remove unused variables
2019-07-31 16:06:30 +09:00
Nick O'Leary
a376d6e361
Merge pull request #2226 from node-red/add-has_key-to-switch
...
Add "has key" rule to switch node + tests
2019-07-30 23:06:44 +01:00
Nick O'Leary
45c7f3f3ca
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.html
2019-07-30 23:06:18 +01:00
Nick O'Leary
238de59a2a
Merge pull request #2232 from node-red-hitachi/fix-delete-tab
...
fix reference error on deleting tab
2019-07-30 23:04:01 +01:00
Nick O'Leary
96255e51d2
Merge pull request #2245 from node-red-hitachi/fix-conv-subflow
...
Fix error on converting selection to subflow
2019-07-30 23:03:30 +01:00
Nick O'Leary
18c3223105
Merge pull request #2247 from kazuhitoyokoi/master-fixvariablename
...
Fix wrong variable name
2019-07-30 23:01:59 +01:00
Kazuhito Yokoi
b9e97792f3
Fix wrong variable name
2019-07-30 19:52:28 +09:00
Hiroyasu Nishiyama
cbce9b8637
fix undo handling & typo
2019-07-30 11:07:55 +09:00
Ben Hardill
5ab90b85da
Limit the regex for the /nodes/ api end points
...
fixes #2240
It looks like the regex for the /nodes/... endpoints over matches.
I've added `^` to the start to anchor the matches to the start of the
URL.
2019-07-29 11:42:29 +01:00
Nick O'Leary
f3e1e8a2c7
Merge pull request #2244 from kazuhitoyokoi/master-fixwiring4subflownode
...
Fix inserting new subflow node to existing wire
2019-07-29 10:57:45 +01:00
Nick O'Leary
e41b292e54
Merge pull request #2238 from teastman/master
...
Handle undefined node._def in edit stack title.
2019-07-29 10:44:54 +01:00
Hiroyasu Nishiyama
86928bbb2d
fix converting selection to subflow
2019-07-26 23:06:56 +09:00
Kazuhito Yokoi
2f5ec8b5bf
Fix inserting new subflow node to existing wire between nodes
2019-07-26 17:51:49 +09:00
Tyler Eastman
14ac6446de
Handle undefined node._def in edit stack title.
2019-07-22 14:25:52 -07:00
Hiroyasu Nishiyama
260a9723a4
use custom color picker instead of color input type
2019-07-21 22:55:25 +09:00
Kunihiko Toumura
4e7b000dcd
Merge remote-tracking branch 'upstream/dev' into dev-redo
2019-07-17 09:13:01 +09:00
Kunihiko Toumura
2254e4c57e
minor fix (add semicolon)
2019-07-17 09:12:47 +09:00
Hiroyasu Nishiyama
25a27733b9
fix reference error on deleting tab
2019-07-15 11:23:27 +09:00
Nick O'Leary
6ab520984c
Merge branch 'dev' into pr_2229
2019-07-12 13:37:13 +01:00
Nick O'Leary
04d7106956
Remove unwanted icons
2019-07-12 13:37:01 +01:00
Hiroyasu Nishiyama
db5589f2aa
rearrange contents of subflow template settings tab
2019-07-11 19:37:47 +09:00
Hiroyasu Nishiyama
d06dbbb4bd
changed to color change reflect immediately on OK
2019-07-11 08:22:31 +09:00
Dave Conway-Jones
b7a62bd9e7
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.html
...
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com >
2019-07-10 10:01:17 +01:00
Dave Conway-Jones
93ad9a3aa6
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.js
...
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com >
2019-07-10 10:01:09 +01:00
Nick O'Leary
f1855174f0
Merge branch 'dev' into pr_2165
2019-07-10 09:30:48 +01:00
Dave Conway-Jones
a2dedba0ef
change internal type to hask
2019-07-09 21:04:53 +01:00
Nick O'Leary
5a65f445f0
Bump test helper version
2019-07-09 11:44:33 +01:00
Nick O'Leary
f52289b2c3
Add send to input handler signature
2019-07-09 11:40:55 +01:00
Nick O'Leary
3b5ea0f15f
Add node done API
2019-07-08 23:23:33 +01:00
Dave Conway-Jones
238bcb8698
Add "has key" rule to switch node + tests
2019-07-08 15:54:31 +01:00
Hiroyasu Nishiyama
3ee8bcad8c
add support for specifying subflow template color
2019-07-08 23:52:08 +09:00
Nick O'Leary
f0a51bafbe
Use node/tab map to make filterNodes more efficient
2019-07-08 10:55:26 +01:00
Nick O'Leary
944f3bd329
Merge branch 'master' into dev
2019-07-07 21:48:13 +01:00
Nick O'Leary
8bb7b2e88b
Ensure session expiry timeout doesn't exceed limit
2019-07-06 16:34:48 +01:00
Nick O'Leary
aab0b0b4bf
Bump for 0.20.7
2019-07-05 11:12:26 +01:00
Nick O'Leary
083d6c5125
Merge pull request #2224 from natcl/patch-4
...
Update jsonata to 1.6.5 which should fix #2183
2019-07-05 09:29:13 +01:00
Nathanaël Lécaudé
c2167a2c5f
Add jsonata bump in util
2019-07-04 18:08:44 -04:00
Nathanaël Lécaudé
1a695e0451
Update jsonata to 1.6.5 which should fix #2183
2019-07-04 17:50:55 -04:00
Kunihiko Toumura
8847f325ed
Merge remote-tracking branch 'upstream/dev' into dev-redo
2019-07-04 08:31:45 +01:00
Kunihiko Toumura
94c9da468e
fix initialization bug
2019-07-04 08:26:39 +01:00
Nick O'Leary
24b38407e4
Merge branch 'master' into dev
2019-07-01 12:43:16 +01:00
Nick O'Leary
f49d1ae860
Ensure the subflow stop promise is waiting for before restarting
2019-07-01 12:42:11 +01:00
Nick O'Leary
8b3b541a56
Improve typedInput label width calculation
...
If the label contains an img, the width calculation needs
to wait for the img to be loaded. This fix is a bit hacky
as it doesn't actually tie into the onload event, but should
be good enough
2019-07-01 11:17:36 +01:00
Nick O'Leary
a974e84ad1
Merge pull request #2222 from node-red/no-empty-examples
...
Ignore empty examples directories (don't add to import menu)
2019-06-29 21:32:07 +01:00
Dave Conway-Jones
c4f4115bcb
better handle example file at any depth
2019-06-29 01:16:02 +01:00
Nick O'Leary
3c5adbee31
Merge pull request #2220 from natcl/patch-3
...
Add default shortcut (ctrl-d) for deploy
2019-06-28 23:35:28 +01:00
Nick O'Leary
55645e3730
Properly escape node types in palette
...
We were only escaping the first instance of any invalid dom char
and not all of the
2019-06-28 22:39:27 +01:00
Dave Conway-Jones
d918bb568c
Ignore empty examples directories (don't add to import menu)
2019-06-23 12:09:43 +01:00
Kunihiko Toumura
b1bff62bf7
Merge remote-tracking branch 'upstream/dev' into dev-redo
2019-06-23 16:19:15 +09:00
Nick O'Leary
d11d389ae4
Smarter filtering in action list dialog
2019-06-22 20:37:54 +01:00
Nick O'Leary
a73c159160
Ensure an item in action list is always selected
2019-06-22 20:25:57 +01:00
Kunihiko Toumura
7adf102d8d
Initial implementation of redo (un-undo)
2019-06-22 16:05:50 +09:00
Nathanaël Lécaudé
e4d3ff623a
change shortcut for ctrl-d
2019-06-21 19:04:25 -04:00
Nathanaël Lécaudé
2433d59f00
Add default shortcut (ctrl-s) for deploy
...
This adds a shortcut for deploy (ctrl-s).
2019-06-21 17:40:24 -04:00
Nick O'Leary
8c68e76c3e
Merge pull request #2217 from node-red/svg-icons
...
Update all node icons and editor images to SVG
2019-06-21 22:08:34 +01:00
Nick O'Leary
0b204de5a9
Fix up tests for svg changes
2019-06-21 22:01:24 +01:00
Nick O'Leary
93c811ab70
Update typedInput icons to svg
...
Map any request for one of our pngs to its svg replacement
2019-06-21 21:45:14 +01:00
Nick O'Leary
3ff861099a
Move deploy icons to svg
2019-06-21 16:08:43 +01:00
Nick O'Leary
f22762539f
Handle png/svg fallback for def.icon values. Remove old pngs
2019-06-21 15:41:17 +01:00
Nick O'Leary
677442a3c0
Merge branch 'master' into dev
2019-06-21 14:01:34 +01:00
Nick O'Leary
b73f12cdba
Bump for 0.20.6
2019-06-21 13:25:39 +01:00
Nick O'Leary
28fbb61e81
Bump dependencies
2019-06-21 13:25:09 +01:00
Nick O'Leary
c1104d1cd6
Revealing node position needs to account for zoom level
...
Fixes #2172
2019-06-21 12:53:09 +01:00
Dave Conway-Jones
e346702292
stop join tripping up if last message of buffer is blank.
2019-06-21 12:49:21 +01:00
Nick O'Leary
90887779ea
Improve handling of file upload in request node
...
formData can only be Strings or Buffers - anything else will cause
errors. To help matters, we now look for invalid types and json-encode
them where needed.
2019-06-21 12:48:13 +01:00
Nick O'Leary
a941b1437c
Handle subflow internal node wired to a non-existant node
...
Fixes #2202
2019-06-21 12:47:37 +01:00
Nick O'Leary
04bdcbd490
Do not save subflow env vars with blank names
2019-06-21 12:46:53 +01:00
Nick O'Leary
87a815fd6f
Don't allow a link node virtual wire to connect to normal port
2019-06-21 12:45:50 +01:00
Nick O'Leary
d623848c87
Update all node icons to SVG
...
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.
If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +01:00
Nick O'Leary
46abd0cc42
Clear HTTP Request node authType when auth disabled
...
Fixes #2215
2019-06-20 22:33:38 +01:00
Nick O'Leary
e315325d91
Fix parsing of content-type header
...
Fixes #2216
This was broken when we switched from media-typer to content-type
modules for parsing the content-type header.
The content-type header can handle the field with parameters, but
does not do the type/sub-type parsing that media-typer does.
Our code relied on that extra bit of parsing to correctly
identify if the content should be parsed to String or kept as
a buffer.
The fix restores the use of media-typer, but using the result
of the content-type module to make sure it valid
2019-06-20 21:15:20 +01:00
Dave Conway-Jones
f3fc083330
Fix join node reset issue with merging objects
...
and add tests
to close #2188
2019-06-20 19:47:53 +01:00
Dave Conway-Jones
92cb57eb7b
Fix join node reset issue with merging objects
...
and add tests
to close #2188
2019-06-20 18:14:46 +01:00
Nick O'Leary
d645fbff2f
Merge branch 'master' into dev
2019-06-19 10:11:51 +01:00
Nick O'Leary
8486f4d43a
Copy data-i18n attribute on TypedInput
...
Fixes #2211
2019-06-19 10:10:17 +01:00
Nick O'Leary
60b1a05894
Fix styling of Debug pop-out window
2019-06-18 11:40:13 +01:00
Nick O'Leary
f955d63707
Merge branch 'disable-node' into dev
2019-06-18 11:33:20 +01:00
Nick O'Leary
f106019938
Add runtime test for disabled nodes
2019-06-18 11:02:31 +01:00
Nick O'Leary
2473249c8b
Allow config nodes to be disabled, tidy css and add actions
2019-06-17 22:46:34 +01:00
Nick O'Leary
d13dc4fba3
Don't allow a link node virtual wire to connect to normal port
2019-06-17 15:37:45 +01:00
Nick O'Leary
41a0af032c
Enable individual flow nodes to be disabled
2019-06-14 22:12:47 +01:00
Nick O'Leary
70cf7b0c5a
Do not save subflow env vars with blank names
2019-06-14 11:18:07 +01:00
Nick O'Leary
14f6788ab9
Set autocomplete to disabled in form input elements
2019-06-14 11:17:49 +01:00
Nick O'Leary
bb67049d90
Ensure focus returns to the right element after dialogs shown
2019-06-14 10:57:12 +01:00
Nick O'Leary
ae2162beaf
Handle subflow internal node wired to a non-existant node
...
Fixes #2202
2019-06-13 14:23:46 +01:00
Nick O'Leary
19f2c5e07f
Merge branch 'master' into dev
2019-06-13 09:37:36 +01:00
Nick O'Leary
8abc5b3889
Add actions to change deploy type
2019-06-12 10:06:58 +01:00
Nick O'Leary
4d37c28bc7
Merge pull request #2197 from node-red/commandPrompt
...
Add Command prompt dialog
2019-06-11 22:47:30 +01:00
Nick O'Leary
cc0933eee4
Rename commandPrompt to actionList
2019-06-11 22:43:28 +01:00
Nick O'Leary
2de9a804a0
Tidy up nls of command prompt and selection handling
2019-06-11 22:43:28 +01:00
Nick O'Leary
ffeb2e91f4
Add command prompt dialog
2019-06-11 22:43:28 +01:00
Nick O'Leary
8cf5ec9e5a
Update UI tests for new editor css
2019-06-11 17:12:31 +01:00
Nick O'Leary
ea0526f29a
Add insertItemAt doc to editableList
2019-06-11 17:12:31 +01:00
Nick O'Leary
cfcb3a69e5
Merge pull request #2198 from node-red-hitachi/allow-env-in-switch-node
...
Allow environment variable as target of switch node
2019-06-11 15:13:46 +01:00
Nick O'Leary
e3e0378857
Add visual json editor
2019-06-11 14:44:44 +01:00
Nick O'Leary
ccc3809daa
Make 'anything else' template more explicit
2019-06-09 17:32:14 +01:00
Nick O'Leary
c97786e12c
Improve handling of file upload in request node
...
formData can only be Strings or Buffers - anything else will cause
errors. To help matters, we now look for invalid types and json-encode
them where needed.
2019-06-08 20:42:14 +01:00
Nick O'Leary
400071879f
Add enable/disable-flow actions
2019-06-07 15:14:21 +01:00
Nick O'Leary
4cd6e20c91
Fix undo of flow disable state change
2019-06-07 15:13:49 +01:00
Nick O'Leary
460e3ad395
Fix select-all action in main view
2019-06-07 14:35:22 +01:00
Nick O'Leary
6f08bd6fc5
Fix delete-all action on config node sidebar
2019-06-07 14:35:10 +01:00
Nick O'Leary
eed3a749db
Fix undefined error on typedInput due to valueLabel used before being added
2019-06-07 14:34:35 +01:00
Hiroyasu Nishiyama
6587d12fbd
update info text
2019-06-07 21:39:12 +09:00
Hiroyasu Nishiyama
f8dd68ecc4
Add support for env var propety in switch node
2019-06-07 21:35:36 +09:00
Nick O'Leary
f0aef2b853
Add show-library dialog actions
2019-06-07 11:35:04 +01:00
Nick O'Leary
7d27df1b97
Add shift-cursor handling for moving quick-add dialog
2019-06-06 17:17:44 +01:00
Nick O'Leary
457ec86c25
Do not allow tab focus on clipboard hidden element
2019-06-06 17:17:05 +01:00
Nick O'Leary
a24c66958f
Fix display of node help when clicking in palette
...
Fixes #2194
2019-06-06 14:38:21 +01:00
Nick O'Leary
617628b886
Ensure node help is loaded in the right language
...
Fixes #2195
2019-06-06 14:16:19 +01:00
Nick O'Leary
6b7e623d33
Remove some hardcoded css colors
2019-06-06 11:34:20 +01:00
Nick O'Leary
5ca85b7e83
Merge branch 'pr_2187' into dev
2019-06-04 22:58:18 +01:00
Nick O'Leary
5965bf3332
Merge pull request #2190 from node-red-hitachi/fix-typedinput-appearance
...
Fix typedinput width calculation
2019-06-04 20:56:30 +01:00
Nick O'Leary
baf2dd293b
Merge pull request #2189 from bonanitech/patch-1
...
Update build-custom-theme.js
2019-06-04 16:50:36 +01:00
Dave Conway-Jones
2cc19e7e32
stop join tripping up if last message of buffer is blank.
2019-06-01 23:49:27 +01:00
Dave Conway-Jones
53ab6f8569
Add popovers to context sidebar mini buttons
2019-06-01 13:21:21 +01:00
Hiroyasu Nishiyama
cf8faac7ef
fix width calculation of typedInput
2019-05-31 22:20:54 +09:00
Mauricio Bonani
86947a384d
Update build-custom-theme.js
2019-05-31 08:33:22 -04:00
Dave Conway-Jones
22855279bd
ensure input box has focus on repeated quick add
2019-05-30 14:33:11 +01:00
Paul Williams
e56fdecdc6
Add new shortcut to clear debug message list
...
Clearing the debug message list is globally scoped by default to
`ctrl+alt+l`. Mnemonic: similar to clearing a terminal shell using
ctrl+l.
2019-05-30 09:36:44 +00:00
Dave Conway-Jones
dc75a5812f
Handle webscoket item being parseable but not an object better
...
and add test
2019-05-29 12:49:35 +01:00
Dave Conway-Jones
33e20c9969
Only add copypath popover if button exists.
2019-05-28 21:43:21 +01:00
Nick O'Leary
109204897f
Fix clipboard export download button
2019-05-28 16:10:21 +01:00
Nick O'Leary
3b3a2d62f8
Merge pull request #2175 from node-red-hitachi/update-language-selector
...
update editor language selection UI for i18n
2019-05-28 13:26:38 +01:00
Nick O'Leary
b1b4b3fb63
Ensure tooltip popover doesn't replace normal popover
2019-05-28 13:25:03 +01:00
Nick O'Leary
d583c68de5
Fix error handling in Websocket broadcast function
...
Fixes #2182
2019-05-28 11:51:34 +01:00
Nick O'Leary
d360f30af6
Ensure library list has an item selected when opened
2019-05-28 11:23:03 +01:00
Nick O'Leary
ed033565a4
Handle empty list of example flows
...
Fixes #2171
2019-05-28 11:21:53 +01:00
Nick O'Leary
2d6acfae1b
Restore tray component css for compatibility. Mark as deprecated
2019-05-28 09:50:29 +01:00
Hiroyasu Nishiyama
10da894124
fix function name & string compare function
2019-05-28 08:55:00 +09:00
Nick O'Leary
6dda8f21e4
Merge pull request #2176 from node-red-hitachi/update-editor-message-jp
...
Update Japanese message catalogue for editor
2019-05-27 22:18:18 +01:00
Nick O'Leary
1a9d759002
Merge pull request #2177 from node-red-hitachi/i18n-library-ui
...
Update I18n support for library ui
2019-05-27 22:18:00 +01:00
Nick O'Leary
df24e13eb5
Merge pull request #2178 from node-red-hitachi/update-nodes-message-jp
...
update Japanese message for nodes
2019-05-27 22:17:19 +01:00
Nick O'Leary
2ab19937af
Fix pinned debug item css
2019-05-27 21:23:41 +01:00
Nick O'Leary
390b86cd8e
Revert treeList children function signature change
2019-05-27 21:11:50 +01:00
Nick O'Leary
423aba5bab
Ensure ndoe status icon is shown when value set
2019-05-27 21:07:27 +01:00
Dave Conway-Jones
dc0b9231cd
Add popover tooltips to debug sidebar,function and template
...
path, value, pin buttons in debug
expand buttons in function and template.
2019-05-27 15:48:06 +01:00
Hiroyasu Nishiyama
3b177bedf8
update Japanese message for nodes
2019-05-27 14:25:03 +09:00
Hiroyasu Nishiyama
12ce719213
make new library folder interface i18n ready
2019-05-27 13:34:47 +09:00
Hiroyasu Nishiyama
320433b1bf
update Japanese message catalogue
2019-05-27 13:13:25 +09:00
Hiroyasu Nishiyama
7f35e2280e
update editor language selection UI for i18n
2019-05-27 11:28:36 +09:00
Nick O'Leary
c514d988df
Revealing node position needs to account for zoom level
...
Fixes #2172
2019-05-25 22:11:05 +01:00
Nick O'Leary
749a080397
Fix typedInput option selection
...
Fixes #2174
2019-05-25 21:19:31 +01:00
Nick O'Leary
b105a12505
Fix palette node id handling so search works
...
Fixes #2173
2019-05-24 22:13:21 +01:00
Nick O'Leary
abaf363ddd
Update changelog
2019-05-24 11:37:42 +01:00
Nick O'Leary
16db9d4290
Bump for 1.0.0-beta.2
2019-05-24 11:36:57 +01:00
Nick O'Leary
a694b0364d
Fix length calculation when reading library file
2019-05-24 11:36:05 +01:00
Nick O'Leary
b68835f171
Update CHANGELOG
2019-05-24 10:44:46 +01:00
Nick O'Leary
32714c5dac
Fix node multi-select mode
2019-05-24 10:26:00 +01:00
Nick O'Leary
245e06f026
Merge branch 'master' into dev
2019-05-24 10:22:14 +01:00
Nick O'Leary
e0111d3fe6
Merge pull request #2167 from minzojian/master
...
update packages\node_modules\@node-red\runtime\lib\index.js
2019-05-24 10:09:21 +01:00
Nick O'Leary
a71d4223ff
Add node-select to typedInput
2019-05-23 23:38:42 +01:00
Nick O'Leary
20cba6411b
Disable copy/paste and enable select-all in node-select mode
2019-05-23 16:48:07 +01:00
Nick O'Leary
502a8112b5
Remove hardcoded colours from some nodes
2019-05-23 16:39:56 +01:00
Nick O'Leary
308c6ee4da
Update catch/status nodes to use selectNodes api and treeList
2019-05-23 16:39:34 +01:00
Nick O'Leary
cae003d4fa
Add RED.view.selectNodes api for node selection whilst editing
2019-05-23 16:39:06 +01:00
Nick O'Leary
b9b900e908
Add build-custom-theme script
2019-05-22 14:27:28 +01:00
Nick O'Leary
8bdba9178a
Line-up view tooltip text (again) having fixed size calculation
2019-05-22 00:10:55 +01:00
Nick O'Leary
97f11e38cd
Minimise work done to calculate node label widths
...
Currently, everytime the tab is switched, we recalculate the
width of every node. There's no need to do that as the width
will not have changed - unless it has changed, but then the
dirty/changed flag will be set on that one node and it will
get handled.
Also avoid endless added/removing an element to calculate the
dimenstions - keep it on the dom (keyed by className) and
positioned well away from the visible space.
2019-05-22 00:04:19 +01:00
Nick O'Leary
c4f5df0cd0
Bump to jquery 3.4.1
2019-05-22 00:03:26 +01:00
Nick O'Leary
9ed3a6748a
Fix node label size calculation
2019-05-21 23:48:33 +01:00
Nick O'Leary
359c0354f6
Set package version to 1.0.0-beta.1
2019-05-21 23:32:42 +01:00
Nick O'Leary
fc77c089fa
Bump dependencies
2019-05-21 23:31:21 +01:00
Nick O'Leary
137a7ac48c
Fix getLibraryEntry for files missing meta data
2019-05-21 23:30:59 +01:00
Nick O'Leary
42b60aef4e
Fix library/clipboard import/export issues
2019-05-21 22:58:56 +01:00
Nick O'Leary
5ab7380ad1
Add auto-refresh toggle to context sidebar
2019-05-21 17:19:39 +01:00
Nick O'Leary
afa25df1af
Allow RED.settings.get/set to use full property desc
2019-05-21 17:19:12 +01:00
Nick O'Leary
5cb888328e
Fix Deploy menu focus style
2019-05-21 15:26:15 +01:00
Nick O'Leary
78aeb94917
Line up component footer buttons better
2019-05-21 15:26:03 +01:00
Nick O'Leary
5f3e9a19ea
Introduce toggleButton and move flow-disabled to use it
2019-05-21 15:25:38 +01:00
Nick O'Leary
420e8c001b
Fix setting output port labels
2019-05-21 15:24:45 +01:00
Nick O'Leary
c63b8a4ebc
Fix a couple css errors in menu/config sidebar
2019-05-20 22:03:05 +01:00
Nick O'Leary
5f5feaed5f
Add expand editor button to Template node
2019-05-19 22:34:04 +01:00
KentWood
87a1f616b0
Update index.js
...
fixed a error when run node-red with httpAdminRoot=false
https://github.com/node-red/node-red/issues/2166
2019-05-18 17:04:56 +08:00
Nick O'Leary
cc051544f9
Only NLS status text that starts with a letter
...
Fixes #2128
2019-05-17 16:32:14 +01:00
Dave Conway-Jones
85a438a40f
remove pi, twitter, email and feedparser from packages
...
remove tests from core
2019-05-17 14:14:17 +01:00
Dave Conway-Jones
877260a243
Remove pi gpi, twitter, email and feedparser nodes from core
2019-05-17 14:08:51 +01:00
Dave Conway-Jones
83d99043a8
Add "don't parse numbers" option to csv node
...
and add test
2019-05-17 13:46:26 +01:00
Nick O'Leary
6a57d25f4a
Trigger change evnt on typedInput when type changes and options present
...
Fixes #2160
2019-05-17 11:45:16 +01:00
Nick O'Leary
91473e731e
Merge pull request #2126 from natcl/master
...
http request node: warn user if msg.requestTimeout == 0
2019-05-17 10:47:37 +01:00
Nick O'Leary
1d91ac1169
Merge pull request #2154 from Holger-Will/dev-esm
...
allow script tags with src to reference esm modules
2019-05-17 10:46:48 +01:00
Nick O'Leary
2850477a71
Merge branch 'dev' into dev-esm
2019-05-17 10:46:36 +01:00
Nick O'Leary
651b1c92c3
Merge pull request #2156 from bernardobelchior/patch-1
...
Remove unnecessary ternary
2019-05-17 10:45:36 +01:00
Nick O'Leary
77e74eb37b
Merge pull request #2159 from hobbyquaker/master
...
german localization improvements
2019-05-17 10:44:50 +01:00
Nick O'Leary
5bb2bc7077
Merge pull request #2158 from node-red/statusbar
...
⚠️ Standardise CSS class names through-out the editor
2019-05-17 10:43:48 +01:00
Nick O'Leary
98a001a8ca
Deprecate editor-button css class
2019-05-17 10:42:43 +01:00
Nick O'Leary
0d75ff336d
Found some more ids and classes to namespace
2019-05-16 22:32:28 +01:00
Nick O'Leary
8567f1655e
Only redraw node status when it has changed
2019-05-16 14:42:41 +01:00
Nick O'Leary
68b94737ed
Add tooltip on node error icon for validation errs
2019-05-16 14:42:21 +01:00
Nick O'Leary
094c92ed85
Fix ui tests for new css classes
2019-05-16 13:43:42 +01:00
Nick O'Leary
42ab6deff1
Tidy up remaining css classes
2019-05-16 13:26:49 +01:00
Nick O'Leary
3a257e1e00
Fix typedInput styling and allow option list to scroll
2019-05-16 10:28:01 +01:00
Nick O'Leary
2bf9a353a6
Fix panel/tray size calculation on resize
2019-05-15 16:29:06 +01:00
Nick O'Leary
bbe41febf1
Fix view tooltip text position
2019-05-15 14:17:44 +01:00
Nick O'Leary
031362a633
Move all colours to sass variables
2019-05-15 13:54:29 +01:00
Nick O'Leary
4418f8bfce
Better CSS namespace of base form elements
2019-05-09 19:22:40 +01:00
Nick O'Leary
364175fa9d
Merge pull request #2163 from node-red-hitachi/fix-debug-node-memory-leak
...
Fix possible memory leak of debug sidebar output
2019-05-09 14:51:20 +01:00
Hiroyasu Nishiyama
13cf2b48e1
use jQuery DOM manipulation instead of raw JS
2019-05-09 18:06:10 +09:00
Dave Conway-Jones
e4f6694223
Fix CSV regex to treat strings starting e as text
...
rather than part of exponential, add tests
2019-05-08 22:43:41 +01:00
Nick O'Leary
59093f1721
Pull out more CSS colors to sass variables
2019-05-08 19:06:08 +01:00
Nick O'Leary
db5e79a19b
Convert node-change/error icons to SVG
2019-05-08 19:05:30 +01:00
Bernardo Belchior
f0b1585b52
Remove redundant conditional
2019-05-08 18:51:16 +01:00
Nick O'Leary
50228c5970
Namespace more editor component CSS
2019-05-08 13:26:48 +01:00
Nick O'Leary
b98e85016a
Namespace type editors CSS
2019-05-07 16:48:05 +01:00
Nick O'Leary
bc540eefb6
Namespace projects CSS
2019-05-07 15:47:33 +01:00
Nick O'Leary
3f1c4b4117
Namespace dropdown menu CSS
2019-05-07 14:46:44 +01:00
hobbyquaker
5e7689a151
i18n-german fix typos
2019-05-04 09:47:29 +02:00
hobbyquaker
42845cfcc0
i18n-german subflows https://github.com/jwende/nodered-german/issues/14
2019-05-04 09:36:58 +02:00
hobbyquaker
caad0eca67
i18n-german fix typo
2019-05-04 09:33:54 +02:00
Nick O'Leary
67f8ec7f87
Append node configs to div rather than body
2019-05-03 21:32:12 +01:00
Nick O'Leary
d8d37a66e4
Namespace diff CSS
2019-05-03 20:22:46 +01:00
hobbyquaker
69db23f2f6
i18n-german retain https://github.com/jwende/nodered-german/issues/16
2019-05-03 19:59:40 +02:00
hobbyquaker
c3f6bcad56
i18n-german payload https://github.com/jwende/nodered-german/issues/9
2019-05-03 19:58:50 +02:00
hobbyquaker
ab1521bf26
i18n-german topic https://github.com/jwende/nodered-german/issues/8
2019-05-03 19:56:44 +02:00
hobbyquaker
fafe8b88c2
i18n-german number https://github.com/jwende/nodered-german/issues/6
2019-05-03 19:54:45 +02:00
hobbyquaker
9276988ff6
i18n-german buffer https://github.com/jwende/nodered-german/issues/6
2019-05-03 19:52:28 +02:00
hobbyquaker
85179edf1b
i18n-german string https://github.com/jwende/nodered-german/issues/6
2019-05-03 19:51:56 +02:00
hobbyquaker
2f1ba6cf1f
i18n-german https://github.com/jwende/nodered-german/issues/4
2019-05-03 19:47:30 +02:00
hobbyquaker
93674b4e29
i18n-german https://github.com/jwende/nodered-german/issues/3
2019-05-03 19:22:50 +02:00
hobbyquaker
20851664e8
i18n-german https://github.com/jwende/nodered-german/issues/2
2019-05-03 19:21:50 +02:00
hobbyquaker
38c87a056c
i18n-german https://github.com/jwende/nodered-german/issues/1
2019-05-03 19:20:19 +02:00
Nick O'Leary
ad77565508
Namespace CSS for Debug, Keyboard, Clipboard, Settings
2019-05-02 22:33:29 +01:00
Nick O'Leary
0e02e21967
Get rid of Bootstrap
2019-05-02 17:03:42 +01:00
Nick O'Leary
1e35a6ce5e
Fix sidebar separator draggable
2019-05-02 17:03:09 +01:00
Nick O'Leary
90b167eba1
Remove bootstrap.js and package all js in vendor.js
2019-05-02 16:10:47 +01:00
Nick O'Leary
5b1defad9f
Simplify index.mst to a single div to insert the editor
2019-05-02 16:09:13 +01:00
Nick O'Leary
8dc1ad8168
Namespace workspace/view css
2019-05-01 22:41:20 +01:00
Nick O'Leary
126a42056d
Namespace all header css
2019-04-30 23:38:54 +01:00
Nick O'Leary
5866dad79a
Namespace context/config sidebar css
2019-04-30 23:28:35 +01:00
Nick O'Leary
9dac679b72
Namespace all sidebar css
2019-04-30 22:56:39 +01:00
Bernardo Belchior
12ff3abeda
Remove unnecessary ternary
2019-04-30 14:19:51 +01:00
Holger Will
0f07fb4479
fix formatting
2019-04-30 05:17:46 +02:00
Holger Will
d9d98439b2
allow script tags with src to reference esm modules
2019-04-30 04:57:47 +02:00
Nick O'Leary
d251a30cb8
Update ui tests for palette css namespace
2019-04-29 22:41:31 +01:00
Nick O'Leary
a2632fdcc8
Namespace all palette css
2019-04-29 22:38:14 +01:00
Nick O'Leary
10c818474c
Tidy zoom control statusBar widget
2019-04-29 20:53:04 +01:00
Nick O'Leary
5e8279cf51
Add workspace statusBar
2019-04-29 17:24:14 +01:00
Nick O'Leary
4c8c081c31
Revert branchList focus call change
2019-04-29 16:32:43 +01:00
Nick O'Leary
bad2baba7f
Merge pull request #2153 from node-red/jq3
...
Upgrade to jq 3.3.1 / jq-ui 1.12.1
2019-04-29 16:20:48 +01:00
Nick O'Leary
b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
...
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
Nick O'Leary
7ec999475e
Merge branch 'master' into dev
2019-04-29 08:45:07 +01:00
Nick O'Leary
742bf85a89
Bump all dependencies
...
Fixes #2152
2019-04-29 08:42:37 +01:00
Nick O'Leary
c9c6f41aad
Try adding node 12 again
2019-04-26 16:49:35 +01:00
Nick O'Leary
b0d93df387
Blur the active element when closing edit dialog via action
...
Fixes #2097
2019-04-26 16:33:43 +01:00
Nick O'Leary
3e20892fdf
Add Node 12 to travis (allow_failures)
2019-04-26 16:31:01 +01:00
Nick O'Leary
369f8b3fe0
Merge pull request #2148 from node-red/new-export-dialog
...
Updated Library UX
2019-04-26 16:23:23 +01:00
Nick O'Leary
337dfba2b8
Add keyboard nav to treeList
2019-04-26 16:21:35 +01:00
Nick O'Leary
493687b5bb
Allow editor language to be chosen in editor settings
...
This gets stored in localStorage of the browser which is not
ideal. This is because we load language catalogs before we
load user preferences - so if this was stored in the runtime,
the editor wouldn't know the user's preference until it was
too late to apply it.
This is likely good enough for now - may need to do something
more convoluted later on.
2019-04-25 15:23:08 +01:00
Nick O'Leary
c7587960fb
Fix display of link node list within subflow
...
Fixes #2140
2019-04-25 11:58:59 +01:00
Nick O'Leary
5c962aa899
Merge pull request #2138 from kazuhitoyokoi/master-fixdraggable
...
Fix node drag and drop animation
2019-04-25 11:54:07 +01:00
Nick O'Leary
3e9d2a8062
Merge branch 'dev' into new-export-dialog
2019-04-25 11:45:14 +01:00
Nick O'Leary
c2aa8a206a
Merge branch 'dev' of github.com:node-red/node-red into dev
2019-04-25 11:44:55 +01:00
Nick O'Leary
6d8ea2b6a4
Merge branch 'dev' into new-export-dialog
2019-04-25 11:42:33 +01:00
Nick O'Leary
b581e33611
Update runtime apis to support multiple libraries
2019-04-25 11:32:09 +01:00
Nick O'Leary
5e43a02cd3
Move remaining library dialogs to new style
2019-04-24 11:50:24 +01:00
Nick O'Leary
6f37d5ca5c
Move type-library dialogs to new treeList style
2019-04-23 15:46:15 +01:00
Nick O'Leary
3263008379
Move library import/export to single dialog
2019-04-23 14:23:17 +01:00
Dave Conway-Jones
4588089bd6
hide delay node reset label on deploy
...
to close #2145
2019-04-21 10:31:36 +01:00
Kazuhito Yokoi
44b75f0b92
Adjust node animation speed
2019-04-16 11:02:51 +09:00
Kazuhito Yokoi
162bd6a8c3
Fix node drag and drop animation
2019-04-16 09:47:08 +09:00
Dave Conway-Jones
0c13603185
let status be simple text if wanted
2019-04-07 16:23:17 +01:00
Nick O'Leary
ed2a45e975
Bump for 0.20.5
2019-04-05 13:46:25 +01:00
Nick O'Leary
0fa165c606
Revert error handling in palette manager
2019-04-05 13:45:06 +01:00
Nick O'Leary
fe63ab1242
Bump packages to 0.20.4
2019-04-05 10:21:11 +01:00
Nick O'Leary
faf808da69
Update changelog
2019-04-05 10:13:15 +01:00
Dave Conway-Jones
71709cd662
reduce udp out timeout to be less than default inject at start
...
to address Issue #2127
2019-04-04 21:59:47 +01:00
Nick O'Leary
d92040b804
Add error message if catalog invalid json
2019-04-04 11:36:12 +01:00
Nick O'Leary
3662fbb462
Merge branch 'master' into dev
2019-04-03 11:33:57 +01:00
Nick O'Leary
d89ae3ebbf
Merge branch 'dev' of github.com:node-red/node-red into dev
2019-04-03 11:33:23 +01:00
Nick O'Leary
6175fecdd8
Update changelog
2019-04-03 10:12:12 +01:00
Nick O'Leary
fab632da62
Bump for 0.20.4
2019-04-03 10:11:36 +01:00
Nathanaël Lécaudé
c1e3b0d971
http request node: warn user if msg.requestTimeout == 0
2019-04-02 15:00:25 -04:00
Nick O'Leary
7b15ba31ea
Merge pull request #2125 from kazuhitoyokoi/master-fixfilenode
...
Fix encoding menu in file node
2019-04-02 16:50:14 +01:00
Nick O'Leary
f11d4ccd45
Switch media-typer to content-type module
...
Fixes #2122 #2123
2019-04-02 16:45:30 +01:00
Nick O'Leary
fbec803129
Use userObj.username and not .name for ssh key lookup
...
Closes #2109
2019-04-02 14:06:37 +01:00
Kazuhito Yokoi
0f57d1a433
Fix encoding menu in file node
2019-04-02 21:35:41 +09:00
Nick O'Leary
63829b6382
Ensure mqtt message handlers are tidied up properly on partial deploy
2019-03-29 10:30:40 +00:00
Nick O'Leary
8ac3899ddc
Merge pull request #2100 from node-red-hitachi/master-korean
...
Add Korean locales files for nodes
2019-03-28 22:38:22 +00:00
Nick O'Leary
59fb4ea6f8
Merge pull request #2111 from node-red-hitachi/context-api-testcase
...
Add tests for context API
2019-03-28 22:38:06 +00:00
Nick O'Leary
92bb9bb3c3
Merge pull request #2116 from aiot-maker/master
...
Add explanation to the help text on the new feature to build query st…
2019-03-28 22:36:21 +00:00
Nick O'Leary
1795c491a8
Merge branch 'master' into dev
2019-03-28 16:59:04 +00:00
Nick O'Leary
ea333c19f7
Update package dependencies
2019-03-28 14:46:16 +00:00
Nick O'Leary
28ef879c07
Update ACE to 1.4.3-src-min-noconflict
...
Fixes #2106
2019-03-28 14:02:09 +00:00
Nick O'Leary
10839abf24
Fix creating missing package.json when existing project imported
...
Fixes #2115
2019-03-28 13:46:52 +00:00
Nick O'Leary
9832394f8e
Allow subflow instance to override env var with falsey values
...
Fixes #2113
2019-03-28 13:33:54 +00:00
Nick O'Leary
dd89ea3731
Prevent wire from normal node to link virtual port
...
Fixes #2114
2019-03-28 10:48:48 +00:00
Andrei Ochmat
5d9fd6dc3b
Add explanation to the help text on the new feature to build query string from msg.payload
2019-03-27 15:45:28 -03:00
Hiroki Uchikawa
f7c87e26db
Add test cases for context runtime API
2019-03-27 12:54:02 +09:00
Hiroki Uchikawa
f98f4085bf
Add test cases for context admin API
2019-03-27 12:54:01 +09:00
Hiroki Uchikawa
543519d055
Add test cases to ensure context API routes are correctly mounted.
2019-03-27 12:54:01 +09:00
Nick O'Leary
5a9fcd9267
Bump dev branch to 0.21.0-alpha.0
2019-03-26 15:51:17 +00:00
Nick O'Leary
fe2360883f
Bump bcrypt to latest
2019-03-20 17:01:58 +00:00
Nick O'Leary
b45ddadb09
Bump for 0.20.3
2019-03-20 15:24:23 +00:00
Nick O'Leary
a3cbe80a36
Do not dynamically add/remove upgrade listener in ws nodes
...
The way we dynamically added/removed event handlers for the
upgrade event was causing problems with the way sockjs (as
used by the worldmap node) tries to intercept the event.
This fix means the ws nodes won't ever remove the upgrade
listener - it gets added once when the first ws node is
deployed and will then remain until the last ws node is
removed and the runtime restarted.
2019-03-20 14:58:26 +00:00
Nick O'Leary
ee6c6266cc
Avoid env var reference loops and support $parent. prefix
...
Fixes #2099
2019-03-20 13:37:33 +00:00
李赫柱
d6bd35287f
Add Korean locales files for nodes
2019-03-20 18:27:04 +09:00
Nick O'Leary
962a29110c
Ensure config._flow is non-enumerable so is ignored by JSON.stringify
...
Fixes https://github.com/pdmangel/node-red-contrib-openhab2/issues/36
2019-03-18 15:11:56 +00:00
Nick O'Leary
a242475b38
Block loading ACE from cdn
2019-03-18 10:55:12 +00:00
Nick O'Leary
d59bf84470
Update changelog
2019-03-15 19:04:31 +00:00
Nick O'Leary
161ee17f45
Bump for 0.20.2
2019-03-15 19:03:30 +00:00
Nick O'Leary
8aa00b0cfc
Filter out duplicate nodes when importing a flow
2019-03-15 19:02:24 +00:00
Nick O'Leary
afe89c3621
Handle node configs with multiple external scripts properly
...
If the config had multiple scripts, we were calling the done
callback once for each script. This in turn led to duplicate
flows being loaded.
2019-03-15 18:50:58 +00:00
Nick O'Leary
bdf68311b4
Bump for 0.20.1
2019-03-15 11:22:01 +00:00
Nick O'Leary
afa69f4c0e
Ensure all subflow instances are stopped when flow stopping
...
Fixes #2095
2019-03-15 09:13:32 +00:00
Nick O'Leary
6fe2b24592
Merge pull request #2091 from node-red-hitachi/korean
...
modify name of korean locale folders
2019-03-14 15:25:52 +00:00
李赫柱
7442b356e3
modify name of korean locale forders
2019-03-14 09:53:24 +09:00
Nick O'Leary
1d7be6457f
Ensure node names are sanitized before being presented
2019-03-13 16:08:11 +00:00
Nick O'Leary
c9ff05ba80
Subflow status node must pass status to parent flow
...
Fixes #2087
2019-03-13 13:14:34 +00:00
Nick O'Leary
faae184f1c
Merge pull request #2090 from node-red-hitachi/fix-file-node-encoding-menu
...
Fix problem on displaying option label on Firefox
2019-03-13 10:46:23 +00:00
Hiroyasu Nishiyama
515a8a9bbb
fix problem on displaying option label on Firefox
2019-03-13 19:17:32 +09:00
Nick O'Leary
58914e5c5f
Bump package to 0.20.0
2019-03-12 14:53:12 +00:00
Nick O'Leary
c944eaab5c
Fix max call stack err when getting node from inside subflow
2019-03-12 14:40:47 +00:00
Nick O'Leary
d3d9533493
Search subflows instances when looking for given node id
2019-03-12 14:25:36 +00:00
Nick O'Leary
9c474cc089
Bump for 0.20
2019-03-12 10:59:20 +00:00
Nick O'Leary
3f1b0b986f
Handle node name as unsanitized text in debug sidebar
2019-03-12 10:37:24 +00:00
Nick O'Leary
28e08ebaf5
Add envVarExcludes setting to block named env vars
2019-03-07 22:54:20 +00:00
Nick O'Leary
3213c03754
Update settings.js docs on userDir to match reality
...
Fixes #2082
2019-03-07 19:58:54 +00:00
Nick O'Leary
4447288a4c
Merge pull request #2083 from node-red-hitachi/fix-typo-JP-info-httprequest
...
Fix typo in Japanese info text of httprequest node
2019-03-07 19:58:26 +00:00
Hiroyasu Nishiyama
eee4e83a1e
fix minor typo in Japanese info text of httprequest node
2019-03-07 22:50:56 +09:00
Nick O'Leary
a67b492620
Merge pull request #2081 from node-red-hitachi/dev-korean
...
Add Korean Language
2019-03-07 10:02:42 +00:00
Nick O'Leary
6062ff2748
Merge pull request #2080 from node-red-hitachi/update-JP-info-httprequest
...
Update info text of httprequest node
2019-03-07 10:02:09 +00:00
Dave Conway-Jones
3b11195caa
Add --no-update-notifier flag to npm calls to speedup processing.
2019-03-07 09:03:25 +00:00
李赫柱
9946ea111c
Add Korean Language
2019-03-07 10:33:55 +09:00
Hiroyasu Nishiyama
7074d66f8e
fix unmatched tag in English info text of httprequest node
2019-03-07 10:06:57 +09:00
Hiroyasu Nishiyama
008b26f329
update JP info text of httprequest node
2019-03-07 10:04:06 +09:00
Dave Conway-Jones
b246f0779f
re-fix merge of file nodes
2019-03-06 22:33:20 +00:00
Hiroyasu Nishiyama
dc89218702
add encoding support to file in/out node ( #2066 )
...
* add encoding support to file in/out node
* update package.json
* change default encoding label: 'none' -> 'utf8[default]'
* add a missing message catalogue entry
* change default encoding label
2019-03-06 22:28:33 +00:00
Nick O'Leary
3c013b3533
Add file upload test for http request node
2019-03-06 21:21:35 +00:00
Nick O'Leary
fe0d0f08e4
Merge branch 'pr_2078' into dev
2019-03-06 15:51:16 +00:00
Nick O'Leary
38b5063038
Tidy up blockquote css style
2019-03-05 20:56:35 +00:00
Nick Kasten
e55481a454
conditional formData assignment only
2019-03-05 11:12:59 -06:00
Nick Kasten
7063a88513
improved info panel UI
2019-03-05 10:31:25 -06:00
Nick Kasten
a9bf3d0226
add multipart/form-data support to http request node
2019-03-05 09:55:21 -06:00
Nick O'Leary
781b3aff1b
Merge branch 'dev' into pr_2076
2019-03-05 14:37:33 +00:00
Nick O'Leary
b011b9203b
Keep subflow palette appearance in sync with edits
2019-03-05 14:37:07 +00:00
Nick O'Leary
39344fcae5
Fix background of tab select icon
2019-03-05 13:25:44 +00:00
Nick O'Leary
a046b357da
Tidy up registry/loader api used by unit tests
...
Fixes #2073
2019-03-05 13:25:44 +00:00
Nick O'Leary
d8e4020cec
Merge pull request #2075 from kazuhitoyokoi/dev-fixlibrarybug
...
Fix module name bug in import menu
2019-03-05 13:05:36 +00:00
Kazuhito Yokoi
f80b172022
Add condition to handle existing node
2019-03-05 21:29:03 +09:00
Kazuhito Yokoi
66fc4b536c
Automatic placing of node icon
2019-03-05 21:21:23 +09:00
Kazuhito Yokoi
1f97ccdddb
Fix module name bug in library
2019-03-05 19:38:56 +09:00
Nick O'Leary
308d6889a7
Update changelog
2019-03-05 10:18:40 +00:00
Nick O'Leary
c3b9982c44
Add --no-audit flag to npm commands to reduce overhead
2019-03-05 10:17:30 +00:00
Nick O'Leary
fab796e4e4
Modify trigger spec timings to reduce false-positive test runs
2019-03-05 09:48:43 +00:00
Nick O'Leary
749db6ba82
Merge pull request #2072 from node-red-hitachi/update-messages-JP
...
Update Japanese messages
2019-03-05 08:36:24 +00:00
Hiroyasu Nishiyama
12d6c4ddf5
add missing Japanese translation
2019-03-05 11:57:06 +09:00
Hiroyasu Nishiyama
430a03bb14
update JP message catalogue
2019-03-05 11:14:02 +09:00
Nick O'Leary
43f21fc7aa
Add list-flows action and button
2019-03-04 22:37:51 +00:00
Nick O'Leary
b27da3d1a0
Update changelog
2019-03-04 16:15:06 +00:00
Nick O'Leary
4463a8e3b2
Add exportGlobalContextKeys to prevent exposing fgc keys
2019-03-04 16:10:39 +00:00
Nick O'Leary
9e74ddac48
Bump dependencies
2019-03-04 12:33:36 +00:00
Nick O'Leary
5f62e41d62
update changelog
2019-03-04 11:17:19 +00:00
Nick O'Leary
19a103d3a0
Add _session and event to WS/TCP Status messages
2019-03-04 11:09:18 +00:00
Nick O'Leary
8fb6bc059e
Pass complete status to Status node and filter to editor
2019-03-04 10:23:10 +00:00
Nick O'Leary
8f61a0d258
Fix message catalog formatting
2019-03-03 12:05:20 +00:00
Nick O'Leary
7fa589e430
Merge pull request #2068 from node-red-hitachi/i18n-port-label
...
Add i18n support for port label
2019-03-03 11:52:20 +00:00
Nick O'Leary
6d8d826764
Merge branch 'dev' into i18n-port-label
2019-03-03 11:52:12 +00:00
Nick O'Leary
a40e84e1f6
Merge pull request #2070 from bartbutenaers/dev
...
Fix hiding Bearer token
2019-03-03 11:49:48 +00:00
bartbutenaers
4844c2123f
Fix hiding Bearer token
2019-03-01 23:18:48 +01:00
Nick O'Leary
236d437430
Add api docs landing content
2019-02-28 22:21:22 +00:00
Hiroyasu Nishiyama
ae726c199b
add i18n support for port label of inject/exec/httprequest/file node
2019-02-28 20:22:33 +09:00
Nick O'Leary
e7f54f005c
Merge pull request #2060 from jeancarl/dev
...
Transfer input attributes (placeholder, type) to generated TypedInput field
2019-02-28 10:50:15 +00:00
bartbutenaers
e7b1ec6904
Add Digest and Bearer Auth modes to http request node ( #2061 )
...
* Authentication methods
* Authentication methods
* Authentication methods
* Support undefined auth type
* Support undefined auth type
* Apply basic auth on existing nodes
* Use password as bearer token
* Use password as bearer token
* Switch between password/token labels
* Bearer token abbreviation
* Separate token span
2019-02-27 22:15:31 +00:00
Nick O'Leary
f4f664a4a2
Ensure flows wait for all nodes to close before restarting
...
Fixes #2067
2019-02-27 20:56:58 +00:00
Nick O'Leary
fec52a8151
Merge branch 'master' into dev
2019-02-26 21:44:36 +00:00
Nick O'Leary
d8b4c1e209
Rename issue templates to fix their order
2019-02-26 21:14:25 +00:00
Nick O'Leary
eac853c7dd
Update issue templates
2019-02-26 21:12:42 +00:00
Nick O'Leary
a04337a270
Merge branch 'master' into dev
2019-02-25 14:46:25 +00:00
Nick O'Leary
50d7e16365
Bump for 0.19.6
2019-02-25 14:40:08 +00:00
Nick O'Leary
ef7bc931b7
Merge pull request #2051 from node-red-hitachi/fix-multi-byte-output
...
Fix output of multi-byte string with file node
2019-02-25 10:48:23 +00:00
Nick O'Leary
41de771074
Fix git clone with password protected key
2019-02-21 22:44:56 +00:00
Dave Conway-Jones
2ebdd6c5cb
let join node handle merged objects with repeated properties and honour parts
...
to close issue from slack re repeated {"d":"d","d":"d","d":"d"} messages
2019-02-20 00:11:31 +00:00
Nick O'Leary
b51cfcc753
Merge pull request #2062 from kazuhitoyokoi/dev-fixtypo
...
Fix typo and update message catalog
2019-02-19 09:35:35 +00:00
Kazuhito Yokoi
91cc03dd80
Fix typo and update message catalog
2019-02-19 14:24:37 +09:00
Nick O'Leary
9d673a213e
Use absolute flow file path in project settings
...
This ensures the diff logic can recognise the project flow file
and apply merge resolution to paths that git knows
2019-02-17 22:18:40 +00:00
JeanCarl
97e789538e
Transfer placeholder and type to generated TypedInput field
2019-02-15 14:40:19 -08:00
Nick O'Leary
e05ff01d57
Allow a project to be located below the root of repo
2019-02-15 22:11:25 +00:00
Dave Conway-Jones
0748dff355
And fix the JSON node test
2019-02-15 17:16:27 +00:00
Dave Conway-Jones
28d4084aa0
ensure JSON node handles single booleans and numbers
2019-02-15 17:07:11 +00:00
Nick O'Leary
afd2ccfb4f
Detect the cloning of an empty git repo properly
2019-02-14 14:00:25 +00:00
Nick O'Leary
057127f4de
Hitting enter in Comment node name field clicks markdown button
...
When Enter is pressed in a form, the browser will find the first
submittable element and trigger it. By default <button> elements
have type set to 'submit' which causes them to be targetted by
this behaviour.
Adding `type="button"` prevents this behaviour. This change
targets some main offenders - in particular the markdown toolbar.
There are of lots of other `<button>` elements without this attribute
set, so they need tidying up. Not currently aware of any others that
exist in a <Form> so may be immune from this behaviour.
2019-02-13 20:41:34 +00:00
Dave Conway-Jones
2937b25d6d
Shift status text left if no shape specified
2019-02-13 14:36:36 +00:00
Nick O'Leary
419f26db87
Fix use of custom auth strategy plugins
2019-02-12 10:45:38 +00:00
Nick O'Leary
be1b9c0e43
Handle treeList labels as text not html
2019-02-11 16:15:25 +00:00
Nick O'Leary
894d28c60b
Remove remnants of when library in git/index
...
Fixes #2057
2019-02-11 09:01:40 +00:00
Nick O'Leary
06cc08d9f7
Better align node status text to status dot
2019-02-09 21:27:54 +00:00
Nick O'Leary
75393c0b28
Clear subflow status no close
2019-02-09 21:24:31 +00:00
Nick O'Leary
bdc1da70c1
Change subflow edit dialog titles
2019-02-09 21:20:20 +00:00
Nick O'Leary
7cef990ba6
Resize subflow edit dialog properly
2019-02-09 20:44:21 +00:00
Nick O'Leary
fb0f12bb20
Bump to 0.20.0-beta.5
2019-02-08 10:41:22 +00:00
Nick O'Leary
e94b8d3e84
Update changelog
2019-02-08 10:41:01 +00:00
Nick O'Leary
8c00e1fdf4
Bump dependencies
2019-02-08 10:35:06 +00:00
Nick O'Leary
a31fa82284
Merge pull request #2056 from node-red-hitachi/update-logic-nodes-info-jp
...
Update Japanese info text of logic nodes
2019-02-08 09:38:17 +00:00
Nick O'Leary
5d0af45d8f
Merge pull request #2055 from node-red-hitachi/update-io-nodes-info-jp
...
Update Japanese info text of io nodes
2019-02-08 09:38:04 +00:00
Hiroyasu Nishiyama
e9f248020e
update Japanese info text of split node
2019-02-08 09:46:35 +09:00
Hiroyasu Nishiyama
a8e1058af6
fix typos in Japanese info text of range node
2019-02-08 09:35:02 +09:00
Hiroyasu Nishiyama
1a087fd799
update info text of switch node
2019-02-08 09:32:07 +09:00
Hiroyasu Nishiyama
50c81533e0
fix header level of switch node info text
2019-02-08 09:26:11 +09:00
Hiroyasu Nishiyama
5eab9aa4b1
fix typos in tcpin node info text
2019-02-08 09:14:32 +09:00
Hiroyasu Nishiyama
1970cbfe37
fix mismatched p-tag
2019-02-08 09:05:29 +09:00
Hiroyasu Nishiyama
6d736201f9
fix unmatched p-tag
2019-02-08 08:58:59 +09:00
Nick O'Leary
51ec52b573
Merge pull request #2053 from node-red-hitachi/update-node-messages-jp
...
Update Japanese message catalogue of core nodes
2019-02-07 22:00:55 +00:00
Nick O'Leary
d099387186
Merge pull request #2054 from node-red-hitachi/update-core-nodes-info-jp
...
Update Japanese info text of core nodes
2019-02-07 21:59:57 +00:00
Hiroyasu Nishiyama
3f91e4da66
update Japanese info text of template node
2019-02-07 23:35:09 +09:00
Hiroyasu Nishiyama
4124159378
update Japanese info text of function node
2019-02-07 23:24:12 +09:00
Hiroyasu Nishiyama
18f3789e29
update Japanese info text of catch node
2019-02-07 23:15:06 +09:00
Hiroyasu Nishiyama
a713c92530
convert to buffer before write
2019-02-07 22:46:21 +09:00
Hiroyasu Nishiyama
7828af591e
update Japanese message catalogue of core nodes
2019-02-07 20:03:16 +09:00
Nick O'Leary
d432dba726
Merge pull request #2052 from node-red-hitachi/update-editor-messages-jp
...
Update Japanese editor message catalogue
2019-02-07 09:30:13 +00:00
Nick O'Leary
72ae87857f
Delete package-lock.json
2019-02-07 09:29:38 +00:00
Nick O'Leary
724acff591
Properly sanitize node names in deploy warning dialogs
2019-02-07 09:11:06 +00:00
Hiroyasu Nishiyama
482b432e2c
update Japanese message catalogue for JSONata
2019-02-07 12:49:36 +09:00
Hiroyasu Nishiyama
351c0cb0a8
add missing colon
2019-02-07 12:33:36 +09:00
Hiroyasu Nishiyama
314a0fb5d6
update Japanese message catalog
2019-02-07 12:28:59 +09:00
Nick O'Leary
a301bf8bf5
Fix XSS issues in library ui code
2019-02-06 22:25:25 +00:00
Nick O'Leary
37b3601c47
Link Node - scroll to current flow in node list
2019-02-06 15:38:35 +00:00
Nick O'Leary
6e944485f0
Merge pull request #2030 from node-red-hitachi/scope-parent
...
Allow access of scope parent
2019-02-06 14:10:57 +00:00
Nick O'Leary
431266069e
Merge pull request #2050 from node-red/subflow-props
...
Display parent subflow properties in subflow instance edit dialog
2019-02-06 14:06:22 +00:00
Nick O'Leary
d48a09e68b
Add env type to subflow env var types
...
Also remove date and regex types
2019-02-06 13:58:31 +00:00
Hiroyasu Nishiyama
1db1ec7b5e
fix encoding of file node from binary to utf8
2019-02-06 21:53:23 +09:00
Nick O'Leary
2a8f0a4eab
Display parent subflow properties in edit dialog
2019-02-05 23:08:39 +00:00
Nick O'Leary
79f3669fac
Add 'catch uncaught only' mode to Catch node
...
Closes #1747
This was inspired by a PR from @mauriciom75 but implemented in a different way
due to some of the internal reworking done to Flow and Subflow in the dev branch
2019-02-05 14:29:50 +00:00
Nick O'Leary
aab0f2dcd5
Merge pull request #2047 from node-red-hitachi/fix-use-common-i18n-label
...
Fix use of i18n label
2019-02-05 08:31:38 +00:00
Nick O'Leary
a47831e278
Merge pull request #2049 from kazuhitoyokoi/dev-fixbug4outoputinsubflow
...
Fix direction value of subflow output
2019-02-05 08:31:04 +00:00
Kazuhito Yokoi
f1a5e8a42c
Fix direction value of subflow output
2019-02-05 16:27:02 +09:00
Hiroyasu Nishiyama
723e9b3cba
make $parent access without key return undefined
2019-02-05 14:47:30 +09:00
Hiroyasu Nishiyama
ff759a8074
use common i18 label for variable name placeholder
2019-02-05 13:12:21 +09:00
Nick O'Leary
4de1056d82
Tidy up HTTP Request payload to GET params work
2019-02-04 21:30:11 +00:00
Nick O'Leary
884b8da8bf
Merge pull request #1981 from jonferreira/dev
...
Use payload properties as parameters on a GET request
2019-02-04 20:43:45 +00:00
Nick O'Leary
044ad77a4b
Merge pull request #2044 from node-red-hitachi/cookie_encoding
...
Allow http request node to avoid encoding cookie
2019-02-04 20:39:05 +00:00
Nick O'Leary
1fe8b388a3
Allow subflow env-var list to resize with the dialog
2019-02-04 17:20:31 +00:00
Dave Conway-Jones
79fe7d684c
Add parsed JSON output option to MQTT subscribe node
2019-02-04 16:35:42 +00:00
Dave Conway-Jones
c409af0ea8
Add local time display option to numerics in debug window
2019-02-04 15:51:42 +00:00
Nick O'Leary
5110eaff96
Merge branch 'dev' into pr_2042
2019-02-04 14:39:00 +00:00
Nick O'Leary
db3eee72b5
Do not convert falsey env vars to blank string
...
Only blank out undefined as that's what we've always done
2019-02-04 14:12:34 +00:00
Nick O'Leary
3bcff91328
Add Status Node to Subflow to allow subflow-specific status
...
Closes #597
2019-02-01 23:44:50 +00:00
Hiroyasu Nishiyama
e843f192ec
convert subflow env vars to dict
2019-02-02 08:34:33 +09:00
Hiroki Uchikawa
f3d2053878
Make the encode option a boolean value to determine whether to encode
2019-02-01 17:15:07 +09:00
Nick O'Leary
efe8fbbd11
Better handling of multiple flow merges
...
Fixes #2039
Keeps better track of what was merged so a subsequent merge
properly identifies new-vs-old and doesn't remove thinks by mistake
2019-01-30 15:12:01 +00:00
Hiroyasu Nishiyama
ce507b3b52
simplified meta-data
2019-01-30 20:57:51 +09:00
Nick O'Leary
85de227003
Make Node._flow a writeable property
...
This is needed so an existing node constructor that does:
Object.assign(this,config);
works when it tries to replace this._flow with config._flow.
2019-01-30 10:50:29 +00:00
Hiroki Uchikawa
7c6eb7c794
Allow http request node to change cookie value encoding
2019-01-30 19:33:23 +09:00
Hiroki Uchikawa
2037741b54
Revert cookie encoding behavior
2019-01-30 19:24:19 +09:00
Nick O'Leary
d534a8952d
Do not propagate Flow.getNode to parent when called from outside flow
2019-01-29 21:49:20 +00:00
Hiroyasu Nishiyama
0b05b883cb
add test cases
2019-01-30 00:04:41 +09:00
Hiroyasu Nishiyama
6937aa5ddd
fix type of env values
2019-01-29 23:46:56 +09:00
Hiroyasu Nishiyama
8f6b24e0aa
fixed to access last variable with same name
2019-01-29 21:46:50 +09:00
Hiroyasu Nishiyama
ba3b64a6c6
removed useless env setup & simplified env access in function node
2019-01-29 21:39:59 +09:00
Nick O'Leary
d23b32a830
Bump to 0.20.0-beta.4
2019-01-28 15:29:01 +00:00
Nick O'Leary
ceba08a801
Update dependencies and tidy up sentiment
2019-01-28 15:27:40 +00:00
Nick O'Leary
e0bb03a53f
More api documentation updates
2019-01-28 14:40:42 +00:00
Hiroyasu Nishiyama
0881c6a20b
update test cases
2019-01-28 23:14:49 +09:00
Hiroyasu Nishiyama
f88a4b1791
fixed comments from @knolleary
2019-01-28 22:14:08 +09:00
Hiroyasu Nishiyama
2b43e3ee23
add placeholder for env var name
2019-01-27 21:56:13 +09:00
Nick O'Leary
2e063f91bc
Merge pull request #2041 from kazntree/default-chromedriver
...
Remove chromedriver from devDependencies
2019-01-26 21:48:25 +00:00
Nick O'Leary
79062e2034
Move nodes to top-left corner when converting to subflow
2019-01-26 20:49:22 +00:00
Hiroyasu Nishiyama
a413f3cded
Add support of subflow env var
2019-01-26 23:15:20 +09:00
Nick O'Leary
4baaaa8d59
Propagate Status/Error events from global config nodes
2019-01-25 15:46:39 +00:00
Nick O'Leary
c99b35428b
Ensure status/error events are propagated to parent properly
2019-01-25 13:35:02 +00:00
Nick O'Leary
3c8e4f8bbf
Merge branch 'pr_2033' into dev
2019-01-23 16:29:14 +00:00
Nick O'Leary
aa9a37da38
Add placeholder node when in quick-add mode
2019-01-23 16:27:13 +00:00
Nick O'Leary
85efb48c1f
Merge branch 'dev' into pr_2033
2019-01-22 16:13:26 +00:00
Nick O'Leary
888e7ee023
Merge pull request #2038 from kazuhitoyokoi/dev-fixbuginwebsocketnode
...
Fix bug in WebSocket configuration node
2019-01-22 16:13:06 +00:00
Kazuhito Yokoi
d7bbf8a8da
Fix bug in websocket node
2019-01-22 12:03:30 +09:00
Dave Conway-Jones
e2ee88de84
offset menu so you can see node placement
2019-01-21 22:08:25 +00:00
Dave Conway-Jones
1d1ab5b7b2
don't pin new nodes to grid if not using grid
2019-01-21 16:15:38 +00:00
Nick O'Leary
54c863d48f
Make Node._flow non-enumerable to avoid circular refs
2019-01-21 14:19:19 +00:00
Nick O'Leary
acc633b4b6
Don't collapse version control header when clicking refresh
2019-01-21 10:06:02 +00:00
Dave Conway-Jones
766ccf85c2
add fast entry via keyboard for string of nodes
2019-01-20 14:43:17 +00:00
kazntree
7ab5a2be47
remove chromedriver package, and instruct how to install it when running grunt test-ui
2019-01-20 19:10:54 +09:00
Nick O'Leary
7a6e1fe566
Check for undeployed change before showing open project dialog
2019-01-18 21:42:13 +00:00
Nick O'Leary
4749c92252
Add View Tools
2019-01-18 21:19:03 +00:00
Nick O'Leary
0e035e47df
Avoid duplicate links when missing node type installed
...
Fixes #2032
2019-01-17 22:35:58 +00:00
Nick O'Leary
1359545e13
Allow debug edit expression to be sent to status
2019-01-17 17:15:53 +00:00
Nick O'Leary
5b2f24f842
Handle i18n properly when key is a valid sub-identifier
...
Fixes #2028
The i18n library will, be default, return a string containing
an error message about the key resolving to an object. We cannot
distinguish that string from others to handle ourselves.
The `returnObjectTrees` option will cause it to return the object
rather than error. We can then test for that and return the original
key if the object is returned - which is the desired result.
2019-01-17 14:44:41 +00:00
Nick O'Leary
bb73e30909
Merge pull request #2016 from jwende/dev
...
german translation v01
2019-01-17 14:25:15 +00:00
Nick O'Leary
490903ca25
Tidy up when usage in Flow and Node
2019-01-17 13:18:26 +00:00
Nick O'Leary
901b32297e
Restore RED.auth to node-red module api
2019-01-16 23:41:44 +00:00
Nick O'Leary
dd72046922
Add some comments to Flow and Subflow classes
2019-01-16 23:33:04 +00:00
Nick O'Leary
6286b34d00
Add Flow.getSetting for resolving env-var properties
...
This lays the groundwork for subflow-specific settings
2019-01-16 22:38:04 +00:00
Nick O'Leary
81f4e0de56
Refactor Subflow logic into own class
2019-01-16 16:27:19 +00:00
Hiroyasu Nishiyama
596fbfb517
allow $parent access of flow context
2019-01-16 23:10:03 +09:00
Nick O'Leary
da756fa568
WIP: Start refactor of nodes/Flow.js
2019-01-11 14:53:21 +00:00
Nick O'Leary
30aebc4ee3
Bump JSONata in util package
2019-01-11 10:08:09 +00:00
Nick O'Leary
45138ce5ca
Bump JSONata to 1.6.4:wq
2019-01-11 09:54:56 +00:00
Nick O'Leary
f26b9feeaf
Change default dropdown appearance and sidebar tab menu handling
2019-01-10 23:30:51 +00:00
Nick O'Leary
9e47d933af
Handle multiple-select box when nothing selected
...
Fixes #2021
2019-01-10 15:21:27 +00:00
Nick O'Leary
f309a9d537
Bump version to 0.20.0-beta.3
2019-01-10 13:34:47 +00:00
Nick O'Leary
a786b37cb9
Make ssh key dialog accessible when opened from new proj dialog
2019-01-10 13:28:40 +00:00
Nick O'Leary
6a519a30a2
Update changelog
2019-01-09 17:04:33 +00:00
Nick O'Leary
81ae552e69
Project ui code using incorrect error property
2019-01-09 17:03:17 +00:00
Nick O'Leary
0ec04a3624
Allow notifications to be reused in place rather than stack
...
For example, clipboard actions now reuse the same notification.
Similarly the Inject node will reuse its notification when
injecting.
2019-01-09 14:02:46 +00:00
Nick O'Leary
81d5b47fce
Update ws dependency in sub-modules
2019-01-08 16:31:18 +00:00
Nick O'Leary
ed31a0cf15
Update to WS 6.x and fix all it broke
...
Significant update to the ws module to get it completely up to date.
The jump from 1.x to 6.x has required a rewrite of our WS handling. Most
specifically the means by which you can have multiple ws servers on a
single http server has completely changed; we now have to handle the
'upgrade' event on the server ourselves.
2019-01-08 16:21:36 +00:00
Nick O'Leary
201d1926bc
Bump dependencies
2019-01-08 10:32:23 +00:00
Nick O'Leary
9ee6655bfa
Bump jsonata in submodule package.json
2019-01-07 17:03:32 +00:00
Nick O'Leary
c4beab6b0d
Bump JSONata to 1.6.4
...
Fixes #2023
2019-01-07 16:59:38 +00:00
Nick O'Leary
34b6643913
Remove unused variable declaration in Change node
2019-01-07 15:00:32 +00:00
Nick O'Leary
98e391b867
Add audit logging to admin api
2019-01-07 14:59:48 +00:00
Nick O'Leary
19eb8e9a6d
Update palette manager properly when module updated
2019-01-07 14:54:35 +00:00
Nick O'Leary
43b7aa40c3
Remove promises from Join node
2019-01-02 22:37:06 +00:00
Nick O'Leary
747af44fc1
Tidy up variable naming in split.js
2019-01-01 23:05:13 +00:00
Joerg Wende
a73381e24b
german translation v01
2018-12-22 09:22:25 +01:00
Nick O'Leary
d5ef428edd
Remove promises from Change node
2018-12-21 14:37:04 +00:00
Nick O'Leary
5fa4d227b8
Merge pull request #2010 from node-red-hitachi/fix-require
...
Fix RED.require
2018-12-21 10:38:35 +00:00
Hiroyasu Nishiyama
cc7e3b0c26
fix failure of RED.require
2018-12-21 14:39:51 +09:00
Nick O'Leary
473a2ae275
Remove all Promises from Switch node
...
Promises are expensive and should not be used in the main
message handling path. The Switch node used them a lot if
the node references context - with a lot of duplicate code
to handle async and sync code paths.
This change modifies the code to use callbacks throughout
that are just as performant in either case.
2018-12-20 22:57:47 +00:00
Nick O'Leary
7f5d47f39d
Update Link node UI to use TreeList
2018-12-20 13:15:42 +00:00
Nick O'Leary
6031f146aa
Add TreeList common widget
2018-12-20 13:15:31 +00:00
Nick O'Leary
020a469f3b
Fix visual jump when opening Comment editor on Safari
...
Part of #2008
2018-12-19 10:05:09 +00:00
Nick O'Leary
091de3aa66
Fix vertical align of markdown editor in Safari
...
Fixes #2008
2018-12-19 10:04:36 +00:00
Nick O'Leary
b837f7608c
Avoid marking node as changed if label state is default
...
Fixes #2009
2018-12-19 09:30:20 +00:00
Nick O'Leary
afe9367bac
Merge pull request #2005 from kazuhitoyokoi/dev-updatemessagecatalog
...
Update message catalog
2018-12-18 22:58:19 +00:00
Nick O'Leary
9bd9023cb6
Merge pull request #2007 from node-red-hitachi/dev-uitest-mac
...
Update UI test for mac OS
2018-12-18 22:57:48 +00:00
Nick O'Leary
8502cf8498
Highlight port on node hover while joining
2018-12-18 21:45:33 +00:00
Nick O'Leary
33dade0584
Support drag-wiring of link nodes
2018-12-18 10:57:53 +00:00
Nick O'Leary
84cc2ad0fa
Allow TypeSearch to include a filter option
2018-12-18 10:57:33 +00:00
Nick O'Leary
dc2d3bc7c0
Improve diff colouring
2018-12-18 10:57:18 +00:00
Nick O'Leary
64df557423
Allow sections to toggle in 2-element stack
2018-12-18 10:56:54 +00:00
Yuma Matsuura
715cc77e76
Update UI test for mac os
2018-12-18 09:29:46 +09:00
Kazuhito Yokoi
b80d1af3d7
Fix typo
2018-12-17 19:01:33 +09:00
Kazuhito Yokoi
f05f534fd2
Update message catalogue
2018-12-17 18:48:19 +09:00
Nick O'Leary
c0837ead0e
Add support for ${} env var syntax when skipping validation
...
Closes #1980
See also #825
2018-12-13 16:13:57 +00:00
Nick O'Leary
a1f135bd66
Allow oauth strategy callback method to be customised
...
Closes #1998
Method can be set via: `adminAuth.strategy.options.callbackMethod`
Can be either GET (default) or POST.
2018-12-13 13:43:57 +00:00
Nick O'Leary
978f4ecc58
Ensure fs context cache is flushed on close
...
Fixes #2001
2018-12-13 12:46:19 +00:00
Dave Conway-Jones
46a8d96997
fix library Buffer( to Buffer.alloc( for node 10
2018-12-13 11:32:58 +00:00
Nick O'Leary
c283224000
Merge branch 'master' into dev
2018-12-13 11:14:58 +00:00
Nick O'Leary
a6ef755139
Merge pull request #1993 from arunnattarayan/patch-1
...
Export to library produces empty folder when name has a trailing slash
2018-12-13 11:05:52 +00:00
Nick O'Leary
29a257d17a
Merge pull request #1995 from node-red-hitachi/debug-node-with-jsonata
...
Add support of output editing in DEBUG node using JSONata
2018-12-13 11:05:21 +00:00
Nick O'Leary
368b76a183
Merge pull request #2000 from node-red-hitachi/i18n-markdown-tooltip
...
i18 support for markdown editor tooltips
2018-12-13 11:00:03 +00:00
Nick O'Leary
8bb861124d
Catch file-not-found on startup when non-existant flow file specified
2018-12-13 10:59:03 +00:00
Hiroyasu Nishiyama
2f884ec778
i18 support for markdown editor tooltip
2018-12-11 22:33:11 +09:00
Nick O'Leary
8c561e92c8
Actively expire login sesssions and notify user
2018-12-11 11:32:12 +00:00
Hiroyasu Nishiyama
633b9180d7
update info text
2018-12-11 19:53:10 +09:00
Hiroyasu Nishiyama
0e2d0e1b6f
merge dev
2018-12-11 19:02:49 +09:00
Nick O'Leary
ea4d65ceee
Add RED.editor.registerTypeEditor for custom type editors
2018-12-10 22:21:21 +00:00
Nick O'Leary
d47ac84d2e
Merge pull request #1999 from natcl/dev
...
JSON node: delete msg.schema before sending msg to avoid conflicts
2018-12-10 20:54:24 +00:00
Nathanaël Lécaudé
a97759aa35
JSON node: add help about schema deletion
2018-12-10 14:47:52 -05:00
Nathanaël Lécaudé
3fcfd4abdd
JSON node: add help about schema deletion
2018-12-10 14:46:21 -05:00
Nathanaël Lécaudé
6d771da9a9
JSON node: delete msg.schema before sending msg to avoid conflicts
2018-12-10 13:47:55 -05:00
Nick O'Leary
6201247875
Tidy up markdown toolbar handling across all editors
...
Any editor for the markdown mode will now automatically get
the markdown toolbar added.
The comment node has been updated to handle this properly and
to not add two copies of its content to the sidebar.
2018-12-10 15:24:27 +00:00
Hiroyasu Nishiyama
8c367bcc53
update messages
2018-12-09 20:33:58 +09:00
Hiroyasu Nishiyama
8198132ca7
use output selector for specifying JSONata expression
2018-12-09 20:30:35 +09:00
Dave Conway-Jones
cf3b4e9e63
change check order for node.users
...
If node _def hasUsers is false then node.users may not exist... so won't have a length...
2018-12-08 18:09:33 +00:00
Hiroyasu Nishiyama
987dbf8a92
Merge branch 'dev' into debug-node-with-jsonata
2018-12-08 17:43:29 +09:00
Nick O'Leary
acf8c9bc4a
Fixup version again because its Friday afternoon
2018-12-07 16:49:37 +00:00
Nick O'Leary
7173895d36
Fixup version
2018-12-07 16:47:19 +00:00
Nick O'Leary
43530d4a5f
Remove tail/sentiment node tests
2018-12-07 16:45:06 +00:00
Nick O'Leary
fefabef9ee
Bump for 0.20.0.beta.2
2018-12-07 16:44:14 +00:00
Nick O'Leary
0dd40a941b
Handle 3rd party node trying to use core node-red icon
2018-12-07 16:43:06 +00:00
Nick O'Leary
24b6670bc4
Remove sentiment and tail nodes
2018-12-07 16:23:55 +00:00
Nick O'Leary
76661abbf5
Ensure changelog is copied into node-red module
2018-12-07 16:10:51 +00:00
Nick O'Leary
e9dc9eff9b
fix changelog typo
2018-12-07 15:30:20 +00:00
Nick O'Leary
2f160743bc
Add sentiment/tail external modules
2018-12-07 15:29:35 +00:00
Nick O'Leary
98616e772c
Bump dependencies
2018-12-07 14:13:59 +00:00
Nick O'Leary
bc014fec9b
Update changelog
2018-12-07 13:35:36 +00:00
Nick O'Leary
732598d9d2
Remove deprecated warning from RED.nodes for now...
2018-12-07 11:40:47 +00:00
Nick O'Leary
2979acd5b8
Bump to beta.1 version
2018-12-07 11:40:33 +00:00
Nick O'Leary
fd20cd524e
Add senitment and tail nodes to deprecated list
...
Partof #1904
2018-12-07 11:25:09 +00:00
Nick O'Leary
7b80ae42e1
removed regex in if statement
...
Co-Authored-By: arunnattarayan <arunkumarit02@gmail.com >
2018-12-06 19:20:43 +05:30
Nick O'Leary
b7012674c6
Fix Template node name field from overflowing row
2018-12-06 10:54:42 +00:00
Nick O'Leary
c76bd39280
Improve alignment of node label edit inputs
2018-12-06 10:54:23 +00:00
Nick O'Leary
09cd710f66
Add RED.notifications.hide flag
...
For use by the UI tests to suppress notifications from being displayed
in the editor. It is not for use by end-users and not exposed in any
way other than via javascript injection by the UI tests
2018-12-06 10:51:56 +00:00
Nick O'Leary
d9aadf9d98
Merge pull request #1979 from node-red/better-npm-check
...
refuse to enable palette if npm too old
2018-12-05 14:52:28 +00:00
meeki007
86716b5ffb
Tidy up Template node edit form
...
Closes #1969 #1970 #1968 #1967
2018-12-05 14:47:38 +00:00
meeki007
96e3aab3b4
update 10-switch.html - missing Font Awesome font
...
switch node was missing font ( fa-ellipsis-h )
other nodes that have been updated with property option have the icon.
rbe-node and range-node have the icon to the left of property
its time the switch-node joins its siblings in uniformity.
2018-12-05 14:27:38 +00:00
Nick O'Leary
72c78fe3ad
Merge pull request #1996 from node-red-hitachi/http-redirectList
...
Add redirectList property in msg of http-request node
2018-12-05 14:01:36 +00:00
Nick O'Leary
abe746020b
Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json
...
Co-Authored-By: dceejay <dceejay@users.noreply.github.com >
2018-12-05 13:48:39 +00:00
Nick O'Leary
8e1c15419c
API documentation updates
2018-12-05 13:00:25 +00:00
Nick O'Leary
ee47646cf7
Fix up unit tests
2018-12-04 15:59:43 +00:00
nakanishi
32d9acdaa5
minor fix
2018-12-04 15:46:46 +00:00
nakanishi
4eb3bd496b
Add redirectList property in msg of http-request node
2018-12-04 15:39:01 +00:00
Hiroyasu Nishiyama
3c4f4d27d6
Support output editting of DEBUG node using JSONata
2018-12-01 18:03:04 +01:00
Nick O'Leary
2060af8a92
Merge pull request #1987 from node-red-hitachi/fa-nonexist
...
Show arrow-in node when invalid font-awesome icon name was specified …
2018-11-30 23:13:33 +00:00
Nick O'Leary
21bf74a467
Merge pull request #1989 from TothiViseo/diffNodePropertiesOnClick
...
Speeding up display of diff for large flows
2018-11-30 23:12:33 +00:00
Nick O'Leary
677833a277
Merge pull request #1990 from node-red-hitachi/move-en-info-text
...
Move English info text under locales directory
2018-11-30 23:07:53 +00:00
Nick O'Leary
0b5e4f2dd7
Documentation updates for node-red and runtime modules
2018-11-30 23:01:09 +00:00
Arun Nattarayan
06a1f30350
Added validation while export into library
2018-11-30 20:04:12 +05:30
Hiroyasu Nishiyama
c1ff241550
add fixes for core nodes
2018-11-30 13:02:15 +00:00
Hiroyasu Nishiyama
5717f75eac
move English info text under locales directory
2018-11-30 12:50:49 +00:00
To-Thi Hoang
6b3b68a4e5
Diff panel DOM generation : Move generation of DOM for node properties to the click on the node row (instead of the diff panel opening).
2018-11-30 10:48:21 +01:00
nakanishi
8bda2d0add
Show arrow-in node when invalid font-awesome icon name was specified for default icon
2018-11-29 16:57:39 +00:00
Nick O'Leary
bc02c9573c
Generate runtime api docs in runtime module
2018-11-16 10:04:53 +00:00
jonferreira
86bb5503ab
Update 21-httprequest.html
2018-11-15 17:11:40 +00:00
jonferreira
21ce23d27d
Update 21-httprequest.js
2018-11-15 17:11:27 +00:00
jonferreira
6c75baecb2
Update messages.json
2018-11-15 17:11:11 +00:00
Nick O'Leary
8167608f04
Handle lookup of undefined property in Global context
...
Fixes #1978
2018-11-14 20:57:17 +00:00
Dave Conway-Jones
514e31aef9
refuse to enable palette if npm too old
2018-11-14 18:29:27 +00:00
Nick O'Leary
20a31a6d38
Allow a project to be loaded from cmdline even if its unknown
2018-11-14 12:51:23 +00:00
Nick O'Leary
4f0aa1bc02
Add 'open project' option to Projects Welcome dialog
2018-11-14 12:51:02 +00:00
Nick O'Leary
be0ef6e594
Merge pull request #1973 from node-red-hitachi/update-i18n-editor
...
add i18n & JP message for node config tab
2018-11-14 09:39:55 +00:00
Hiroyasu Nishiyama
93a8dbd31a
add Japanese translation of newly added message
2018-11-14 09:13:21 +09:00
Hiroyasu Nishiyama
cf931e8ddf
Merge remote-tracking branch 'upstream/dev' into update-i18n-editor
2018-11-14 09:06:05 +09:00
Hiroyasu Nishiyama
510bfbf268
remove @ from English message
2018-11-14 08:59:36 +09:00
Nick O'Leary
2f93bb969b
Merge pull request #1976 from MatthiasU/master
...
Add quotation marks for basic auth challenge
2018-11-13 23:16:41 +00:00
Nick O'Leary
27365c9f7b
Tweak conflict message
2018-11-13 23:12:39 +00:00
Nick O'Leary
b1d2e188f5
Merge pull request #1971 from node-red-hitachi/update-message-catalogue-JP
...
Update Japanese message catalogue
2018-11-13 23:10:24 +00:00
Nick O'Leary
e4f67df2a1
Add 'type already registered' check in palette editor
2018-11-13 22:36:56 +00:00
Matthias Uttendorfer
e094ea3d2a
Add quotation marks for basic auth challenge
...
This is required by RFC 2617
2018-11-13 23:05:19 +01:00
Nick O'Leary
7515b745b5
Make sure editor footer is i18n enabled
2018-11-13 15:10:19 +00:00
Hiroyasu Nishiyama
0e902a7e71
i18n & JP message for node config tab
2018-11-13 23:29:14 +09:00
Nick O'Leary
2dfb443625
Handle missing tab.disabled property
2018-11-13 13:39:06 +00:00
Nick O'Leary
e6e7747ae1
Handle missing wires prop and string x/y props on import
2018-11-13 13:29:48 +00:00
Hiroyasu Nishiyama
d80ea6c0f5
add additional Japanese translation
2018-11-13 06:55:04 +09:00
Hiroyasu Nishiyama
ac6e3988a8
merge upstream/dev
2018-11-13 06:50:01 +09:00
Nick O'Leary
bfd98f3767
Add ability to delete context values from sidebar
2018-11-12 17:04:22 +00:00
Hiroyasu Nishiyama
cc8bc1339f
update Japanese message catalogue - nodes messages.json
2018-11-12 21:09:19 +09:00
Hiroyasu Nishiyama
542d1dc600
update Japanese message catalogue - editor.json
2018-11-12 20:59:09 +09:00
Nick O'Leary
1c66c88f95
Allow copy-to-clipboard copy whole tabs
2018-11-09 09:51:55 +01:00
Nick O'Leary
dc880c672a
Make disabled flows more obvious in editor
2018-11-08 18:04:36 +01:00
Nick O'Leary
073f38c68c
Only unsub mqtt node that is being removed
2018-11-08 17:03:41 +01:00
Nick O'Leary
6a6d13b075
Allow import/export from file in editor
2018-11-05 22:32:39 +00:00
Nick O'Leary
9bb7e72c69
Merge pull request #1962 from node-red-hitachi/update-JP-catalog-for-nodes
...
Update Japanese message catalog for nodes
2018-11-03 21:36:29 +00:00
Nick O'Leary
7436e01188
Allow config nodes to be selected in sidebar and deleted
2018-11-03 21:32:38 +00:00
Hiroyasu Nishiyama
3d272d0f10
update Japanese translation of nodes
2018-11-02 23:41:48 +09:00
Hiroyasu Nishiyama
ee66a12dad
add missing message reference in websocket config node
2018-11-02 23:40:14 +09:00
Nick O'Leary
47de85b012
Merge pull request #1956 from node-red-hitachi/dev-fix_rpi_html
...
Fix html file of rpi-gpio out node
2018-11-02 14:01:28 +00:00
Nick O'Leary
f85b63a972
Merge pull request #1959 from natcl/httpTimeoutPerMsg
...
http request: add msg.requestTimeout parameter
2018-11-02 14:00:57 +00:00
Nick O'Leary
e630919ef8
Handle subflow type in refreshLabelForm
...
Part of #1955
2018-11-02 13:59:10 +00:00
Nick O'Leary
2e3fd49b40
Merge pull request #1955 from node-red-hitachi/subflow-label
...
Show port label of subflow with input port
2018-11-02 13:59:04 +00:00
Nick O'Leary
dd54af2c08
Merge pull request #1961 from node-red-hitachi/update-JP-catalog-for-editor
...
Update message catalog for Node-RED editor
2018-11-02 13:17:27 +00:00
Hiroyasu Nishiyama
737bf411ff
make projects menu use i18n
2018-11-02 21:25:14 +09:00
Hiroyasu Nishiyama
5070b1a6b5
update Japanese editor.json message
2018-11-02 21:11:09 +09:00
Hiroyasu Nishiyama
c849da92cf
fix word "reloaded" to "reverted"
2018-11-02 21:10:29 +09:00
Nick O'Leary
6a4e7201fe
Disable subflow toolbar when multiple tabs are selected
2018-11-02 09:56:43 +00:00
Nick O'Leary
ffa6dea452
Attach server object to the right part of runtime api
2018-11-02 09:44:24 +00:00
Nathanaël Lécaudé
30c1d31a99
http request: coding style
2018-11-01 17:32:25 -04:00
Nathanaël Lécaudé
6934a2d5c3
http request: add msg.requestTimeout parameter
2018-11-01 17:27:04 -04:00
Masae Okada
b9906ced9a
fix html file of rpi-gpio out node
2018-11-01 18:34:38 +09:00
nakanishi
5500b4fe35
Show port label of subflow with input port
2018-11-01 13:35:13 +09:00
Nick O'Leary
2353f12cd6
Add @node-red/nodes to core package dependency
2018-10-31 14:54:00 +00:00
Nick O'Leary
1b8cab0f58
Update individual module versions
2018-10-31 13:57:52 +00:00
Nick O'Leary
869c1d4ea4
Merge pull request #1948 from node-red-hitachi/typo-jp
...
Fix typo in Japanese
2018-10-31 13:52:21 +00:00
Nick O'Leary
9b938195a8
Merge pull request #1949 from node-red-hitachi/uitest-timing
...
Fixed UI test problems caused by timing
2018-10-31 13:52:01 +00:00
Nick O'Leary
bb3c52821a
Bump chromedriver again
2018-10-31 11:56:49 +00:00
Nick O'Leary
81c8ae95e2
Bump package dependencies
2018-10-31 11:52:43 +00:00
Nick O'Leary
6098570ab7
Merge branch 'master' into dev
2018-10-31 11:48:52 +00:00
nakanishi
d033c24fe5
Fixed UI test problems caused by timing
2018-10-31 09:27:33 +09:00
nakanishi
4995e52dd6
Fix typo in Japanese
2018-10-31 09:03:42 +09:00
Nick O'Leary
c685a31056
Backlevel chromedriver version due to bad semver
...
Chromedriver 2.41.1 cannot be installed on Node 4.
2018-10-30 23:27:44 +00:00
Nick O'Leary
c32ce3bb7b
Bump for 0.19.5
2018-10-30 22:46:42 +00:00
Nick O'Leary
c0d8f904b3
Support ctrl-click selection of flow tabs
2018-10-30 22:18:16 +00:00
Dave Conway-Jones
8dba0dac9e
Fix UDP in test
2018-10-29 22:23:03 +00:00
Nick O'Leary
d0bf4a5329
Merge branch 'pr_1947' into dev
2018-10-29 21:49:43 +00:00
Nick O'Leary
7b28ba6078
Allow left-hand node button to act as toggle
2018-10-29 20:55:35 +00:00
DurandA
e6466c3c3a
Add auto-detect and base64 output to mqtt node
...
Fixes #1912
2018-10-29 15:11:20 +01:00
Nick O'Leary
d96d3064d6
Give function node editor a bit more vertical space
2018-10-27 09:56:54 +01:00
Nick O'Leary
d4589ed7e3
Hide tooltips when a node is deleted
2018-10-26 23:17:09 +01:00
Nick O'Leary
5cfc52ea18
Support dbl-click in tab bar to add new flow in position
2018-10-26 23:09:41 +01:00
Nick O'Leary
3fcacd8339
Allow actions to have an argument
2018-10-26 23:09:41 +01:00
Nick O'Leary
49fe13f22f
Fix duplicate subflow detection on import
2018-10-26 23:09:41 +01:00
Nick O'Leary
4d27ba1bda
Merge pull request #1945 from node-red/UDP-Node-fixes
...
Udp node socket binding fixes
2018-10-26 21:37:39 +01:00
Nick O'Leary
b715ac8bf4
Add more test coverage around settings apis
2018-10-26 21:22:58 +01:00
Dave Conway-Jones
d96049416f
csv node - boost / fix tests for new regex
2018-10-26 09:53:33 +01:00
Dave Conway-Jones
1c4df785fd
csv node - better regex for number detection
2018-10-26 09:24:56 +01:00
Nick O'Leary
8f94c5efeb
Increase unit test coverage context/exec modules
2018-10-25 15:37:46 +01:00
Nick O'Leary
7cffa1ece7
Fix istanbul test coverage generation
2018-10-25 13:36:57 +01:00
Nick O'Leary
1ac18d7b33
Remove restriction on upgrading non-local modules
2018-10-25 13:05:57 +01:00
Nick O'Leary
1111d2518b
Add pack-modules grunt task
2018-10-25 11:18:13 +01:00
Nick O'Leary
ba7416450e
Merge pull request #1942 from node-red-hitachi/dev-uitest-place
...
Automatically adjust node deployment
2018-10-25 09:56:33 +01:00
Nick O'Leary
3b02d36acb
Merge pull request #1943 from node-red-hitachi/dev-fixEditorApiName
...
fix typo of editor-api package name
2018-10-25 09:56:04 +01:00
nakanishi
c2aa9a5337
Automatically adjust node deployment
2018-10-25 10:19:51 +09:00
Nick O'Leary
70fb181b7b
Add more ui tooltips
2018-10-24 22:57:16 +01:00
Nick O'Leary
e64f4e3f39
Merge branch 'master' into dev
2018-10-24 16:42:21 +01:00
Nick O'Leary
e4d518749f
Remove deprecated Buffer constructor usage
...
Fixes #1709
2018-10-24 13:45:34 +01:00
Nick O'Leary
7dcca2c907
Add import notification with info on what has been imported
...
Closes #1862
2018-10-24 11:07:48 +01:00
Nick O'Leary
4a027b8a79
Fix-up json error messages
2018-10-24 10:03:58 +01:00
Dave Conway-Jones
c2c6e6080e
remove extraneous brace from udp node
2018-10-23 23:27:49 +01:00
Nephiel
4f87ebdf0a
Recognize pip installs of RPi.GPIO ( #1934 )
...
Fixes "[warn] rpi-gpio : Cannot find Pi RPi.GPIO python library" when it is installed with pip using the default prefix (/usr/local).
2018-10-23 23:20:44 +01:00
Nick O'Leary
09abec15b1
Show error details when trying to import invalid json
2018-10-23 23:07:31 +01:00
Dave Conway-Jones
33d0d12bc8
More resilient binding to correct port for udp, give input side priority
2018-10-23 23:04:36 +01:00
Dave Conway-Jones
f488869635
clear tcpget node status if user changes target per message
2018-10-23 18:59:23 +01:00
Nick O'Leary
6382564727
Make exec node test more tolerant of multiple messages being received
2018-10-23 11:33:26 +01:00
Nick O'Leary
7476b4c7db
Merge pull request #1937 from node-red/hide-label
...
Adds the ability to hide a node's label
2018-10-23 11:01:04 +01:00
Nick O'Leary
daf3e6a47a
Merge branch 'dev' into hide-label
2018-10-23 10:55:27 +01:00
Nick O'Leary
19b6cba398
Merge pull request #1941 from node-red-hitachi/master-batch
...
Prevent invalid value for batch node property
2018-10-23 10:47:48 +01:00
Nick O'Leary
5bd3d12c7b
Merge pull request #1940 from node-red-hitachi/import-invalid-fa
...
Show default icon when invalid font-awesome icon was specified
2018-10-23 10:09:45 +01:00
nakanishi
c9db74ebca
Show default icon when non-existent font-awesome icon was specified
2018-10-23 16:30:56 +09:00
TAKAYA IDE
f8a88cc1a4
fix typo of editor-api package name
2018-10-23 13:21:59 +09:00
Nick O'Leary
4a081bf125
Update httpServerOptions doc in settings.js
2018-10-22 23:00:00 +01:00
TJKoury
8a68a3e861
Update editor options
...
http://expressjs.com/en/api.html#app.settings.table
Allow for setting individual options on the editor express app. This app is not available through the embedded interface when using Node-RED within another application.
Update settings with editor options
Allow editor express app options to be set in settings.js
Update settings.js
formatting
Update settings.js
Co-Authored-By: TJKoury <TJKoury@gmail.com >
editorOptions -> httpServerOptions
2018-10-22 22:54:44 +01:00
Akash Mugu
7a9dd9ad9c
Exec: Add unit tests - Preserve existing properties on msg object
2018-10-22 16:44:16 +01:00
Akash Mugu
6c01d0f9d8
Exec: Preserve existing properties on msg object
2018-10-22 16:44:16 +01:00
Nick O'Leary
45a53ac168
Merge pull request #1936 from node-red-hitachi/dev-fixtypoenglish
...
Fix typo in English messages
2018-10-22 16:39:10 +01:00
Nick O'Leary
dabb2790c9
Fix up merge of auth token handling
2018-10-22 16:21:02 +01:00
Nick O'Leary
c66c5ea53c
Add configurable option for showing node label
2018-10-22 15:38:43 +01:00
Nick O'Leary
0a98ba6985
Tidy up appearance tab in edit dialog
2018-10-22 14:41:47 +01:00
Nick O'Leary
bb8e491856
Merge branch 'master' into dev
2018-10-22 11:02:23 +01:00
Kazuhito Yokoi
5590d31336
Fix typo
2018-10-22 18:52:34 +09:00
Nick O'Leary
dc7e48dc53
Merge branch 'dev' into pr_1789
2018-10-22 10:46:47 +01:00
Kazuhito Yokoi
371d357218
Fix typo in English messages
2018-10-22 18:21:51 +09:00
Nick O'Leary
f22960ad59
Avoid http redirects as Safari doesn't reuse Auth header
...
Fixes #1903
2018-10-19 14:03:22 +01:00
Nick O'Leary
34ead436b0
Merge pull request #1913 from node-red-hitachi/dev-httpproxy
...
Add http-proxy for http-request node.
2018-10-19 11:10:26 +01:00
Nick O'Leary
808d5a75ae
Merge pull request #1922 from node-red-hitachi/dev-uitest-split
...
Followed runtime-editor split for UI test
2018-10-19 11:03:48 +01:00
Nick O'Leary
55e897faac
Merge pull request #1927 from node-red-hitachi/faicon-height
...
Adjust the fa icon position for the node with height
2018-10-19 11:03:34 +01:00
Nick O'Leary
5a5dda21e4
Merge pull request #1928 from kazuhitoyokoi/dev-fixmsgcatalog
...
Fix reference bug in message catalog
2018-10-19 11:02:17 +01:00
Nick O'Leary
f085655daa
Merge pull request #1929 from kazuhitoyokoi/dev-updatejapanesemessages
...
Update Japanese message catalog
2018-10-19 10:59:27 +01:00
Nick O'Leary
5cf9c07b73
Merge pull request #1931 from node-red-hitachi/master-typedinput
...
Fix unnecessary TypedInput element
2018-10-19 10:57:13 +01:00
Nick O'Leary
9751089807
Tidy up ace tooltip styling
2018-10-19 10:42:39 +01:00
HirokiUchikawa
211eeea05d
Set min value of properties and spinners for batch
2018-10-19 17:52:57 +09:00
Nick O'Leary
b2516117f5
Add event log to editor
...
Shows output from git pull/push and npm install in the editor
2018-10-18 23:49:47 +01:00
Nick O'Leary
2816b3edae
Add tooltip to flow add button
2018-10-17 13:45:57 +01:00
Nick O'Leary
242398c724
Slow down sidebar control appearance
...
Also hides WIP action info panel buttons
2018-10-17 13:18:08 +01:00
Nick O'Leary
289583325d
Allow palette to be hidden
2018-10-17 11:03:09 +01:00
Kazuhito Yokoi
0f793ebd65
Update Japanese message catalog
2018-10-17 18:03:21 +09:00
Kazuhito Yokoi
ce014044ea
Fix reference bug in message catalog
2018-10-17 15:43:09 +09:00
nakanishi
1064e531f0
Adjust the fa icon position for the node with height
2018-10-17 10:31:47 +09:00
Nick O'Leary
dc3128fb3e
Add node module into to sidebar and palette popover
2018-10-16 14:05:23 +01:00
HirokiUchikawa
51a3521834
Fix that unnecessary optionMenu remains
2018-10-16 19:48:50 +09:00
Nick O'Leary
d40aa7260f
Mark all newly imported nodes as changed
2018-10-16 11:36:46 +01:00
Nick O'Leary
fc8c4063f2
Add markdown toolbar to flow description editor
2018-10-16 11:36:24 +01:00
Yuma Matsuura
f204c77ba3
Modify require paths
2018-10-16 12:38:39 +09:00
Nick O'Leary
7a8545273c
Merge branch 'master' into dev
2018-10-15 11:37:14 +01:00
Nick O'Leary
6a9575e9f4
Merge pull request #1894 from node-red-hitachi/fix-overlapping-file-node-execution
...
fix multiple input message processing of file node
2018-10-15 03:15:05 -07:00
Nick O'Leary
c13e79e9c3
Merge pull request #1915 from kazuhitoyokoi/dev-addtestcases4themejs
...
Update test cases in theme_spec.js
2018-10-15 02:46:09 -07:00
Nick O'Leary
62088259ae
Merge pull request #1924 from imZack/patch-1
...
Add missing comma
2018-10-15 02:39:29 -07:00
YuLun Shih
925ebcc06e
Add missing comma
2018-10-12 14:50:45 -07:00
Nick O'Leary
a20eaf852f
Merge pull request #1918 from node-red-hitachi/fix-i18n-for-safari
...
Fix i18n handling for ja-JP locale on Safari/MacOS
2018-10-11 14:21:20 -07:00
Arnaud Durand
84a6a5235e
Add output type to mqtt node
...
Fixes #1912
2018-10-11 21:29:19 +02:00
Yuma Matsuura
8235b7b96d
Followed runtime-editor split
2018-10-11 18:16:08 +09:00
Nick O'Leary
0376e0d711
Allow a node label to be hidden
2018-10-08 16:25:11 +01:00
Nick O'Leary
6bd0682e8c
Better markdown editor preview
2018-10-07 14:24:32 +01:00
Nick O'Leary
e24c22f9be
Merge branch 'master' into dev
2018-10-07 12:02:29 +01:00
Nick O'Leary
673a6bbe2c
Do not disable context sidebar during node edit
...
Fixes #1921
2018-10-07 11:59:43 +01:00
Nick O'Leary
cf32a33984
Don't allow virtual links to be spliced
...
Fixes #1920
2018-10-07 11:55:43 +01:00
Nick O'Leary
f4ca8cd738
Merge branch 'master' into dev
2018-10-07 11:45:43 +01:00
Nick O'Leary
98c1bc276d
Merge project package changes to avoid overwritten changes
2018-10-07 11:37:50 +01:00
Nick O'Leary
629536b562
Handle manually added project deps that are unused
...
Fixes #1908
2018-10-07 11:11:30 +01:00
Nick O'Leary
422109868d
Add markdown toolbar to node description editor
2018-10-06 23:14:04 +01:00
Nick O'Leary
bcc7834650
Add markdown formatting toolbar
2018-10-05 17:56:54 +01:00
Nick O'Leary
1161e4f6c1
Add tooltips to debug elements
2018-10-05 17:56:42 +01:00
Hiroyasu Nishiyama
14435c24ac
fix i18n handling for ja-JP locale on Safari/MacOS
2018-10-05 21:16:57 +09:00
Nick O'Leary
22ede79799
Add node body tooltip - limit to link nodes for now
2018-10-03 15:40:05 +01:00
Nick O'Leary
6cb3699ee9
Decrease opacity of flow-navigator
2018-10-03 14:13:36 +01:00
Nick O'Leary
6c65d3830e
Move editor locales into editor-client package
2018-10-03 14:08:16 +01:00
Nick O'Leary
cdcf39fe82
Update tooltip style and add to some editor buttons
2018-10-03 14:02:07 +01:00
Hiroyasu Nishiyama
1441042458
update close & input handling of File node
2018-10-03 21:29:28 +09:00
Kazuhito Yokoi
71403e5acd
Update test cases in theme_spec.js
2018-10-03 13:39:11 +09:00
Osamu Katada
3d70bc722a
Add http-proxy for http-request node.
2018-10-03 09:58:25 +09:00
Nick O'Leary
b2f50da322
Create custom ace javascript mode to handle Function sig
...
Fixes #1911
2018-10-02 23:01:34 +01:00
Dave Conway-Jones
2a50c66df8
Merge branch 'dev' of https://github.com/node-red/node-red into dev
2018-10-02 18:56:22 +01:00
Dave Conway-Jones
8de47c0a6e
delay node: report queue activity wehn in by topic mode
2018-10-02 18:56:17 +01:00
Nick O'Leary
023391e22a
Merge pull request #1899 from node-red-hitachi/fa-icon
...
Added font-awesome icons to user defined icon
2018-10-02 14:59:13 +01:00
Nick O'Leary
a4ddfd404f
Merge pull request #1906 from node-red/Allow-button-to-be-invisible
...
If debug set not to go to sidebar hide the button
2018-10-02 14:58:41 +01:00
Nick O'Leary
7307e558cb
Merge pull request #1910 from kazuhitoyokoi/dev-updatejapanesemessages
...
Update Japanese message catalog
2018-10-02 14:57:31 +01:00
Nick O'Leary
47356f5221
Merge pull request #1909 from kazuhitoyokoi/dev-updatemessagecatalog
...
Add necessary p tag into English message catalog
2018-10-02 14:55:14 +01:00
Nick O'Leary
c6f8950b64
Merge pull request #1905 from node-red/ace-update
...
Update ACE to 1.4.1-src-min-noconflict
2018-10-02 14:54:52 +01:00
Hiroyasu Nishiyama
58c8311d56
make close handler argument only one
2018-10-02 20:37:30 +09:00
Kazuhito Yokoi
071f4eacde
Update Japanese message catalog
2018-10-02 18:41:33 +09:00
Kazuhito Yokoi
f96bdc578e
Add necessary </p> tag into English message catalog
2018-10-02 18:30:45 +09:00
Nick O'Leary
e03a0fffa9
Merge pull request #1907 from amilajack/patch-2
...
Change repo badge to point to master branch
2018-10-01 21:00:41 +01:00
Amila Welihinda
8e2c12f8d9
Change repo badge to point to master branch
2018-10-01 12:50:03 -07:00
Dave Conway-Jones
114420e8fd
If debug set not to go to sidebar hide the button
...
Add button.visible function to view.js
Make status independant of tosidebar setting
2018-10-01 12:59:06 +01:00
nakanishi
ba49b2c681
Hide brand icons of font-awesome from icon tile
2018-10-01 18:39:43 +09:00
Nick O'Leary
5391fc962a
Update ACE to 1.4.1-src-min-noconflict
2018-09-30 21:28:44 +01:00
Hiroyasu Nishiyama
7cec7ae608
invoke callbacks if async handler is specified
2018-09-30 22:30:19 +09:00
Nick O'Leary
d6211af5bd
Cache node locales by language
2018-09-28 16:58:06 +01:00
Nick O'Leary
ef114e31c2
Look for core-node language files in the right location
2018-09-28 16:48:25 +01:00
Nick O'Leary
fd74a03479
Fix grunt dev monitoring of src
2018-09-28 16:21:49 +01:00
Nick O'Leary
428bf634e9
Merge pull request #1895 from node-red/Tidy-core-nodes
...
Tidy core nodes
2018-09-28 13:20:58 +01:00
Nick O'Leary
c49f722e4f
Merge pull request #1891 from camlow325/resolve-example-path-for-windows-support
...
Resolve path when sending example file for Windows support
2018-09-28 13:18:53 +01:00
Nick O'Leary
d4d95a43b6
Merge pull request #1900 from kazuhitoyokoi/master-addtestcases4settings.js
...
Add test cases for red/api/editor/settings.js
2018-09-28 13:17:32 +01:00
nakanishi
8789d983ed
Show icon element with either icon image or fa-icon
2018-09-28 17:07:55 +09:00
Nick O'Leary
10faa96bcf
Exclude non-testable .js files from the unit tests
2018-09-27 15:09:49 +01:00
Nick O'Leary
42d31b9ee6
Move default settings back into node-red package
2018-09-27 15:01:10 +01:00
Dave Conway-Jones
c9dc9b4fe9
fix websocket feedback test - now doesn't spin
2018-09-26 16:03:22 +01:00
Hiroyasu Nishiyama
a345089c8b
wait closing while penging messages exist
2018-09-26 12:39:12 +09:00
Kazuhito Yokoi
67c268e13d
Add test cases for red/api/editor/settings.js
2018-09-26 10:22:01 +09:00
nakanishi
f13e02a1a9
Added font-awesome icons to user defined icon
2018-09-26 09:16:15 +09:00
Nick O'Leary
d887ab126b
Add --safe mode flag to allow starting without flows running
2018-09-25 11:20:50 +01:00
Dave Conway-Jones
1a7868159a
Split/join - add msg.reset to info panel
2018-09-25 08:43:53 +01:00
Dave Conway-Jones
c6a1c8e8c4
Fix corruption of websocket _session
2018-09-25 08:40:29 +01:00
Nick O'Leary
fba339f666
Prevent github from suppressing diffs
2018-09-24 22:02:18 +01:00
Nick O'Leary
09d41a9708
Merge pull request #1896 from node-red/delay-flush
...
Delay node - add msg.flush option
2018-09-24 21:53:28 +01:00
Nick O'Leary
ce85c8d986
Ensure all palette categories are opened properly
...
Closes #1893
2018-09-24 21:15:39 +01:00
Dave Conway-Jones
4630a162af
Add msg.flush mode to delay node
...
to spew out contents rather than dump
(as per Trello item)
2018-09-23 17:31:11 +01:00
Dave Conway-Jones
fde157ff50
remove cr lf from incoming filename so easier to pass in results from exec node.
...
and add test
2018-09-23 10:36:50 +01:00
Dave Conway-Jones
51f875c02d
reset join without sending part array
...
(thought this had been fixed already ?)
2018-09-23 10:35:47 +01:00
Dave Conway-Jones
f0957c838f
add watched filename to msg.filename so can feed direct to file in node
2018-09-23 10:35:18 +01:00
Dave Conway-Jones
f5bebef37f
websocket - preserve _session on msg but don't send as part of wholemsg
2018-09-23 10:34:22 +01:00
Nick O'Leary
80a15089b4
Add markdown-preview to expandable editor for ndoe descriptions
2018-09-21 17:21:04 +01:00
Jeremy Barlow
cb35604ef5
Resolve path when sending example file for Windows support
...
Previously, when trying to import an example into the flow editor on
Windows, the load attempt would fail with an HTTP 404 error in the
browser client, with a `TypeError: path must be absolute or specify
root to res.sendFile` error being written to the Node-RED log. This was
due to the path being passed to the `res.sendFile` function not being
fully-qualified (for example, `\Users\myuser\...\example.json`).
With the changes in this commit, the path to the example file is
resolved to a fully-qualified path before being passed into the
`res.sendFile` call. For example, a path on Windows of
`\Users\myuser\...\example.json` would be transformed to
`C:\\Users\\myuser\\...\\example.json` before being passed along to the
`sendFile` function. This change allows the file to be loaded and sent
properly to the browser client and for the embedded flows in the example
to be loaded in the flow editor.
2018-09-21 08:15:00 -07:00
Hiroyasu Nishiyama
61681bb1d6
lift processQ function
2018-09-21 23:02:45 +09:00
Nick O'Leary
8edf399631
Add set-package-version script to bump all version numbers
2018-09-21 14:27:56 +01:00
Nick O'Leary
d5ffd1432f
Fix up version tests to handle tagged releases
2018-09-21 14:06:16 +01:00
Nick O'Leary
e73bf03615
Bump package to 0.20.0-alpha.0 to avoid accidental publish
2018-09-21 13:58:38 +01:00
Nick O'Leary
665fe0e01e
Merge pull request #1890 from node-red/repackage
...
Restructure Node-RED into multiple modules
2018-09-21 13:50:31 +01:00
Hiroyasu Nishiyama
1a226c4dc6
fix multiple input message processing of file node
2018-09-21 21:07:44 +09:00
Nick O'Leary
a866aa9c18
Merge branch 'dev' into repackage
2018-09-21 11:47:34 +01:00
Nick O'Leary
d9089b798c
Update info side bar with node description section
2018-09-21 11:38:48 +01:00
Nick O'Leary
d34ebd4d1b
Fix i18n api changes in runtime/nodes
2018-09-18 10:31:44 +01:00
Hideki Nakamura
716aa74004
Fix code not to change settings.adminAuth
2018-09-17 10:18:36 -07:00
Nick O'Leary
2aae76c9bc
Merge branch 'dev' into repackage
2018-09-17 14:49:11 +01:00
Nick O'Leary
5fc3ca0e23
Merge pull request #1884 from node-red-hitachi/dev-redirect-bugfix
...
Prohibit http-request node from sending cookies to the different domain when redirected
2018-09-17 14:15:18 +01:00
Dave Conway-Jones
5bb27109bf
Config search ( #1880 )
...
* Let nodes be findable direct from config node info
* add link to search as <a> tag
* don't expose onclick in sidebar
2018-09-17 11:35:00 +01:00
Nick O'Leary
7406ab6017
Merge branch 'master' into dev
2018-09-17 11:33:36 +01:00
Nick O'Leary
08fccc4e77
Update for 0.19.4
2018-09-17 11:26:06 +01:00
Nick O'Leary
c1d50e82e1
Fix race condition in non-cache lfs context
...
Fixes #1888
2018-09-17 10:31:00 +01:00
Nick O'Leary
9777af7cb5
LocalFileSystem Context: Remove extra flush code
2018-09-16 22:04:09 +01:00
Hiroki Uchikawa
fd86035865
Prevent race condition ( #1889 )
...
* Make pending Flag to be deleted after write process complete.
* Prevent executing write process until the previous process is completed
* Fix to prevent file write race condition when closing file context
* Make flushing rerun if pendingWrites was added
2018-09-16 21:15:23 +01:00
Nick O'Leary
a8ec032553
Allow context store name to be provided in the key
...
For nodes that get/set context, when multiple stores are configured
they will not know to parse the store name from the key. So they
will pass the store name in the key, such as #:(store)::key.
Currently that will cause that full string to be used as the key
and the default context store used - which is wrong.
The code now parses out the store name from the key if it is set -
athough if the call to get/set does include the store argument, it
will take precedence.
This only applies when the key is a string - it doesn't apply when
an array of keys is provided.
2018-09-14 23:21:05 +01:00
Nick O'Leary
66ee27c5fa
Switch node: only use promises when absolutely necessary
...
Fixes a significant performance regression introduced when the
node was made async-only with the persistent context work.
2018-09-14 14:03:36 +01:00
Nick O'Leary
17a737ca88
Fix dbl-click handling on webkit-based browsers
...
d3.event.buttons is not as widely supported as I thought. Can
change this one instance as it is inside a click handler so
d3.event.button will be defined instead
2018-09-14 11:09:56 +01:00
Nick O'Leary
f30ff7a2fd
Redesign node edit dialog to tabbed style
2018-09-14 10:54:24 +01:00
Hideki Nakamura
c102828a99
Add some test cases
2018-09-11 10:36:54 -07:00
Hideki Nakamura
cb0e631b85
Update the implementation according to the Design notes
2018-09-11 09:44:18 -07:00
Nick O'Leary
75e7c0e50d
Ensure context.flow/global cannot be deleted or enumerated
2018-09-10 22:30:51 +01:00
Osamu Katada
62b2adab78
Bugfix. http-request node
2018-09-10 10:47:05 +09:00
Nick O'Leary
fc0cf1ff51
Handle context.get with multiple levels of unknown key
...
Fixes #1883
2018-09-09 23:47:31 +01:00
Nick O'Leary
0f4d46671f
Fix global.get("foo.bar") for functionGlobalContext set values
2018-09-09 11:07:44 +01:00
Kazuhito Yokoi
048f9c0294
Fix node color bug ( #1877 )
...
* Fix node color bug
* Add color property into sample node
* Revert view.js
* Add color handling into getNodeColor()
2018-09-08 22:41:38 +01:00
Nick O'Leary
0529eed0c9
Merge pull request #1856 from kazuhitoyokoi/master-nodedescriptionproperty
...
Add node description property UI
2018-09-07 12:23:41 +01:00
Nick O'Leary
ca77842b5b
Merge pull request #1857 from cclauss/patch-1
...
Define raw_input() in Python 3 & fix time.sleep()
2018-09-06 22:59:48 +01:00
Nick O'Leary
8c169dc82b
Add 'restart flows' option to deploy menu
2018-09-06 15:27:01 +01:00
Nick O'Leary
195342f7db
Fix grunt dev actions for json files
2018-09-06 15:16:43 +01:00
Nick O'Leary
cfaaef7860
Merge branch 'dev' into repackage
2018-09-06 10:31:36 +01:00
Nick O'Leary
e939d5e96e
Merge branch 'master' into dev
2018-09-06 10:28:07 +01:00
Hiroyasu Nishiyama
6fa8b7f5f1
fix persistable context handling of sort node & existing error in testcases
2018-09-05 16:04:12 +01:00
Nick O'Leary
a2d03c14ae
Update CHANGELOG for 0.19.3
2018-09-05 09:49:09 +01:00
Dave Conway-Jones
c667a0e74c
debug node - show ring at start until first msg
2018-09-05 09:45:34 +01:00
Dave Conway-Jones
8123828113
improve split node accumulation test to include early complete
2018-09-05 08:36:56 +01:00
Dave Conway-Jones
72b8dbb45b
Split node - fix complete to send msg for k/v object
...
and update info to try to clarify.
2018-09-04 22:54:28 +01:00
Nick O'Leary
9f4628cf0a
Merge pull request #1873 from node-red-hitachi/jp-fix-message
...
Fix message catalogue for projects
2018-09-04 21:59:26 +01:00
Nick O'Leary
ec4d24af91
Merge pull request #1872 from node-red-hitachi/uitest-mqtt
...
Add UI testing code for MQTT node
2018-09-04 21:58:29 +01:00
Dave Conway-Jones
7703875740
tidy split node merged object key typed input
2018-09-04 17:41:14 +01:00
Nick O'Leary
6442bb8a13
Set the JavaScript editor to full-screen
2018-09-04 13:30:06 +01:00
Nick O'Leary
51373f59e2
Merge branch 'dev' into repackage
2018-09-04 11:41:03 +01:00
Nick O'Leary
6cc56879d3
Merge branch 'master' into dev
2018-09-04 11:37:45 +01:00
Nick O'Leary
f29d7c9252
Fixup localfilesystem registry test
2018-09-04 11:37:04 +01:00
Nick O'Leary
2f7f53ed96
Filter global modules installed locally
...
If a module is found both locally and globally installed, the local
copy will take precedence. This will allow a user to upgrade a
node module that they may not otherwise be able to touch
2018-09-04 11:26:05 +01:00
Hiroyasu Nishiyama
da89460830
Update message catalogue for Projects
2018-09-04 15:08:43 +09:00
Yuma Matsuura
9e006d42bb
Add UI testing code for mqtt node
2018-09-04 14:13:34 +09:00
Nick O'Leary
4c02bab4ee
Merge branch 'dev' into repackage
2018-08-31 21:20:21 +01:00
Nick O'Leary
5800ed41f1
Handle expected closed status event in gpio tests
2018-08-31 21:19:26 +01:00
Nick O'Leary
18b5b4901f
Merge branch 'dev' into repackage
2018-08-31 21:18:23 +01:00
Nick O'Leary
368418cf56
Merge branch 'master' into dev
2018-08-31 21:02:20 +01:00
Nick O'Leary
94031a52a5
Add svg to permitted icon extension list
2018-08-31 21:02:09 +01:00
Dave Conway-Jones
d67f91e7ed
debug node - indicate status all the time if selected to do so
2018-08-31 16:31:08 +01:00
Nick O'Leary
3e6cadf3d8
Merge branch 'master' into dev
2018-08-31 11:26:54 +01:00
Nick O'Leary
f37697c4fb
Merge pull request #1870 from natcl/json-schema
...
JSON node: fix schema validation for obj -> obj or str -> str
2018-08-31 11:25:31 +01:00
Nick O'Leary
0c5a76b391
Add env.get to Function node
2018-08-30 22:42:30 +01:00
Dave Conway-Jones
69448c7329
pi nodes - increase test coverage slightly
2018-08-30 20:54:03 +01:00
Dave Conway-Jones
8e9815fb91
TCP-request node - only write payload
...
to close #1869
2018-08-30 20:47:39 +01:00
Nick O'Leary
bf1afcfe8a
Update grunt release task for new package structure
...
The task still creates .dist/node-red-xyz.zip as an archive
of the full release. It no longer creates .dist/node-red-xyz/ as
a directory containing the to-be-published module. Instead
npm publish should be run in each /packages/node_modules/**
directory in turn.
2018-08-30 15:28:24 +01:00
Nick O'Leary
2980818f0d
Add inter-module dependencies to package.json
2018-08-30 12:56:31 +01:00
Nick O'Leary
9da58dbaf0
Move index.mst out of npmignored src dir
2018-08-30 12:44:33 +01:00
Nathanaël Lécaudé
4cdd7978cf
JSON schema: remove unused function
2018-08-29 13:40:37 -04:00
Nathanaël Lécaudé
40d81358f4
JSON schema: perform validation when obj -> obj or str -> str
2018-08-29 13:36:28 -04:00
Nathanaël Lécaudé
c7b62aed91
JSON schema: add draft-06 support (via $schema keyword)
2018-08-29 12:20:04 -04:00
Nick O'Leary
55d71659f8
Merge branch 'master' into repackage
2018-08-29 09:55:40 +01:00
Stefan Machmeier
c0e7d6d826
Mqtt proxy configuration for websocket connection, #1651 .
2018-08-29 09:53:07 +01:00
Nick O'Leary
f809377de8
Merge pull request #1854 from kazuhitoyokoi/master-fixtypointestcase4functionnode
...
Fix typo in test case
2018-08-28 21:19:48 +01:00
Nick O'Leary
9767bd9697
Merge pull request #1860 from node-red-hitachi/uitest-refactoring
...
Refactored UI testing code following a design note
2018-08-28 21:06:36 +01:00
Nick O'Leary
3a55528552
Merge pull request #1861 from SPIRIT-21/master
...
Allows MQTT Shared Subscriptions for MQTT-In core node
2018-08-28 21:04:53 +01:00
Nick O'Leary
56197ffe3a
Merge pull request #1851 from t4skforce/patch-1
...
fixed some linting issues
2018-08-28 20:58:51 +01:00
Nick O'Leary
0f0d0c046c
Merge pull request #1853 from node-red-hitachi/fix-icon-spec-for-typedInput
...
Fix use of HTML tag or CSS class specification as icon of TypedInput
2018-08-28 20:44:06 +01:00
Nick O'Leary
8d5b546763
Update module package versions
2018-08-28 13:57:04 +01:00
Nick O'Leary
19c9707d62
Get jdsoc tagging right for util module
2018-08-28 13:45:38 +01:00
nakanishi
ecc4973645
Fixed the problems that were caused by timing issue
2018-08-27 17:34:04 +09:00
Nick O'Leary
79e004a040
Merge branch 'master' into repackage
2018-08-24 14:13:09 +01:00
Nick O'Leary
3169f93cc2
Bump for 0.19.2
2018-08-24 13:25:02 +01:00
Nick O'Leary
c1a1a73599
Ensure node default color is used if palette.theme has no match
2018-08-24 13:08:49 +01:00
Nick O'Leary
48308db45b
Rework jsdoc format and pull in jsdoc-nr-template
2018-08-24 13:02:06 +01:00
Nick O'Leary
3f37e96f78
Restore subflow category ui lost in the merge
2018-08-23 21:00:19 +01:00
Christopher Hiller
db1b0ccb79
fix lost messages / properties in TCPRequest Node; closes #1863 ( #1864 )
...
- Added some more checks around this.
- We're choosing to only use the latest message when sending, which is
effectively what was happening before the queue implementation.
2018-08-23 08:50:51 +01:00
Lars Oldiges
df161ce672
Allows MQTT Shared Subscriptions for MQTT-In core node
2018-08-22 13:20:49 +02:00
Nick O'Leary
4e21a5e557
Start documenting apis
2018-08-22 10:00:03 +01:00
nakanishi
72fe30892e
Refactor UI testing code following a design note
2018-08-22 14:36:30 +09:00
Nick O'Leary
19fa69811b
Add LICENSE to each package
2018-08-21 13:57:59 +01:00
Nick O'Leary
0ddb4c625d
Add README files to each package
2018-08-21 13:43:11 +01:00
Nick O'Leary
d373105b32
Fix typo in template.html
2018-08-21 13:42:51 +01:00
Nick O'Leary
36dc1d2f97
Move .npmignore into editor-client package
2018-08-20 22:04:29 +01:00
Nick O'Leary
11fa2cb35d
Fixup registry/lib/localfilesystem_spec after locales move
2018-08-20 21:22:47 +01:00
Nick O'Leary
546f07156f
Move node locales and tidy up package.json files
2018-08-20 20:31:29 +01:00
Nick O'Leary
7e7117632d
Fixup grunt docs task
2018-08-20 17:03:38 +01:00
Nick O'Leary
954226da0d
Fix up promises in tests, remove package-lock
2018-08-20 16:45:50 +01:00
Nick O'Leary
38a1291c5b
Fixup all the tests
2018-08-20 16:17:24 +01:00
Nick O'Leary
998bf92ad4
Move tests to reflect package structure
2018-08-19 11:28:03 +01:00
Nick O'Leary
974ba40f28
Add scripts/verify-package-dependencies.js
2018-08-19 00:44:17 +01:00
Nick O'Leary
e57d8ba0ef
pull out editor-client and editor-api
2018-08-17 22:10:54 +01:00
Nick O'Leary
6b79c6135f
Merge branch 'master' into repackage
2018-08-16 20:43:15 +01:00
Nick O'Leary
28b311b7ed
Improve error reporting from context plugin loading
2018-08-16 14:36:11 +01:00
Nick O'Leary
dcda513901
Prevent no-op edit of node marking as changed due to icon
2018-08-16 10:54:27 +01:00
Nick O'Leary
72c400794c
Change node must handle empty rule set
2018-08-16 09:41:43 +01:00
Nick O'Leary
a747d8c2d5
Move core node icons into node package
2018-08-15 23:12:51 +01:00
Nick O'Leary
a3aec6b939
Merge branch 'master' into repackage
2018-08-15 20:46:56 +01:00
Nick O'Leary
042409f870
Update for 0.19.1
2018-08-15 15:33:24 +01:00
Nick O'Leary
5b8f4f4069
Pull in latest twitter node
2018-08-15 15:31:55 +01:00
Nick O'Leary
d132d63c1d
Handle windows paths for context storage
2018-08-15 15:31:42 +01:00
cclauss
4374506981
Define raw_input() in Python 3 & fix time.sleep()
...
* __raw_input()__ was removed in Python 3 in favor of __input()__
* Fix __sleep()__ to match the import on line 22
[flake8](http://flake8.pycqa.org ) testing of https://github.com/node-red/node-red on Python 3.7.0
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./nodes/core/hardware/nrgpio.py:45:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:63:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:85:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:120:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:134:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:164:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:201:17: F821 undefined name 'time'
time.sleep(10)
^
7 F821 undefined name 'raw_input'
7
```
@dceejay
2018-08-15 16:25:58 +02:00
Nick O'Leary
ef8b936069
Handle persisting objects with circular refs in context
2018-08-15 10:19:37 +01:00
Nick O'Leary
36e3bfffb4
Ensure js editor can expand to fill available space
2018-08-14 17:30:25 +01:00
Nick O'Leary
91a38bdb60
Add example localfilesystem contextStorage to settings
2018-08-14 16:28:59 +01:00
Nick O'Leary
f169a68319
Fix template node handling of nested context tags
2018-08-14 16:21:38 +01:00
Nick O'Leary
ee886f98dd
Update dependencies
2018-08-13 11:19:05 +01:00
Nick O'Leary
a3826cc6a7
Bump version to 0.19
2018-08-13 11:06:38 +01:00
Nick O'Leary
ba33b832ba
Info side putting info text in wrong pane
2018-08-13 11:05:33 +01:00
Nick O'Leary
f6c017176b
Add core:toggle-navigator action
2018-08-13 11:04:34 +01:00
Nick O'Leary
7a01b115bb
User settings view tab does not scroll properly
2018-08-13 11:03:55 +01:00
Nick O'Leary
1dc021e871
Improve custom context store module logging
2018-08-09 15:37:04 +01:00
Nick O'Leary
c9f916ebab
Fixup context test case to block until context close completes
2018-08-09 15:36:43 +01:00
Nick O'Leary
ff627fd128
Fix localfilesystem clean handling
2018-08-09 14:39:20 +01:00
Kazuhito Yokoi
bba57f8d2b
Add node description property UI
2018-08-06 21:39:37 +09:00
Kazuhito Yokoi
695873d35a
Fix typo in test case for function node
2018-08-06 21:14:53 +09:00
Hiroyasu Nishiyama
15da19dcea
fix use of HTML tag or CSS class specification as icon of typedInput
2018-08-06 10:28:02 +09:00
Nick O'Leary
4312a01707
remove editor/public
2018-08-04 22:30:41 +01:00
Nick O'Leary
ecd8f97d8b
WIP: move all the code
2018-08-04 22:23:06 +01:00
t4skforce
d5bdc1600b
fixed some linting issues
...
* added some semicolons
* removed double parsing of ```err.stack``` into ```var stack```
2018-07-31 22:54:15 +02:00
Nick O'Leary
dfa077fd5f
Update package versions
2018-07-30 15:25:10 +01:00
Nick O'Leary
06abe63fb1
Merge branch 'master' into runtime-api
2018-07-30 10:13:51 +01:00
Nick O'Leary
5155770213
Ensure add/remove modules are handled sequentially
2018-07-30 10:08:39 +01:00
Nick O'Leary
9d507b09ca
Skip context tests until they migrate to runtimeAPI structure
2018-07-29 23:54:43 +01:00
Nick O'Leary
9c4a712dc7
Merge branch 'master' into runtime-api
2018-07-29 23:47:19 +01:00
Nick O'Leary
f1d5bbb036
Remove type editors from master template
2018-07-28 22:36:31 +01:00
Nick O'Leary
69ed0aebc3
Merge pull request #1850 from node-red-hitachi/without-callback
...
Allow `get` and `keys` to be called without callback
2018-07-28 22:08:36 +01:00
Nick O'Leary
549e56e220
Add editorTheme.palette.theme to allow overriding colours
2018-07-27 22:05:42 +01:00
Nick O'Leary
450f4d9a5a
Fix error reporting of invalid jsonata in Join/reduce
2018-07-27 22:05:42 +01:00
HirokiUchikawa
6533a9793c
Allow get and keys to be called without callback
2018-07-27 21:33:38 +09:00
Nick O'Leary
2000cadb17
Merge pull request #1847 from node-red-hitachi/update-uitest
...
Add UItest for http endpoints
2018-07-27 13:21:20 +01:00
Nick O'Leary
083c321efa
Merge pull request #1848 from node-red-hitachi/grunt-on-windows
...
Fix test cases on windows and under proxy
2018-07-27 13:21:06 +01:00
Nick O'Leary
f64c4a981f
Merge pull request #1846 from node-red-hitachi/remove-html-element
...
Fix to remove unnecessary typedInput option element
2018-07-27 13:20:44 +01:00
Nick O'Leary
3ac8ce03bf
Merge pull request #1845 from node-red-hitachi/fix-file-node-test-for-ordering-assumption-of-output-message
...
Update file node test to cope with occasional failure
2018-07-27 13:20:27 +01:00
nakanishi
66fca8710e
Fix test cases on windows and under proxy
2018-07-27 15:40:55 +09:00
Yuma Matsuura
1e245ece46
Update cookbook uitest
2018-07-27 13:48:43 +09:00
Hiroyasu Nishiyama
81efce03ba
update file node test to cope with occasional failure
2018-07-27 08:30:03 +09:00
Nick O'Leary
4e549dd426
Add function tests for multiple-set access to context
2018-07-26 21:15:32 +01:00
Nick O'Leary
52f74ff7e0
Join: reduce fails if count not in first msg received
2018-07-26 14:13:12 +01:00
HirokiUchikawa
3c71b815f5
Fix to remove unnecessary typedInput element
2018-07-26 20:13:08 +09:00
Nick O'Leary
9efd48fe51
Fixup Join node to apply reduce_fixup asynchronously
2018-07-25 11:08:03 +01:00
Nick O'Leary
4609ee75b6
Revert jsonata sync access to context stores
...
- store access only possible with callback
2018-07-25 11:07:29 +01:00
Nick O'Leary
963ea4177e
Add store arg to sync $flowContext/$globalContext
2018-07-25 10:18:59 +01:00
Nick O'Leary
17e6940a42
Update context plugins to use get/setObjectProperty
2018-07-25 09:59:26 +01:00
Nick O'Leary
315a9ceba3
Add RED.util.get/setObjectProperty to avoid stripping msg.
2018-07-25 09:27:27 +01:00
Nick O'Leary
a2bdeedb09
Merge pull request #1843 from node-red-hitachi/test-runtime-util
...
Add tests for runtime util
2018-07-25 09:16:50 +01:00
Nick O'Leary
da5700d2d7
Merge pull request #1842 from node-red-hitachi/runtime-message-jp
...
Update Japanese message catalogue of runtime.json
2018-07-25 09:15:18 +01:00
nakanishi
90e7f30247
Add tests for runtime util
2018-07-25 09:15:27 +09:00
Hiroyasu Nishiyama
3ccf6ba892
update Japanese message catalogue of runtime.json
2018-07-24 21:53:59 +09:00
Nick O'Leary
e50cd5b745
Bump bcrypt dependency
2018-07-24 10:21:08 +01:00
Nick O'Leary
db77be5d72
Update i18next in runtime
2018-07-23 23:25:57 +01:00
Nick O'Leary
c36870c23e
Bump sem-ver minor dependencies
2018-07-23 15:52:02 +01:00
Nick O'Leary
e9be007040
Tidy up context store error messages
2018-07-23 15:20:13 +01:00
Nick O'Leary
9e400d9aa6
Merge pull request #1838 from node-red-hitachi/translate-node-jp
...
Update Japanese translation(MQTT node and editor.json)
2018-07-23 13:37:09 +01:00
Nick O'Leary
490c8dae75
Merge pull request #1837 from node-red-hitachi/master-switch-change-test
...
Fix and add test cases for persistable context
2018-07-23 13:29:23 +01:00
Nick O'Leary
3bcffe375d
Merge pull request #1834 from node-red-hitachi/add-tests-for-context-admin-api
...
Add tests for context admin api
2018-07-23 13:29:10 +01:00
Nick O'Leary
9f81a591e1
Move multiple-get/set logic into individual context stores
2018-07-23 13:28:06 +01:00
Yuma Matsuura
3db5306c70
Update Japanese text of type input
2018-07-23 10:11:35 +09:00
Yuma Matsuura
45029dd084
Update Japanese text of type input
2018-07-23 10:11:23 +09:00
Yuma Matsuura
b01cd30339
Update Japanease text of mqtt node
2018-07-23 10:11:10 +09:00
Hiroyasu Nishiyama
09329e1104
add tests for context admin api
2018-07-21 12:00:54 +09:00
Nick O'Leary
ab0fc2ecfa
Merge pull request #1818 from node-red-hitachi/context-store-logging
...
Add logging of context store
2018-07-20 20:23:32 +01:00
Nick O'Leary
bf5d36d6bd
Merge branch 'master' into context-store-logging
2018-07-20 20:23:19 +01:00
Hiroyasu Nishiyama
a29527ec96
use implicit logging of context store
2018-07-20 23:26:47 +09:00
Nick O'Leary
45e7ad8049
Merge pull request #1831 from node-red-hitachi/update-info-of-file-node
...
Update info text of file node (English & Japanese)
2018-07-20 12:47:17 +01:00
Nick O'Leary
4d54663efd
Merge pull request #1832 from node-red-hitachi/fix-isempty-rule
...
Fix bugs about "isEmpty" rule in Switch node
2018-07-20 12:45:53 +01:00
Nick O'Leary
29d386cc51
Merge pull request #1833 from node-red-hitachi/update-test-for-file-node
...
Update test for file node for new output port
2018-07-20 11:45:39 +01:00
Nick O'Leary
ba1a67969b
Merge pull request #1825 from node-red-hitachi/add-types-to-trigger-node
...
Add support of bin, data, and env type to trigger node
2018-07-20 11:45:17 +01:00
Nick O'Leary
390ea5419e
Merge pull request #1826 from node-red-hitachi/update-join-httpreq-info-jp
...
Update Japanese info text of JSON and HTTP Request node
2018-07-20 11:45:03 +01:00
Nick O'Leary
0fdeec7cc4
Merge pull request #1827 from node-red-hitachi/context-test-localfile
...
Add test cases for localfilesystem context
2018-07-20 11:44:39 +01:00
Nick O'Leary
e34d883e50
Merge pull request #1828 from node-red-hitachi/master-editorjson
...
Update Japanese translation (editor.json)
2018-07-20 11:44:19 +01:00
Nick O'Leary
507871687b
Merge pull request #1830 from node-red-hitachi/translate-switch
...
Translate switch and batch nodes and icon palette
2018-07-20 11:44:13 +01:00
Nick O'Leary
ed58f62cd1
Merge pull request #1824 from node-red-hitachi/update-exec-node-info-jp
...
Update Japanese info text of exec node
2018-07-20 11:43:11 +01:00
Nick O'Leary
94bc4e7125
Merge pull request #1822 from node-red-hitachi/context-test-memory
...
Add test cases for memory context
2018-07-20 11:42:45 +01:00
Nick O'Leary
5832f7930d
Merge pull request #1821 from node-red-hitachi/uitest-httprequest
...
Add UItest for http request
2018-07-20 11:42:28 +01:00
Nick O'Leary
0066a20c22
Merge pull request #1820 from node-red-hitachi/context-test-index
...
Add test cases for index.js of context
2018-07-20 11:42:10 +01:00
Nick O'Leary
774e4bfced
Merge pull request #1819 from node-red-hitachi/fix-template-node-test
...
Fix test for template node for persistable context
2018-07-20 11:41:41 +01:00
Hiroyasu Nishiyama
054c7a76a4
update test for file node for new output port
2018-07-20 18:28:49 +09:00
HirokiUchikawa
c7f3b77aac
Fix test cases of empty rule
2018-07-20 17:04:49 +09:00
HirokiUchikawa
a6a4620374
Fix an error that occurs when evaluating null on isEmpty rule.
2018-07-20 17:03:23 +09:00
HirokiUchikawa
5148c62d1c
Fix appearance about Empty rules.
2018-07-20 16:53:30 +09:00
HirokiUchikawa
6fc863a91e
Fix wrong test cases
2018-07-20 15:24:44 +09:00
Hiroyasu Nishiyama
e066a154a1
update info text of file node (English & Japanese)
2018-07-20 14:59:52 +09:00
nakanishi
d432edaed2
Translate icon palette parts into Japanese
2018-07-20 13:36:59 +09:00
nakanishi
8f34f4e80b
Update Japanese translation for switch and batch nodes
2018-07-20 13:35:24 +09:00
nakanishi
39b751acf5
Add test cases for localfilesystem context
2018-07-20 11:23:37 +09:00
Kazuhito Yokoi
bd5e8ba961
Add test case of persistalbe context for switch node
2018-07-20 10:34:43 +09:00
HirokiUchikawa
ed20327c41
Update Japanese text of editor.json
2018-07-20 10:23:28 +09:00
Kazuhito Yokoi
991c68c394
Update Japanese translation (editor.json)
2018-07-20 10:23:27 +09:00
HirokiUchikawa
2acc31a4e7
Update Japanese info text of json node
2018-07-19 21:35:00 +09:00
Hiroyasu Nishiyama
b9733e3dfa
add support of bin, data, and env to trigger node
2018-07-19 21:20:02 +09:00
Hiroyasu Nishiyama
bb106bfce7
small update of Japanese info text of exec node
2018-07-19 20:13:27 +09:00
HirokiUchikawa
daf1388a6a
Update Japanese info text of http request node
2018-07-19 19:32:53 +09:00
Nick O'Leary
8226f1fa75
Merge pull request #1823 from node-red-hitachi/fix-referenceerror
...
Fix the ReferenceError in change node
2018-07-19 10:08:36 +01:00
HirokiUchikawa
e675512fa3
Fix ReferenceError in change node
...
and add a test case
2018-07-19 14:44:21 +09:00
Hiroyasu Nishiyama
65e67b6c3e
add a space to align position of ":"
2018-07-19 14:18:27 +09:00
Hiroyasu Nishiyama
7612481570
ignore default store from logging
2018-07-19 14:12:01 +09:00
nakanishi
f6c7cb5804
Add test cases for global context of memory context
2018-07-19 13:49:36 +09:00
Yuma Matsuura
2201c9062f
Add UItest for http request
2018-07-19 13:17:41 +09:00
nakanishi
ca3da262da
Add test cases for index.js of context
2018-07-19 12:58:42 +09:00
Hiroyasu Nishiyama
5847f92bef
fix test for template node for persistable context
2018-07-19 11:06:57 +09:00
Hiroyasu Nishiyama
31ee1be81e
add logging of context store
2018-07-19 07:40:52 +09:00
Nick O'Leary
6bccdd015f
Update changelog
2018-07-18 22:17:11 +01:00
Nick O'Leary
cecea318da
Merge branch 'master' into 0.19
2018-07-18 13:22:35 +01:00
Nick O'Leary
8663ec6880
Merge pull request #1817 from node-red-hitachi/0.19-add-test-cases-for-inject-node
...
Add test cases for inject node
2018-07-18 11:35:51 +01:00
Nick O'Leary
9b03f128aa
Merge pull request #1815 from node-red-hitachi/0.19-add-tests-for-function-node
...
Add persistable context tests for function node
2018-07-18 11:35:35 +01:00
Nick O'Leary
8a51f97616
Merge pull request #1816 from node-red-hitachi/0.19-update-info-text-for-function-node
...
update Japanese info text of function node
2018-07-18 11:35:17 +01:00
Hiroyasu Nishiyama
ee74ed9ce9
add test cases for inject node
2018-07-18 18:13:07 +09:00
Hiroyasu Nishiyama
0f947c756e
update Japanese info text of function node
2018-07-18 17:17:23 +09:00
Hiroyasu Nishiyama
cae7949a48
add persistable context tests for function node
2018-07-18 16:43:12 +09:00
Nick O'Leary
be58b614e1
Index all node properties when searching
...
Fixes #1446
2018-07-17 20:58:10 +01:00
Nick O'Leary
b0a01fa4b2
Merge pull request #1813 from node-red-hitachi/0.19-jsonata-persistablecontext
...
Add context store support to JSONata functions
2018-07-17 20:34:53 +01:00
Nick O'Leary
9734228001
Merge branch 'boneskull-issue/1414' into 0.19
2018-07-17 20:29:36 +01:00
Nick O'Leary
9df1d44bc4
Merge branch 'issue/1414' of https://github.com/boneskull/node-red into boneskull-issue/1414
2018-07-17 20:28:40 +01:00
HirokiUchikawa
13d887028a
Add test cases accessing context with JSONata to Sort Node
2018-07-17 18:43:10 +09:00
HirokiUchikawa
83a8979309
Add test cases accessing context with JSONata to Switch Node
2018-07-17 17:46:21 +09:00
Nick O'Leary
75c29f1cb7
Disallow store names that are not A-Za-z0-9_
2018-07-16 16:44:33 +01:00
Nick O'Leary
d9d15e41c7
Support multiple stores in context sidebar
2018-07-16 16:36:05 +01:00
Nick O'Leary
d3598d5854
NLS Context sidebar
2018-07-16 13:17:18 +01:00
HirokiUchikawa
3a8aaee5d7
Add test cases accessing context with JSONata to Join Node
2018-07-16 18:42:16 +09:00
HirokiUchikawa
4fcf57d42c
Add test cases accessing context with JSONata to Change Node
2018-07-16 18:25:03 +09:00
HirokiUchikawa
adb0891335
Allow the JSONata Expression to handle persistable store.
2018-07-16 18:00:57 +09:00
Nick O'Leary
d21e719cc1
Merge pull request #1812 from node-red-hitachi/0.19-add-env-var-support-for-split-node
...
Allow environment variable as reduce init value in split node
2018-07-16 09:38:26 +01:00
Nick O'Leary
5807ab82c1
Merge pull request #1811 from node-red-hitachi/0.19-fix-typo-in-utils
...
Fix typos in util.js
2018-07-16 08:36:13 +01:00
Hiroyasu Nishiyama
65cb04da63
fix typos in utils.js
2018-07-16 16:09:15 +09:00
Hiroyasu Nishiyama
312e3611b1
allow environment variable as reduce init value
2018-07-16 13:45:59 +09:00
Nick O'Leary
46acc62279
Make Trigger node timeout test 1ms more tolerable
2018-07-15 21:13:02 +01:00
Nick O'Leary
529b358c9b
Split out expandable editors and add JS editor
2018-07-15 21:06:51 +01:00
Nick O'Leary
7fca04404e
Fix debug test for _enc_ change
2018-07-14 23:18:55 +01:00
Nick O'Leary
3a1cc6a2be
Change __encoded__ to __enc__ for debug message encoding
2018-07-14 23:06:15 +01:00
Nick O'Leary
5b76c91004
Merge pull request #1806 from node-red-hitachi/0.19-template-node-for-persistable-context
...
Add support of persistable context to template node
2018-07-14 22:40:50 +01:00
Nick O'Leary
cf87837f7d
Merge pull request #1810 from node-red-hitachi/0.19-fix-inject-node-notification-for-persistable-context
...
Fix context access appearance of inject node in editor
2018-07-14 22:40:19 +01:00
Nick O'Leary
5a0a7b907b
Merge pull request #1809 from node-red-hitachi/0.19-fix-tests-for-trigger-node
...
Add multiple persistable store tests for trigger node
2018-07-14 22:39:05 +01:00
Nick O'Leary
6a2b1669b3
Merge pull request #1808 from node-red-hitachi/0.19-fix-tests-for-inject-node
...
Add multiple persistable store tests for inject node
2018-07-14 22:38:58 +01:00
Nick O'Leary
ca8264b3f4
Merge pull request #1807 from node-red-hitachi/0.19-fix-tests-for-change-node
...
Add multiple persistable store tests for change node
2018-07-14 22:38:17 +01:00
Hiroyasu Nishiyama
b44ecd8819
fix context access appearance of inject node in editor
2018-07-14 14:47:40 +09:00
Hiroyasu Nishiyama
987942959e
empty commit to rerun travis
2018-07-14 12:37:30 +09:00
Hiroyasu Nishiyama
91992b48c1
add multiple persistable store tests
2018-07-14 12:15:26 +09:00
Hiroyasu Nishiyama
c9a335a6f9
add multiple persistable store tests
2018-07-14 11:50:49 +09:00
Hiroyasu Nishiyama
b7ed159b50
add multiple persistable context tests
2018-07-14 11:00:57 +09:00
Hiroyasu Nishiyama
c72961a52a
add support of persistable context to template node
2018-07-14 00:11:59 +09:00
Nick O'Leary
afe6afca36
Merge pull request #1801 from node-red-hitachi/0.19-multi-values
...
Make it possible to set multiple values
2018-07-13 14:03:03 +01:00
HirokiUchikawa
050acd239c
Allow arrays of different lengths to be passed to set.
2018-07-13 20:59:45 +09:00
Nick O'Leary
24505ee4f5
Merge pull request #1803 from kazuhitoyokoi/0.19-addtestcases
...
Add test cases of persistable context for trigger node
2018-07-13 11:59:40 +01:00
Nick O'Leary
63a249aba3
Merge pull request #1802 from kazuhitoyokoi/0.19-updatejapanese
...
Update Japanese language files (messages.json and jsonata.json)
2018-07-13 11:59:09 +01:00
Nick O'Leary
7bd94df2a0
Merge pull request #1804 from node-red-hitachi/0.19-fix-cache-error
...
Fix the error that the parent directory of the context does not exist
2018-07-13 11:58:14 +01:00
Kazuhito Yokoi
761161a8e5
Fix async problem in test cases
2018-07-13 17:34:04 +09:00
Kazuhito Yokoi
513579a7ee
Empty commit to run travis again
2018-07-13 15:53:47 +09:00
Kazuhito Yokoi
7165483d83
Empty commit to run travis again
2018-07-13 15:40:21 +09:00
Kazuhito Yokoi
f8bcf219cb
Empty commit to run travis again
2018-07-13 15:37:50 +09:00
Kazuhito Yokoi
590506e306
Add test cases of persistable context for trigger node
2018-07-13 15:26:07 +09:00
Kazuhito Yokoi
9a5439c580
Update Japanese language files (message.json and jsonata.json)
2018-07-13 15:17:30 +09:00
HirokiUchikawa
6b2f5fbb19
Allow multiple keys and values to be passed to set
2018-07-12 19:19:55 +09:00
Nick O'Leary
051c147b41
Merge pull request #1800 from node-red-hitachi/0.19-callback-called-twice
...
Prevent the callback to be called twice
2018-07-12 10:45:58 +01:00
HirokiUchikawa
9111adf15f
Use ensureDir() insted of mkdir()
...
and add test case
2018-07-12 18:20:47 +09:00
HirokiUchikawa
ba18b27371
Prevent the callback to be called twice
...
and add test cases
2018-07-12 18:12:30 +09:00
Nick O'Leary
2a287b2ae6
Merge pull request #1796 from node-red-hitachi/0.19-multiple-values
...
Make it possible to get multiple values
2018-07-12 10:01:18 +01:00
Nick O'Leary
fc9040f715
Merge pull request #1799 from kazuhitoyokoi/0.19-addtestcases4persistablecontext
...
Add test cases of persistable context for inject node
2018-07-12 08:41:27 +01:00
Nick O'Leary
0029022ef6
Merge pull request #1797 from node-red-hitachi/0.19-uitest-flowcontrol
...
Added test cases of flow control on cookbook
2018-07-12 08:40:30 +01:00
Nick O'Leary
94f728d3fd
Merge pull request #1798 from kazuhitoyokoi/0.19-updatelanguagefiles
...
Update Japanese language file (editor.json)
2018-07-12 08:39:29 +01:00
Kazuhito Yokoi
d53ced7830
Add test cases of persistable context for inject node
2018-07-12 16:26:16 +09:00
Kazuhito Yokoi
053d8c44c2
Update Japanese language file (editor.json)
2018-07-12 16:14:25 +09:00
nakanishi
9f5767ea16
Added test cases of flow control on cookbook
2018-07-12 15:28:40 +09:00
HirokiUchikawa
e8d76b0555
Allow multiple values to be passed to get
2018-07-12 14:05:36 +09:00
Nick O'Leary
c2675600f6
Fix Switch msg sequence test
2018-07-11 16:37:18 +01:00
Nick O'Leary
6f087b4ec1
Merge pull request #1795 from node-red-hitachi/0.19-fix-change-for-persistable-context
...
Fix persistable context handling of switch node
2018-07-11 16:17:26 +01:00
Nick O'Leary
e94708606d
Add isEmpty check to switch node
2018-07-11 16:14:09 +01:00
Hiroyasu Nishiyama
c248f1a762
fix persistable context handling of switch node
2018-07-11 23:39:34 +09:00
Nick O'Leary
28402b0894
Add sidebar tab icons to drop-down menu
2018-07-11 14:15:31 +01:00
Nick O'Leary
7dd98e99f9
Node errors should be Strings not Errors
...
Fixes #1781
2018-07-11 13:40:53 +01:00
Nick O'Leary
dba195b396
Add detection of connection timeout in git communication
...
Fixes #1770
2018-07-11 13:26:45 +01:00
Nick O'Leary
88b153bc12
Merge pull request #1794 from kazuhitoyokoi/0.19-fixi18n
...
Remove and change keys in language files
2018-07-11 13:25:08 +01:00
Kazuhito Yokoi
d4a47dc974
Empty commit to run travis again
2018-07-11 16:13:32 +09:00
Kazuhito Yokoi
fe3ea6edfd
:
2018-07-11 16:12:56 +09:00
Kazuhito Yokoi
6c8fc4846b
Fix i18n bugs in projects
2018-07-11 15:33:25 +09:00
Hideki Nakamura
b14a0e0dde
Merge the logic for api access token to tokens.js so as not to change strategies.js
2018-07-10 17:25:01 -07:00
Hideki Nakamura
e982f5076f
Merge branch '0.19' into api-access-token
2018-07-10 16:06:25 -07:00
Nick O'Leary
54d9656f09
Add servername option to TLS config node for SNI
2018-07-10 23:24:32 +01:00
Hideki Nakamura
42188b9f49
Merge branch '0.19' of https://github.com/node-red/node-red into api-access-token
2018-07-10 09:33:25 -07:00
Nick O'Leary
49da324c5d
Fix jsonata err reporting in sort node
2018-07-10 17:26:54 +01:00
Nick O'Leary
9bf87697fd
Merge pull request #1780 from natcl/json-schema
...
Add JSON schema validation to JSON node
2018-07-10 17:06:17 +01:00
Nathanaël Lécaudé
f368f5a9c4
JSON node: Add link to JSON schema spec in node help
2018-07-10 11:29:01 -04:00
Nathanaël Lécaudé
eea85485e6
Merge remote-tracking branch 'upstream/0.19' into json-schema
2018-07-10 11:11:15 -04:00
YumaMatsuura
1a544b3b82
Headless option for ui test ( #1784 )
2018-07-10 12:42:56 +01:00
Kazuhito Yokoi
8b38fe9fe0
Support i18n in websocket node ( #1785 )
2018-07-10 12:42:32 +01:00
Hiroki Uchikawa
1bf4addf63
Fix an error when initializing the cache ( #1788 )
...
* Fix a error when initializing the cache
* Make context directory if it is not there in initialization
2018-07-10 12:41:16 +01:00
Hiroyasu Nishiyama
407e16e900
Fix appearrence of switch node port label for flow/global ref. ( #1793 )
...
* fix appearrence of switch node port label for flow/global ref
* use RED.utils.parseContextKey
2018-07-10 12:40:52 +01:00
Hiroyasu Nishiyama
6e9fe3248a
Fix appearrence of change node label for flow/global ref ( #1792 )
...
* fix appearence of change node label for flow/global ref
* use RED.utils.parseContextKey
2018-07-10 12:40:31 +01:00
Nick O'Leary
d8cf86fd6f
Add RED.utils.parseContextKey
2018-07-10 11:41:46 +01:00
Nick O'Leary
f8aa4a9588
Merge branch 'async-split' into 0.19
2018-07-10 11:30:38 +01:00
Nick O'Leary
c249907846
Merge pull request #1791 from node-red/join-node-keep-top-level-properties
...
join-node-keep-top-level-properties
2018-07-10 11:28:55 +01:00
Nick O'Leary
57c1524a9a
Add async jsonata support to join node
2018-07-10 11:24:57 +01:00
Nick O'Leary
d8d82e2ba3
Update sort node for async use of jsonata
2018-07-09 23:06:51 +01:00
Nick O'Leary
807b512ef7
Add JSONata async support to Switch and Change nodes
2018-07-09 21:56:39 +01:00
Nick O'Leary
b2f06b6777
Add async mode to evaluateJSONataExpression
2018-07-09 15:12:09 +01:00
Nick O'Leary
d7adff9a65
Add async message handling to Trigger node
2018-07-09 14:12:44 +01:00
Nick O'Leary
b0d7e11d48
Fix evaluateNodeProperty handling of unknown types
2018-07-09 12:40:25 +01:00
Nick O'Leary
fc9cdb61f2
Add async property handling to Switch node
2018-07-09 11:31:10 +01:00
Nick O'Leary
9c00492dc2
WIP: create async Switch node helper functions
2018-07-09 11:31:10 +01:00
Nick O'Leary
1a6babd199
Lint Switch code
2018-07-09 11:31:10 +01:00
Nick O'Leary
1b693eed37
Add async context support to Change node
2018-07-09 11:31:10 +01:00
Nick O'Leary
afb566b6b4
Add async context support to Inject node
2018-07-09 11:31:10 +01:00
Dave Conway-Jones
f870e9ed3e
Let Join node accumulate top level properties
...
Last in is still most significant
2018-07-08 16:52:30 +01:00
Dave Conway-Jones
4bcf13cb58
Let nrgpio code work with python 3
...
(just in case that becomes default)
2018-07-07 19:01:14 +01:00
Hideki Nakamura
50e2dcbcd5
Add a processing to check specified API Access Tokens
2018-07-05 18:58:02 -07:00
Hideki Nakamura
6104bb98f1
Merge remote-tracking branch 'upstream/0.19' into 0.19
2018-07-05 11:44:13 -07:00
Nick O'Leary
946a6d6041
Update RED.util.evaluateNodeProperty to support context stores
2018-07-05 10:43:33 +01:00
Nick O'Leary
372c213c2c
Still parse/export typedInput values even when no options set
2018-07-04 14:23:18 +01:00
Nick O'Leary
a5a79d3ab7
Merge branch '0.19' into typedInput-context
2018-07-04 13:37:05 +01:00
Nick O'Leary
e6c5cfb703
Do not show TypedInput context options if there's only one available
2018-07-04 13:36:23 +01:00
Nick O'Leary
7843eccae8
Merge pull request #1786 from node-red-hitachi/0.19-fix-typedInput-error
...
Fix typedInput error on initialization
2018-07-04 13:35:55 +01:00
Hiroyasu Nishiyama
7ca153abd0
fix error on typedInput initialization
2018-07-04 20:50:33 +09:00
Nick O'Leary
33b4774c49
Load typedinput context list from settings
2018-07-03 21:40:58 +01:00
Nick O'Leary
c243481432
Add sub options to Inject node
2018-07-03 21:40:58 +01:00
Nick O'Leary
80873e4ea9
fix settings api test for context stores
2018-07-03 21:27:55 +01:00
Nick O'Leary
4e4a1f11e6
Fix context admin api for empty contexts
2018-07-03 21:18:43 +01:00
Nick O'Leary
9bbe405cd0
Do not show blank popovers
2018-07-03 21:18:15 +01:00
Nick O'Leary
c440a4c730
Expose list of context stores to the editor
2018-07-03 14:17:42 +01:00
Nick O'Leary
a1251371d7
Avoid unnecessary re-reading of file context when caching is enabled
2018-07-03 11:29:45 +01:00
Nick O'Leary
7d702e8332
Remove console.log
2018-07-02 22:38:37 +01:00
Nick O'Leary
43d7c8d48c
Add caching to localfilesystem context
2018-07-02 22:32:20 +01:00
Nick O'Leary
7423583508
Create default store for node tests to use
2018-07-02 15:47:47 +01:00
Nick O'Leary
08b0838f9a
Fix linting in view.js
2018-07-02 15:32:29 +01:00
Nick O'Leary
038d821a7c
Apply fGC to all global contexts for default values
2018-07-02 15:21:13 +01:00
Nathanaël Lécaudé
6a218814d3
Merge remote-tracking branch 'upstream/0.19' into json-schema
2018-06-30 16:20:13 -07:00
Nathanaël Lécaudé
905f89b0f5
JSON node: finalize JSON Schema validation
2018-06-30 16:19:39 -07:00
Nick O'Leary
14882bda78
Ensure runtime errors in Change node can be caught
...
Fixes #1769
2018-06-29 11:50:16 +01:00
Nick O'Leary
781fa4634b
Merge pull request #1777 from node-red-hitachi/uitest-typedinput
...
Follow the change of typedinput interface for UI test
2018-06-29 10:53:27 +01:00
Nick O'Leary
cdb173fd6e
Handle NaN and Infinity properly in debug sidebar
...
Fixes #1778 #1779
2018-06-29 10:50:07 +01:00
Nick O'Leary
466cb4be89
Small tidy up on context plugin loading
2018-06-29 09:48:38 +01:00
Nathanaël Lécaudé
c39e2ffd56
JSON node: add JSON schema validation via msg.schema
2018-06-28 23:16:43 -07:00
Kazuki-Nakanishi
17bf09e276
Follow the change of typedinput interface for UI test
2018-06-29 10:41:44 +09:00
Nick O'Leary
bc01f9f8fd
add placeholder api/admin/context_spec
2018-06-28 17:00:17 +01:00
Nick O'Leary
c0870c5694
Merge branch '0.19' into context-tab
2018-06-27 16:05:17 +01:00
Nick O'Leary
3b5174a2ea
Merge branch '0.19' of github.com:node-red/node-red into 0.19
2018-06-27 15:56:57 +01:00
Nick O'Leary
af6885f3e8
Merge pull request #1720 from node-red-hitachi/persistablecontext
...
Add persistable context backend
2018-06-27 15:37:46 +01:00
Nick O'Leary
e01996095f
Add refresh timestamp to context sidebar
2018-06-27 10:00:23 +01:00
Nick O'Leary
5d86f7b6ba
Refresh context sidebar tab based on selection
2018-06-26 23:34:32 +01:00
Nick O'Leary
8d6ac6406d
Initial context sidebar tab
2018-06-26 11:32:24 +01:00
HirokiUchikawa
40ff54f67e
Improve context storage handling
2018-06-26 11:43:37 +09:00
HirokiUchikawa
cce7ac09d0
Add callback handling to memory plugin
2018-06-26 11:36:37 +09:00
Nick O'Leary
73a18891c5
Add RED.popover.tooltip for common reuse
2018-06-25 22:32:34 +01:00
Nick O'Leary
fe22cedc1d
Move debug encode/decode to utils for reuse
2018-06-25 22:32:34 +01:00
Nick O'Leary
fa09c7c8b2
Merge branch '0.19' of github.com:node-red/node-red into 0.19
2018-06-25 13:55:21 +01:00
Nick O'Leary
15e28e3cc0
Merge branch 'pr_1766' into 0.19
2018-06-25 13:55:07 +01:00
Nick O'Leary
2cb4f6b1fc
Prevent horizontal scroll when palette name cannot wrap
2018-06-25 13:54:34 +01:00
Nick O'Leary
b17a483b85
Merge pull request #1771 from node-red-hitachi/0.19-fix-i18n-project-message
...
Fix appearance of retry button of remote branch management dialog
2018-06-25 13:50:11 +01:00
Nick O'Leary
7c3e5443ab
Merge pull request #1772 from node-red-hitachi/uitest-debugtab
...
Follow the change of tab interface for UI test
2018-06-25 13:37:53 +01:00
Nick O'Leary
f95a2851c8
Ignore middle-click on node/ports to enable panning
2018-06-25 13:36:58 +01:00
Nick O'Leary
2b2eee352f
Better wire layout when looping back
2018-06-25 13:18:37 +01:00
Kazuki-Nakanishi
11569d8056
Follow the change of tab interface for UI test
2018-06-25 18:48:01 +09:00
Nick O'Leary
bdf87452b6
Reset typedInput option when type changes
2018-06-25 10:39:20 +01:00
Hiroyasu Nishiyama
0c6bf81c24
fix appearence of retry button of remote branch management dialog
2018-06-23 12:49:09 +09:00
HirokiUchikawa
f2fa26fb07
Use the callback instead of Promise in context API
...
and remove unnecessary functions
2018-06-22 17:11:54 +09:00
Nick O'Leary
f5e212ff1e
Refresh type options properly when typedInput.types called
2018-06-21 10:49:39 +01:00
Nick O'Leary
461e6562ca
Allow typedInputs to have options plus value
2018-06-21 10:47:30 +01:00
HirokiUchikawa
fd67d08402
Remove unnecessary module
...
and skip persistable context test cases temporally
2018-06-20 20:09:02 +09:00
HirokiUchikawa
e6411d11b1
Remove unnecessary context storage APIs
...
and rename context storage APIs
2018-06-20 20:00:39 +09:00
HirokiUchikawa
dd81d947fc
Use native Promise instead of when.js
2018-06-20 19:50:55 +09:00
HirokiUchikawa
23b887c30e
Add a test case for context/index
2018-06-20 19:42:09 +09:00
HirokiUchikawa
c4eae3f130
Fix file extension
2018-06-20 19:42:08 +09:00
HirokiUchikawa
41a04a2849
Add async API to context
...
and add test cases for async
2018-06-20 19:42:07 +09:00
HirokiUchikawa
ed1d34e678
Use fs-extra instead of node-json-db
2018-06-20 19:42:06 +09:00
HirokiUchikawa
f44487338d
Fix a wrong statement
2018-06-20 19:42:05 +09:00
Hiroki Uchikawa
7aced85a31
Use Array.indexOf() instead of Array.includes()
2018-06-20 19:42:04 +09:00
HirokiUchikawa
fbe0e2d6eb
Delete async function in context/index
2018-06-20 19:42:03 +09:00
HirokiUchikawa
6e34f0697c
Allow .get/set/keys to return asynchronous results
2018-06-20 19:42:02 +09:00
HirokiUchikawa
a835f9f0cb
Fix ENOENT error in LocalFileSystem.clean()
2018-06-20 19:42:01 +09:00
HirokiUchikawa
16715673c3
Add test case
2018-06-20 19:42:00 +09:00
HirokiUchikawa
c48c74f173
Delete unused variables
2018-06-20 19:42:00 +09:00
HirokiUchikawa
f262348497
Add clean to context plugin
...
and don't delete local context unless the context is deleted by a user
2018-06-20 19:41:59 +09:00
HirokiUchikawa
7185bcd51f
Add open/close API for context
2018-06-20 19:41:58 +09:00
HirokiUchikawa
28d05e2449
Allow multiple instances of a given storage module to exist
2018-06-20 19:41:57 +09:00
Hiroki Uchikawa
7fafa21a1b
Change the order of arguments
2018-06-20 19:41:56 +09:00
HirokiUchikawa
84f598e143
Change prefix from $ to #
2018-06-20 19:41:51 +09:00
HirokiUchikawa
e30f8628db
Revert runtime/util
2018-06-20 19:41:02 +09:00
Hiroki Uchikawa
0be9c88106
Improve processing when default is an alias
...
and fix test cases
2018-06-20 19:41:01 +09:00
Kazuki-Nakanishi
e046fc1ac5
Refactor parseKey and implement parseStorage
2018-06-20 19:41:00 +09:00
Kazuki-Nakanishi
3a476ac493
Implemented error handlings
2018-06-20 19:40:54 +09:00
Hiroki Uchikawa
e33ec0cf50
update external context
...
- Implement `delete` function
- Swap default easily
- Change memory context as a plugin
- Update localfilesystem plugin
- Change file/folder structure
2018-06-20 19:40:26 +09:00
Hiroki Uchikawa
b4b70a988e
Change delimiter to "_" from ":"
2018-06-20 19:40:25 +09:00
Hiroki Uchikawa
e66b381070
add external context files
2018-06-20 19:40:25 +09:00
Hiroki Uchikawa
771b598c09
Add persistable context
...
and avoid exception when arg is undefined in util/getMessageProperty
2018-06-20 19:40:24 +09:00
Hiroki Uchikawa
cd44f13171
Move context_spec.js to context folder
...
and rename context_spec.js -> index_spec.js
2018-06-20 19:40:23 +09:00
Hiroki Uchikawa
aa6b72ac87
Move context.js to context folder
...
and rename context.js -> index.js
2018-06-20 19:40:22 +09:00
Nick O'Leary
a467fe5ed7
Reposition tab menu before opening
2018-06-19 10:49:50 +01:00
Hiroyasu Nishiyama
467411c6c3
merge 0.19
2018-06-17 01:26:31 +09:00
Nick O'Leary
2648b7ca54
Handle releasing ctrl when using quick-add node dialog
2018-06-15 22:33:53 +01:00
Nick O'Leary
de35c7024a
Tab buttons should use editor-button-toggle style
2018-06-15 17:28:29 +01:00
Dave Conway-Jones
9d219c163d
Don't accidentally re-use udp port when set to not do so
...
to close Issue #1764
2018-06-15 14:53:02 +01:00
Nick O'Leary
f7434b5ec8
Add output to File Out node and update icons
2018-06-15 13:25:28 +01:00
Nick O'Leary
5ed3360c0b
Fix css for single toggle buttons
2018-06-15 13:25:28 +01:00
Dave Conway-Jones
6f5974f875
Fix join node manual mode array
...
msg.complete was adding an unwanted null to the array (if no payload)
Added tests for msg.complete with array and object
2018-06-14 20:00:42 +01:00
Nick O'Leary
56db1da3cf
Merge pull request #1732 from node-red/pi-nodes-editable-when-na
...
let Pi nodes be visible/editable on all platforms
2018-06-13 15:46:21 +01:00
Nick O'Leary
fef71f29c4
Merge pull request #1750 from node-red-hitachi/logic-nodes-test
...
Add test cases for logic nodes
2018-06-13 15:45:13 +01:00
Nick O'Leary
d46b66878a
Show unknown node properties in info tab
2018-06-13 14:56:09 +01:00
Nick O'Leary
6cad80c4ad
Add node icon picker widget
2018-06-12 23:46:06 +01:00
Nick O'Leary
68779caa2e
Only edit nodes on dbl click on primary button with no modifiers
2018-06-12 15:34:08 +01:00
Nick O'Leary
2a122ed283
Allow subflows to be put in any palette category
2018-06-12 12:54:32 +01:00
Nick O'Leary
17c5fdf0d5
Add flow navigator widget
2018-06-08 23:32:17 +01:00
Nick O'Leary
0835fdd0d1
Merge branch '0.19' into runtime-api
2018-06-06 21:59:46 +01:00
Nick O'Leary
f6274445a2
Merge branch 'master' into 0.19
2018-06-06 21:41:48 +01:00
Nick O'Leary
3b0300b834
Cache flow library result to improve response time
...
Fixes #1753
2018-06-06 21:38:44 +01:00
Nick O'Leary
4fbf1fe780
Add middle-button-drag to pan the workspace
2018-06-06 20:51:30 +01:00
Hiroyasu Nishiyama
dcf44fed58
allow multi-line category name in editor
2018-06-05 20:18:40 +09:00
Nick O'Leary
7136dc1c72
Merge pull request #1749 from kazuhitoyokoi/0.19
...
Add i18n support for projectSettings.js
2018-06-04 23:32:55 +01:00
Kazuhito Yokoi
0e4cedbc5e
Remove new lines
2018-06-04 07:21:48 +09:00
Kazuhito Yokoi
dc139bcc30
Remove new line
2018-06-04 07:15:26 +09:00
KatsuyaHoshii
b204b183de
Add logic nodes test cases
2018-06-01 14:33:20 +09:00
Kazuhito Yokoi
ab788bc1e3
Add i18n support for projectSettings.js
2018-06-01 12:58:09 +09:00
Nick O'Leary
95b4c8d515
Merge pull request #1748 from node-red-hitachi/0.19-editor-diff-i18n-jp
...
Add i18n support for project
2018-05-31 10:44:36 +01:00
Nick O'Leary
b025644525
Merge pull request #1744 from node-red-hitachi/0.19-i18n-defaultFileSet
...
Add i18n support for default file set for a project
2018-05-31 08:51:53 +01:00
Yuma Matsuura
9e87a60597
modify translate project diff
2018-05-31 16:47:03 +09:00
Yuma Matsuura
5a70bea67a
add translate project diff
2018-05-31 16:46:46 +09:00
Hiroyasu Nishiyama
2a95af3928
merged 0.19-allow-i18n-translation-in-runtime
2018-05-30 21:59:20 +09:00
Nick O'Leary
0a0ca380d3
Ensure apiMaxLength applies to HTTP Nodes
...
Fixes #1278
2018-05-30 13:32:38 +01:00
Nick O'Leary
4cfbf7f71c
Merge pull request #1743 from node-red-hitachi/0.19-allow-i18n-translation-in-runtime
...
Allow i18n translation in runtime
2018-05-30 13:20:05 +01:00
Hiroyasu Nishiyama
de43148341
change current_locale to getCurrentLocale
2018-05-30 20:32:56 +09:00
Nick O'Leary
0a2aab7d68
Merge pull request #1746 from node-red-hitachi/0.19-user-settings-projects-i18n-jp
...
Modify i18n support for user settings of project
2018-05-30 10:30:25 +01:00
Nick O'Leary
745821c420
Merge pull request #1745 from node-red-hitachi/0.19-version-projects-i18n-jp
...
Add i18n support for version control of project
2018-05-30 10:30:12 +01:00
Nick O'Leary
57c4c754d0
Merge pull request #1742 from node-red-hitachi/0.19-editor-main-i18n-jp
...
Update i18n support for main editor interface and Japanese message …
2018-05-30 10:22:38 +01:00
Nick O'Leary
4b5c437533
Merge pull request #1741 from node-red-hitachi/0.19-editor-projects-i18n-jp
...
Add i18n support for projects interface and Japanese message catalogue
2018-05-30 10:21:29 +01:00
Nick O'Leary
8d63b6a1ed
Merge pull request #1734 from node-red-hitachi/0.19-fix-icon-scan-test-for-win
...
Fix test failure of icon scan on Windows
2018-05-30 10:18:57 +01:00
Nick O'Leary
245a8adbf9
Merge pull request #1736 from node-red-hitachi/0.19-httpreq
...
Move to request module
2018-05-30 10:18:21 +01:00
Yuma Matsuura
4f7d98aace
modify translate user settings
2018-05-29 10:12:52 +09:00
Kazuki-Nakanishi
b0c693cc3a
move comment from json to js
2018-05-28 17:06:38 +09:00
Kazuki-Nakanishi
b2cca10e8b
Add i18n support for version control of project
2018-05-28 17:01:53 +09:00
Hiroyasu Nishiyama
a84b2ab5bb
update defaultFileSet test for i18n support
2018-05-27 22:30:05 +09:00
Hiroyasu Nishiyama
4565342b05
add i18n support for project default files generation
2018-05-27 01:38:54 +09:00
Hiroyasu Nishiyama
0ad54cc2d1
allow i18n translation in runtime
2018-05-27 01:05:50 +09:00
Hiroyasu Nishiyama
865853da19
add some i18n support for main editor interface and Japanese message catalogue
2018-05-26 20:08:39 +09:00
Hiroyasu Nishiyama
392ed706fd
add i18n support for projects interface and Japanese message catalogue
2018-05-26 14:21:30 +09:00
Nick O'Leary
0ff0f25aaf
Merge branch 'master' into 0.19
2018-05-25 13:58:15 +01:00
Nick O'Leary
c157960846
Change debug sidebar icon
2018-05-25 13:55:35 +01:00
YumaMatsuura
a5c00b5c81
add translate-user-settings ( #1740 )
2018-05-25 13:55:03 +01:00
Nick O'Leary
472bbdb59f
Fix typo in CHANGELOG
2018-05-25 13:27:58 +01:00
Nick O'Leary
7877093713
Bump 0.18.7
2018-05-25 13:23:18 +01:00
Nick O'Leary
8cb2e51407
Relax twitter node version ready for major version bump
2018-05-25 11:40:14 +01:00
Nick O'Leary
d5cee81fb6
Merge branch 'pr_1739'
2018-05-25 11:37:37 +01:00
Nick O'Leary
bca020bc4d
Tidy up default grunt task and fixup test break due to reorder
...
Fixes #1738
2018-05-25 11:36:17 +01:00
Nick O'Leary
5069f2844c
Bump jsonata version
2018-05-25 10:55:44 +01:00
Nick O'Leary
252df81f59
Pass Date into the Function node sandbox to fix instanceof tests
2018-05-25 10:55:44 +01:00
KatsuyaHoshii
7f89a4a26f
Update .travis.yml
2018-05-25 11:48:33 +09:00
Dave Conway-Jones
40f4167894
let TCP in node report remote ip and port when in single packet mode
2018-05-24 21:39:46 +01:00
Nick O'Leary
0ef16989cd
Do not trim wires if node declares outputs in defaults but misses value
...
Fixes #1737
2018-05-24 20:27:07 +01:00
Dave Conway-Jones
3df3d6f516
add debug to trigger test to help work out fails
2018-05-24 10:02:51 +01:00
Edward Vielmetti
10395ef254
typo fix *hierarchy ( #1735 )
2018-05-24 09:48:05 +01:00
Hiroyasu Nishiyama
83854c28db
fix test failure of icon scan on windows
2018-05-24 12:06:39 +09:00
Nick O'Leary
fcbea2629c
Support flow.disabled and .info in /flow API
2018-05-23 22:41:39 +01:00
Nick O'Leary
522360dcb7
merge to latest
2018-05-23 12:45:29 +01:00
Nick O'Leary
26bc142cc2
Handle loading empty nodesDir
2018-05-23 10:59:08 +01:00
Nick O'Leary
a4eb8e11c3
Collapse sidebar tabs
2018-05-23 10:25:47 +01:00
HirokiUchikawa
9fd5d1db56
Move to request module
2018-05-23 17:16:20 +09:00
Dave Conway-Jones
1d05b4c981
relax test spec slightly
2018-05-23 08:58:04 +01:00
HirokiUchikawa
61f6535be8
Add test case for preventing following redirect
2018-05-23 16:54:03 +09:00
Dave Conway-Jones
7dd329b5ee
Add basic loading tests for GPIO nodes
2018-05-22 17:26:52 +01:00
Dave Conway-Jones
b761904424
let Pi nodes be visible/editable on all platforms
...
even where they are not physically available.
2018-05-22 15:48:24 +01:00
Nick O'Leary
36105412b1
Add 'private' property to userDir generated package.json
...
This stops the warnings from npm about missing repo and license fields.
As there's no expectation for a user to publish their userDir to npm, then
setting private is entirely appropriate.
2018-05-22 11:41:22 +01:00
Nick O'Leary
184b1b018c
Add missing resource file
2018-05-21 22:38:07 +01:00
Nick O'Leary
f3e1b85d82
Add RED.require to allow nodes to access other modules
2018-05-21 22:08:04 +01:00
Nick O'Leary
626d012775
Do not disable the export-clipboard menu option with empty selection
2018-05-21 16:14:43 +01:00
Nick O'Leary
9ad9c0ec6a
Add $env function to JSONata expressions
2018-05-21 15:28:15 +01:00
Nick O'Leary
e13fed9fc6
Widen support for env var to use ${} or $() syntax
2018-05-21 15:19:50 +01:00
Nick O'Leary
eb6d093e56
Add env-var support to TypedInput
2018-05-21 15:10:06 +01:00
Nick O'Leary
979713c4db
merge 0.19
2018-05-21 12:28:06 +01:00
Hiroyasu Nishiyama
af1ea610ea
allow id and name reference in function node code ( #1731 )
2018-05-21 11:34:56 +01:00
Nick O'Leary
d4d9190919
Bump version
2018-05-18 11:03:49 +01:00
Nick O'Leary
4d3d1a02a8
Add editorTheme.projects.enabled to default settings.js
2018-05-18 11:03:00 +01:00
Nick O'Leary
30c2aa96d6
Update changelog
2018-05-17 12:21:06 +01:00
Nick O'Leary
4edb1f80b0
Update mailing list references to new forum
2018-05-17 12:17:55 +01:00
Nick O'Leary
0a82459233
Handle a node having wires in the editor on ports it no longer has
...
Fixes #1724
2018-05-17 11:28:35 +01:00
Dave Conway-Jones
db87b0dfa5
Add missing ACE snippet files
...
to stop 404 in console
2018-05-15 22:10:14 +01:00
Nick O'Leary
e41d5c249f
WIP - url rewriting to support debug
2018-05-14 14:32:58 +01:00
Nick O'Leary
f82a779817
merge master
2018-05-14 09:14:35 +01:00
Nick O'Leary
cd42cf7583
Fix wireClippedNodes is not defined
...
Fixes #1726
2018-05-12 17:02:07 +01:00
Nick O'Leary
2d5980ff2a
Split node html to isolate bad nodes when loading
2018-05-11 22:30:57 +01:00
Nick O'Leary
df8a8ea204
Connect comms to apiRootUrl
2018-05-11 22:13:13 +01:00
Nick O'Leary
8957d33e49
Merge branch 'master' into runtime-api
2018-05-11 14:17:46 +01:00
Nick O'Leary
d49c7a3adb
Avoid unnecessary use of .html() where .text() will do
2018-05-11 14:05:52 +01:00
Nick O'Leary
28fe1e4c8f
Allow the editor to use a custom admin api url root
2018-05-11 13:26:26 +01:00
Nick O'Leary
0c7f4e2168
Merge 0.18.5
2018-05-10 21:45:25 +01:00
Nick O'Leary
4fdd09a262
Changelog tidy
2018-05-10 13:04:37 +01:00
Nick O'Leary
d6878512c4
Bump version for 0.18.5
2018-05-10 13:02:59 +01:00
Nick O'Leary
8b1b8250ff
update changelog
2018-05-10 11:29:20 +01:00
Hiroyasu Nishiyama
9dccbf747e
Japanese message catalogue update ( #1723 )
...
* update Japanese message catalogue for mqtt node
* update Japanese message catalogue for udp node
* update Japanese message catalogue for html node
* update Japanese message catalogue for rpi-gpio node
2018-05-10 11:26:56 +01:00
Nick O'Leary
08727e1938
Show node load errors in the palette manager
2018-05-10 11:21:59 +01:00
Nick O'Leary
7584820987
Filter req.user in /settings to prevent leaking info
2018-05-09 10:03:22 +01:00
Nick O'Leary
d572356642
Update to latest test-helper module
2018-05-08 23:44:39 +01:00
Nick O'Leary
3b5a2815a9
Merge master
2018-05-08 23:27:27 +01:00
Nick O'Leary
f3cf01df25
Update changelog
2018-05-08 22:06:32 +01:00
Nick O'Leary
63e6e64ad3
Merge branch 'pr_1719'
2018-05-08 17:23:57 +01:00
Nick O'Leary
e8d7b48bff
Fix up sizing of mqtt message inputs
2018-05-08 17:23:28 +01:00
mblackstock
12944d1ebd
add back removed Retain message
2018-05-08 08:30:10 -07:00
Nick O'Leary
fa1ff6e393
Update changelog
2018-05-08 15:41:25 +01:00
Nick O'Leary
98546b6e6a
Fixup Function node error line reporting
2018-05-08 11:40:16 +01:00
Nick O'Leary
2fef6fd1fa
Fix proper closing of http request test ssl/proxy servers
2018-05-08 11:26:28 +01:00
Nick O'Leary
20cf91f1dc
Merge branch 'pr_1700'
2018-05-08 10:47:35 +01:00
Nick O'Leary
2efa78d590
Fix up function stack issues
2018-05-08 10:47:20 +01:00
Nick O'Leary
880af0671a
Merge branch 'pr_1706'
2018-05-08 10:44:35 +01:00
Nick O'Leary
62471e4531
Handle null error object in Flow.handleError
...
Fixes #1721
2018-05-08 10:37:41 +01:00
mblackstock
b15f8535f8
document close message
2018-05-06 20:02:20 -07:00
mblackstock
7a3a4493da
tighten vertically, change section order
2018-05-06 15:38:45 -07:00
mblackstock
11078235c4
added deleted 'retain' in tip
2018-05-06 15:08:15 -07:00
mblackstock
f3e05cd08a
set default expand behaviour
2018-05-04 16:52:21 -07:00
Nick O'Leary
0ca3cabbe8
Refector how Project object is instantiated
2018-05-04 16:24:00 +01:00
mblackstock
44a75c1291
move to two lines, add publish on close
2018-05-03 13:47:14 -07:00
Dave Conway-Jones
4a4513a746
Add type checks to switch node options ( #1714 )
...
* Add type checks to switch node options
* add isType to messages.json
2018-05-03 11:24:44 +01:00
iurly
60ff8660de
node-red-pi: fix behavior with old bash version ( #1713 )
...
For some reason the following will result
in an endless loop under bash-4.3.42:
while([ -h "${SCRIPT_PATH}" ])
Just remove the round brackets (parentheses) to fix the issue.
They're not needed anyway.
2018-05-03 09:41:37 +01:00
Nathan Allen
6fa0d671c0
Fix ENOENT error on first start when no user dir ( #1711 )
...
* Fix ENOENT error on first start when no user dir
Write backup using `copySync` and move it below the `fsync` to ensure file is present when backup is made.
* Check for path to exist before attempting backup
2018-05-03 09:40:51 +01:00
mblackstock
f478d7c9f0
experiments with mqtt ui (wip)
2018-05-02 16:02:53 -07:00
Nick O'Leary
53e3e08d70
Handle cloning a project without package.json
2018-05-02 16:24:58 +01:00
Nick O'Leary
c4d1ccb6f5
Keep remote branch state in sync between editor and runtime
2018-05-02 13:59:39 +01:00
Nick O'Leary
e3520309fc
Add clone project to welcome screen
2018-05-02 13:38:50 +01:00
Martin Guillon
27bf72372e
fix after comments
2018-05-01 14:00:05 +02:00
Nick O'Leary
ae4b1b17a9
Increase trigger node test timings
2018-05-01 12:59:53 +01:00
Dave Conway-Jones
94cb03f4b5
bind to correct port when doing udp broadcast/multicast ( #1686 )
...
* bind to correct port when doing broadcast/multicast
to allow better re-use of ports.
* allow udp multicast to work out if ip address
makes life easier for mortals
* udp also handle bind to ipv6 multicast if
tidy prompts to suit new function
* udp node, add face to debug log for multicast if known
2018-05-01 12:43:51 +01:00
Dave Conway-Jones
e691351976
update settings comments to describe how to setup for ipv6 ( #1675 )
...
* change default server bind to support ipv6 and ipv4
to close #1674
* Add comment re ipv6 so folk know it's capable
* slightly more words re ipv6 config
* Leave defaults as ipv4 but add doc to settings
2018-05-01 12:43:10 +01:00
Dave Conway-Jones
3190de873e
add output property select to HTML parse node ( #1701 )
2018-05-01 12:42:27 +01:00
Nick O'Leary
b22956bd99
Remove old locales test
2018-05-01 12:28:16 +01:00
Nick O'Leary
42516206d9
Move module message catalogs under runtime api
2018-05-01 12:28:16 +01:00
Nick O'Leary
fc4edde6e6
Add runtime-api tests
2018-05-01 12:28:15 +01:00
Nick O'Leary
54cc04fd96
Tweak the initialisation of the editor js
2018-05-01 12:28:15 +01:00
Nick O'Leary
80062b6a62
Move type editors into their own files
2018-05-01 12:28:15 +01:00
Nick O'Leary
99af79fcf3
Add missing test resources
2018-05-01 12:28:15 +01:00
Nick O'Leary
11d87205d7
Move node registry to its own top level dir
2018-05-01 12:28:15 +01:00
Nick O'Leary
5866d414ce
Replace some instances of when with Promise
2018-05-01 12:28:15 +01:00
Nick O'Leary
9a972b0b8a
Increase test coverage
2018-05-01 12:28:15 +01:00
Nick O'Leary
e6aeeea8c1
Add better docs tasks
2018-05-01 12:28:15 +01:00
Nick O'Leary
5d064aa1d7
Fixup all the tests
2018-05-01 12:28:15 +01:00
Nick O'Leary
34832d5942
Fix up runtime tests
2018-05-01 12:28:15 +01:00
Nick O'Leary
e3b1179a21
Start bringing the tests back from the brink
2018-05-01 12:28:15 +01:00
Nick O'Leary
f94a36613c
Split comms across api and runtime
2018-05-01 12:28:14 +01:00
Nick O'Leary
efc3cc24f4
Fixup projects import after file move
2018-05-01 12:28:14 +01:00
Nick O'Leary
b47f8aaf70
Rename projects.js
2018-05-01 12:28:14 +01:00
Nick O'Leary
94ca4607bc
Add projects to runtime-api
2018-05-01 12:28:14 +01:00
Nick O'Leary
2dab1d3e6e
Fix up merge issue on api/nodes
2018-05-01 12:28:14 +01:00
Nick O'Leary
825b0fb22f
Update locales module to new structure
2018-05-01 12:28:14 +01:00
Nick O'Leary
1cdb039ea2
Move log and i18n to their own utils module
2018-05-01 12:28:14 +01:00
Nick O'Leary
7409cb3abb
Separate library api and runtime components
2018-05-01 12:28:14 +01:00
Nick O'Leary
e8e8f70c27
WIP: create new runtime-api
2018-05-01 12:28:14 +01:00
Christopher Hiller
e8a637498d
add Node.js v10 to build matrix ( #1708 )
...
* add Node.js v10 to build matrix
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
* only compute coverage once
We have to pick *which* version of Node.js to run coverage on, so I just
picked the latest.
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
2018-04-24 23:21:34 +01:00
Christopher Hiller
e1195ac00a
fix many test problems ( #1677 )
...
* fix many test problems
- adds [stoppable](https://npm.im/stoppable ) to force-stop net & http
servers
- upgrades to latest mocha
- much cleanup of servers
- some removal of useless code
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
* increase wait time to hack at race condition
* PoC with fork of stoppable
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
* fix custom stoppable url for newer npm
* make travis go faster; attempt to avoid npm troubles
* fix coveralls executable path
* add extra time for flake to trigger spec
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
2018-04-23 12:37:26 +01:00
KatsuyaHoshii
6cd9ccc37c
Refactor test cases
2018-04-23 14:31:37 +09:00
Nick O'Leary
25345302e8
Only add _alias/z to log messages if they are defined
2018-04-18 10:28:51 +01:00
Nick O'Leary
eccd5e9801
Handle additional debug msg props in Node_spec
2018-04-17 23:29:56 +01:00
mblackstock
ff355af9f2
use newer test helper
2018-04-17 11:59:47 -07:00
Martin Guillon
5967f4b0d4
fix error stack
2018-04-17 15:46:09 +02:00
Nick O'Leary
ff18618032
Highlight subflow node when log msg comes from inside
...
Fixes #1698
2018-04-17 12:44:58 +01:00
Martin Guillon
20f03c356c
better script error handling.
...
Also pass the error in msg so that it can handled later
2018-04-17 10:52:53 +02:00
Nick O'Leary
27fdc9e56e
Remove credential props after diffing flow to prevent future false positives
...
Fixes #1359
2018-04-16 15:36:23 +01:00
Nick O'Leary
52d9578a19
Log error if settings unavailable when saving user settings
...
Fixes #1645
2018-04-16 15:02:28 +01:00
Nick O'Leary
f4c2938b41
Ensure node wires array is not longer than outputs value
...
Fixes #1678
2018-04-16 13:23:36 +01:00
Nick O'Leary
9f703de5ec
Allow importing an unknown config node to be undone
...
Fixes #1681
2018-04-16 11:20:37 +01:00
Dave Conway-Jones
a327fd85e2
Fix template to default typed input field
...
to close #1697
2018-04-16 11:14:15 +01:00
Dave Conway-Jones
9d22a86ec8
fix typo in switch label, make function label consistent
2018-04-16 11:12:21 +01:00
Ted
29e0b194dd
Handle and display for invalid flow credentials when project is disabled #1689 ( #1694 )
...
* Handle and display for invalid flow credentials when project is disabled #1689
* fixed extra character
* fixed whitespace
2018-04-15 11:51:26 +01:00
Nick O'Leary
ae9cf13fc2
Fix http request doc type
...
Fixes #1690
2018-04-15 11:46:10 +01:00
Nick O'Leary
64ae67586a
Ensure keyboard shortcuts get saved in runtime settings
...
Fixes #1696
2018-04-15 11:43:03 +01:00
Dave Conway-Jones
838c7a5e89
make debug slightly larger to pass WCAG AA rating
2018-04-05 11:25:08 +01:00
Dave Conway-Jones
89bfc90f40
Make core nodes labels more consistent, to close #1673
...
and make them translateable
2018-03-30 14:31:59 +01:00
Dave Conway-Jones
acad9f57f9
Add "not available" to common messages
2018-03-30 14:03:04 +01:00
Fabien Marchewka
0d08dc410e
Prevent Following Redirect ( #615 ) ( #1684 )
2018-03-29 08:28:44 +01:00
Nick O'Leary
ebb3fb96cd
Merge pull request #1670 from node-red-hitachi/subflow-icon-change
...
Enable user defined icon for subflow
2018-03-27 10:22:20 +01:00
Nick O'Leary
f31f23ff07
Allow template node to be updated more than once
...
Fixes #1671
2018-03-27 10:14:39 +01:00
KatsuyaHoshii
d2aa3d1868
Add SSL server certificate
2018-03-27 17:07:29 +09:00
KatsuyaHoshii
c9e2fce94d
test for httprequest node
2018-03-27 16:09:04 +09:00
Kazuki-Nakanishi
8b0e76dd55
Hide the subflow check logic inside getDefaultNodeIcon function
2018-03-22 14:14:09 +09:00
Dave Conway-Jones
884618adfe
remove down carat from typed input with only 1 type
2018-03-20 21:01:10 +00:00
Christopher Hiller
6e2e36e7a0
tcp: queue messages while connecting; closes #1414
...
- queues messages on a per-client basis while waiting for TCP server
connection
- add `denque` package for performance (`shift()` happens in constant
instead of `Array`'s linear time)
- add tests
- remove a duplicate test in `31-tcp_request.spec.js`
- cap queue at value specified in settings (`tcpMsgQueueSize`); default
to 1000
- add `tcpMsgQueueSize` to `settings.js`
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
2018-03-20 13:45:44 -07:00
Christopher Hiller
9994df9601
tcprequest tests: normalize indents
2018-03-20 13:45:44 -07:00
Nick O'Leary
98f7271ac8
Merge pull request #1657 from node-red-hitachi/move-i18n-info-text
...
move i18n info text of core nodes under nodes/core/locales directory
2018-03-20 20:44:54 +00:00
Dave Conway-Jones
087cd121b8
add debug and trace to function node ( #1654 )
2018-03-20 20:40:36 +00:00
Kazuki Nakanishi
2d52527fb4
Don't mark a subflow changed when actually modified nothing ( #1665 )
2018-03-20 20:39:46 +00:00
Kazuki Nakanishi
fe289e62b5
Fix the problem that output labels of switch node sometimes disappear ( #1664 )
2018-03-20 20:37:29 +00:00
Nick O'Leary
2845475e3f
Keep backup of .config.json
2018-03-20 00:04:52 +00:00
Nick O'Leary
b307492487
Add warning if using _credentialSecret
2018-03-20 00:04:52 +00:00
Nick O'Leary
d48284f7ea
Remove unused references to settings
2018-03-20 00:04:52 +00:00
Dave Conway-Jones
7e416797e9
make trigger test a bit more robust
2018-03-19 17:33:18 +00:00
Kroderia
5d54ca7477
Chinese translations for core nodes ( #1607 )
...
* Fix typo
* Fix and Update some Chinese translations.
* Fix and Add Chinese translations to match all en-US's items
2018-03-17 17:49:17 +00:00
Qi Xiu
b979b4e61a
Master chinese3 ( #1666 )
...
* Translated jsonata.json to Chinese
* Translated file jsonata.json to Chinese
2018-03-17 17:48:01 +00:00
Kazuki Nakanishi
2527f7984a
Translate rpi-gpio node ( #1669 )
...
Thanks
2018-03-17 17:46:44 +00:00
Kazuki-Nakanishi
d9350b2362
Enable user defined icon for subflow
2018-03-14 13:51:50 +09:00
Kazuhito Yokoi
bd0b903f1a
Fix typo in info messages of file node
2018-03-14 01:19:37 +00:00
Kazuhito Yokoi
f243c0df19
Fix typo in info messages of json node
2018-03-14 01:18:00 +00:00
Kazuhito Yokoi
7482978953
Fix typo in info messages of html node
2018-03-14 01:16:59 +00:00
Kazuhito Yokoi
77966689d4
Fix typo in info messages of csv node
2018-03-14 01:15:36 +00:00
Kazuhito Yokoi
cf43939d65
Fix typo in info messages of split node
2018-03-14 01:11:11 +00:00
Kazuhito Yokoi
391ac4b351
Fix typo in info messages of change node
2018-03-14 01:09:29 +00:00
Kazuhito Yokoi
e1e48aadd9
Fix typo in info messages of switch node
2018-03-14 01:08:10 +00:00
Kazuhito Yokoi
0681f206c4
Fix typo in info messages of udp node
2018-03-14 01:05:38 +00:00
Kazuhito Yokoi
d257c6f3d3
Fix typo in info messages of tcpin node
2018-03-14 01:04:21 +00:00
Kazuhito Yokoi
fa45c82cdc
Fix typo in info messages of watch node
2018-03-14 01:01:58 +00:00
Kazuhito Yokoi
e805b58da6
Fix typo in info messages of websocket node
2018-03-14 01:00:13 +00:00
Kazuhito Yokoi
943976d207
Fix typo in info messages of trigger node
2018-03-14 00:49:44 +00:00
Kazuhito Yokoi
3a2e5a6ccd
Fix typo in info messages of exec node
2018-03-14 00:47:50 +00:00
Kazuhito Yokoi
35ef036246
Fix typo in info messages of debug node
2018-03-14 00:46:07 +00:00
Kazuhito Yokoi
e09c3bbdd3
Fix typo in info messages of inject node
2018-03-14 00:41:07 +00:00
Nick O'Leary
3b12076d4b
Ignore subflow debug nodes when building filter
...
Fixes #1660
As the editor doesn't know the ids of subflow instance debug nodes
there's no easy way to build a list of them as part of the filter
options. So for now, disable the filter option if we don't know
about the debug node.
2018-03-03 22:41:02 +00:00
Hiroyasu Nishiyama
cfcf78ae28
fix failure of node installation ( #1658 )
2018-03-03 07:35:17 +00:00
Hiroyasu Nishiyama
341ff9bf5c
move i18n info text of core nodes under nodes/core/locales directory
2018-03-03 10:39:11 +09:00
mblackstock
10d8ca30b0
use node-red-node-test-helper for node tests
2018-03-01 20:41:16 -08:00
Dave Conway-Jones
4ebb5d099e
add trigger reset test for null on 2nd output
2018-03-01 14:00:14 +00:00
Dave Conway-Jones
1e82b66bf0
remove octalbonescript example line from settings as no longer supported
2018-03-01 11:41:53 +00:00
Nick O'Leary
06a5e4273b
Move all event emitting into runtime side, not api side
2018-02-28 11:24:12 +00:00
Dave Conway-Jones
e123e7b0b0
Fix pi gpio output of boolean to actually send 1/0
...
rather than true/false
2018-02-27 23:26:32 +00:00
Nick O'Leary
aeadc40c65
Bump for 0.18.4
2018-02-27 16:41:10 +00:00
Nick O'Leary
7ef418ec52
Ensure sshkey file path is properly escaped on Windows
2018-02-27 13:05:10 +00:00
Nick O'Leary
2ed52820b6
Fix fs/fspath reference
2018-02-27 11:11:02 +00:00
Nick O'Leary
e8fd7484b6
Normalize ssh key paths for Windows file names
2018-02-27 10:58:54 +00:00
Nick O'Leary
ce5242cfe8
Ensure userDir is an absolute path when used with sshkeygen
2018-02-26 23:46:08 +00:00
Nick O'Leary
af947879d8
Merge pull request #1614 from node-red-hitachi/no-tabs
...
Fix the problem that the last flow tab can be deleted
2018-02-22 19:02:12 -08:00
Kazuki-Nakanishi
3ed112cde6
Changed coding style
2018-02-23 11:48:40 +09:00
Nick O'Leary
99c6a9eccd
Merge pull request #1646 from node-red-hitachi/no-defaults-node
...
Fixed the problems when using a node without defaults
2018-02-22 18:12:41 -08:00
Nick O'Leary
2029f6ea0a
Merge pull request #1638 from node-red-hitachi/i18n-info-jp
...
add Japanese info text of core nodes
2018-02-22 18:01:56 -08:00
Nick O'Leary
e984e1f30f
Merge pull request #1616 from node-red-hitachi/fix-i18n-message-lookup
...
fix message lookup for core nodes in case of i18 locales directory ex…
2018-02-22 17:59:52 -08:00
Kazuki-Nakanishi
f21260370f
Fixed the problems when using a node without defaults
2018-02-22 14:10:31 +09:00
Dave Conway-Jones
fdae75c99b
ensure trigger gets reset when 2nd output is null
...
to fix #1644
2018-02-21 21:56:03 +00:00
Nick O'Leary
a0489f2a0d
Fix tests for existing file flag in settings
2018-02-21 08:38:52 -08:00
Nick O'Leary
0123eacbdb
Merge pull request #1642 from node-red-hitachi/subflow-icon
...
Disable user defined icon for subflow
2018-02-21 08:24:41 -08:00
Nick O'Leary
53401b6aa7
Fix merging a remote diff
2018-02-20 15:01:45 -08:00
Nick O'Leary
9a5139f452
Detect if there are no existing flows to migrate into a project
2018-02-20 14:30:37 -08:00
Nick O'Leary
2ee0c8c228
Use relative urls when retriving flow history
2018-02-20 14:27:47 -08:00
Kazuki-Nakanishi
c53562cc9c
Disable user defined icon for subflow
2018-02-20 15:29:52 +09:00
Nick O'Leary
ec5d7c2e5c
Add credentialSecret to clone pane
2018-02-18 17:09:19 +00:00
Nick O'Leary
d6fc258485
Delay clearing inflight when changing credentials key
2018-02-18 16:43:40 +00:00
Nick O'Leary
f953612695
Mark deploy inflight when reverting a file change
2018-02-18 16:30:47 +00:00
Kazuki-Nakanishi
2ab93acca8
Revise the fix for the problem that the last flow tab can be deleted
2018-02-16 11:54:52 +09:00
Nick O'Leary
326c6c496e
Handle missing_flow_file error on clone properly
2018-02-15 22:47:07 +00:00
Nick O'Leary
9f7f50664c
Remote project from cached list on delete so it can be reused
2018-02-15 22:46:36 +00:00
Nick O'Leary
f6f1436123
getDefaultNodeIcon should handle subflow instance nodes
...
Fixes #1635
2018-02-15 15:34:15 +00:00
Hiroyasu Nishiyama
c3c519419d
merge i18n-info-jp-storage
2018-02-15 22:47:15 +09:00
Hiroyasu Nishiyama
e569a80b72
merge i18n-info-jp-parsers
2018-02-15 22:47:05 +09:00
Hiroyasu Nishiyama
284f437c1a
merge i18n-info-jp-logic
2018-02-15 22:46:58 +09:00
Hiroyasu Nishiyama
1fd44a9958
merge i18n-info-jp-io
2018-02-15 22:46:46 +09:00
Hiroyasu Nishiyama
cad34742f6
merge i18n-info-jp-core
2018-02-15 22:46:18 +09:00
Hiroyasu Nishiyama
323359b3c8
merge i18n-info-jp-analysis
2018-02-15 22:46:10 +09:00
Hiroyasu Nishiyama
35db8b45f0
add Japanese info text for io category nodes
2018-02-15 22:39:46 +09:00
Nick O'Leary
50ae815ceb
Update changelog
2018-02-14 13:53:55 +00:00
Nick O'Leary
1a4389c90d
Fix offset calculation when dragging node from palette
2018-02-14 13:37:24 +00:00
Nick O'Leary
fdaa5ce1da
Merge pull request #1624 from node-red/library-extra-element
...
let library createUi accept elements other than node-input-name
2018-02-14 13:16:39 +00:00
Nick O'Leary
09d9936aed
Change remote-diff shortcut and add it to keymap
...
Fixes #1628
2018-02-14 09:54:07 +00:00
Nick O'Leary
b3f6109b1c
Update changelog and bump package
2018-02-13 23:51:16 +00:00
Nick O'Leary
5fb3ffc240
Merge pull request #1627 from node-red-hitachi/fix-batch-concat-mode-msg-modification
...
fixed message modificcation of concat mode of BATCH node
2018-02-13 23:45:19 +00:00
Nick O'Leary
360db252bb
Merge pull request #1626 from node-red-hitachi/fix-typo-in-jp-message-catalog
...
fix typo in Japanese message catalog
2018-02-13 23:44:48 +00:00
Nick O'Leary
0b6e290271
Merge pull request #1625 from node-red-hitachi/fix-typo-in-info-text
...
Fix typo in info text
2018-02-13 23:44:35 +00:00
Nick O'Leary
7f0174e6db
Merge pull request #1617 from node-red-hitachi/fix-backquote-in-info
...
Fix backquote in info text
2018-02-13 23:43:56 +00:00
Nick O'Leary
a25dad6c2e
Ensure debug tools show for 'complete msg object'
2018-02-13 23:42:22 +00:00
Nick O'Leary
6191a49ed3
Use flow-diff to resolve merge conflicts
2018-02-13 23:09:51 +00:00
Hiroyasu Nishiyama
6252b075bc
fixed message modificcation of concat mode of BATCH node
2018-02-13 20:55:03 +09:00
Hiroyasu Nishiyama
7face138fd
add Japanese info text for analysis category nodes
2018-02-12 14:04:29 +09:00
Hiroyasu Nishiyama
382b83b093
add Japanese info text for parsers category nodes
2018-02-12 12:24:03 +09:00
Hiroyasu Nishiyama
691687d1bc
add Japanese info text for storage category nodes
2018-02-11 23:07:07 +09:00
Hiroyasu Nishiyama
5814b80a72
add Japanese info text for logic category nodes
2018-02-11 20:59:01 +09:00
Hiroyasu Nishiyama
e147fbb1fa
add Japanese info text for core category nodes
2018-02-11 20:52:44 +09:00
Hiroyasu Nishiyama
b9e256adfa
fix typo in Japanese message catalog
2018-02-11 02:11:29 +09:00
Hiroyasu Nishiyama
3b7bf04e22
fix typo in info text of DELAY node
2018-02-11 02:07:51 +09:00
Hiroyasu Nishiyama
43408a724c
fix unmatched tag in info text of BATCH node
2018-02-11 02:06:28 +09:00
Dave Conway-Jones
5fbd5bf9e2
handle other fields in library - by only changing prefix
...
(rather than whole property - so ...-name is still the name required)
2018-02-10 16:49:47 +00:00
Dave Conway-Jones
5e87828b29
let library createUi accept elements other than node-input-name
2018-02-10 16:16:49 +00:00
Nick O'Leary
9066cedc29
Better merge-conflict commit button layout
2018-02-09 09:35:47 +00:00
Nick O'Leary
aa1cf0b228
Avoid git fetch when refreshing local status
2018-02-08 23:30:07 +00:00
Nick O'Leary
06a6a4408f
Handle allow-unrelated-histories option on pull
2018-02-08 23:21:14 +00:00
Nick O'Leary
d5619d2b9d
Fix up merge conflict handling
2018-02-08 22:22:58 +00:00
Nick O'Leary
2f6ac42efe
Add comment blocks to GitHub templates to reduce clutter
2018-02-08 14:39:58 +00:00
Hiroyasu Nishiyama
0bba3dd83d
merge upstream/master
2018-02-08 23:22:00 +09:00
Hiroyasu Nishiyama
abe60b62e6
change backquote in info text to <code>...</code>
2018-02-08 23:20:53 +09:00
Nick O'Leary
555b7df986
Handle more git 2.1 differences
2018-02-07 13:47:09 +00:00
Nick O'Leary
b3786700e6
Handle changing case of git error messages between versions
2018-02-07 13:10:04 +00:00
Hiroyasu Nishiyama
ce9643d21b
fix message lookup for core nodes in case of i18 locales directory exists
2018-02-07 21:59:58 +09:00
Nick O'Leary
4a5cb7f2f5
Ensure commit list has a refs object even if empty
2018-02-07 11:33:07 +00:00
Nick O'Leary
42a7e902e6
Handle host key verification as auth error
2018-02-07 11:32:50 +00:00
Nick O'Leary
aebe080e85
Add support for GIT_SSH on older levels of git
2018-02-07 10:50:32 +00:00
Kazuki-Nakanishi
c316284924
Fix the problem that the last flow tab can be deleted
2018-02-07 14:19:18 +09:00
Nick O'Leary
8d98b228ab
Bump 0.18.2
2018-02-06 15:28:43 +00:00
Nick O'Leary
5b4c42ff05
Update changelog
2018-02-06 14:30:31 +00:00
Dave Conway-Jones
a596a4551a
undo exec node change (investigate test fail)
2018-02-06 11:42:33 +00:00
Dave Conway-Jones
0968f96982
add a default keepalive to tcp client mode
...
to address #1469
2018-02-06 11:36:14 +00:00
Dave Conway-Jones
5931e13b9c
move node.send in exec and httprequest nodes
...
just in case
2018-02-06 11:36:13 +00:00
Nick O'Leary
415c768ae4
Filter out %D from git log command for older git versions
2018-02-06 11:00:11 +00:00
Nick O'Leary
b4c8bf21d5
Ensure projects are created as logged in user
2018-02-06 10:38:41 +00:00
Nick O'Leary
5fe5db603d
Better error handling/reporting in project creation
2018-02-05 15:59:11 +00:00
Nick O'Leary
9f7dd7f5d4
Add Project Settings menu option
2018-02-05 10:58:09 +00:00
Nick O'Leary
e6d32aab7b
Refresh vc sidebar on remote add/remove
2018-02-05 10:10:26 +00:00
Dave Conway-Jones
08bd6d963c
Ensure send is last thing trigger does
2018-02-04 21:25:25 +00:00
Dave Conway-Jones
ff05fb14a6
ensure trigger doesn't set two simultaneous timeouts
2018-02-04 20:17:43 +00:00
Nick O'Leary
22d942b705
Fix auth prompt for ssh repos
2018-02-03 23:44:19 +00:00
Nick O'Leary
0526372f28
Bump rbe dependency
2018-02-03 20:48:43 +00:00
Dave Conway-Jones
f99051906a
add missing property select var to HTML node
2018-02-02 23:40:01 +00:00
Nick O'Leary
d1f7fd8bfd
Prevent http git urls from including username/pword
2018-02-02 22:43:29 +00:00
Nick O'Leary
fc1436a96d
Fix fetch auth handling on non-default remote
2018-02-02 16:26:55 +00:00
Nick O'Leary
d21568497b
Avoid exception if git not installed
2018-02-02 13:46:22 +00:00
Nick O'Leary
df4beef060
Check version of git client on startup
2018-02-02 11:37:18 +00:00
Dave Conway-Jones
a52f195d41
undo dumb non-fix to trigger.
2018-02-02 10:28:22 +00:00
Dave Conway-Jones
419019a656
add check for property to trigger (temporary fix for debug)
2018-02-02 10:23:28 +00:00
Nick O'Leary
42b5635485
Merge pull request #1603 from Kroderia/master
...
Fix and Add some Chinese translations
2018-02-01 22:42:19 +00:00
Nick O'Leary
a8fc5b01f3
Don't assume node has defaults when exporting icon property
2018-02-01 22:28:05 +00:00
Nick O'Leary
ead841d844
Update CHANGELOG
2018-02-01 20:37:06 +00:00
Nick O'Leary
67d7930aef
Remember to disable projects in editor when git not found
2018-02-01 20:35:18 +00:00
Nick O'Leary
6f69995f4e
Update sort/batch docs
2018-02-01 20:21:36 +00:00
Kroderia
05252fa239
Fix and Add some Chinese translations
2018-02-02 02:57:11 +08:00
Nick O'Leary
1377439bb0
Fix pull/push when no tracked branch
2018-02-01 17:08:22 +00:00
Nick O'Leary
407123a280
Add git_pull_unrelated_history handling
2018-02-01 17:07:46 +00:00
Nick O'Leary
750dd590c8
Handle delete of last remote in project settings
2018-02-01 11:25:56 +00:00
Nick O'Leary
44112a9d18
Bump packte to 0.18.1
2018-02-01 10:54:16 +00:00
Nick O'Leary
b220bf0d99
Update changelog
2018-02-01 10:53:48 +00:00
Nick O'Leary
d0d93d7070
Handle more repo clone error cases
2018-02-01 10:42:14 +00:00
Nick O'Leary
4117961236
Relax validation of git urls
2018-02-01 10:42:04 +00:00
Nick O'Leary
68a3d71ee6
Revalidate project name on return to project-details view
2018-02-01 09:47:29 +00:00
Dave Conway-Jones
bf5d741f0d
Trigger node migration - ensure bytopic not blank
2018-02-01 09:21:16 +00:00
Nick O'Leary
55a33bc408
Add HEAD to list of methods with no body in http req node
2018-01-31 23:54:06 +00:00
Nick O'Leary
3ec35ed119
Do not include payload in GET requests
...
Fixes #1598
This regression was caused by #1531 - allowing the http request node
use any method.
The full fix is to identify which common verbs must not include a payload
and exclude them. GET needs fixing right now.
2018-01-31 23:39:26 +00:00
Nick O'Leary
3d8d6953ec
Avoid unecessary project refresh on branch-switch
...
Fixes #1597
2018-01-31 23:16:38 +00:00
Nick O'Leary
528db67c34
Add support for file:// git urls
2018-01-31 22:34:18 +00:00
Nick O'Leary
b847e962aa
Handle project first-run without existing flow file
2018-01-31 21:31:45 +00:00
Nick O'Leary
bbb9a3c63b
Merge pull request #1595 from kazuhitoyokoi/master
...
Update messages in jsonata.json
2018-01-31 14:07:55 +00:00
Kazuhito Yokoi
322cebc48c
Update messages in jsonata.json
2018-01-31 10:45:31 +00:00
Nick O'Leary
1cceb3d880
Merge pull request #1594 from kazuhitoyokoi/master-japanese
...
Update Japanese translations in messages.json
2018-01-31 09:50:54 +00:00
Kazuhito Yokoi
effc64db9a
Update Japanese translations in messages.json
2018-01-31 05:02:20 +00:00
Nick O'Leary
7e5bd5f2c1
Update to JSONata 1.5.0
2018-01-30 20:36:23 +00:00
Nick O'Leary
e32cc4d1af
Fix typo in CSV node help
2018-01-30 20:23:06 +00:00
Dave Conway-Jones
09a3cd850e
mention parts in css, yams
2018-01-30 16:11:26 +00:00
Dave Conway-Jones
b0c876019a
let HTML node use alternative msg property
2018-01-30 16:11:25 +00:00
Nick O'Leary
6725f870d2
Merge pull request #1591 from node-red-hitachi/fix-reduce-init
...
fix reduce mode of JOIN node with JSONata $append function
2018-01-30 13:37:07 +00:00
Hiroyasu Nishiyama
0e5adc1f0a
merge upstream/master
2018-01-30 22:15:24 +09:00
Dave Conway-Jones
57ebb93dc0
trigger node - add mention of per topic capability to info.
2018-01-30 11:16:04 +00:00
Nick O'Leary
05dc0bfa1d
Merge pull request #1590 from camlow325/allow-at-sign-in-module-examples-path
...
Allow at sign in module examples path
2018-01-30 10:33:24 +00:00
Jeremy Barlow
2d0264116c
Handle at sign in module example path for UI import menu
...
This commit allows an example from an npm package that has
an org scoped name (which includes an @ character) to be abbreviated
properly in the import menu - i.e., showing 'myexample' for a package
name of '@myorg/node-red-contrib-myexample' rather than
'@myorg/node red-contrib-myexample'.
2018-01-29 15:27:34 -08:00
Jeremy Barlow
3938550ea8
Support at sign in module examples path for flows endpoint
...
This commit allows an example from an npm package that has
an org scoped name (which includes an @ character) to be retrieved and
loaded properly through the flows endpoint.
2018-01-29 15:23:19 -08:00
Nick O'Leary
9f0c567794
Fix authWriter test again
2018-01-29 21:58:53 +00:00
Nick O'Leary
8672fcd2bb
Fix authServer on Windows path
...
Fixes #1588
2018-01-29 21:47:20 +00:00
Hiroyasu Nishiyama
3f2a92e801
evaluate init value on each reduction
2018-01-29 22:30:47 +09:00
Nick O'Leary
771e43583a
Typo in Batch node help
2018-01-29 11:21:43 +00:00
Nick O'Leary
9353d5c1c4
Merge pull request #1585 from node-red-hitachi/fix-HTML
...
fix HTML node not to reuse message object for multiple output messages
2018-01-29 11:16:20 +00:00
Nick O'Leary
5e462f0f02
Merge pull request #1586 from node-red-hitachi/fix-file-in-parts
...
fix behavior of "a msg per line" mode of FILE IN node with empty line
2018-01-29 11:14:07 +00:00
Nick O'Leary
a25f6fec9f
Merge pull request #1587 from node-red-hitachi/master-pj-cred
...
Fix the problem that does not encrypt credential file
2018-01-29 11:13:19 +00:00
Nick O'Leary
519edce0ed
Replace when.otherwise() with Promise.catch()
...
Fixes #1584
2018-01-29 09:51:38 +00:00
Kazuki-Nakanishi
0bc7702d95
Fix the problem that the project other than the first project does not encrypt a credential file
2018-01-29 15:51:16 +09:00
Hiroyasu Nishiyama
18be0d6d26
merge upstream/master
2018-01-29 14:44:17 +09:00
Dave Conway-Jones
1d4a435f20
Use a properly random is for parts.id
...
to close #1583
2018-01-28 21:15:59 +00:00
Hiroyasu Nishiyama
34e46fc6d3
fix behavior of msg per line mode of FILE IN node with empty line
2018-01-28 21:27:15 +09:00
Nick O'Leary
50956c51f7
Wrap notification messages in <p> when needed
2018-01-28 10:57:05 +00:00
Nick O'Leary
dd7bb28b6a
Fix debug comms batching with multiple connections
2018-01-28 10:44:02 +00:00
Hiroyasu Nishiyama
8516f41ba8
do not reuse message object for multiple outputs
2018-01-28 14:37:34 +09:00
Nick O'Leary
15c3cc60f6
Update changelog
2018-01-26 15:22:31 +00:00
Nick O'Leary
716bca211b
Update link to core team
...
Fixes #1540
2018-01-26 15:08:42 +00:00
Dave Conway-Jones
8179813fe1
let HTML node return empty array for no matching input.
...
to Close #1582
2018-01-26 14:26:54 +00:00
Nick O'Leary
d355de509b
Merge pull request #1580 from node-red-hitachi/0.18-parts-ext-switch-fix
...
fix bugs in SWITCH updates
2018-01-26 08:18:10 +00:00
Nick O'Leary
b04a2d4c08
Merge pull request #1581 from kazuhitoyokoi/0.18-jsonnode
...
Add icons into property UI of JSON node
2018-01-26 08:17:48 +00:00
Kazuhito Yokoi
6d3232a4f0
Add icons into property UI of json node
2018-01-26 07:31:48 +00:00
Hiroyasu Nishiyama
2753075180
fix bugs in SWITCH updates
2018-01-26 12:39:07 +09:00
Nick O'Leary
d0166b25e4
Update Changelog
2018-01-25 22:03:54 +00:00
Nick O'Leary
73ee657d74
Add TLS options to WebSocket client
2018-01-25 20:26:35 +00:00
Nick O'Leary
45913e5ee8
Don't end mqtt client on first error
...
Fixes #1566
2018-01-25 16:58:42 +00:00
Nick O'Leary
e6369820a9
SIGINT handler should wait for stop to complete before exit
2018-01-25 14:04:38 +00:00
Nick O'Leary
22a5b339f7
Stop list items from overflowing to new lines in node ui
...
Fixes #1408
2018-01-25 14:02:41 +00:00
Nick O'Leary
2cea3b6435
Merge pull request #1557 from node-red/inject-node-spinner-and-hours-fixes
...
remove inject node at specific time spinner
2018-01-25 13:51:27 +00:00
Nick O'Leary
5d2d06fb3e
Type editors should inherit the width of their parent tray
2018-01-25 13:50:35 +00:00
Nick O'Leary
0dd7bc7fb9
Better default README.md content and edit button
2018-01-25 13:30:27 +00:00
Dave Conway-Jones
0b0005337c
Decrement connected client count rather than show disconnected
...
to close #1577
2018-01-25 13:27:47 +00:00
Hiroyasu Nishiyama
d26fb02bb9
Japanese message catalog update of core nodes for 0.18 ( #1579 )
...
* Japanese message catalog update for 0.18
* update Japanese message catalog
* change tabs to spaces
2018-01-25 11:34:51 +00:00
Nick O'Leary
af683835d9
Add optional header to markdown editor
2018-01-25 11:24:30 +00:00
Nick O'Leary
c43647ca86
Handle null profile flow file name
2018-01-25 11:14:16 +00:00
Nick O'Leary
6d02e70025
Ensure existing files are migrated to first project
2018-01-25 10:13:07 +00:00
Kazuhito Yokoi
5498c6f87d
Update Japanese translations in editor.json ( #1573 )
...
* Update Japanese translations in editor.json
* Update Japanese translations in editor.json
2018-01-25 08:12:28 +00:00
Kazuhito Yokoi
11f59bc3ac
Move Chinese language files to correct path ( #1574 )
2018-01-25 08:12:15 +00:00
Kazuki Nakanishi
94cb7de79f
Fix the problem when using projects feature without git setting ( #1575 )
2018-01-25 08:11:46 +00:00
Nick O'Leary
838f45775b
Merge pull request #1576 from node-red-hitachi/0.18-pj-open
...
Enable the project open button when creating a first project
2018-01-25 08:10:03 +00:00
Kazuki-Nakanishi
1c1422e4b5
Enable a project open button when creating a first project
2018-01-25 12:46:37 +09:00
Nick O'Leary
cd8ca6fc62
Merge pull request #1552 from node-red/ace-editor-annotations
...
Changes to ACE editor annotations
2018-01-24 23:16:53 +00:00
Nick O'Leary
b7a0a9d7c2
Merge branch 'master' into 0.18
2018-01-24 23:08:14 +00:00
Nick O'Leary
7822ab113a
Merge pull request #1571 from node-red/projects
...
Projects 🎉
2018-01-24 23:07:04 +00:00
Nick O'Leary
e250a91f09
Merge branch '0.18' into projects
2018-01-24 23:06:27 +00:00
Nick O'Leary
92a65dcda5
Update installer tests for spawn
2018-01-24 22:56:54 +00:00
Nick O'Leary
4b129d94e4
Move node install to spawn to allow for big stdout
...
Fixes #1488
2018-01-24 22:41:26 +00:00
Nick O'Leary
e7960d1d44
Rewording some of the message sequence nodes ( #1564 )
...
* Rewording some of the message sequence nodes
* Fix batch test for overlap renaming
* Finish msg-sequence node help rewording
* Rename maxKeptMsgsCount to nodeMessageBufferMaxLength
* Rename nodeMessageBufferMaxLength in tests
* Remove Join-merge mode for later rework
2018-01-24 22:01:07 +00:00
Nick O'Leary
95589307cd
Better reporting of project-not-found
2018-01-24 21:54:18 +00:00
Nick O'Leary
20a0e4f3e0
Update settings test for global git user
2018-01-24 21:24:54 +00:00
Nick O'Leary
6a9213da64
Add project-exists checks on first-run dialog
2018-01-24 21:21:01 +00:00
Nick O'Leary
7a89e3cf33
Check the global git config to ensure its setup
2018-01-24 21:05:48 +00:00
Nick O'Leary
64607df929
Ensure git username/email are set on project creation
2018-01-24 15:51:11 +00:00
Nick O'Leary
a62a1012fa
Handle scoped modules via palette editor
2018-01-24 15:07:43 +00:00
Nick O'Leary
14efd0b2f9
Merge pull request #1529 from btsimonh/websocketsnonadmin
...
Fix WebSockets not working when httpAdminRoot false
2018-01-24 11:00:48 +00:00
Nick O'Leary
7ad2192df8
Merge pull request #1475 from thiagobustamante/patch-1
...
Fix #1456
2018-01-23 23:12:16 +00:00
Nick O'Leary
3cb5cbd8d5
Allow adminAuth.user to be a Function
...
Fixes #1461
2018-01-23 23:08:11 +00:00
Nick O'Leary
cc9011cd68
oneditdelete should be available to all node types
...
Closes #1346
2018-01-23 21:29:39 +00:00
Nick O'Leary
dc3d89008d
Merge pull request #1561 from node-red/add-property-select
...
Add property select to various core nodes
2018-01-23 17:06:31 +00:00
Nick O'Leary
1893642187
Sort typeSearch results based on position of match
2018-01-23 15:40:41 +00:00
Nick O'Leary
a9ece5772d
Remove extra editor logging
2018-01-23 11:29:09 +00:00
Nick O'Leary
cf34716a57
Tidy up project first-run experience
2018-01-23 11:26:05 +00:00
Nick O'Leary
1337831061
Better interaction with view-ssh-key list
2018-01-23 10:25:19 +00:00
Nick O'Leary
757e72100d
Put Projects behind feature flag within editor
2018-01-22 23:33:05 +00:00
Hiroyasu Nishiyama
a75b819858
reduce *MaxKeptMsgsCount property to one maxKeptMsgsCount ( #1563 )
2018-01-22 23:26:17 +00:00
Kazuki Nakanishi
da4a0f09ed
Add a button to restore user defined icon ( #1569 )
2018-01-22 23:25:43 +00:00
Hiroyasu Nishiyama
87d847a074
delete useless logging code from SWITCH node ( #1570 )
2018-01-22 23:25:02 +00:00
Nick O'Leary
84711beec0
Merge branch '0.18' into projects
2018-01-22 23:17:28 +00:00
Nick O'Leary
f3cf58c8ff
Remove mqtt debug
2018-01-22 23:15:20 +00:00
Nick O'Leary
cf40497e6e
Flip logic for opt-in to projects
2018-01-22 23:14:38 +00:00
Nick O'Leary
dfebc4b78d
Migrate deploy confirmations to notifications
2018-01-22 23:04:05 +00:00
Nick O'Leary
15f41a2e7c
Relax localfilesystem fsync tests
2018-01-22 14:16:31 +00:00
Nick O'Leary
ad6e55ca17
Allow a user to install missing modules from project settings
2018-01-22 13:46:11 +00:00
Hiroyasu Nishiyama
6b466d217a
update UI for SORT node ( #1567 )
...
* update UI of SORT node
* fix maxKeptMsgsCount of SORT node
2018-01-22 00:23:22 +00:00
Dave Conway-Jones
00dcb304c7
add default values as placeholders to trigger so no-one is suprised.
2018-01-21 11:49:06 +00:00
Hiroyasu Nishiyama
c6fb3d6f41
make selector of "joined using" filed shown correctly ( #1568 )
...
make selector of "joined using" field shown correctly
2018-01-21 11:46:57 +00:00
Dave Conway-Jones
ac3143811f
don't fail icon check if it's not there (allows delete of missing config node)
2018-01-19 22:48:03 +00:00
Nick O'Leary
7e27dd7678
Don't rely on ssh-keygen output to prevent known errors
2018-01-19 22:31:41 +00:00
Nick O'Leary
c2508296a5
Add debug to sshkeygen
2018-01-19 22:10:29 +00:00
Nick O'Leary
a9b50ce6fc
Collapse create/open/delete project dialogs into one
2018-01-19 21:51:29 +00:00
Nick O'Leary
eac98a6d4d
Prevent ssh-keygen prompting for passphrase when blank
2018-01-19 13:12:22 +00:00
Nick O'Leary
7e2b2a9a02
Timeout sshkey-gen calls
2018-01-19 12:57:37 +00:00
Nick O'Leary
353de471eb
Add debug to sshkeygen for travis
2018-01-19 12:50:12 +00:00
Nick O'Leary
85fc20b52d
Fix unhandled promise warnings in sshkeys/node8
2018-01-19 11:42:19 +00:00
Nick O'Leary
cc25a781f8
Increase timeouts on sshkeygen tests for travis
2018-01-19 11:21:12 +00:00
Nick O'Leary
fc3012ba72
Add notification button to title bar
2018-01-19 10:36:57 +00:00
Nick O'Leary
d93a92c1c8
Rearrange ssh logic to bring it together
2018-01-18 23:13:55 +00:00
Nick O'Leary
f7f795f58a
Fixup SSH key auth for project repos
2018-01-18 22:17:48 +00:00
Nick O'Leary
2700f8cdd2
Try to surpress the system context menu on Ctrl-Click in canvas
2018-01-17 23:14:18 +00:00
Hiroyasu Nishiyama
6310de0d20
Initial support of sequence rules for SWITCH node ( #1545 )
...
* new UI for parts support of SWITCH node
* update UI of SWITCH node for parts support
* add server side code of new SWITCH node
* update info document of SWITCH node
* add tests for new SWITCH node features
* add test for too many pending messages & related fixes
* fix handling when msg is undefined
* tabs -> spaces
* fixed meaning of "repair sequence" in SWITCH node docs
* add a note on restricting internally kept messages
* change label and position in menu of "pos. between" rule
* fixed typos (again, sorry)
2018-01-17 10:08:58 +00:00
Hiroyasu Nishiyama
218794be77
Initial support of merge & reduce mode for JOIN node ( #1546 )
...
* initial support of merge mode of JOIN node
* initial support of reduce mode of JOIN node
* update info document of JOIN node
* add tests for merge & reduce mode of JOIN node
* tidy tabs & spaces
* add test for too many pending messages & related fixes
* add an test for reduce mode of JOIN node
* change order of modes of SWITCH node
* add initial topics entry of merge mode
* fixed descriptions on "reduce right" checkbox
* fixed update of typedInput field of reduce mode
* fixed a typo in info document of JOIN node
* allow empty string in JSONata input field of reduce mode
* fixed a typo
* fixed error in reduce mode description
2018-01-17 10:08:23 +00:00
Hiroyasu Nishiyama
af71ae649b
Initial support of new BATCH node ( #1548 )
...
* initial support of BATCH node
* add concat mode & fix for docs and js code
* add tests for BATCH node
* minor correction of typo
* allow interval in float
* fixed message catalog
* add test for too many pending messages & related fixes
* update info document on batchMaxKeptMsgsCount
* fixed close callback
* fixed info document
* add initial topics entry of concat mode
2018-01-17 10:05:01 +00:00
Dave Conway-Jones
9bc72c1a06
let trigger node be reset by boolean message ( #1554 )
...
* let trigger node be reset by boolean message
with test
* fix trigger node boolean reset check to work with false
and add test
2018-01-17 09:51:53 +00:00
Kazuki Nakanishi
8d7c157751
Add UI test cases for messages on cookbook ( #1562 )
2018-01-17 09:50:46 +00:00
Dave Conway-Jones
558a66fbe5
restrict inject interval to less that 2^31 millisecs
...
(596 hrs, 24 days) to stop overflow causing fast loop. (defaults to 0)
to close #1485
2018-01-17 09:35:47 +00:00
Nick O'Leary
f95b414d22
First pass of projects test coverage
2018-01-16 23:04:39 +00:00
Dave Conway-Jones
e793a1e1aa
add property choice to xml, sentiment nodes
...
add tests
2018-01-16 21:43:37 +00:00
Nick O'Leary
b76010cb5a
Add sshkeygen test
2018-01-16 16:38:53 +00:00
Nick O'Leary
52475df783
Fix various tests due to projects rework
2018-01-16 16:18:18 +00:00
Nick O'Leary
1f3f32d377
Improve checks for missing _spec files
2018-01-16 13:15:47 +00:00
Nick O'Leary
3f5ba10354
Fix up merge
2018-01-16 11:25:13 +00:00
Nick O'Leary
25f4a018d9
Merge branch '0.18' into projects
2018-01-16 11:21:54 +00:00
Dave Conway-Jones
a11a279c00
add msg. select to range and yaml nodes,
...
re-order son node (name to bottom)
add common.label.property to messages list
2018-01-16 10:59:44 +00:00
Nick O'Leary
fd4fdb31b5
Better error reporting when module provides duplicate type
2018-01-15 23:20:20 +00:00
Dave Conway-Jones
1921796d6d
slight inject css adjust to line up text
2018-01-15 09:02:52 +00:00
Nick O'Leary
543a2b9dc7
Update json node docs to add caveat on ensuring JSON
2018-01-14 23:37:39 +00:00
Nick O'Leary
dd23e03342
Add option to JSON node to ensure particular encoding
2018-01-14 23:19:01 +00:00
Dave Conway-Jones
5307c74f85
remove inject node at specific time spinner
...
to close #1406
perform better validation / truncation of input for crontab,
adult spacing on page to be less cramped/more aligned
2018-01-14 22:16:51 +00:00
Dave Conway-Jones
d701c406e2
Update ACE editor ( #1555 )
2018-01-14 21:05:22 +00:00
Dave Conway-Jones
3ba56a0a65
add missing CSV node messages ( #1551 )
2018-01-14 21:02:46 +00:00
Dave Conway-Jones
4adafb6d1e
Changes to ACE editor annotations
...
relax errors for missing semi-colons, [] syntax warnings, max errors.
And also ignore missing doctype error for html templates.
2018-01-14 13:24:12 +00:00
Nick O'Leary
4453a51211
Tidy up properly between file node tests
2018-01-14 01:06:55 +00:00
Nick O'Leary
14429d2943
Remove node 7 from travis
2018-01-14 00:54:45 +00:00
Nick O'Leary
1a62a7831b
Handle undefined/null in log functions
...
Fixes #1418
2018-01-14 00:50:58 +00:00
Nick O'Leary
242e35c212
Fix file tests now the node properly creates directories
2018-01-14 00:44:33 +00:00
Nick O'Leary
ea763fdfd5
File out - create dirs synchronously to ensure they exist
...
Fixes #1489
2018-01-14 00:33:25 +00:00
Nick O'Leary
e762b7ff48
TypedInput: handle user defined value/labels options
...
Fixes #1549
2018-01-14 00:24:36 +00:00
Nick O'Leary
298068b2b9
Clear mouse state when typeSearch cancelled
...
Fixes #1517
2018-01-13 23:46:16 +00:00
Nick O'Leary
cb4120ec4b
Watch node - filter subdir events in tests because fs.notify is inconsistent
2018-01-13 23:24:41 +00:00
Nick O'Leary
5cfbb87bee
Fix global leak in watch tests (again x2)
2018-01-13 23:14:01 +00:00
Nick O'Leary
9e472ed83c
Fix global leak in watch tests (again)
2018-01-13 23:00:05 +00:00
Nick O'Leary
ebca753fc4
Fix global leak in watch tests
2018-01-13 22:59:05 +00:00
Nick O'Leary
548f45cd56
Publish null/undefined to mqtt as blank not toString
...
Fixes #1521
2018-01-13 22:53:58 +00:00
Nick O'Leary
8ffabf1813
Make Watch node test more reliable
...
- tidied up some unnecessary code
- removed the 'size' check as that is highly prone to timing issues
2018-01-13 22:48:35 +00:00
Nick O'Leary
1f40d4f941
Update package dependencies
2018-01-13 22:00:43 +00:00
Nick O'Leary
41582045d0
Tidy-up inject node once-timer on close
2018-01-13 21:17:14 +00:00
Nick O'Leary
fd9e3fc03a
Update jsonata to 1.4.1
2018-01-13 20:42:23 +00:00
Nick O'Leary
8c42b2bdb4
Add passphrase to TLS node
2018-01-13 20:27:54 +00:00
Dave Conway-Jones
7b1787fdbb
Debug to status option ( #1499 )
...
* Let debug optionally target the status line (32 chars only)
* Add batching of messages to debug ws comms
* let Debug handle simple case of NaN
would also close #1530
* Fixup debug tests for batch comms (no new tests yet)
* mixup comms/api test to match new batch mode (no new tests)
* Add test for NaN being sent OK.
* redo original fix to padding / labels for new debug options
* fix debug test (re-add fix from #1444 )
* Fix up merge issues in debug tests
2018-01-13 16:14:03 +00:00
Colin Law
71fee0025d
Add description of Timeout field in exec node info tab ( #1550 )
2018-01-13 15:33:15 +00:00
Nick O'Leary
1204cf1ba0
Better permission handling in editor
2018-01-12 21:00:11 +00:00
Nick O'Leary
7bd8d8c3ae
Give in to npm's insistent reformatting of package.json
2018-01-11 23:04:39 +00:00
Rocco Musolino
2c4d5fa38d
add express-session memorystore without leaks ( #1435 )
...
* add express-session memorystore without leaks
* Bump memorystore to v1.6.0
2018-01-11 22:51:05 +00:00
Nick O'Leary
bedb2d943e
Merge branch 'pr_1231' into 0.18
2018-01-11 22:46:18 +00:00
Dave Conway-Jones
a3640bd9bf
tag UDP ports in use properly so they get closed correctly ( #1508 )
...
* tag ports in use properly so they get closed correctly
to close #1470
* redo test for udp port in use
* check port in use correctly on close
2018-01-11 22:03:59 +00:00
Dave Conway-Jones
7c0b9ffe06
Add skip first n lines capability to csv node ( #1535 )
...
* Initial implementation of skip first lines for css node
* add css skip lines tests
2018-01-11 22:02:58 +00:00
Nick O'Leary
161c7d30ca
Add support for rejectUnauthorized msg property
2018-01-11 22:00:10 +00:00
Klaus Landsdorf
4ff6e792cd
Inject node - let once delay be editable ( #1541 )
...
* inject once with delay
* test for inject delay at once works
* give access to the once delay of the inject node
* change event not needed in HTML
* code review with Dave
* rename test
* tests for default and optional delay
* test once with delay and repeat
2018-01-11 21:50:53 +00:00
delbozkester
af5df890a5
Add MQTT via WebSocket communication option ( #1544 )
...
* Add MQTT via WebSocket communication option
Add option in MQTT broker configuration node to enable MQTT via WebSoket comunication
* MQTT over WS error correction
Minimal correction of values and erase debug console.log unnecessary
* original package.json
Erase some changes on grunt build at package.json. Erase package-lock.json and back to the original package.json
* .gitignore
* .gitignore again
* No tabs
2018-01-11 21:22:02 +00:00
Nick O'Leary
9ba011003a
Merge branch 'master' into 0.18
2018-01-11 21:20:51 +00:00
Nick O'Leary
bb168d35a8
Add warning if no sshkeys configured when cloning
2018-01-11 12:56:49 +00:00
Nick O'Leary
3306d30094
Get proper path to local keyfile when selected
2018-01-11 11:19:04 +00:00
Nick O'Leary
6516e0dfd2
Allow a user to pick existing sshkeys from ~/.ssh
2018-01-10 17:37:41 +00:00
Nick O'Leary
00a396014b
Fix editor-button toggle css
2018-01-10 10:02:35 +00:00
Nick O'Leary
13356047dc
Better handling of empty projects and lifecycle
2018-01-09 15:06:05 +00:00
Nick O'Leary
8a6488b067
Move editor project files and add search to open dialog
2018-01-08 23:14:37 +00:00
Nick O'Leary
1c2ea56f42
Allow a project to be specified on the command-line
...
Reuses the existing flowFile - if its value is found
to be the name of an existing project, that project
is set as the active one.
If it is not the name of an existing project, it is
ignored.
2018-01-08 16:10:54 +00:00
Nick O'Leary
1d7ae300e2
Handle cloning a bare repository
2018-01-08 14:46:56 +00:00
Nick O'Leary
6013e186ed
Add placeholder when a repo has no local branches
2018-01-08 14:46:56 +00:00
Hideki Nakamura
207d3d3340
Clear debug message when switching projects ( #1523 )
...
* Clear debug sidebar when switching project
* Delete a unnecessary comment
* Clear any filters the users has enabled
* Clear filter settings only when the user opens a project
2018-01-05 16:13:02 +00:00
Hideki Nakamura
5a6cde1446
Refactoring ssh-keygen function ( #1533 )
2018-01-05 16:12:01 +00:00
Kazuki Nakanishi
63f7d826bc
Enable it to store icon files in {settings.userDir}/lib/icons directory for dynamic nodes's icon feature ( #1536 )
2018-01-05 14:23:47 +00:00
Kazuki Nakanishi
ff8773f6bd
Fix the problem that occurs by grunt coverage ( #1537 )
2018-01-05 14:22:49 +00:00
Colin Law
a868cb97d9
Move all node.send to end of timer functions in trigger node (issue #1527 ) ( #1539 )
2018-01-02 08:28:08 +00:00
Nick O'Leary
915d73e6f2
Ensure node.outputs remains a number type
...
Closes #1532
2017-12-22 21:14:47 +00:00
Hugobox
5f4f6e37b5
HTTP REQUEST: Adding PROPPATCH and PROPFIND http methods ( #1531 )
...
* HTTP REQUEST: Adding PROPPATCH and PROPFIND http methods
* Removed method check
2017-12-22 10:16:39 +00:00
Nick O'Leary
9c350311e8
Fix reauthentication of remote repositories
2017-12-21 17:40:24 +00:00
Hideki Nakamura
3c6ba72a2a
Change z-index property of "notification" to a larger than z-index property of "dialog" ( #1528 )
2017-12-21 08:20:41 +00:00
Nick O'Leary
816442f5f0
Update sshey UI to use common list style
2017-12-20 23:45:17 +00:00
Nick O'Leary
3b51d18ce7
Change default user filename prefix for sshkeys
2017-12-20 16:08:57 +00:00
Simon Hailes
6696b6661a
When creating 'redserver' for a node, use runtime.server rather than runtime.adminApi.server, and fill runtime.server at startup with the valid http server regardless of adminApi being available.
...
This resolves websockets not working when the adminApi (httpAdminRoot) is disabled in settings.
2017-12-20 16:04:32 +00:00
Nick O'Leary
8c87478636
Merge sshkeys
2017-12-20 15:12:10 +00:00
Nick O'Leary
d870b072d7
Tidy up branch/remote list in projectSettings
2017-12-20 14:37:34 +00:00
Hideki Nakamura
2ea2af7d2a
Use a fixed string instead of os.hostname()
2017-12-20 19:44:57 +09:00
Dave Conway-Jones
f737ea96f3
Don't send message if it doesn't exist. and give it time not to exist.
...
to close #1527
2017-12-19 17:54:26 +00:00
Nick O'Leary
05f90394db
Flag misconfigured project credentialSecret
2017-12-19 14:00:58 +00:00
Hideki Nakamura
c24b0c6bb4
Change "generateSSHKey" function signature
2017-12-19 22:57:40 +09:00
Hideki Nakamura
e07a4dc7ba
Change the implementation of visible check
2017-12-19 22:30:42 +09:00
Kazuki Nakanishi
fc6748a46b
[UI test] Split test script into scenario and browser operation ( #1516 )
2017-12-19 11:11:51 +00:00
Kazuki Nakanishi
7697c46652
Fixed name conflict of icon property for dashboard node ( #1524 )
2017-12-19 11:11:10 +00:00
Hideki Nakamura
ed52e5afd1
Avoid reformatting package.json
2017-12-19 10:32:05 +09:00
Nick O'Leary
33a5b84181
Add first-run dialog to migrate files to project
2017-12-19 00:56:02 +00:00
Hideki Nakamura
c09a407f4c
Delete unnecessary comments & add trace mock function
2017-12-18 21:37:09 +09:00
Hideki Nakamura
d35784ec61
Delete unnecessary comment & Add a logic of the error case
2017-12-18 20:46:07 +09:00
Hideki Nakamura
53e012f296
Add delete SSH Key dialog
2017-12-18 00:53:03 +09:00
Hideki Nakamura
2a9d0a5e7d
Merge branch 'projects' into sshkey-management
2017-12-17 23:54:44 +09:00
Nick O'Leary
474f4572f2
Fix conditional initialisation of projects
2017-12-16 23:43:08 +00:00
Hideki Nakamura
bf57cb209f
Delete unnecessary logs
2017-12-16 00:46:05 +09:00
Hideki Nakamura
9bc41c1709
Merge branch "projects"
2017-12-16 00:33:08 +09:00
Hideki Nakamura
fe10b8650f
Add Git access feature via SSH and Enhance SSH Key management
2017-12-16 00:07:47 +09:00
Hideki Nakamura
3a311c9584
Detect a SSH key generation error
2017-12-15 23:48:52 +09:00
Hideki Nakamura
d1106f53e0
Pass email data into the SSH Key generation API
2017-12-15 21:41:14 +09:00
Nick O'Leary
a3a1bba5ef
Add projects editorTheme flag to disable the feature
2017-12-13 09:44:48 +00:00
Nick O'Leary
028d66befc
Add suitable message when not displaying binary files
2017-12-11 17:05:27 +00:00
Nick O'Leary
bb59cd5742
Allow unstaged files to be reverted
2017-12-11 17:05:12 +00:00
Nick O'Leary
604e3068b2
Add full-screen shade that covers everything but notfications
2017-12-10 22:35:57 +00:00
Nick O'Leary
27f1d3b704
Add delete local branch option
2017-12-08 16:31:42 +00:00
Nick O'Leary
d007623347
Return more detailed information on /project/branches api
2017-12-07 22:24:57 +00:00
Hideki Nakamura
6a5cf7a1fa
Merge branch 'projects' into sshkey-management
2017-12-07 23:29:58 +09:00
Hideki Nakamura
3adfe249b0
Support to delete project feature ( #1509 )
...
* First commit to support to delete projects
* Add delete project menu & Implement delete project API
* Correspond to the PR feedback
2017-12-07 14:28:26 +00:00
Hideki Nakamura
923893e160
Add SSH key management API
2017-12-07 23:11:24 +09:00
Dave Conway-Jones
256e5360d4
ensure core node labels are italic when named ( #1498 )
2017-12-06 22:47:13 +00:00
Nick O'Leary
304c597a2f
Store repo credentials per-user
2017-12-06 22:39:30 +00:00
Nick O'Leary
f86d3a69d2
Fix merge-abort button
2017-12-06 22:39:20 +00:00
Hiroyasu Nishiyama
d7c8adfd82
Fix handling of too many pending messages in SORT node ( #1514 )
...
* initial support of SORT node
minor fix of sort node
fixed error message of sort node
fixed error handling of SORT node
add test case for SORT node
make limit of messages count computed once in SORT node
* update type in message & info description
* fix handling of pending messages in SORT node
2017-12-06 19:44:46 +00:00
Hideki Nakamura
55cd069043
Fix the error that "otherwise is not a function" ( #1513 )
2017-12-06 13:20:38 +00:00
Hideki Nakamura
3ca0e9c420
Fix the property "users" access error in runtime.start test caces ( #1511 )
2017-12-06 13:20:22 +00:00
Hideki Nakamura
1dd4323613
Fix the errors in credentials test cases ( #1512 )
2017-12-06 13:19:07 +00:00
Hideki Nakamura
d78916f85f
Fix the error occuring during permission check ( #1510 )
2017-12-06 13:18:36 +00:00
Nick O'Leary
1840d15397
Restructure how editor/git settings are saved in userSettings
2017-12-05 23:50:32 +00:00
Dave Conway-Jones
b98d1216b1
ignore _msgid when merging full objects
...
to hand code and close #1423
2017-12-05 21:45:43 +00:00
Dave Conway-Jones
27db727321
Let CSV correct parts if we remove header row.
...
and add test
2017-12-05 17:34:49 +00:00
Nick O'Leary
3f6b1f6ccb
Fix loading of userSettings
...
Closes #1505
2017-12-05 16:23:55 +00:00
Hideki Nakamura
6d633b372a
Add git config UI ( #1506 )
...
* Add Git config tab
* Get usersetting data via admin HTTP API
* Delete git committer edit form in Project Settings tab
* Corresponding to the PR feedback
2017-12-05 16:14:20 +00:00
Nick O'Leary
91352e855a
Handle overwrite warning on local branch change
2017-12-05 16:12:07 +00:00
Qi Xiu
8bb9b594cf
Add Chinese translation of jsonata.json ( #1504 )
2017-12-05 15:58:11 +00:00
Hiroyasu Nishiyama
6d2fd2e641
add parts support for CSV node ( #1496 )
...
* add parts support for CSV node
* make CSV node to preserve incoming parts property
2017-12-05 15:39:51 +00:00
Dave Conway-Jones
422fbcb0b7
add error msg to sort node
2017-12-05 15:01:58 +00:00
Hiroyasu Nishiyama
afce106186
initial support of SORT node ( #1500 )
...
* initial support of SORT node
minor fix of sort node
fixed error message of sort node
fixed error handling of SORT node
add test case for SORT node
make limit of messages count computed once in SORT node
* update type in message & info description
2017-12-05 14:54:03 +00:00
Ross Cruickshank
f21c8154ed
enable template config via msg.template for stored or generated templates ( #1503 )
...
* updates to 80-template to allow setting template with msg.template
* updated 80-template_spec test for msg.template support
* fixed 80-template.js test
2017-12-05 12:24:06 +00:00
Dave Conway-Jones
3988a648d6
Merge branch 'master' into 0.18
2017-12-05 12:22:20 +00:00
Nick O'Leary
1b632894d3
Save editor settings in /settings/user
2017-12-05 10:20:13 +00:00
Nick O'Leary
5e128f89f6
Ensure strategy login button uses relative URL
...
Fixes #1481
2017-12-04 21:13:07 +00:00
Nick O'Leary
fff0b15ae5
Add /settings/user end point
2017-12-04 17:15:17 +00:00
Nick O'Leary
a7e14f1093
Handle a local branch that does not yet track a remote
2017-12-04 13:26:47 +00:00
Nick O'Leary
94eeaeb8d3
Allow committer details to be set per-user
2017-12-04 11:42:44 +00:00
Nick O'Leary
64191e8303
Merge master to 0.18
2017-12-03 22:32:28 +00:00
Nick O'Leary
21cfb71617
Add modal notification type with buttons
2017-12-03 22:26:17 +00:00
Hiroyasu Nishiyama
806457063f
add parts support for HTML node ( #1495 )
...
* add parts support for HTML node
* add parts.{type,ch} to output of HTML node
2017-12-01 13:09:05 +00:00
Kazuki Nakanishi
b9213b73bd
first step of ui test ( #1497 )
2017-12-01 10:50:59 +00:00
Hiroyasu Nishiyama
d7f0102aa2
add test for WATCH node ( #1493 )
2017-11-30 13:48:52 +00:00
Nathanaël Lécaudé
f09e61a59a
Added parsed YAML support for template node ( #1443 )
2017-11-30 13:38:50 +00:00
Mike Blackstock
d426aaa88a
add —unsafe-perm option to npm install to match documentation ( #1486 )
2017-11-30 13:38:22 +00:00
tilleul
19e45389e1
Updated regex so custom width using calc() work ( #1487 )
...
So far, for typedInput "<input type=text>" fields, only custom styles like "width:100%" or "width:75px" worked. Proposed change allows to use calc() as well like in "width:calc(100% - 120px)"
2017-11-30 13:38:03 +00:00
Kazuki Nakanishi
6d2389945b
allow a node's icon to be set dynamically ( #1490 )
...
* create a proto type
* Fixed some problems after reviewing
2017-11-30 13:13:35 +00:00
Nick O'Leary
14c48253f6
Confirm actions that would overwrite dirty workspace
2017-11-24 23:12:35 +00:00
Nick O'Leary
e5ff25b92d
Fix project pull with authentication
2017-11-23 20:52:15 +00:00
Nick O'Leary
5c88888e02
Better auth handling in projects
2017-11-23 00:27:13 +00:00
Nick O'Leary
10057de9b3
A big projects update
...
Includes:
- change local/remote branches
- basic support for username/password handling
2017-11-21 23:31:41 +00:00
Dave Conway-Jones
cc88ebd2b9
Let trigger node support per topic mode ( #1398 )
...
* Let trigger node support per topic mode
* ensure trigger node clones repeating message
* Add some tests for trigger by topic
* test trigger repeat for pass by ref error
* trigger test - add missing try/catch to all test with callback
* boost trigger node test coverage
2017-11-17 17:35:18 +00:00
Jim Turner
6baedf909d
Fix #1478 - Project files are not being flushed to disk after being written ( #1479 )
...
* Call fsync() before closing file
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Test coverage for fsync() calls
For issue #1478
* Revert "Fix race condition in tests due to incorrect stub."
This reverts commit 4f71d7851b .
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Fix intermittent test failure in Exec node.
Occasionally, the error text on stderr will come in more than one piece. The test only worked correctly if a single message was received.
2017-11-17 17:29:33 +00:00
Dave Conway-Jones
f39d9d6f1b
clone messages before delayed send ( #1474 )
...
and accept floats for delay interval.
2017-11-17 17:27:29 +00:00
Kazuhito Yokoi
ab61a95f83
Add test cases for change node ( #1476 )
2017-11-17 17:26:36 +00:00
Thiago Bustamante
10ceed30c6
Fix #1456
...
When importing new nodes, it is necessary to check the 'exclusive' flag
2017-11-03 11:34:41 -02:00
Dave Conway-Jones
2b9aa94f3a
Add rc property to exec node outputs 1 and 2 ( #1401 )
...
* Add rc property to exec node outputs 1 and 2
to close #1399
* improve test coverage and add tests for new msg.rc
* make spawn test slightly more robust to different environments
* added debug for spawn test
* let spawn error test be even more relaxed
* don't necessarily clone msg.payload in exec node stderr
as per suggestion
2017-11-02 16:55:44 +00:00
Kazuki Nakanishi
848fb975ed
Fix a problem of file append test on Windows ( #1431 )
...
* Fix a problem of file append test on Windows
* Skip the test case of file node that fails on Windows
* Remove close() call
* Fixed a recreated file test case on Windows
2017-11-02 16:51:40 +00:00
Hiroki Uchikawa
d7f59dac84
Make it possible to save formatting choices separately by the type of object ( #1458 )
2017-11-02 16:50:35 +00:00
Dave Conway-Jones
dd47e615ee
Fix css template with spaces , and add test ( #1462 )
...
to close #1460
2017-11-02 16:50:13 +00:00
Hiroyasu Nishiyama
8f2f7ea1a5
Add test script for link node ( #1463 )
...
* fixed unmatched HTML tags
* add test for link node & red.js fix for it
2017-11-02 16:47:12 +00:00
Hiroyasu Nishiyama
80a8efd8ce
Add test script for "tcp in" node ( #1465 )
...
* fixed unmatched HTML tags
* add test for "tcp in" node
2017-11-02 16:47:01 +00:00
Hiroyasu Nishiyama
d9dce77ef4
add test script for "udp in" node ( #1466 )
...
* add test script for "udp in" node
* use old socket.send API for Node4.X compatibility
2017-11-02 16:46:51 +00:00
Hiroyasu Nishiyama
ce7053a1fe
add test script for "udp out" node ( #1467 )
2017-11-02 16:46:38 +00:00
Hiroyasu Nishiyama
0db1530171
add test script for "tcp request" node ( #1468 )
...
* add test script for "http request" node
* change let -> var
2017-11-02 16:46:26 +00:00
Nick O'Leary
3745504107
Keep version sidebar in sync with project
2017-10-25 15:36:41 +01:00
Nick O'Leary
57533fd831
Add commit-diff view
2017-10-25 15:26:24 +01:00
Kazuhito Yokoi
f57a0d4d6b
Remove unused variables in test cases of change node ( #1455 )
...
* Remove unused variables in test cases of change node
* Empty commit to run test cases again
* Empty commit to run test cases again
2017-10-25 12:23:28 +02:00
Hiroki Uchikawa
22772ca33e
Fix debug message format for Buffer ( #1444 )
...
and add a test case
2017-10-23 12:13:28 +02:00
jmikerq
dba6ff1d51
added chinese messages.json locale file ( #1452 )
...
* modified the wording in the chinese editor.json
change the wording closer to their meanings in chinese
* added chinese messages.json
2017-10-23 11:55:26 +02:00
Qi Xiu
40146dedaf
Add Chinese version of infotips.json ( #1449 )
2017-10-23 11:55:08 +02:00
jmikerq
387b822f53
clean up naming for chinese software naming convention ( #1453 )
2017-10-23 11:54:49 +02:00
Nick O'Leary
b9a3563e5b
Handle 'No newline' message in text diffs
2017-10-20 21:29:43 +02:00
Nick O'Leary
3d6468326a
Allow a project's flow file to be changed
2017-10-19 21:38:53 +01:00
Kazuhito Yokoi
298e37ec53
Fix problem in node pull-down menu ( #1448 )
2017-10-19 13:52:25 +01:00
Kazuhito Yokoi
5b137c457b
Fix invalid from property error in change node ( #1442 )
...
* Fix invalid from property error in change node
* Empty commit to run test cases again
2017-10-17 22:17:27 +01:00
Nick O'Leary
5218a3fbac
Add custom project.toJSON to simplify state mangement
2017-10-17 10:14:50 +01:00
Nick O'Leary
4569cb432d
Add Project object in runtime
2017-10-16 23:23:50 +01:00
Kazuhito Yokoi
611e598756
Add test cases for function node ( #1402 )
...
* Add test cases for function node
* Remove test case for keys() in global context
2017-10-12 20:47:52 +01:00
Hiroki Uchikawa
937d79d28f
Add test cases for debug node ( #1438 )
2017-10-12 20:47:13 +01:00
Hiroyasu Nishiyama
23c2a771d3
fixed unmatched HTML tags ( #1437 )
2017-10-11 13:31:37 +01:00
Dave Conway-Jones
58a890e836
completely remove unnecessary callback
...
to Fix #1436
2017-10-11 08:52:28 +01:00
Dave Conway-Jones
6a869e120c
speed up debug window - only process required number of messages ( #1378 )
...
* speed up debug window - only process required number of messages
* tiny optimisation to debug utils stack handler
* remove unnecessary callback
(and rename function)
2017-10-10 21:53:25 +01:00
Dave Conway-Jones
ae7c298b1a
let default apply if msg.delay not set in override mode. ( #1397 )
...
* let default apply if msg.delay not set in override mode.
* Update tests to match
* allow msg.delay to be 0 if wanted
and test for that
2017-10-10 21:40:09 +01:00
Hiroki Uchikawa
53bfe12ac1
Add test cases for switch node ( #1426 )
2017-10-10 21:37:34 +01:00
Henri Bouvier
140ea683a6
[fix] github oauth strategy when Root is not / ( #1430 )
2017-10-10 21:24:44 +01:00
Kazuhito Yokoi
0634a97598
Fix global.keys() bug in function node ( #1417 )
...
* Fix global.keys() bug in function node
* Filter set(), get() and keys() in global.keys() method
2017-10-10 21:13:38 +01:00
Kazuhito Yokoi
3479c794de
Modify JSONata Expression editor to refer to language files ( #1433 )
2017-10-10 20:21:41 +01:00
Kazuhito Yokoi
89cad116f7
Update translation file for JSONata (jsonata.json) ( #1432 )
2017-10-10 20:21:19 +01:00
Nick O'Leary
19c84eb694
Add commit history view in sidebar
2017-10-09 23:37:19 +01:00
Nick O'Leary
eae390acf5
Disable view-diff button for deletes/unknown files
2017-10-09 12:10:00 +01:00
Nick O'Leary
10567afbb9
Add unified diff view to version control tab
2017-10-09 00:11:07 +01:00
Nick O'Leary
51bad3bf3c
Add dual text-diff
2017-10-08 22:03:06 +01:00
Nick O'Leary
9134d8841d
Update ISSUE_TEMPLATE.md
2017-10-08 14:04:35 +01:00
Nick O'Leary
e9a026c131
Add issue/pr templates
2017-10-08 14:02:05 +01:00
Nick O'Leary
9a2fd0e2b2
Add initial version control sidebar with commit function
2017-10-07 00:18:20 +01:00
Nick O'Leary
522f7e6844
Do not include creds when calculating flow revision hash
2017-09-28 22:34:21 +01:00
Hiroki Uchikawa
cb4f46decc
Fix circular reference in join node ( #1412 )
...
and add a test case
2017-09-28 19:09:54 +01:00
Hiroki Uchikawa
81256279a8
Fix wrong argument in change node ( #1415 )
...
and add test cases
2017-09-28 10:06:31 +01:00
Dave Conway-Jones
039bd1ddc0
Auto hide empty palette categories ( #1395 )
...
to close #1382
2017-09-27 17:05:18 +01:00
Dave Conway-Jones
0791d4797f
Update ACE to test and add python highlighter ( #1373 )
2017-09-27 17:04:01 +01:00
Nick O'Leary
6a06142e1e
Allow credSecret to be managed via project settings
2017-09-26 22:51:08 +01:00
Kazuhito Yokoi
ef53dca062
Handle escape characters in template node which uses Mustache format and JSON output mode ( #1377 )
...
* Handle escape characters in template node which uses Mustache format and JSON output mode
* Handle escape characters in template node which uses Mustache format and JSON output mode
2017-09-21 13:38:45 +01:00
Richlv
6ce761edda
Update settings.js ( #1404 )
...
fix typo in a comment
2017-09-21 13:37:34 +01:00
Nick O'Leary
d8fd218409
Allow project dependencies to be edited in dialog
2017-09-21 11:19:24 +01:00
Nick O'Leary
edc2310599
Move project sidebar to project settings dialog
2017-09-20 22:51:28 +01:00
Nick O'Leary
b1cd13d629
Initial projects implementation
2017-09-20 10:30:07 +01:00
btsimonh
b81940351f
Allow port zero for Express ( #1363 )
...
* Allow uiPort to be 0 (i.e. distinguish from undefined). When Express runs up, catch the real port number to settings.serverPort, and use that in getListenPath if set, else use uiPort.
2017-09-17 09:30:39 +01:00
Kazuki Nakanishi
a42e99c4aa
Fix the appearance of 'is between' rule on switch node property ( #1383 )
2017-09-17 08:46:47 +01:00
HirokiUchikawa
ff40b521b7
Fix problem with multi-byte character ( #1391 )
2017-09-17 08:46:14 +01:00
Nick O'Leary
85392496e7
Allow setTimeout in Function node to be promisified in node 8
2017-09-12 15:13:13 +01:00
Jeston Tigchon
29cae9975e
Upgrade JSONata to v1.3.0 ( #1386 )
2017-09-07 21:58:29 +01:00
Kosuke Akizuki
170d6b28f8
Change font family ( #1357 )
...
thanks @k4zzk
2017-08-24 12:14:55 +01:00
Nick O'Leary
9a8b404054
Split localfilesystem storage plugin into component parts
2017-08-23 17:31:33 +01:00
Nick O'Leary
41af5187aa
Reorganise red/api layout to better componentise
2017-08-22 22:26:29 +01:00
Dave Conway-Jones
a844ca161f
Spinner fixes ( #1371 )
...
* Fix for function node invalid spinner values
to close #1370
* better validation of spinners for inject and delay
(don’t allow negative numbers)
* remove need for declaring local min variable
2017-08-21 22:00:23 +01:00
btsimonh
e09efba313
mqtt: Add 'name' to mqtt-broker node, and label it by this if it is set. ( #1364 )
...
This allows you to easily distinguish between broker nodes which are talking to the same server but with different credentials.
2017-08-09 22:22:40 +01:00
Nick O'Leary
96a0dbea2d
Don't include subflow meta-port nodes in exported selection
...
Fixes #1362
2017-08-08 15:48:54 +01:00
Nick O'Leary
5b3b5271ad
Remove test diff code
2017-08-07 16:38:15 +01:00
Kazuhito Yokoi
d7d13c12fe
Modify messages to refer to language files ( #1361 )
2017-08-07 10:00:28 +01:00
Nick O'Leary
54220d0e71
Ensure shade elements have a higher z-index than ui elements
2017-08-04 22:20:58 +01:00
Nick O'Leary
4a2e3586f1
Allow delay node in rate-limit mode to be reset
...
Fixes #1360
2017-08-04 21:09:00 +01:00
Nick O'Leary
f808e85da9
Diff view: subflows can have port labels as well
2017-08-04 14:26:05 +01:00
Nick O'Leary
1671d1f580
Allow expanding diff elements to stay in-sync deeper
2017-08-04 14:23:28 +01:00
Nick O'Leary
7de1bf9d95
Better node properties layout in diff table
2017-08-03 23:04:39 +01:00
Nick O'Leary
7368b0cefb
Make diff tool a maximised tray rather than dialog
2017-08-03 09:58:25 +01:00
Nick O'Leary
4af43d676a
Include input/output labels in diff view
2017-08-02 21:57:23 +01:00
Nick O'Leary
67dc848b2d
getNodeIcon should handle subflow types properly
2017-08-02 21:55:25 +01:00
Nick O'Leary
7ec8f0d26b
Do not include tab types in typeSearch dialog
2017-08-02 21:54:58 +01:00
Nick O'Leary
eaf08a9971
Keep local/remote diff objects in sync as they expand
2017-07-31 23:29:36 +01:00
Nick O'Leary
5bdb9e972e
Add httpStatic log statement on start up
2017-07-26 11:45:49 -07:00
Nick O'Leary
d4d87054c4
Ensure tab property changes are listed in diff view
2017-07-26 07:55:53 -07:00
Nick O'Leary
0f93929544
Fix diff view node properties table rendering
2017-07-26 07:47:19 -07:00
Nick O'Leary
1c0e794f87
Ensure tabs get their definition object properly attached
2017-07-26 07:46:22 -07:00
Nick O'Leary
f9bce5a5f9
Changelog for 0.17.5
2017-07-23 17:32:27 +01:00
Nick O'Leary
797ae096c8
Add express-session missing dependency for oauth
2017-07-23 17:31:42 +01:00
Nick O'Leary
6d76918424
Fix improper type tests is core test cases
2017-07-22 22:42:35 +01:00
Nick O'Leary
2aced893c6
File node: recreate write stream when file deleted
...
Fixes #1351
2017-07-22 22:28:45 +01:00
Nick O'Leary
f0373cd789
Add flow stopping trace messages
2017-07-21 11:15:40 +01:00
Kazuki Nakanishi
2f88dc64fc
Fix userDir test case when .config.json exists ( #1350 )
2017-07-21 11:12:04 +01:00
Nick O'Leary
781ca77794
Do not try to send msg after http request error handled
...
Fixes #1344
2017-07-19 22:37:29 +01:00
Kazuhito Yokoi
c6e453fb00
Fix boundary problem in range node ( #1338 )
...
* Fix boundary problem in range node
* Remove duplicated test case
* Empty commit to retry Travis CI
2017-07-19 16:42:39 +01:00
Kazuhito Yokoi
a40b3dd377
Modify messages in node properties to refer messages.json ( #1339 )
2017-07-19 13:50:34 +01:00
martiall
096b3534d8
Fix settings.js replacing webSocketVerifyClient by webSocketNodeVerifyClient ( #1343 )
2017-07-14 11:34:29 +01:00
Nick O'Leary
5324244c55
Bump for 0.17.4
2017-07-10 13:16:13 +01:00
Nick O'Leary
993f1dc853
Add request node test case for POSTing 0
2017-07-09 12:18:05 +01:00
Patrik Åkerfeldt
d8a4e9e1ab
Allow false and 0 in payload for httprequest ( #1334 )
2017-07-09 12:17:54 +01:00
Kazuhito Yokoi
b3ffd33507
Add file extension into flow name of library automatically ( #1331 )
2017-07-09 11:58:17 +01:00
Nick O'Leary
c93870316c
Fix accessing global context from jsonata expressions
...
Fixes #1335
2017-07-09 10:40:23 +01:00
Nick O'Leary
fc9906624e
Disable editor whilst a deploy is inflight
...
Fixes #1332
2017-07-08 21:16:52 +01:00
Nick O'Leary
ba6209ba54
Replace Unknown nodes with their real versions when node loaded
2017-07-08 17:30:17 +01:00
Nick O'Leary
f9769a73fe
Retry auto-install of modules that fail
...
- introduces autoInstallModulesRetry - default 30000
- backs off interval if repeated failures
- fixes notification to the editor of an auto-reinstall
2017-07-08 17:30:17 +01:00
Kazuhito Yokoi
3a2f56cb95
Fix column name in link nodes to refer language file ( #1330 )
2017-07-07 11:43:07 +01:00
Nick O'Leary
a4d33879dc
Use namespaces with link node title attributes i18n name
...
Fixes #1329
2017-07-06 17:57:53 +01:00
Nick O'Leary
e2a91d1ea9
Tidy up GPIO pin table presentation
...
Fixes #1328
2017-07-06 00:00:08 +01:00
Nick O'Leary
f30f80d117
Join: count of 0 should not send on every msg
2017-07-05 14:12:28 +01:00
Nick O'Leary
266274135e
Handle importing only one end of a link node pair
2017-07-04 23:40:37 +01:00
Nick O'Leary
a10439b67c
Make sending to Debug synchronous again
...
Fixes #1323
Being asynchronous meant the msg that was eventually sent to
Debug could be a modified version from later in the flow, if
the flow was other synchronous.
2017-07-04 23:30:51 +01:00
Nick O'Leary
0fd8d0e2bf
Make send-error behaviour optional in file node
...
Existing nodes will have sendError enabled. New instances
will default to it being disabled.
2017-07-04 20:12:53 +01:00
Nick O'Leary
47e2707fd3
Restore File In node behaviour of sending msg on error
2017-07-04 19:55:09 +01:00
Nick O'Leary
f7bb4a7d60
Expose context.keys within Function node
2017-07-04 14:52:14 +01:00
Nick O'Leary
6102a31a31
JSON parser default should be not formatting output
...
If its a checkbox, then the default value should be a boolean,
not a string. Because "false" is truthy.
2017-07-04 13:44:37 +01:00
Nick O'Leary
1692c3b102
Update changelog/package for 0.17.3
2017-07-04 10:06:24 +01:00
Kazuhito Yokoi
ac60725d2a
Fix flow library in menu to support period characters as flow name ( #1320 )
2017-07-04 10:02:24 +01:00
Nick O'Leary
1542f73fa5
Fix global leaks in theme.js
2017-07-04 09:43:16 +01:00
Nick O'Leary
70a22187f7
editorTheme not setting custom css/scripts properly
2017-07-04 09:33:27 +01:00
Kazuki Nakanishi
347e598715
Fix missing icons for some nodes ( #1321 )
2017-07-04 09:04:27 +01:00
Nick O'Leary
a737810c50
Add reformat button to JSONata test data editor
2017-07-03 21:57:55 +01:00
Nick O'Leary
92654a71fb
Remove unused oldDepth from Delay node
2017-07-03 21:27:45 +01:00
Nick O'Leary
18615640e0
Update delay node status without spawning unecessary intervals
2017-07-03 21:23:14 +01:00
Nick O'Leary
b8c80a2310
Avoid stringify ServerResponse and Socket in Debug node
...
Fixes #1311
2017-07-03 20:55:04 +01:00
Kazuki Nakanishi
c34c98386e
Fix creating userDir other than system drive on Windows ( #1317 )
2017-07-03 15:22:49 +01:00
Nick O'Leary
d8a3d2793f
Trigger node not handling a duration of 0 as block mode
...
Fixes #1316
2017-07-03 15:20:37 +01:00
Dave Conway-Jones
360b0d9997
correct gpis pin 13 typo
...
to address #1314
2017-07-02 20:53:27 +01:00
Nick O'Leary
356f46aaf4
Bump 0.17.2
2017-07-02 11:15:09 +01:00
Dave Conway-Jones
87ac0507d9
and finally fix the gpio labels
2017-07-02 11:07:11 +01:00
Nick O'Leary
63657c18e2
Bump 0.17.1
2017-07-02 10:57:45 +01:00
Dave Conway-Jones
817f92a50e
refix GPIO - more correctly - backwards compatible
...
existing installations now keep working
2017-07-02 09:59:37 +01:00
Dave Conway-Jones
304be96dd6
stop gpis node reporting bad status message on slow Pi
2017-07-02 00:50:55 +01:00
Dave Conway-Jones
9639081e7e
re-sort package dev dips
2017-07-01 22:42:48 +01:00
Dave Conway-Jones
dca553048a
Fix PI gpio to use BCM
2017-07-01 22:42:13 +01:00
Nick O'Leary
6201ed4d55
Prevent event thread contention when sending to Debug node
...
Closes #1311
2017-07-01 22:01:56 +01:00
Nguyen Thai Vinh
6db2c04585
Fix Bug: Can not display node icon when npm package has scope ( #1305 ) ( #1309 )
2017-06-30 21:49:35 +01:00
Nick O'Leary
f3840512ba
Clear moved flag when nodes are deployed
2017-06-30 21:48:38 +01:00
Nick O'Leary
9a6cf58565
Bump version for 0.17.0
2017-06-30 11:32:56 +01:00
Nick O'Leary
78076122ba
Remove console.log
2017-06-30 10:39:28 +01:00
Nick O'Leary
7429f66d6b
Mark nodes that have really moved as changed
2017-06-29 23:23:16 +01:00
Nick O'Leary
e59eff83b9
Ensure default switch node config matches what a no-op edit gives
2017-06-29 23:22:31 +01:00
Nick O'Leary
2083d85afa
Update jsonata to latest
2017-06-29 15:55:55 +01:00
timolehto
4c9f1369c8
Set Proxy-Authorization when needed ( #1146 )
...
fixes #1145
2017-06-29 15:55:12 +01:00
Dave Conway-Jones
adca1d7855
File node - don't hose status web socket on multiple file writes
...
and add close behaviour to info
2017-06-29 11:40:50 +01:00
Kazuhito Yokoi
dfc4e99560
Add Chinese translation file (editor.json) ( #1303 )
2017-06-29 11:38:21 +01:00
Nick O'Leary
344076c943
Fix settings tests to remove nodeSettings reference
2017-06-29 11:36:16 +01:00
Nick O'Leary
710f1e2ca0
Be consistent in how node settings are addressed
2017-06-29 11:17:39 +01:00
Nick O'Leary
74ea85d19c
Ensure existing grid settings are migrated to new keys
2017-06-28 22:16:11 +01:00
Dave Conway-Jones
dded98e30c
tidied up implementation of file node close fix
2017-06-28 17:50:09 +01:00
Dave Conway-Jones
160c27c15a
file node - close files when required
2017-06-28 17:36:04 +01:00
Nick O'Leary
a6a9025bab
Typo in http node help
2017-06-28 17:15:42 +01:00
Chaya Stern
a780d4463c
Support category with more than one word ( #1301 )
2017-06-28 14:27:54 +01:00
Nick O'Leary
23539ee907
Merge branch 'master' of github.com:node-red/node-red
2017-06-28 14:20:03 +01:00
Dave Conway-Jones
b515df611d
fix file node to overwrite multiple files
2017-06-28 13:28:04 +01:00
Nick O'Leary
0d896fef0b
Update Changelog for 0.17
2017-06-28 11:11:40 +01:00
Kazuhito Yokoi
283d5c64cb
Update Japanese translation files (jsonata.json and messages.json) ( #1300 )
...
* Update Japanese translation file(jsonata.json)
* Update Japanese translation file(messages.json)
2017-06-28 09:26:07 +01:00
Kazuhito Yokoi
3134bc432b
Improve editor messages (jsonata.json and messages.json) ( #1299 )
...
* Modify typo and improve messages in jsonata.json
* Change csv to CSV(messages.json)
2017-06-28 09:25:35 +01:00
Nick O'Leary
fd93fef73e
Better template node help example
2017-06-27 21:53:12 +01:00
Dave Conway-Jones
8939a9c786
tiny bit of ; lint in switch node
...
#ocd
2017-06-27 17:16:18 +01:00
Nick O'Leary
52c0d360b2
Add buffer joiner mode to Join node
2017-06-27 17:11:11 +01:00
Dave Conway-Jones
d99432bff1
Use correct Buffer.from method rather than constructor
...
exec, tcp, ump and file nodes
2017-06-27 17:11:36 +01:00
Dave Conway-Jones
4dd2d3ac7d
fix tcp node new Buffer alloc size 0
2017-06-27 16:58:17 +01:00
Nick O'Leary
aa7fe3668c
HTTP Request node: add info on how to do form encoding
2017-06-27 14:58:13 +01:00
Nick O'Leary
83ebcf1dae
Reset palette-manager tabs when settings dialog reopened
2017-06-27 14:17:26 +01:00
Nick O'Leary
c9317659c5
Prevent unmodified msg.headers from breaking HTTP Request flows
...
Closed #1015
2017-06-27 11:24:20 +01:00
Nick O'Leary
6562c558de
Add help info for split node
2017-06-27 11:24:20 +01:00
Dave Conway-Jones
303f67c036
let node installer try to save with ~ version prefix to allow minor updates
2017-06-27 10:17:09 +01:00
Dave Conway-Jones
2482d122b8
Let join node auto re-assemble buffers
...
and add test
2017-06-26 23:10:08 +01:00
Nick O'Leary
1733c38b5c
Update general dependencies
2017-06-26 15:03:32 +01:00
Nick O'Leary
7a1e4e9e99
Ensure all ace editors are destroyed in the expression editors
2017-06-26 14:23:48 +01:00
Nick O'Leary
e590313297
Expression editor - clear legacy flag for blank expressions
2017-06-26 14:12:20 +01:00
Nick O'Leary
b63d243e33
Update JSONata to 1.2.4
...
Closes #1275
2017-06-26 13:55:22 +01:00
Nick O'Leary
e9c1216d5c
Handle logging out and already logged-out editor
...
Fixes #1288
2017-06-26 10:49:06 +01:00
Nick O'Leary
df9e50445e
Merge branch 'master' into 0.17
2017-06-26 10:18:42 +01:00
Kazuhito Yokoi
61339face6
Add and improve Japanese translation file(editor.json, infotips.json and messages.json) ( #1284 )
...
* Update Japanese translation(editor.json)
* Add Japanese translation file(infotips.json)
* Add Japanese translation file(messages.json)
2017-06-26 10:08:05 +01:00
Chaya Stern
9cd751e977
Fix bug: Export Subflows ( #1282 )
...
* fix bug with export subflows
* fix bug with export config-nodes
2017-06-26 10:07:44 +01:00
Kazuhito Yokoi
7aa08ff885
Add Japanese translation file(jsonata.json) ( #1271 )
2017-06-26 09:41:16 +01:00
Dave Conway-Jones
a824caf712
update core nodes to use newer Buffer syntax
2017-06-24 13:53:45 +01:00
Dave Conway-Jones
395210e4f0
destroy editor to ensure fully removed on close (function, template, comment)
...
to close #1279
2017-06-24 12:15:03 +01:00
Dave Conway-Jones
e23354b2bb
tidy up split node to remove todo comments
2017-06-24 12:09:52 +01:00
Dave Conway-Jones
bc472eb0b3
Bump ACE editor to v1.2.7
2017-06-23 22:08:03 +01:00
Dave Conway-Jones
256f8e7226
add allow es6 to .jshintrc
2017-06-23 21:49:35 +01:00
Dave Conway-Jones
f41959537b
travis - don't allow node 8 fails, (and re-add 7)
2017-06-23 21:49:10 +01:00
Dave Conway-Jones
c9e05cf9f6
split node - in object mode allow msg.complete on its own
2017-06-23 21:48:13 +01:00
Dave Conway-Jones
82d9a02d92
Move udp sock error listener to only be instantiated once.
2017-06-23 16:20:28 +01:00
Dave Conway-Jones
dc9fa81346
let split of objects use key to set another property (e.g. topic)
...
and add tests
and update messages
2017-06-22 18:42:54 +01:00
Dave Conway-Jones
b91c178200
add "split/stream" ability to file in node
...
and add teste
2017-06-22 18:41:49 +01:00
Simon Asp
adebdf36a5
Bug fix in exec node. White spaces in arguments now works ( #1285 )
2017-06-18 11:55:39 +01:00
Dave Conway-Jones
4f34980c9f
adding streaming modes into split node
...
and add tests
2017-06-16 22:26:14 +01:00
Dave Conway-Jones
e70766a535
fix split to pass tests...
2017-06-16 09:21:53 +01:00
Dave Conway-Jones
55110dfbac
let split node reassemble based on a final packet. (as well as the first)
2017-06-16 09:16:23 +01:00
Dave Conway-Jones
56405ac903
let join also accumulate strings (and not fail)
2017-06-15 00:11:35 +01:00
Nick O'Leary
2b2136c468
Add typedInput binary mode icon
2017-06-14 22:29:38 +01:00
Dave Conway-Jones
f12031ee9e
redo delay node status messages to be interval based
2017-06-14 22:25:44 +01:00
Nick O'Leary
c26852da77
Add buffer support to split node
2017-06-13 21:01:27 +01:00
Nick O'Leary
d9dc171c28
Add buffer mode to typedInput
2017-06-13 21:01:27 +01:00
Dave Conway-Jones
d407f31ae5
stop delay node spamming web socket (when in fast rate limit mode)
2017-06-09 19:42:12 +01:00
Nick O'Leary
f688b8d299
Refresh sidebar info when tab is changed
2017-06-06 10:27:03 +01:00
Dave Conway-Jones
d8e6a7b687
better spacing for library widget
2017-06-05 17:04:31 +01:00
Dave Conway-Jones
7c42b04eff
updated split/join node (split still needs work before release)
2017-06-05 17:04:17 +01:00
Nick O'Leary
f527841c29
Fix gridSize for node width calculation to avoid odd resizing
2017-06-05 16:10:47 +01:00
Nick O'Leary
48a8dc0989
Redraw grid properly if gridSize changes
2017-06-05 16:07:21 +01:00
Nick O'Leary
7e35c9c754
Return flow rev on reload api when api v2 enabled
...
Closes #1273
2017-06-05 15:16:26 +01:00
Nick O'Leary
7502a2b1ff
Update trigger help
2017-06-05 14:01:24 +01:00
Nick O'Leary
6c2de40dba
Add cookie handling to HTTP Request node
2017-06-05 11:33:37 +01:00
Dave Conway-Jones
ef90f19eaa
Make exec node explicitly call SIGTERM for default
2017-06-05 09:47:42 +01:00
Dave Conway-Jones
90ab34591a
Add node 8 to travis (with allow failure)
2017-06-05 08:50:37 +01:00
Kazuhito Yokoi
21d3a3dd1e
Modify typo in jsonata.json ( #1270 )
2017-05-31 08:44:44 +01:00
Nick O'Leary
b44e70115b
Delay/Range node help tidy up
2017-05-26 14:27:53 +01:00
Nick O'Leary
ac31957707
Update delay node ui
2017-05-26 13:51:58 +01:00
Nick O'Leary
65e27a268d
Scroll sidebar info tab to top when changing content
2017-05-24 21:41:18 +01:00
Nick O'Leary
6bd59b10c7
Ensure info tab sections are collapsible when set from palette
2017-05-24 21:11:23 +01:00
Nick O'Leary
6a6a692891
Only show tab info if there is an active tab
2017-05-24 20:58:16 +01:00
Nick O'Leary
479b18354d
More core node info help tidy up
2017-05-24 16:55:53 +01:00
Nick O'Leary
9c6452544b
Don't try to nls status text starting with '.'
...
Fixes #1258
2017-05-24 12:21:35 +01:00
Nick O'Leary
0a6ff900da
Add guard against the http-request buffer fix being reverted
2017-05-24 11:18:52 +01:00
bartbutenaers
f54f863611
Revert "Multipart streaming"
...
This reverts commit bd671e75e6 .
2017-05-24 11:08:08 +01:00
bartbutenaers
9cc04da7b2
Multipart streaming
2017-05-24 11:07:09 +01:00
bartbutenaers
d7f5b0c9d7
Always request buffer
2017-05-24 11:05:57 +01:00
bartbutenaers
9bd4598c6a
Buffer fix
2017-05-24 11:04:33 +01:00
bartbutenaers
e3b052bc38
initial commit
2017-05-24 11:04:33 +01:00
Nick O'Leary
f215970649
Add http-request node unit tests
2017-05-24 10:36:47 +01:00
Nick O'Leary
dfe1cd4f90
Tidy up more core node help text
2017-05-23 17:26:23 +01:00
Nick O'Leary
3d2e6aea7b
Remember test expression data on a per-node basis
2017-05-23 15:54:09 +01:00
Nick O'Leary
749b0d7019
Tidy up parser node edit dialogs and help text
2017-05-23 14:18:09 +01:00
Dave Conway-Jones
7978f85f7a
Add Pretty print option to JSON node and
...
make XML and CSV nodes more consistent look and feel
2017-05-23 09:35:37 +01:00
Nick O'Leary
bd14acb68a
Change debug message menu icon
2017-05-22 22:21:52 +01:00
Nick O'Leary
1e9ce550db
Handle empty array/objects in debug view
2017-05-22 20:13:39 +01:00
Nick O'Leary
6278dfa77e
Only check for reordered outputs if outputMap defiend
2017-05-22 13:45:56 +01:00
Nick O'Leary
2a3e355437
Add per-node filter option to Debug pane
2017-05-22 11:35:55 +01:00
Dave Conway-Jones
f6b0459d27
change pin selection table for pi gpis nodes
2017-05-20 02:36:03 +01:00
Dave Conway-Jones
790d6912fd
re-add return to http request (removed in error)
2017-05-20 02:35:41 +01:00
Nick O'Leary
e69e5b4f50
Ensure node labels are reordered properly to match outputs
2017-05-19 22:56:29 +01:00
Nick O'Leary
483306e73c
Avoid circular references when stingifying node objects
2017-05-19 20:36:22 +01:00
Dave Conway-Jones
1148a0b637
tcp request - remove confusing timeout wording from info
2017-05-15 22:05:33 +01:00
Dave Conway-Jones
524021f0fa
http request node add transport validity check and warn.
2017-05-15 22:04:47 +01:00
Nick O'Leary
5b5f9aa01d
Add 'none' placeholder for empty port label form
2017-05-15 16:26:42 +01:00
Nick O'Leary
f97f92c297
Strip BOM character from JSON files if present
...
Fixes #1239
2017-05-15 14:21:12 +01:00
Nick O'Leary
9d4139085b
Handle HTTP In url that is missing its leading /
...
Fixes #1218
2017-05-15 14:10:06 +01:00
mw75
0ee7ffb5e5
Version check no meta ( #1243 )
...
* Version check on module loading - remove all metadata information bevor comparing the versions.
* refined regex
2017-05-15 13:57:35 +01:00
Nick O'Leary
8a7bb1be9f
Log error when non-msg-object is returned from a Function
2017-05-15 13:54:05 +01:00
Nick O'Leary
d4135e80a6
Timeout a node that fails to close - default 15s timeout
2017-05-15 13:05:33 +01:00
Nick O'Leary
a5ade39d7c
Fix selection of link nodes
2017-05-13 22:39:06 +01:00
Nick O'Leary
f39b4e7d22
Node status should be on by default
2017-05-12 22:47:59 +01:00
Nick O'Leary
080469cdf5
Ensure debug node marked changed when button pressed
2017-05-12 22:35:29 +01:00
Nick O'Leary
835ad29417
Fix pop-out debug window for all the recent updates
2017-05-12 22:22:47 +01:00
Nick O'Leary
c09bea4710
Add debug message menu
2017-05-12 22:12:55 +01:00
Nick O'Leary
879c0f4114
Don't mark a node changed when going from none to blank labels
2017-05-12 19:55:36 +01:00
Nick O'Leary
5feb07583b
Don't include msg. in debug message copied paths
2017-05-12 10:19:50 +01:00
Nick O'Leary
5388002f54
Format Buffer numbers as hex by default
2017-05-11 21:15:16 +01:00
Nick O'Leary
c80fa9914b
Merge branch '0.17' of github.com:node-red/node-red into 0.17
2017-05-11 21:00:40 +01:00
Dave Conway-Jones
b43d566968
Final TCP node nits - let 0 do it's thing as per every other timeout
2017-05-11 19:11:51 +01:00
Dave Conway-Jones
6b4e15dd0f
fix tcp port not waiting as per info/previous behaviour
...
add separate return immediate mode rather than conflate ideas
2017-05-11 17:24:20 +01:00
Nick O'Leary
d9ef32d7e8
Remember formatting choices for dbg msg elements
2017-05-11 17:00:49 +01:00
Dave Conway-Jones
49389d6f06
Add new msg.delay option to delay node
...
and msg.reset to clear/fluch existing delays
2017-05-11 16:13:40 +01:00
Nick O'Leary
c75dc3cc36
Add test coverage for deleting a flow
2017-05-11 15:39:55 +01:00
btsimonh
c0eabf0438
Add note of removed flows in diffConfig ( #1253 )
2017-05-11 15:39:41 +01:00
Nick O'Leary
7730d0a4f8
Merge branch 'master' into 0.17
2017-05-11 15:10:12 +01:00
Nick O'Leary
e79da408a8
Allow debug msg elements to be pinned
2017-05-11 15:08:10 +01:00
Nick O'Leary
7381784d0f
Only show debug tools under the debug tab
2017-05-10 16:56:03 +01:00
Nick O'Leary
085fb283e5
Fix test for valid js identifiers in debug path construction
2017-05-10 16:25:46 +01:00
Nick O'Leary
61e0e50e7b
Remove unused modified flag on debug messages
2017-05-10 16:11:26 +01:00
Nick O'Leary
00460d856b
Add copy path/value buttons to debug messages
2017-05-10 15:49:56 +01:00
Nathanaël Lécaudé
48958f392f
TCP In: Fix error in timout callback ( #1249 )
...
Thanks @natcl
2017-05-09 22:09:21 +01:00
Dave Conway-Jones
a84efeb5d5
stop using sudo for Pi gpio access
...
(as PI user doesn’t need it) - other users must be in gpio group
2017-05-08 09:04:26 +01:00
Nick O'Leary
1c8c05ae04
Fix padding of config node edit dialog
2017-05-05 16:01:52 +01:00
Nick O'Leary
401d386812
Add force-deploy option when conflict detected
2017-05-05 15:52:37 +01:00
Nick O'Leary
6b07f58e8e
NLS jsonata test messages
2017-05-05 13:43:39 +01:00
Dave Conway-Jones
6e8c978d12
Add sentence about clearing retained topic on mqtt
...
and use of administrator for ump on windows…
2017-05-05 12:31:18 +01:00
Nick O'Leary
5b2296b056
Add missing copyright header
2017-05-05 11:24:53 +01:00
Nick O'Leary
dbf0486acb
Add JSONata expr tester and improved feedback
2017-05-05 11:23:24 +01:00
Nick O'Leary
b030e935ce
Hide tip box on startup if disabled
2017-05-03 21:27:08 +01:00
Nick O'Leary
29bd43413a
Add context.keys function to list top-level keys
2017-05-03 20:51:33 +01:00
Nick O'Leary
2249b9449c
NLS Expression/JSON editor and fix their height calculation
2017-05-03 17:17:36 +01:00
Nick O'Leary
30920b1b78
Add $context/$flow/$global functions to jsonata
2017-05-03 15:48:30 +01:00
Nick O'Leary
8f92a3e875
Do not log node errors if handled by a Catch node
2017-05-03 13:42:38 +01:00
Nick O'Leary
ed1a55d9cd
Provide feedback when enable/disable node fails
2017-05-03 13:29:35 +01:00
Nick O'Leary
93ef84f495
Move palette editor to settings panel
2017-05-03 11:38:16 +01:00
Nick O'Leary
ccfcbe8526
Move palette editor to userSettings dialog
2017-05-03 11:38:16 +01:00
Nick O'Leary
5938143002
Move view and keyboard into user settings dialog
2017-05-03 11:38:16 +01:00
Nick O'Leary
8135da71bd
Add basic user settings panel
2017-05-03 11:38:16 +01:00
Dave Conway-Jones
a3c73a04c2
yet more core node info updates
...
sentiment, gpio, change and range
2017-04-26 21:52:33 +01:00
Dave Conway-Jones
7f90d31846
more core node info updates to newer style
2017-04-25 21:47:58 +01:00
Dave Conway-Jones
45fbd22e28
Update some core nodes info
2017-04-24 20:37:06 +01:00
Nick O'Leary
4689d56955
Allow a node to decide for itself if its button should be enabled or not
...
This means:
1. an Inject node that has only been moved can still inject
2. the Debug node is now marked as changed when its button is clicked
which, without this fix, then prevented the button from being
clicked to toggle its state again
2017-04-23 23:20:50 +01:00
Nick O'Leary
aa1b2808e7
Track node moves separately to node config changes
2017-04-23 23:20:36 +01:00
Cor Bosman
40ad4bdbd8
dont match only part of the node type ( #1242 )
2017-04-22 22:08:09 +01:00
Nick O'Leary
b6510d66e0
Update debug node to register the settings it uses
2017-04-22 09:03:52 +01:00
Nick O'Leary
4ea33ea482
Pass a 'removed' parameter to node close handler
2017-04-21 23:36:21 +01:00
Nick O'Leary
e13d410b4a
Update tests for oauth -> strategy rename
2017-04-21 22:06:12 +01:00
Nick O'Leary
72da7e6c54
Rename oauth auth scheme to strategy as it works for openid
2017-04-21 21:54:48 +01:00
Nick O'Leary
fb05960d79
Allow oauth schemes provide a custom verify function
2017-04-21 21:17:18 +01:00
Nick O'Leary
7bd0943412
Provide single endpoint to load all node message catalogs
...
Replaces potentially dozens of http requests with one or two.
2017-04-21 11:49:35 +01:00
Nick O'Leary
bb2649d063
Ensure ace editor instances are freed if edit cancelled
2017-04-21 09:05:03 +01:00
Nick O'Leary
d743bdbf5a
Clip overly long notification messages
2017-04-21 09:05:03 +01:00
Nick O'Leary
61890f19bc
Use queryCommandSupported not queryCommandEnabled to check for copy support
2017-04-21 09:05:03 +01:00
Dave Conway-Jones
b756a8edef
Make tcp send msg more consistent
...
to close #1236
2017-04-20 12:22:36 +01:00
Kazuki-Nakanishi
adcb2f1aa8
Fix exec node error tests on Windows ( #1234 )
2017-04-19 22:09:53 +01:00
Nathanaël Lécaudé
e574f4516f
Update 31-tcpin.js ( #1235 )
...
TCP-IN: Add check to see if object exists, fixes issue #1222
2017-04-18 16:03:16 +01:00
Dave Conway-Jones
2ac9c11ec9
Add tip to tab description editor
...
(and remove icons)
2017-04-16 21:08:32 +01:00
Dave Conway-Jones
1c470ab9e3
Make tab info edit box resizable
2017-04-16 20:25:15 +01:00
Dave Conway-Jones
08b8a8e3af
update messages for updated exec node
2017-04-16 20:24:38 +01:00
Dave Conway-Jones
11ee1a7dcb
fix exec node error test
2017-04-13 11:48:33 +01:00
Dave Conway-Jones
a281b8c74e
Make exec node spawn and exec outputs more consistent
...
(with an option to revert if necessary)
and new info docs
2017-04-13 11:36:54 +01:00
Nick O'Leary
5cb37148c6
Add editorTheme.logout.redirect to allow redirect on logout
...
Closes #1213
2017-04-12 21:41:16 +01:00
Kazuki-Nakanishi
05878d3176
Fix the test cases which sometimes fails due to timing. ( #1228 )
2017-04-12 20:54:31 +01:00
Nick O'Leary
d1c42262d6
Ensure all nodes have access to global context
...
Fixes #1230
2017-04-12 20:48:43 +01:00
Simon Hailes
8dcc114873
MQTT node - if Server/URL config contains '//' use it as a complete url; enabled ws:// and wss://
2017-04-12 18:31:49 +01:00
Nick O'Leary
c54cf26848
Add support for oauth adminAuth configs
2017-04-12 10:09:03 +01:00
Nick O'Leary
bfb548636e
Merge branch 'master' into 0.17
2017-04-11 14:53:44 +01:00
Nick O'Leary
36e1b2ba08
Don't process subscription for unauthenticated comms link
...
Fixes #851
2017-04-11 14:48:19 +01:00
Nick O'Leary
301ac279ff
Handle IncomingMessage/ServerResponse object types in debug
...
Fixes #1202
2017-04-10 21:59:59 +01:00
Nick O'Leary
08d21ccba7
Clone credentials when passing to node
...
Fixes #1198
2017-04-10 21:45:04 +01:00
Nick O'Leary
62876ca377
Toggling debug node enabled/disabled state should set state dirty
...
Fixes #1203
2017-04-10 16:11:01 +01:00
Kazuki-Nakanishi
10f94148af
Exec node for windows environment ( #1200 )
...
* Modify exec node to run on Windows.
* Remove unnecessary modification.
2017-04-10 16:06:19 +01:00
Nick O'Leary
31502c2ebc
remove allow_failures flag from node 7.x
2017-04-10 15:51:24 +01:00
David
62b29ecb65
Make theme able to load custom javascript ( #1211 )
...
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)
* Add unit tests for customScripts
* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
2017-04-10 15:46:44 +01:00
Nick O'Leary
67337e013a
Merge branch 'master' into 0.17
2017-04-10 15:45:21 +01:00
Andrey Bezugliy
f987fa13ea
Resolve dir argument of getLocalNodeFiles function ( #1216 )
...
* Resolve dir argument of getLocalNodeFiles function
The getLocalNodeFiles is called 3 times. Each time it called, the callee needs to resolve the dir argument.
That was not done for several of calls, and local modules (specified in the "nodesDir" setting) were not returned to client because of that.
This fix will allow to make sure the dir is consistently resolved.
* Several changes in "localfilesystem_spec.js":
- Changed checkNodes to verify that every node's file property is resolved, i.e. containst absolute path, not relative.
- Added a unit-test "Finds nodes in settings.nodesDir (string,relative path)"
2017-04-10 15:41:20 +01:00
Nick O'Leary
73dfe631ce
Add .trace and .debug to Node prototype
2017-04-10 15:32:40 +01:00
Nick O'Leary
83ca8147ca
Merge branch 'pr_1197' into 0.17
2017-04-10 15:25:19 +01:00
Nick O'Leary
1c11e7f97b
Shrink config node appearance in info table
2017-04-10 14:33:21 +01:00
Nick O'Leary
aefae79186
Display config nodes in Info sidebar table
2017-04-10 11:29:52 +01:00
Nick O'Leary
4b05a9bb6f
Ensure flow info box updates after editing flow
2017-04-10 00:00:10 +01:00
Nick O'Leary
2453719a87
Make H3 sections in node help collapsible
2017-04-07 13:30:12 +01:00
Nick O'Leary
ea929b00e3
Hide Node info section when displaying changelog
2017-04-07 12:36:06 +01:00
Nick O'Leary
ede940a398
Allow tips to be hidden and cycled through
2017-04-07 12:24:39 +01:00
Nick O'Leary
67da853146
Add info tips back to the sidebar
2017-04-07 11:21:30 +01:00
Nick O'Leary
624befd704
Restructure info tab
2017-04-06 23:17:30 +01:00
Dave Conway-Jones
203539841d
allow shadowing in .jshintrc (mainly to test signing commits)
2017-04-06 11:12:11 +01:00
Nick O'Leary
262db23f7d
First pass of new node-info style
2017-04-05 16:19:23 +01:00
Dave Conway-Jones
28ea22f0e1
MQTT new style info
2017-03-29 21:45:28 +01:00
Dave Conway-Jones
3f349c3531
remove requirement for cmd in exec node config + new style info
2017-03-29 21:44:58 +01:00
Dave Conway-Jones
9928e8562a
let inject "between time" also fire at start - Plus new info
2017-03-24 14:01:26 +00:00
Dave Conway-Jones
b1e3fc5761
remove repeat symbol from inject if repeat is 0
2017-03-23 22:04:53 +00:00
Nam Giang
b2390f1caf
adding frequency configuration to pwm output ( #1206 )
2017-03-23 21:02:22 +00:00
Ben Hardill
8cc9aeba4a
Fix docs
2017-03-23 20:06:11 +00:00
Ben Hardill
ba0823c38c
Add support for rejectUnauthorized msg property
...
This update lets you pass msg.rejectUnauthorized=false
to allow you to connect to https sites that don't have
certs signed by recognised CAs
2017-03-23 19:48:48 +00:00
Nick O'Leary
b9379f2ddf
Provide notification when new flows deployed in the background
2017-03-17 21:29:03 +00:00
Kazuki-Nakanishi
38a950a6dc
Add description to flow same as subflow
2017-03-17 01:29:19 +09:00
Nick O'Leary
fb24dca019
Add JSON Expression editor
2017-03-12 23:52:31 +00:00
Nick O'Leary
07d131c945
Update jsonata
2017-03-12 22:04:38 +00:00
Dave Conway-Jones
0c1c710afe
make sure MQTT client closes if redeploy during reconnect
...
to close #1193
Thanks @tedhuang for the excellent problem determination
2017-03-12 22:04:38 +00:00
Nick O'Leary
15cd93c30f
Update follow_redirects to fix http_proxy handling
...
Fixes #1172
2017-03-12 22:04:38 +00:00
Ben Hardill
a5d9e17a8c
Allow nodes to have translations not in core ( #1183 )
...
* Allow nodes to have translations not in core
Currently only languages in the core are checked when
the editor requests a translation. This means that if
a node includes more translations they are not checked.
This change removes the check against that short list,
but it only checks the first language from the browser
suported list
* remove whitespace
2017-03-12 22:04:37 +00:00
Kazuhito Yokoi
a82926dd0d
Modify Japanese translation file for editor
2017-03-12 22:04:37 +00:00
Kazuki Nakanishi
12435b997a
Added a name icon and a description label on edit subflow window.
2017-03-12 22:04:37 +00:00
Nick O'Leary
5945be95cf
Treat missing msg properties as undefined rather than throw error
...
Fixes #1167
2017-03-12 22:04:37 +00:00
Nick O'Leary
5c2e7ce407
Update jsonata
2017-03-12 22:03:14 +00:00
Dave Conway-Jones
834e894b1d
make sure MQTT client closes if redeploy during reconnect
...
to close #1193
Thanks @tedhuang for the excellent problem determination
2017-03-10 20:12:52 +00:00
Dave Conway-Jones
d25dac69d2
ask istanbul for more reports as default
...
and create a simple “grunt coverage” task synonym.
2017-03-10 20:04:14 +00:00
Kazuki-Nakanishi
3cc4173399
Extend timeout for the test case of installing non-existant path. ( #1191 )
...
to fix timeout on slower hosts
2017-03-10 13:59:44 +00:00
Nick O'Leary
36ab16c1ed
Update follow_redirects to fix http_proxy handling
...
Fixes #1172
2017-03-09 22:49:22 +00:00
Nick O'Leary
5356373681
Finalise nodeSettings and update tlsConfigDisableLocalFiles
...
- increase test coverage around registerType
2017-03-09 21:06:49 +00:00
Nick O'Leary
f45a2643f2
Change default value of tlsConfigDisableLocalFiles to false
2017-03-09 20:01:44 +00:00
Nick O'Leary
e55933706d
Merge branch 'nodeSettings' into 0.17
2017-03-09 20:00:54 +00:00
Kazuki-Nakanishi
3b3d696e45
Add the node setting tlsConfigDisableLocalFiles for tls node. ( #1190 )
...
* Add the node setting tlsConfigDisableLocalFiles for tls node.
* Fix the bug that shows node setting when specified in settings.js and exportable is false.
2017-03-09 19:58:34 +00:00
Kazuki-Nakanishi
281351e6b3
Add istanbul to Gruntfile.js ( #1189 )
2017-03-09 15:28:12 +00:00
Kazuki-Nakanishi
34089aec70
Allow a node to declare what settings should be made available to the editor. ( #1185 )
...
* Implement register/exportNodeSettings.
* Change normaliseRegisterTypeName to normaliseNodeTypeName. Force it to name in a camel case.
2017-03-08 14:38:33 +00:00
Kazuki-Nakanishi
3658d0e039
Add wait for writing a library entry into a file. ( #1186 )
2017-03-08 10:00:40 +00:00
kazuhitoyokoi
7a10636128
Add node whitelist function ( #1184 )
2017-03-08 10:00:00 +00:00
Ben Hardill
604ba7f4bc
Allow nodes to have translations not in core ( #1183 )
...
* Allow nodes to have translations not in core
Currently only languages in the core are checked when
the editor requests a translation. This means that if
a node includes more translations they are not checked.
This change removes the check against that short list,
but it only checks the first language from the browser
suported list
* remove whitespace
2017-03-08 09:58:39 +00:00
Dave Conway-Jones
27b7fb54e8
nail trigger test for windows AND linux
2017-03-06 19:06:10 +00:00
Dave Conway-Jones
d351aa842c
add port label to file node and update info
2017-03-06 19:05:52 +00:00
Dave Conway-Jones
59da705b8f
really close tcp node connection right away (if told to)
...
rather than wait then close
2017-03-06 19:05:16 +00:00
Dave Conway-Jones
99b8f16d88
give up on SIGQUIT for widows test
...
revert to SIGINT
2017-03-06 17:42:59 +00:00
Dave Conway-Jones
06ffe722d4
better tests for windows nodes
2017-03-06 17:40:09 +00:00
Dave Conway-Jones
6264104642
comment out 2nd exec node kill tests
...
(to be revisited)
2017-03-06 16:49:51 +00:00
Dave Conway-Jones
c97812c340
retry exec node tests
...
(diff behaviour on host)
2017-03-06 16:25:38 +00:00
Nick O'Leary
bd4c578230
NLS messages for Flow enabled/disable
2017-03-06 15:55:38 +00:00
Nick O'Leary
6ec2949b6f
Don't display port labels for subflow pseudo-port nodes
2017-03-06 15:41:19 +00:00
Nick O'Leary
1ff23ebfd9
Stop some ui elements from clearing url anchor when clicked
2017-03-06 15:30:42 +00:00
Nick O'Leary
7698990e37
Allows flows to be enabled/disabled in the runtime
2017-03-06 15:29:05 +00:00
Nick O'Leary
17e092afb3
Allow tabs to be enabled/disabled in the editor
2017-03-06 15:29:05 +00:00
Dave Conway-Jones
2db65b9d1f
fixes for grunt files tests on Windows
2017-03-06 15:28:23 +00:00
Dave Conway-Jones
c6436f47eb
let exec node take msg.kill SIG... param and pid param
...
and redo test
2017-03-06 15:27:29 +00:00
Nick O'Leary
e88b4a4412
Merge pull request #1181 from kazuhitoyokoi/master
...
Modify Japanese translation file for editor
2017-03-06 11:22:33 +00:00
Kazuhito Yokoi
01a177adfb
Modify Japanese translation file for editor
2017-03-06 11:18:23 +00:00
Nick O'Leary
052b5e0ea8
Merge pull request #1174 from Kazuki-Nakanishi/master
...
Added a name icon and a description label on edit subflow window.
2017-03-03 16:19:18 +00:00
Kazuki Nakanishi
68cd447109
Added a name icon and a description label on edit subflow window.
2017-03-03 14:10:20 +00:00
Dave Conway-Jones
4a8a5ed8d4
Add port labels to inject node (to show types)
2017-03-03 10:21:07 +00:00
Dave Conway-Jones
84077505b0
add off option to logging settings comment
2017-03-02 23:12:40 +00:00
Dave Conway-Jones
c4554b71d3
Add link label value as portLabels
2017-03-02 23:12:06 +00:00
Nick O'Leary
63ce743571
Treat missing msg properties as undefined rather than throw error
...
Fixes #1167
2017-03-02 14:02:26 +00:00
Nick O'Leary
6cf53c611b
merge exec fixes
2017-03-02 13:41:01 +00:00
Nick O'Leary
d8720ee325
Third output from Exec node must be consistent for success/failure conditions
2017-03-02 13:34:01 +00:00
Nick O'Leary
73501f3ad3
Resync with master
2017-03-01 17:45:09 +00:00
Nick O'Leary
54ee655472
Log error stack traces if verbose flag is set
2017-03-01 17:00:27 +00:00
Nick O'Leary
571b9fb8e0
Merge pull request #1122 from CANDY-LINE/feature/i18n-issue
...
Fix empty extra node help content issue
2017-03-01 16:38:08 +00:00
Nick O'Leary
cdd6b243ff
Merge pull request #1171 from SenseTecnic/tls-certkey-upload
...
UI to upload certificates and keys for TLS
2017-03-01 16:34:05 +00:00
Nick O'Leary
fca77a868f
Allow a node to declare settings that should be exported
2017-03-01 15:01:07 +00:00
Dave Conway-Jones
424e854778
clipboard export text stay highlighted even when button deselected
...
i.e. if you hit button twice text stays selected.
2017-02-28 22:54:13 +00:00
mblackstock
0979d565bb
changes as suggested by @knolleary
2017-02-28 14:03:35 -08:00
Dave Conway-Jones
f5e6ca3e10
ensure export clipboard keeps text selected and formatted
2017-02-28 21:50:09 +00:00
mblackstock
2bde07561f
UI to upload certificates and keys for TLS, and send them to node red in configuration properties to store them in credentials file
...
by default upload buttons will be shown unless a cert or key path is already set
added new settings flag called 'tlsDisableLocalFiles' to disable UI for local paths for cloud hosted NR
2017-02-28 12:21:34 -08:00
Nick O'Leary
16c92cc739
Merge pull request #1156 from LinusU/patch-1
...
Use pre-calculated values for connection path
2017-02-28 10:10:12 +00:00
Dave Conway-Jones
8b31a918a4
Fix Pi GPIO debounce
...
To close #1139
2017-02-27 19:22:02 +00:00
cinhcet
ee0bd49918
exec node returns 0 on the third output if command ended without error. ( #1160 )
...
* exec node returns 0 on the third output if command ended without error.
Otherwise, the status of the node is updated and the error code is send through the third output.
* info text updated and the second output returns only something if stderr is not empty
* proper stderror handling
* proper handling of stderr
2017-02-22 22:22:06 +00:00
Dave Conway-Jones
a625eeeac8
move csv fixes to master
...
to fix #1142 in master
2017-02-22 20:19:44 +00:00
Dave Conway-Jones
bfcd795687
Fix wrong number of double quotes in CSV parsing
...
to close #1162
2017-02-20 22:44:37 +00:00
Nick O'Leary
e2a9be9cec
Defer resizing tray components until they have finished building
2017-02-16 21:41:20 +00:00
Linus Unnebäck
37dd075309
Use pre-calculated values for connection path
2017-02-16 18:05:59 +01:00
Nick O'Leary
89769fb0e5
Merge pull request #1155 from LinusU/patch-1
...
Use textContent to avoid manual escaping
2017-02-16 15:37:21 +00:00
Linus Unnebäck
b24fac3dd8
Use textContent to avoid manual escaping
2017-02-16 16:28:00 +01:00
Nick O'Leary
4794fe495c
Add events to test helper
2017-02-15 23:15:24 +00:00
Nick O'Leary
869fdbcc6a
Remove event passing for icons/examples from the api layer
2017-02-15 23:07:50 +00:00
Dave Conway-Jones
702e6d3b51
slight filed size adjust for mqtt broker port field - allow 5 digits
2017-02-14 20:59:52 +00:00
Nick O'Leary
2913e13a30
Misconfigured WebSocket nodes should not register msg handlers
2017-02-13 21:39:31 +00:00
Nick O'Leary
5f1e37b7fa
Leave a node to nls its own port labels
2017-02-10 22:10:53 +00:00
Nick O'Leary
ec0209b175
Allow a node to override default labels
2017-02-09 23:24:16 +00:00
Nick O'Leary
a17dcbde0f
Remove console log from Switch node
2017-02-08 20:43:26 +00:00
Nick O'Leary
fbd159a23a
Add placeholder text on label inputs and clear buttons
2017-02-08 10:48:26 +00:00
Nick O'Leary
599a6bf050
Add port labels to Subflow nodes
2017-02-08 10:48:25 +00:00
Nick O'Leary
185b16a858
Keep port label form in sync with output reordering
2017-02-08 10:48:25 +00:00
Nick O'Leary
e7e3ed4923
Basic node label editor
2017-02-08 10:48:25 +00:00
Nick O'Leary
47df5476ba
Add RED.stack as a common ui component
2017-02-08 10:48:25 +00:00
Nick O'Leary
d7c516ab00
Port label editor starting point
2017-02-08 10:48:24 +00:00
Dave Conway-Jones
50838970ec
let css node handle ip addresses without trying to parse
...
and only warn once if no template (and then send object anyway)
to close #1142
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
1d15ee7034
let Hypriot on Pi detect gpio correctly
...
clean up duplicate labels
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
7029541b4f
Let watch node recurse into subdirectories
...
to close #1140
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
ada8e447cc
exec node can be killed on demand
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
1841fc18fa
let trigger node set repeated outputs
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
94ee465682
clone message before send in stay connected mode
...
to Fix #1137
2017-02-02 09:57:04 +00:00
Nick O'Leary
3e021b3a75
Fix loader test to expect line numbers in load errors
2017-01-30 09:58:43 +00:00
Nick O'Leary
0643f149b7
Extract line number if available from node load errors
2017-01-30 09:37:08 +00:00
Nick O'Leary
939768eec0
Cache auth details to save needlessly recalculating hashes
2017-01-28 14:44:47 +00:00
Nick O'Leary
f2235dacdc
Shuffle promises for creating default package.json
2017-01-28 14:21:22 +00:00
Nick O'Leary
50017c28da
Allow port labels be i18n identifiers
2017-01-27 22:36:00 +00:00
Nick O'Leary
85b2a03a42
Create a package.json file in userDir if one doesn't exist
2017-01-27 22:35:17 +00:00
Nick O'Leary
829087550d
Add inputLabels and outputLabels to node defn + Update Change node
2017-01-27 18:11:25 +00:00
Nick O'Leary
dd6f71fe85
Resize port labels based on content
2017-01-27 16:33:11 +00:00
Nick O'Leary
92a928680c
Initial port label behaviour
2017-01-26 15:38:25 +00:00
Nick O'Leary
d008b1970c
Add option to parse Template result as JSON before sending
2017-01-25 17:12:53 +00:00
Nick O'Leary
4affbb8c6b
Numeric validator that accepts blank should accept undefined
2017-01-25 16:11:56 +00:00
Nick O'Leary
ddb2ea4b5f
autoInstallModules option must honour version/pending_version
2017-01-25 11:07:02 +00:00
Nick O'Leary
a69683183f
Refuse to update a non-local node module
2017-01-24 22:50:40 +00:00
Nick O'Leary
8d34f87667
Add websocketVerifyClient option to enable custom websocket auth
...
Fixes #1127
2017-01-24 21:37:08 +00:00
Nick O'Leary
128c4fe222
Add visual cue as to whether the workspace is focused
2017-01-24 16:14:03 +00:00
Nick O'Leary
b10141d71f
Allow statusCode/headers to be set directly within HTTP Response node
2017-01-24 14:56:48 +00:00
Nick O'Leary
68e0b35364
Allow RED.validators.number to allow blank values as valid
2017-01-24 14:28:15 +00:00
Nick O'Leary
1324f5e59c
Update CHANGELOG for 0.16.2
2017-01-23 15:57:37 +00:00
Nick O'Leary
7759aacb35
Ensure custom mustache context parent set in Template node
...
fixes #1126
2017-01-23 15:34:34 +00:00
Nick O'Leary
fd6f7cd881
Display debug node name in debug panel if its known
2017-01-23 13:57:06 +00:00
Nick O'Leary
3fdeb38bb7
Ensure auth-tokens are removed when no user is specified in settings
2017-01-21 23:49:20 +00:00
Nick O'Leary
e27f5d0460
Add node module update api and expose in palette editor
2017-01-21 23:46:44 +00:00
Nick O'Leary
0720128bd4
Support dropping json files into the editor
2017-01-19 15:34:14 +00:00
Nick O'Leary
540472a093
Ensure all a tags have blank target in info sidebar
2017-01-19 13:52:38 +00:00
Nick O'Leary
daca78b6cd
Ensure links do not span tabs in the editor
2017-01-19 13:24:54 +00:00
Dave Conway-Jones
4195840b2c
make links in added info open in blank page rather than current window
2017-01-19 11:00:22 +00:00
Daisuke Baba
57c529758e
Add an edge case test
2017-01-19 17:19:41 +09:00
Daisuke Baba
5ba9a0eb3f
Fix empty extra node help content issue
2017-01-19 16:55:57 +09:00
Nick O'Leary
b8888a5d46
Add RED.utils.getNodeLabel utility function
2017-01-18 15:52:09 +00:00
Nick O'Leary
0857f979ff
Update ui_spec for icon module path
2017-01-18 13:14:12 +00:00
Nick O'Leary
11f4ae019c
Include module name in requests for node icons
2017-01-18 13:06:22 +00:00
Nick O'Leary
0ffeb0c5af
Avoid creating multiple reconnect timers in websocket node
2017-01-17 20:48:05 +00:00
Nick O'Leary
d6f6b41145
Fix inner reference in install fail message catalog entry
...
Fixes #1120
2017-01-17 09:54:17 +00:00
Nick O'Leary
64daaeb310
Add file upload support to HTTP In node
2017-01-16 22:39:30 +00:00
Nick O'Leary
0646b0060e
Display buffer data properly for truncated buffers under Object property
2017-01-16 17:43:39 +00:00
Nick O'Leary
c794ca85fd
Update changelog for 0.16.1
2017-01-16 10:30:36 +00:00
Nick O'Leary
5b4019dd3d
Add colour swatches to debug when hex colour matched
2017-01-16 10:29:00 +00:00
Nick O'Leary
a03ccd7b59
Nodes with hasUsers set to false should not appear unused
2017-01-15 13:37:21 +00:00
Nick O'Leary
4b64aad5ce
Change hard error to verbose warning if using old node.js level
2017-01-14 23:57:39 +00:00
Nick O'Leary
d146ff8794
Update debug_spec test for Error messages
2017-01-14 21:47:18 +00:00
Nick O'Leary
5349bf7628
Don't filter debug properties starting with _
...
Fixes #1117
2017-01-14 21:34:09 +00:00
Nick O'Leary
a79e4d1bb3
Node logged errors not displayed properly in debug pane
...
Fixes #1116
2017-01-14 21:33:11 +00:00
Nick O'Leary
f462435dc2
Do not look for existing nodes when checking for wires on paste
...
Fixes #1114
2017-01-13 14:16:12 +00:00
Nick O'Leary
48ad614441
-v option not enabling verbose mode properly
2017-01-13 00:01:19 +00:00
Nick O'Leary
f699516fdb
Add node.js version check on startup
2017-01-12 10:40:04 +00:00
Nick O'Leary
ca5cbb640a
Bump version 0.16
2017-01-11 20:44:53 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
d99b9c04e4
Update changelog
2017-01-11 14:34:59 +00:00
Nick O'Leary
64d261e053
Add deploy action
2017-01-11 14:33:40 +00:00
Nick O'Leary
eb027d98aa
Add column headings to keymap table
2017-01-11 14:15:29 +00:00
Nick O'Leary
a95727b654
Scope input/export actions to be global
2017-01-11 14:15:14 +00:00
Nick O'Leary
4e636d7eec
Fix arg passing lint error
2017-01-11 12:18:52 +00:00
Nick O'Leary
3cd53f617a
Include unassigned keys to shortcut dialog
2017-01-11 11:41:25 +00:00
Nick O'Leary
b1684e82d8
Dynamically generate keyboard shortcut help dialog
2017-01-11 11:35:48 +00:00
Dave Conway-Jones
a55027b838
let copy of settings file occur on a clean install.
2017-01-11 10:12:29 +00:00
Nick O'Leary
28678acf74
Add debug logging around flow revision ids
2017-01-10 14:20:51 +00:00
Nick O'Leary
ce6594c8cc
Do not tie debug src loading to needsPermission
...
Fixes #1111
2017-01-10 09:43:46 +00:00
Nick O'Leary
75855d5450
Initialise nodeApp regardless of httpAdmin setting
...
Closes #1096 #1095
2017-01-09 22:22:49 +00:00
Nick O'Leary
f248699a30
Display info tips slightly longer
2017-01-09 22:09:06 +00:00
Nick O'Leary
29594726ca
Speed up reveal of search dialogs
2017-01-09 22:08:54 +00:00
Nick O'Leary
0a41b07297
Reorder Debug/Inject nodes in quick-add dialog
2017-01-09 16:41:16 +00:00
Nick O'Leary
e45cb7fac1
Ensure flows exist before delegating status/error events
...
Fixes #1069
2017-01-09 16:39:41 +00:00
Nick O'Leary
489dbfc72a
Update package dependencies
2017-01-09 15:01:33 +00:00
Nick O'Leary
a89ae7d77a
Update MQTT to latest 2.2.1
2017-01-09 14:35:45 +00:00
Nick O'Leary
a1eeff4034
Node status not being refreshed properly in the editor
2017-01-09 14:18:59 +00:00
Nick O'Leary
0e1013a570
Add install/remove dialog to increase friction
...
Closes #1109
2017-01-09 13:41:20 +00:00
Nick O'Leary
4562b06a60
Try to prevent auto-fill of password fields in node edit tray
...
Fixes #1081
2017-01-08 23:14:14 +00:00
zuhito
3c96218338
Add Japanese translation file(editor.json) ( #1084 )
2017-01-08 23:02:07 +00:00
Nick O'Leary
f0a4ea099c
Fix whitespace in localfilesystem
2017-01-08 23:01:28 +00:00
btsimonh
c8d6693fba
fix bug where savesettings did not honor local settings variables ( #1073 )
...
* fix bug where savesettings did not honor local settings variables
* don't create lib/flows on read; It's already created in localfilesystem.init and in saveLibraryEntry -
so removed call to promiseDir, and added a return of [] if accessing a folder which did not exist.
This is important because else when settings.readOnly is true, it still creates folders.
* Fix a CI failure where path passed to getLibraryEntry is empty;
treat this case as meaning it was wanting a folder, and return empty if the folder dioes not exist
* Add a test for getLibraryEntry( type, '/' ) as called by node-red
* change newsettings to camelCase newSettings
2017-01-08 23:00:27 +00:00
Nick O'Leary
81bbdfe413
Tidy up unused/duplicate editor messages
...
Closes #922
2017-01-08 22:54:46 +00:00
Nick O'Leary
0e362943bf
Add option to colourise debug console output
...
Closes #1103
2017-01-08 22:38:40 +00:00
Nick O'Leary
1e37fed90b
Report node catalogue load errors
...
Closes #1009
2017-01-08 20:51:31 +00:00
Nick O'Leary
aafcfef387
Add property validation to nodes using typedInput
2017-01-06 23:18:50 +00:00
Nick O'Leary
4b83d8160f
Add common validator for typedInput fields
...
Closes #1104
2017-01-06 22:20:09 +00:00
Nick O'Leary
73a41707e5
Property expressions must not be blank
2017-01-06 21:58:17 +00:00
Nick O'Leary
c989c533e8
Properly report module remove errors in palette editor
...
Fixes #1043
2017-01-06 16:53:54 +00:00
Nick O'Leary
707dc8c65c
Update debug node console logging indicator icon
...
Closes #1094
2017-01-06 14:43:51 +00:00
Nick O'Leary
4c6157a06e
Tidy up merge commit of validatePropertyExpression
2017-01-06 14:32:37 +00:00
Nick O'Leary
f973396821
Merge pull request #1102 from node-red/0.16
...
0.16
2017-01-06 14:30:52 +00:00
Nick O'Leary
e73216d4c1
Merge branch 'master' into 0.16
2017-01-06 14:30:13 +00:00
Dave Conway-Jones
e6de26736b
add port if wires array > number of ports declared.
2017-01-06 14:06:30 +00:00
Nick O'Leary
d131addd63
Allow tips to be enabled/disabled via menu option
2017-01-06 13:33:23 +00:00
Nick O'Leary
0c7705beff
Allow quoted property expressions
...
Fixes #1101
2017-01-06 11:23:53 +00:00
Dave Conway-Jones
08b11addec
Let exec node (spawn) handle commands with spaces in path
2017-01-06 09:55:52 +00:00
Nick O'Leary
555f96cfaf
Info-tips update
2017-01-05 23:33:19 +00:00
Nick O'Leary
59ffacb3df
Fix merge conflicts
2017-01-05 10:07:23 +00:00
Nick O'Leary
83acb66f00
NLS the diff dialog
2017-01-04 22:02:35 +00:00
Nick O'Leary
1f9ae45875
Fix diff node table layout for Safari
2017-01-04 20:57:10 +00:00
Nick O'Leary
ffa628be2d
Index all node properties for node search
2017-01-04 16:46:36 +00:00
Nick O'Leary
8916f6f829
Update CHANGELOG/version for 0.15.3
2017-01-04 15:11:53 +00:00
Nick O'Leary
215c8fd261
NLS type search
2017-01-01 22:14:33 +00:00
Nick O'Leary
061cc908a7
Hide common entries when filtering typeSearch
2017-01-01 21:59:09 +00:00
Nick O'Leary
18a519f9ed
Remove node 0.10 from travis config
2017-01-01 11:41:03 +00:00
Nick O'Leary
7970c9dbe5
Merge changes by reimporting changed node config
2017-01-01 00:20:12 +00:00
Nick O'Leary
5ca0c066e2
Better handling of moved nodes
2017-01-01 00:20:12 +00:00
Nick O'Leary
563728c7b8
Some more merging code
2017-01-01 00:20:12 +00:00
Nick O'Leary
31a72b6562
Three-way-diff
2017-01-01 00:20:12 +00:00
Nick O'Leary
d3dfbc3034
Add proper three-way diff view
2017-01-01 00:20:11 +00:00
Josh
f143a6ba08
update welcome message to use logger so it can be turned off/on if required ( #1083 )
2016-12-23 11:31:23 +00:00
Dave Conway-Jones
28a65923b6
bump various package versions
...
(not touching mqtt and other major version)
2016-12-22 13:36:06 +00:00
Dave Conway-Jones
4ca3df77b3
Add ⇶ to debug node to indicate debugging also to console.log
2016-12-22 13:27:27 +00:00
Dave Conway-Jones
4cbe264869
Change file node to use node 4 syntax (drops support for 0.8)
2016-12-22 13:17:08 +00:00
Nick O'Leary
b6b65b6bf7
Update debug node test for circular references
2016-12-20 23:21:25 +00:00
Nick O'Leary
e7cc42a927
Use json-stringify-safe to detect circular references in debug msgs
2016-12-20 23:16:11 +00:00
Nick O'Leary
bba3ca8cc0
Avoid misinterpreting valid objects as encoded arrays in debug
2016-12-20 22:46:56 +00:00
Dave Conway-Jones
8423e2d245
add info for httprequest responseUrl property
2016-12-16 22:03:00 +00:00
Dave Conway-Jones
fc263718a1
Add res.responseUrl to httprequest node response
2016-12-16 21:54:24 +00:00
Nick O'Leary
c3a99cf5a4
Update CONTRIBUTING guide
2016-12-09 13:35:29 +00:00
Dave Conway-Jones
f6820ec615
Bump a load of packages (for 0.16 branch only)
...
Ready to drop node 0.10 - update ws, bcrypt, drop serial port node
2016-12-07 23:43:41 +00:00
Nick O'Leary
226ad3fe22
Add missing diff file
2016-12-07 13:51:20 +00:00
Nick O'Leary
a9b17e930c
Add diff markers to tabs in diff-view
2016-12-07 13:48:30 +00:00
Nick O'Leary
932ea7ba8f
Add flow diff view
2016-12-06 22:37:21 +00:00
Nick O'Leary
c720d78c39
Ensure runtime event notification gets cleared on restart
2016-12-05 14:39:34 +00:00
Nick O'Leary
8d21e441a0
Add notification when runtime stopped due to missing types
...
Part of #832
2016-12-05 13:24:24 +00:00
Nick O'Leary
16ecb1a9cb
Overhaul keyboard handling and introduce editor actions
2016-12-04 22:59:43 +00:00
Nick O'Leary
f68acca427
Fix dynamically loading multiple node-sets from palette editor
2016-12-01 15:27:29 +00:00
Dave Conway-Jones
671d7e2beb
debug - format if time if correct length/range
2016-11-28 17:28:49 +00:00
Nick O'Leary
52fc497412
Properly escape html strings passed to debug
2016-11-27 21:51:34 +00:00
Nathanaël Lécaudé
2084ad318f
Tcpgetfix: Another small check ( #1070 )
...
* TCPget: Add another check for clients[connection_id]
2016-11-26 21:16:19 +00:00
Nathanaël Lécaudé
b530c1a43d
TCPGet: Ensure done() is called only once ( #1068 )
...
* Add additional safety checks to avoid acting on non-existent objects
* TCPGet: yet more checks
* TCPGet: seperate connected properties
* TCPGet: properly handle node.done()
2016-11-25 18:14:51 +00:00
Nick O'Leary
f2797a4153
Fix package.json conflict
2016-11-24 20:52:48 +00:00
Nick O'Leary
659c326f89
Add jsonata snippets
2016-11-23 23:16:17 +00:00
Nick O'Leary
534b07d120
Include jsonata from dependency on build and improve func highlight
2016-11-23 23:15:30 +00:00
Nick O'Leary
de64fc8b8d
Update rather than hide install button after success install
2016-11-23 10:58:38 +00:00
Nick O'Leary
1e234fcb73
Add editableList api doc comments
2016-11-23 10:58:19 +00:00
Nick O'Leary
fa9a7e725b
Sort quick-add types and add most-recent used type section
2016-11-22 22:57:05 +00:00
Nick O'Leary
95b2675f03
Support query and search paths in url when opening debug sub window
2016-11-22 13:14:52 +00:00
Nick O'Leary
564902b886
Allow $ and _ at start of property identifiers
...
Fixes #1063
2016-11-21 21:36:18 +00:00
Nathanaël Lécaudé
071a04595a
TCPGet: Separated the node.connected property for each instance ( #1062 )
...
* Add additional safety checks to avoid acting on non-existent objects
* TCPGet: yet more checks
* TCPGet: seperate connected properties
2016-11-19 16:25:54 +00:00
Nick O'Leary
eaa4b76ede
Update jsonata version
2016-11-18 16:38:48 +00:00
Nicholas Humfrey
74a1713e99
Corrected 'overide' typo in XML node help ( #1061 )
...
Thanks @njh
2016-11-18 11:41:48 +00:00
Nathanaël Lécaudé
5f5aa0b2f7
TCPGet: Last property check (hopefully) ( #1059 )
...
* Add additional safety checks to avoid acting on non-existent objects
* TCPGet: yet more checks
2016-11-18 11:25:06 +00:00
Nathanaël Lécaudé
eef59fd40e
Add additional safety checks to avoid acting on non-existent objects ( #1057 )
2016-11-17 21:04:38 +00:00
Dave Conway-Jones
361ff315e9
add --title for process name to command line options
2016-11-17 13:57:33 +00:00
Dave Conway-Jones
eeea8e530e
add indicator for fire once on inject node
2016-11-17 13:56:37 +00:00
Dave Conway-Jones
8d5286703f
reimplement $(env var) replace to share common code.
...
and add test to utils
2016-11-17 13:56:17 +00:00
Dave Conway-Jones
74f2180fa4
Fix error message for missing node html file, and add test.
...
To close #1053
2016-11-16 22:46:01 +00:00
Dave Conway-Jones
d042169f2e
Let credentials also use $(...) substitutions from ENV
...
to close #1051
(and add to test)
2016-11-16 21:47:13 +00:00
Nick O'Leary
1fd87bf664
Improve debug message meta data contrast and legibility
2016-11-16 15:05:04 +00:00
Nick O'Leary
eeaff6b553
Add insert-function button to expression editor
2016-11-16 14:54:51 +00:00
Nick O'Leary
6efd048fd6
Rename insecureRedirect to requireHttps
2016-11-16 14:24:27 +00:00
Paul Slater
6e9e694f66
Add setting to cause insecure redirect ( #1054 )
...
* add support for editor insecure redirect setting
set insecureRedirect: true to cause the editor app to redirect insecure connections
* document insecureRedirect
* use req.originalUrl instead of req.url
url has the path removed, whereas originalUrl preserves the path - ie /red
2016-11-16 14:17:47 +00:00
telogis-nodered
44a0f1b505
Palette editor fixes ( #1033 )
...
* ensure remove button is only enabled for local modules when refreshing palette editor
* ensure local field is propagated to the nodes when a new module is added to the registry
2016-11-16 14:12:31 +00:00
Monkey Do
9790211891
Close comms on stopServer in test helper ( #1020 )
...
* Close comms on stopServer in test helper
Using this file in another project to test nodes, when running tests with gulp and karma the process never ends as comms are still open.
This resolves the problem.
* Moved test helper server on close to stopServer method
2016-11-16 14:09:04 +00:00
Adam Hořčica
be18cc9f2d
Add support for flow and global context in Template node ( #1048 )
...
* Enable tests for flow and global context
* Add support for flow and global context in Template node
* Handle missing node context
2016-11-16 14:08:14 +00:00
Nick O'Leary
8caee09ea4
Preserve newlines in jsonata expression via tabs
2016-11-16 13:44:45 +00:00
Nick O'Leary
26f5305593
Add jsonata function help
2016-11-15 23:22:25 +00:00
Nick O'Leary
d33029027f
Add expression editor for jsonata
2016-11-15 00:19:04 +00:00
Dave Conway-Jones
339aaaec57
Tcpgetfix ( #1050 )
...
* TCPget: Store incoming messages alongside the client object to keep reference
2016-11-14 20:20:27 +00:00
Dave Conway-Jones
db2425c473
Seperated info messages to their own file
...
auto detect size still needs work
2016-11-14 19:10:02 +00:00
Nathanaël Lécaudé
18731f6055
TCPget: Store incoming messages alongside the client object to keep reference
2016-11-14 13:30:43 -05:00
Nathanaël Lécaudé
34f1f7a31d
Merge remote-tracking branch 'upstream/master' into tcpgetfix
2016-11-14 08:09:44 -05:00
Nathanaël Lécaudé
7ef153756b
TCPget can now handle concurrent sessions ( #1042 )
...
* First release of multi connection tcpget
* Works when connection is left open
* Change scope of clients object
* Fix comparison to "" in tcpin
* Add security checks
* Better scope handling
2016-11-11 09:01:22 +00:00
Nick O'Leary
bf90509526
Add jsonata support to Change/Switch nodes
2016-11-10 23:58:34 +00:00
Nathanaël Lécaudé
d853eca489
Better scope handling
2016-11-10 17:35:44 -05:00
Nathanaël Lécaudé
869ae01da9
Add security checks
2016-11-10 16:45:01 -05:00
Dave Conway-Jones
d63996eea1
slight tidy of YAML PR (remove excess console.log in test)
...
and improve XML test coverage slightly
2016-11-10 21:29:07 +00:00
Nathanaël Lécaudé
9bbc8eda9d
Added YAML parser node ( #1034 )
...
Thanks @natcl -
(sorry pressed closed by mistake !)
* Added YAML parser node
* Added YAML error strings in messages.json
* Change location of YAML library import
* Remove copyright
* Remove copyright
* Change order of yaml in Template node
* Add YAML test
* Add working test
2016-11-10 21:22:05 +00:00
Dave Conway-Jones
9cc1b03c56
small change to udp httpadmin
...
as it refers to both in and pout
2016-11-10 20:19:55 +00:00
Dave Conway-Jones
b1ab26e3ad
update Font Awesome to 4.7.0
2016-11-10 20:15:06 +00:00
Nathanaël Lécaudé
96820418b5
Fix comparison to "" in tcpin
2016-11-10 11:17:27 -05:00
Nathanaël Lécaudé
385d9f16e9
Change scope of clients object
2016-11-09 22:33:55 -05:00
Nathanaël Lécaudé
d56fce37dd
Works when connection is left open
2016-11-09 13:25:19 -05:00
Nathanaël Lécaudé
aef2c9e5cf
First release of multi connection tcpget
2016-11-09 10:15:23 -05:00
Nick O'Leary
89a05c580f
Handle drag whilst quick-add dialog open
2016-11-09 13:25:55 +00:00
Nick O'Leary
b85e562980
Combine quick-add and quick-join actions
2016-11-09 13:17:26 +00:00
Nick O'Leary
a0e6628757
Tweak search box styling
2016-11-08 21:18:34 +00:00
Nick O'Leary
60a41524f0
editableList delete button click event not cancelled
2016-11-08 17:01:21 +00:00
Nick O'Leary
6042395b81
Allow a node to reorder its outputs and maintain links
...
Fixes #1031
2016-11-08 17:00:47 +00:00
Nick O'Leary
8a5db8ce4b
Handle explicitly set input widths on typedInput
2016-11-08 13:36:32 +00:00
Nick O'Leary
196d6e79e2
Don't pin change node input widths
2016-11-08 13:29:01 +00:00
Nick O'Leary
91f16215e5
Make typedInput keyboard navigable
2016-11-08 13:18:28 +00:00
Nick O'Leary
9c675a7847
Focus tray body when edit dialog opened
2016-11-08 09:58:20 +00:00
Nick O'Leary
f9e09e87d6
Hit enter to edit first node in selection
2016-11-07 21:51:03 +00:00
Nick O'Leary
73574d6293
Add quick-add node mode with cmd/ctrl-click
2016-11-07 21:25:09 +00:00
Ben Hardill
0a5a42b32a
Fix node.error() not printing when passed false ( #1037 )
...
This should fix #1036
2016-11-07 18:28:35 +00:00
Nick O'Leary
de225205bd
Fix safari/firefox detection of Meta key up
2016-11-06 00:24:01 +00:00
Nick O'Leary
8a47d36480
Add cmd/ctrl-click to quick add wires
2016-11-06 00:14:07 +00:00
Dave Conway-Jones
d5f3ba8d8a
remove unnecessary require from JSON node
2016-11-04 19:55:02 +00:00
Nick O'Leary
782a06ce84
Tweak node info table colours
2016-11-04 14:30:41 +00:00
Nick O'Leary
5cdafc50fb
Add node delete button to edit dialog
2016-11-04 14:29:04 +00:00
Nick O'Leary
0ca3cdb9ae
tab-info node properties use RED.utils.createObjectElement
2016-11-03 14:34:38 +00:00
Nick O'Leary
a1d6cbd5fd
Only expand strings that contain tabs/newlines
2016-11-03 14:34:38 +00:00
Nick O'Leary
6c36778cac
Move debug message utils into core
2016-11-03 14:34:38 +00:00
Nick O'Leary
1c3a97a71a
Make red.min.js a reusable library
2016-11-03 14:34:37 +00:00
Nick O'Leary
3489fe0cf4
Better toggling between raw/string views of buffers
2016-11-03 14:34:37 +00:00
Nick O'Leary
74b6d9dff9
Provide string view of buffers in debug messages
2016-11-03 14:34:37 +00:00
Nick O'Leary
06ee9aa05c
Make strings expandable in debug
2016-11-03 14:34:37 +00:00
Nick O'Leary
f0f40a8606
Restore object keys values in debug sidebar
2016-11-03 14:34:37 +00:00
Nick O'Leary
1f2c9879bd
Handle big arrays/buffers better in debug sidebar
2016-11-03 14:34:37 +00:00
Nick O'Leary
d1eb82bdf6
Show newlines/tabs in debug output
2016-11-03 14:34:37 +00:00
Nick O'Leary
8167f623e3
Update debug_spec for format changes
2016-11-03 14:34:37 +00:00
Nick O'Leary
9555e296a2
Close debug window when main window unloads
2016-11-03 14:34:37 +00:00
Nick O'Leary
f460283fa1
Full event passing between debug window and main window
2016-11-03 14:34:37 +00:00
Nick O'Leary
79da8e5a37
Move all common debug list code to its own library
2016-11-03 14:34:37 +00:00
Nick O'Leary
a35ce22218
Make debug message node id clickable
2016-11-03 14:34:36 +00:00
Nick O'Leary
1c905da8c2
Handle long strings in debug
2016-11-03 14:34:36 +00:00
Nick O'Leary
2b558768f1
Add debug filter box
2016-11-03 14:34:36 +00:00
Nick O'Leary
7607c4c882
Make inbuilt debug messages navigable
2016-11-03 14:34:36 +00:00
Nick O'Leary
c9f4813ce1
Fix debug path
2016-11-03 14:34:36 +00:00
Nick O'Leary
0428e27039
Improved type styling
2016-11-03 14:34:36 +00:00
Nick O'Leary
e30da2168d
Make Debug object explorable
2016-11-03 14:34:36 +00:00
Nick O'Leary
0cd20768f4
Style the debug window to match the sidebar
2016-11-03 14:34:36 +00:00
Nick O'Leary
ab31f34862
Initial debug pop-out window
2016-11-03 14:34:36 +00:00
Dave Conway-Jones
9a4ff5cb43
fix test for CSV array input
2016-11-03 08:56:38 +00:00
Dave Conway-Jones
f66c91e18e
different test for Pi (rather than use serial port name)
2016-11-03 08:56:18 +00:00
Dave Conway-Jones
a235745be7
Fix missing 0 handling for css node with array input
2016-11-02 15:49:51 +00:00
Nick O'Leary
9516da01e3
0.15.2 changelog
2016-10-28 08:48:10 +01:00
Nick O'Leary
7657bd2375
Bump 0.15.2
2016-10-28 08:43:21 +01:00
Nick O'Leary
0adcea9e7c
Revert bidi changes to nodes and hide menu option until fixed
...
Fixes #1024
2016-10-28 08:37:33 +01:00
Dave Conway-Jones
aa8ad60083
Let xml node set options both ways
...
to close #1022 to close #975
Thanks @martin-doyle and @nikhildx
2016-10-26 22:06:35 +01:00
Dave Conway-Jones
5d98a86a6b
bump serialport to use version 4
...
(precompiled versions more available)
2016-10-25 21:42:27 +01:00
Dave Conway-Jones
4418fdaed6
gpio node handle multiple bits of data returned in one go
2016-10-25 21:42:27 +01:00
Nick O'Leary
c58c45c917
HTTP In should pass application/octet-stream as buffer not string
...
Fixes #1023
2016-10-25 21:19:49 +01:00
Dave Conway-Jones
45eba5cabd
tidy up udp node - repeat setting of var
2016-10-25 20:40:11 +01:00
Nick O'Leary
3ab0d0d865
Handle missing httpNodeRoot setting properly
2016-10-21 13:50:47 +01:00
Nick O'Leary
a6803081ab
Config sidebar not handling node definition error properly
2016-10-21 13:47:54 +01:00
Nick O'Leary
8debed805b
Add minimum show time to deploy spinner to avoid flicker
2016-10-21 12:59:55 +01:00
Nick O'Leary
fc9835512d
Add work-in-progress update button to palette-editor
2016-10-21 10:29:26 +01:00
Nick O'Leary
5f0cab8cc2
Add log.removeHandler function
2016-10-20 23:31:40 +01:00
Nick O'Leary
bd391963bc
Add Crtl/Shift/p shortcut for manage palette
2016-10-20 14:01:37 +01:00
Nick O'Leary
97fa28fb10
Add spinner to deploy button
2016-10-20 13:11:12 +01:00
Nick O'Leary
67d5b39c96
Status messages from nodes in subflows not delegated properly
...
Fixes #1016
2016-10-19 21:06:45 +01:00
Dave Conway-Jones
dbceef2581
fix spelling in join node info
...
Manual fix for #1014
Thanks @rogovski
2016-10-17 21:40:12 +01:00
Nick O'Leary
5b22ccfca6
Speed up tab scrolling
2016-10-15 20:58:27 +01:00
Nick O'Leary
714c254bab
Update delay burst test to be more tolerant of timing
...
Fixes #1013
2016-10-14 22:35:43 +01:00
Nick O'Leary
90f4db9158
Bump 0.15.1
2016-10-13 19:53:43 +01:00
Nick O'Leary
eed470ddae
Update default palette catalogue to use https
2016-10-13 16:22:25 +01:00
Nick O'Leary
49f72881f4
Disable palette editor if npm not found
2016-10-12 22:30:32 +01:00
Nick O'Leary
a76674032d
Searching package catalogue should be case-insensitive
...
Fixes #1010
2016-10-12 20:08:08 +01:00
Nick O'Leary
ec392a7f9a
contenteditable fields not handled in config nodes
...
Fixes #1011
2016-10-12 19:56:12 +01:00
Dave Conway-Jones
8a2ae6c480
Change html link refs from _new to _blank to be standards compliant
2016-10-12 17:53:27 +01:00
Nick O'Leary
b3796a8e24
Fix unit tests for /flows
2016-10-12 10:33:51 +01:00
Nick O'Leary
b9144ff987
Bump version 0.15.0
2016-10-12 10:27:08 +01:00
Nick O'Leary
5344949c71
Tidy up /flows api responses
2016-10-12 10:24:10 +01:00
Nick O'Leary
05cbba9a35
Exporting current flow not formatting tab node correctly
2016-10-11 21:34:52 +01:00
Nick O'Leary
325c6135cf
Defeat the exec node test dragons
2016-10-11 20:31:42 +01:00
Dave Conway-Jones
fdea19a45b
leave Pi GPIO pins in a sensible state on error
2016-10-11 15:37:34 +01:00
Nick O'Leary
fad63c0c18
Fix tab_config revealing unused config nodes
2016-10-11 15:06:34 +01:00
Nick O'Leary
f002560616
Exec node spawn mode should clone messages it reuses
2016-10-11 14:49:48 +01:00
Nick O'Leary
8e7d52e645
Avoid reencyrpting credentials if they haven't changed
2016-10-11 14:27:35 +01:00
Nick O'Leary
d119594cbf
Tidy up exec node clean-up to remove failure-causing timing window
2016-10-11 13:25:19 +01:00
Nick O'Leary
84f7da6e93
Fix null checking in exec node test
2016-10-11 11:16:10 +01:00
Nick O'Leary
22e1bafe1b
Fix exec test on node 0.10
2016-10-11 10:53:50 +01:00
Nick O'Leary
3f8e42e510
update changelog
2016-10-11 10:28:16 +01:00
Dave Conway-Jones
9704fb04d9
inject node label - show topic for timestamp mode if short
2016-10-11 09:27:02 +01:00
Nick O'Leary
dcfaf1e2b9
Update changelog
2016-10-11 00:17:06 +01:00
Nick O'Leary
42f7dc1947
Fix type checking in unit tests
2016-10-10 13:27:43 +01:00
Nick O'Leary
eb1a597456
Add npm build/test scripts
...
Closes #946 #660
2016-10-10 11:49:38 +01:00
Dave Conway-Jones
8368815db5
extra change tests for partial and complete match
...
to close #934
2016-10-10 11:48:52 +01:00
Nick O'Leary
9c6295d0d8
Lighten shade color in editor
2016-10-10 11:42:36 +01:00
Dave Conway-Jones
4d19f881e9
Let change node set type if total match
...
remove unnecessary 2 step move when not required.
add test for moving sub property up to main property
2016-10-10 11:10:36 +01:00
Dave Conway-Jones
3a8820397b
clean up status on close for several core nodes.
2016-10-10 11:08:06 +01:00
Nick O'Leary
85b1c1fe97
Increase default apiMaxLength to 5mb and add to default settings
...
Closes #1001
2016-10-10 10:14:08 +01:00
Nick O'Leary
a4de9e94dd
Update dependency versions
2016-10-10 10:02:41 +01:00
Nick O'Leary
0dd2c7fe24
Change node: reparse JSON set value each time to avoid pass-by-ref
2016-10-09 23:14:52 +01:00
Nick O'Leary
f22c3b549e
Merge branch '0.15.0'
2016-10-09 23:00:28 +01:00
Nick O'Leary
3c60b3d2c9
Prevent search box opening when other modals are open
2016-10-09 22:54:47 +01:00
Nick O'Leary
f2d36b84b5
Don't hide install button on already-installed node modules
2016-10-09 22:23:47 +01:00
Nick O'Leary
9af08ef26a
Update test helper for new flow api
2016-10-09 22:22:13 +01:00
Nick O'Leary
b4be1184fd
Add v2 /flows api and deploy-overwrite protection
2016-10-09 22:02:40 +01:00
Nick O'Leary
c60e0d389c
Mark nodes as changed when they are moved
2016-10-09 22:02:40 +01:00
Dave Conway-Jones
d658fe7709
move travis to node 6 and 7 - drop 5 and 0.12
...
move serialport to 0.3.0 version
2016-10-06 13:31:59 +01:00
TJKoury
54036a2b4d
Added parent containment option for draggable. ( #1006 )
...
* added parent containment option for draggable
* taking Nick's suggestion, #main-container it is
2016-10-02 22:45:49 +01:00
Dave Conway-Jones
2da9572a45
Better handle httprequest header capitalisation
2016-10-02 17:44:48 +01:00
Nick O'Leary
306825aa90
Enable es6 parsing in Function editor by default
...
Fixes #985
2016-09-30 23:51:27 +01:00
Nick O'Leary
c797073c05
Ignore bidi event handling on non-existent and non-Input elements
...
Closes #999
2016-09-30 23:35:05 +01:00
Nick O'Leary
d9d65d59d1
Fix timing window when scrolling search box results
2016-09-30 23:34:44 +01:00
Nick O'Leary
aad29e4487
Remove list of flows from menu
2016-09-30 23:34:26 +01:00
Nick O'Leary
b00985f99f
Replace palette-edit button with menu option
2016-09-30 20:33:27 +01:00
Nick O'Leary
538a16a5fb
Allow nodes to be imported with their credentials
2016-09-30 14:15:04 +01:00
Nick O'Leary
300a8d3a89
Click to close search box
2016-09-30 13:27:53 +01:00
Nick O'Leary
e3b7c5fce7
Add 'no matches' message to package search results
2016-09-30 11:19:47 +01:00
Nick O'Leary
2e87ebe800
Fix editableList sizing on safari
2016-09-30 10:46:13 +01:00
Nick O'Leary
7ed9e7cdd4
Update debug sidebar to use RED.view.reveal to show debug nodes
2016-09-29 23:49:58 +01:00
Nick O'Leary
7ff9c2885d
Fix scrollable tab buttons changing location hash
2016-09-29 23:46:55 +01:00
Nick O'Leary
18c8bbb0fc
Add workspace search option
2016-09-29 23:46:29 +01:00
Nick O'Leary
9a49fb9450
Add escape-to-clear to searchBox and other css fixes
2016-09-29 23:45:25 +01:00
Nick O'Leary
84457bc7b4
Add scrollOnAdd option to editableList
2016-09-29 23:44:49 +01:00
Dave Conway-Jones
15f1e2c85c
Add swift markup to editor for open whisk node
2016-09-27 22:04:13 +01:00
Nick O'Leary
15e828e975
Adjust dragging tabs when partially scrolled
2016-09-27 00:05:43 +01:00
Nick O'Leary
e4626ee52b
Scrollable tabs 👍
2016-09-26 22:56:28 +01:00
Nick O'Leary
1866c9c7ef
Allow linking to individual flow via url hash
2016-09-24 22:57:41 +01:00
Nick O'Leary
a0f91aa814
Avoid duplicating existing subflows on import
2016-09-24 22:20:28 +01:00
Dave Conway-Jones
a89c7b1a70
Add full path tip to file node, And tidy up Pi node tips
2016-09-23 23:37:56 +01:00
Dave Conway-Jones
ded1376957
remove websocket node maxlistener warning
2016-09-23 23:36:58 +01:00
Nick O'Leary
252040f03b
Add import-to-new-tab option
2016-09-23 22:02:12 +01:00
Nick O'Leary
d29abc2724
Encrypt credentials by default
2016-09-23 10:38:30 +01:00
Nick O'Leary
44c35d2644
Update test node helper module for storage api changes
2016-09-21 22:22:04 +01:00
Nick O'Leary
f9b972349d
Move credential load/save storage functions under get/setFlows
2016-09-21 21:58:50 +01:00
Nick O'Leary
e06cadd761
Pass full runtime object to storage and flow sub-components
2016-09-21 10:22:04 +01:00
Nick O'Leary
ee45d6b48f
Fix contenteditable div unfocused css
2016-09-20 10:10:28 +01:00
Nick O'Leary
d915b280d4
Add new options to export-nodes dialog
2016-09-19 13:54:23 +01:00
Nick O'Leary
39d90fe881
Update mqtt-broker node to use fully name-space qualified status messages
2016-09-19 09:36:38 +01:00
wajnberg
b9da1f18b4
Fixing issue 989 ( #997 )
...
* Fixing issue 989
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
* Fixing the getRangeAt problem on Chrome
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
* Fixing the getRangeAt problem on Chrome
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
2016-09-18 21:20:50 +01:00
Dave Conway-Jones
69a0934173
Merge pull request #996 from Belphemur/delay-migration
...
Fix migration of Delay Node
2016-09-17 15:54:27 +01:00
Antoine Aflalo
289de85754
Fix the check for nbRateUnits
2016-09-17 10:38:30 -04:00
Dave Conway-Jones
0ec95041d9
another tiny nudge for code tag
2016-09-17 15:29:54 +01:00
Dave Conway-Jones
fcb6f78d54
give <code> tag slightly more bottom space
2016-09-17 14:06:01 +01:00
Dave Conway-Jones
29e9740668
Let UDP node better share same port instance if required
2016-09-17 14:05:26 +01:00
Antoine Aflalo
ea8c6d5cce
Add number of units to the delay node (rate) ( #994 )
...
* Add possibility to set the value for the rate unit
Backward compatible, if the new nbRateUnits is not set, default to 1.
This way we can delay messages to 1 msg per X seconds/minutes/hours days
instead of always 1.
Useful when interacting with API that have a uncommon rate limiting like
1req per 2 seconds.
* Fix existing testing for delay
* Add new test for the nbRateUnits
* Fix label for timed and topic for delay node
* Schrink width of Units delay rate
* pluralisation of labels
* Dynamic pluralisation respecting i18n
* Remove debug data left
2016-09-16 14:27:14 +01:00
Alice Ferrazzi
e4c951984a
typo fix ( #990 )
...
typo fix in mqtt broker help text
2016-09-14 23:13:08 +01:00
Dave Conway-Jones
0071afb205
update registry loader test to normalise path for windows
...
Thanks shrikes
2016-09-13 22:57:20 +01:00
Nick O'Leary
d3c7ac75be
Set switch node rule input widths properly
2016-09-08 21:12:39 +01:00
Nick O'Leary
55d7420abf
Remove tabs
2016-09-08 20:49:44 +01:00
wajnberg
489b56456f
Completing STT support ( #976 )
...
* Completing STT support
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
* Adressing Nick comments
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
2016-09-08 20:46:30 +01:00
Nick O'Leary
1f24fcb364
Ensure errors thrown by RED.events handlers don't percolate up
2016-09-05 23:09:33 +01:00
Nick O'Leary
722b31edee
Safely ignore subflow instance nodes in palette editor
2016-09-02 20:31:24 +01:00
Dave Conway-Jones
765f0393b0
Add test for change node ,move to sub-property
2016-08-28 12:09:37 +01:00
Dave Conway-Jones
6868ef044b
Allow http middleware to skip rawBodyParser
2016-08-28 12:02:34 +01:00
Dave Conway-Jones
5dd0622e40
Let change node move property to sub-property.
2016-08-28 12:02:34 +01:00
Dave Conway-Jones
48bdab1dcf
Add info to exec warning about buffered output if using python
2016-08-28 12:02:34 +01:00
Nick O'Leary
aee483e9f1
Stop nodes being added beyond the outer bounds of the workspace
2016-08-26 16:22:06 +01:00
Nick O'Leary
8542b9bf67
Fix splice handling when a subflow input/output node is selected
2016-08-26 13:34:29 +01:00
Nick O'Leary
feaf6f2501
Remove console.log from bidi
2016-08-26 13:27:19 +01:00
Nick O'Leary
d7d30aa972
Default config nodes to global scope unless in a subflow
...
Closes #972
2016-08-26 13:26:42 +01:00
Nick O'Leary
91c23d1f7d
Fix palette-editor handling of subflows
2016-08-26 13:21:33 +01:00
Nick O'Leary
57479edc59
Merge branch 'palette-ui' into 0.15.0
2016-08-26 13:01:03 +01:00
Nick O'Leary
4b462eaae9
Move initInputEvents to prepareInput
2016-08-26 12:50:18 +01:00
Nick O'Leary
c60fb3bc25
Move setting text direction into bidi module
2016-08-26 00:40:01 +01:00
Nick O'Leary
b17c34402d
Fix some more tabs/spaces in bidi work
2016-08-26 00:28:22 +01:00
Nick O'Leary
6ad71bd222
Move bidi code under RED.text
2016-08-25 17:09:56 +01:00
wajnberg
ccc08be0ee
Bidi support for Text Direction and Structured Text ( #961 )
...
* Bidi support for Text Direction and Structured Text
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
* Adding documentation for functions in bidi.js and format.js
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
* Removing unused functions from format.js
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com >
2016-08-25 16:47:30 +01:00
telogis-nodered
2a2fc80931
Fix jquery selector, selecting more than one help pane/popover and displaying incorrectly. ( #970 )
2016-08-25 10:44:23 +01:00
James Thomas
9ebca91775
Fixes removeItem not passing row data to callback. ( #965 )
...
Call to .data('data') was happening after the remove() call, which
deletes the retained data. This was passing undefined back to the
callback for removeItem.
I've changed the data retrieval to a temporary variable before the
delete call.
2016-08-21 23:05:53 +01:00
Dave Conway-Jones
456fc23463
update README link to IBM ETS blog page
2016-08-18 13:50:46 +01:00
Nick O'Leary
eb17562f4d
NLS the palette editor
2016-08-14 23:08:37 +01:00
Nick O'Leary
b7dbfd5cfc
Only reload catalogue when requested
2016-08-13 00:33:41 +01:00
Nick O'Leary
cdc7ab562a
Add sort options to palette-editor search
2016-08-12 23:00:28 +01:00
Nick O'Leary
e6b5552cba
Add some more error handlers for custom node label functions
...
Closes #956
2016-08-11 14:49:22 +01:00
Nick O'Leary
eecf92183f
Update to new catalogue format
2016-08-10 21:59:31 +01:00
Nick O'Leary
11656382a7
Allow palette-editor to be disabled via editorTheme
2016-08-10 20:15:17 +01:00
Nick O'Leary
e4d788ad0b
Add install tab to palette-editor
2016-08-09 10:43:03 +01:00
Nick O'Leary
3017442702
Move common components and add searchBox
2016-08-09 10:41:26 +01:00
Nick O'Leary
ba37db275c
Add node filter to palette-editor
2016-08-05 16:39:41 +01:00
Nick O'Leary
521e669879
Enable palette-editor remove buttons
2016-08-05 13:39:14 +01:00
Nick O'Leary
12e302c10a
Collapse palette modules when palette-editor closed
2016-08-04 22:28:56 +01:00
Nick O'Leary
7220af3ef0
Move palette editor to left hand side
2016-08-04 16:49:36 +01:00
Dave Conway-Jones
42f4e0fa86
TCP node: pass on latest input msg properties
...
to close #944
2016-08-04 15:49:38 +01:00
Dave Conway-Jones
022d066fe0
Make sure MQTT broker is really set
...
To close #951
2016-08-04 10:02:27 +01:00
Dave Conway-Jones
4c9d7cbeed
Merge pull request #955 from natcl/master
...
Fix escapce character catch in TCPGet + support 0x?? sequences
2016-08-02 20:15:31 +01:00
Nathanaël Lécaudé
1541e382e4
Fix escapce character catch in TCPGet + support 0x?? sequences
2016-08-02 12:32:49 -04:00
Dave Conway-Jones
1d9488d24f
Merge pull request #954 from natcl/master
...
Fix split character in TCP Request node
2016-08-02 16:26:37 +01:00
Nathanaël Lécaudé
6cbc1afb9b
Fix split character in TCP Request node
2016-08-02 11:09:41 -04:00
Nathanaël Lécaudé
3f86b660ed
Add CSS hilighting to the template node ( #950 )
...
This can be useful when using the template node to create frontends, see this post:
https://groups.google.com/d/msg/node-red/q4DKaX87Ano/Xa1mLpOdAwAJ
Thanks !
2016-08-01 22:32:02 +01:00
Dave Conway-Jones
4603f2d9ca
only update switch Prev value after all rules are run
2016-08-01 12:31:35 +01:00
Nick O'Leary
da818cf420
Add initial palette sidebar
2016-07-29 12:52:00 +01:00
Nick O'Leary
86a2ed652d
Update changelog
2016-07-29 10:44:52 +01:00
Nick O'Leary
269761f222
Bump version/changelog
2016-07-29 10:43:53 +01:00
Dave Conway-Jones
53ca3046b3
Add RPi.GPIO lib test for ArchLinux
2016-07-28 18:20:18 +01:00
Nick O'Leary
f484156d8e
Tell ace about Function node globals
...
Closes #927
2016-07-28 17:14:55 +01:00
Nick O'Leary
1da8712a4a
Update ace to 1.2.4
2016-07-28 17:14:38 +01:00
Nick O'Leary
dd47eba88c
Add proper help text to link nodes
2016-07-28 15:58:00 +01:00
Nick O'Leary
0ade8ff7a2
Add log warning if node module required version cannot be satisfied
2016-07-28 15:43:26 +01:00
Nick O'Leary
6a528b5fdb
Allow config nodes to provide a sort function for their select list
2016-07-28 13:27:34 +01:00
Nick O'Leary
7f63ddc9ea
Handle importing old mqtt-broker configs that lack properties
2016-07-27 23:05:48 +01:00
Nick O'Leary
d6b326c134
Handle empty credentials file
...
Closes #937
2016-07-26 22:23:49 +01:00
Nick O'Leary
d944298dd7
Tidy up mqtt nodes - linting and done handling
...
Closes #935
2016-07-26 21:33:00 +01:00
Nick O'Leary
0136ebd2b4
Fix invalid html in TCP and HTML node edit templates
2016-07-26 16:19:27 +01:00
Nick O'Leary
45f8def1ed
Bump version + change log
2016-07-23 22:59:56 +01:00
Nick O'Leary
7c6e8eeefc
Cannot clear cookies with http nodes
2016-07-23 22:41:37 +01:00
Dave Conway-Jones
e81e48cde3
Fix html parse node test
2016-07-20 20:58:52 +01:00
Dave Conway-Jones
8eebb6ea2d
let HTML parse node allow msg.select set select
...
to close #943
2016-07-20 20:08:50 +01:00
Nick O'Leary
ad8290ebcb
Validate nodes on import after any references have been remapped
2016-07-20 11:30:49 +01:00
Nick O'Leary
15b6f6268b
Debug node handles objects without constructor property
...
Fixes #933
2016-07-15 22:41:35 +01:00
Nick O'Leary
92d5af7446
Ensure 'false' property values are displayed in info panel
...
Fixes #940
2016-07-15 22:33:17 +01:00
Nick O'Leary
d57425a15e
Fix node enable/disable over restart - load configs after settings init
2016-07-15 00:11:28 +01:00
Nick O'Leary
a457c06500
Bump version
2016-07-06 23:22:26 +01:00
Nick O'Leary
906bbae899
Update CHANGELOG
2016-07-06 21:35:06 +01:00
Dave Conway-Jones
e360e57a5b
Fix node.status to check hasOwnProperty("text")
2016-07-06 17:22:45 +01:00
Nick O'Leary
c5753a013c
Handle DOMException when embedded in an iframe of different origin
...
Fixes #932
2016-07-06 13:28:51 +01:00
Nick O'Leary
691b083364
Update trigger node ui to use typedInputs
2016-07-05 15:39:00 +01:00
Dave Conway-Jones
b74a35b9d1
add extra test for CSV with odd quotes
2016-07-05 11:51:08 +01:00
Dave Conway-Jones
82269462a4
Fixed better handling of odd quotes in CSV node
...
(and a better commit message)
2016-07-05 11:31:25 +01:00
Dave Conway-Jones
d7943aab28
better handling of snatched quotes in css parser
2016-07-05 11:03:11 +01:00
Nick O'Leary
446eb8e978
Fix double firing of menu actions
2016-07-05 09:16:27 +01:00
Nick O'Leary
d91a99c833
Clarify the MQTT node sends msg.payload
...
Closes #929
2016-07-04 11:29:43 +01:00
Nick O'Leary
dc00870461
Fix select box handling in Safari
...
Fixes #928
2016-07-04 11:22:30 +01:00
Dave Conway-Jones
b8f578862e
Add sql mode to ace editor
2016-07-04 09:58:03 +01:00
Jesse Naranjo
dc24c05229
Keyboard shortcuts dialog update ( #923 )
...
* Added Ctrl+Z to the Keyboard Shortcuts dialog.
* Added Arrow Keys and Shift + Arrow Keys shortcuts to the Keyboard Shortcuts dialog.
* Added the [Backspace] key to the Keyboard Shortcuts dialog.
2016-07-03 23:10:51 +01:00
Nick O'Leary
f62cf6818b
Clear context in node test helper
...
Fixes #858
2016-07-03 23:08:53 +01:00
Nick O'Leary
c05e9da9c5
Allow node properties to be same as existing object functions
...
Fixes #880
2016-07-03 23:00:48 +01:00
Nick O'Leary
6c00194d35
Handle comms link closely whilst completing the initial connect
2016-06-30 00:44:06 +01:00
Nick O'Leary
6bc3f82afe
Protect against node type names that clash with Object property names
...
Fixes #917
2016-06-30 00:38:48 +01:00
Nick O'Leary
12e46deea2
Ensure importing link nodes to a subflow doesn't add outbound links
...
Fixes #921
2016-06-29 23:51:08 +01:00
Nick O'Leary
8608d010b8
Clone default node properties to avoid reference leakage
2016-06-29 22:53:14 +01:00
Nick O'Leary
9d4d1acf2d
Strip tab node definition when exporting
2016-06-29 21:58:14 +01:00
Nick O'Leary
23087447f1
Check for null config properties in editor before overwritting them
2016-06-29 21:32:39 +01:00
Nick O'Leary
3008e4e60f
Add hasUsers flag to config nodes
2016-06-29 21:07:45 +01:00
Nick O'Leary
9d52ed5ff6
Add updateConfigNodeUsers function to editor
2016-06-28 14:57:48 +01:00
Nick O'Leary
5f047633c3
Scroll to bottom when item added to editableList
2016-06-28 10:56:03 +01:00
Nick O'Leary
d3be1f1e2c
Fix lint error
2016-06-26 23:55:04 +01:00
Nick O'Leary
c3b1cf7c35
Form input widths behave more consistently when resizing
...
Fixes #919 #920
2016-06-26 23:48:59 +01:00
Nick O'Leary
682345da22
Inject node should reuse the message it is triggered with
...
Closes #914
2016-06-25 21:44:10 +01:00
Dave Conway-Jones
82f289c42e
(un)Fix inject payload width field
...
to close #919
2016-06-25 15:53:03 +01:00
Dave Conway-Jones
78eae99bd4
Stop trigger node re-using old message…
...
to Close #916
Thanks @jimbojw
2016-06-25 10:44:44 +01:00
Nick O'Leary
9ec7bb8d41
bump version
2016-06-20 21:38:09 +01:00
Nick O'Leary
2b9bfbc309
MQTT In subscription qos not defaulting properly
2016-06-20 21:35:43 +01:00
Dave Conway-Jones
e50d04077b
Let exec node handle 0 as well as "0"
2016-06-20 19:28:59 +01:00
Nick O'Leary
b6fcaacb77
Create default settings.js in the user-specified directory
...
Fixes #908
2016-06-20 14:41:47 +01:00
Nick O'Leary
939da4e551
bump version
2016-06-20 14:27:28 +01:00
Nick O'Leary
f30ce1f9eb
Cannot add twitter credentials
...
Fixes #913
2016-06-20 14:25:11 +01:00
Nick O'Leary
343588b2a0
Support array references in Debug property field
2016-06-20 10:19:18 +01:00
Nick O'Leary
77b13ce9d4
Bump version & changelog
2016-06-20 09:56:29 +01:00
Nick O'Leary
7cb41d2ca9
Remove duplicate "Delete" entry in keyboard shortcut window
...
Fixes #911
2016-06-20 09:56:01 +01:00
Nicholas Humfrey
8bbc9e6502
Added 'exec' to the command in the node-red-pi script ( #910 )
2016-06-20 09:53:57 +01:00
Nick O'Leary
e29a0df3fd
Handle undefined node properties when mapping array references
2016-06-20 09:38:16 +01:00
Nick O'Leary
0eba04aac0
Change example httpStatic to avoid node-red-dashboard clash
2016-06-19 20:25:31 +01:00
Nick O'Leary
b78210e3be
Handle numberic msg.payload in HTTP Response node
2016-06-17 22:08:58 +01:00
Nick O'Leary
958de21be8
Update changelog
2016-06-17 21:44:06 +01:00
Nick O'Leary
0eb4742982
Update minor dependency versions and bump version
2016-06-17 21:42:17 +01:00
Nick O'Leary
78b1bf8f25
Merge branch '0.14.0'
2016-06-17 21:30:09 +01:00
Nick O'Leary
08f2741871
Ensure default settings copied to command-line specified userDir
...
Fixes #908
2016-06-17 21:16:31 +01:00
Dave Conway-Jones
98b24ae630
Merge pull request #798 from natcl/master
...
Add pinned tab icon for Safari
2016-06-17 14:24:36 +01:00
Dave Conway-Jones
7fc056c8e3
remove extraneous udp console.log
...
and two tiny whitespace changes
2016-06-17 08:18:26 +01:00
Nick O'Leary
0411623857
Update change log
2016-06-16 00:09:32 +01:00
Nick O'Leary
365d71264f
Add index to editableList callback signature
2016-06-16 00:09:32 +01:00
Nick O'Leary
0d4d51fc39
Pass type/value on typedInput.change event
2016-06-16 00:09:32 +01:00
Nick O'Leary
b21745808b
Don't mark 'edit subflow template' as primary button
2016-06-16 00:09:32 +01:00
Dave Conway-Jones
e4d5271d58
Better fix for css, reverting test
2016-06-14 23:55:50 +01:00
Dave Conway-Jones
8f2f3bf75d
Fix CSV test
2016-06-14 23:20:09 +01:00
Dave Conway-Jones
9e96eba98f
fix csv handling of "numbers" with E in...
2016-06-14 22:36:44 +01:00
Nick O'Leary
0441c83fd7
Fix use of hasOwnProperty in Flow
...
Closes #907
2016-06-14 20:30:37 +01:00
Nick O'Leary
d8405052d8
Dont hover disabled editor primary buttons
2016-06-14 14:38:52 +01:00
Nick O'Leary
cc02b07ff0
Improve edit tray button colour contrast
2016-06-14 14:28:25 +01:00
Nick O'Leary
2d6aac7d6f
Update changelog
2016-06-13 22:36:47 +01:00
Nick O'Leary
589d43f0e5
Add RED.util to Function node sandbox
2016-06-13 22:16:36 +01:00
Nick O'Leary
13c1d1df7a
Update Debug node to use typedInput for complete/property option
2016-06-13 22:00:42 +01:00
Nick O'Leary
08ade44dc8
Handle more edge cases with RED.util.normalisePropertyExpression
2016-06-13 22:00:42 +01:00
Dave Conway-Jones
8fb1c76247
update font-awesome fonts to latest and
...
bump some npm pre-req versions
2016-06-13 21:05:32 +01:00
Nick O'Leary
3ad9053d65
Fix multi-level sequences of split/join nodes
2016-06-13 17:44:20 +01:00
Dave Conway-Jones
8fe07e0f07
Limit Pi GPIO to dedicated GPIO pins
...
to avoid clashes with internal drivers (e.g. I2C, SPI, AMA0 etc)
2016-06-13 14:23:19 +01:00
Nick O'Leary
09b069c129
Add icons to parser nodes
2016-06-12 22:37:38 +01:00
Nick O'Leary
b2db083f39
Another rev of the split/join icons
2016-06-12 21:33:27 +01:00
Nick O'Leary
53e2f3e263
Update split/join icons
2016-06-12 12:24:52 +01:00
Nick O'Leary
945fbbc065
Capture error stack on node.error
...
Closes #879
2016-06-12 11:07:05 +01:00
Nick O'Leary
4dc9c7714c
Clear node context on close
...
Fixes #870
2016-06-11 22:53:27 +01:00
Nick O'Leary
7302ac5871
Add merged object to Join node
2016-06-11 21:44:00 +01:00
Dave Conway-Jones
1cfad27d6f
Delay node only warn once on queue >1000 messages
...
and then again at >10000 messages
2016-06-10 23:21:12 +01:00
Nick O'Leary
d82fe95076
Update split node docs
2016-06-10 22:51:57 +01:00
Nick O'Leary
8f8df4971c
Fix switch node assumptions around string/number handling
2016-06-10 21:03:38 +01:00
Nick O'Leary
fd66569950
Update Join node implementation
2016-06-09 11:33:40 +01:00
Nick O'Leary
e97d9fb0b2
Add draft changelog for 0.14
2016-06-08 17:58:36 +01:00
Nick O'Leary
04424c2a7c
Add CHANGELOG.md and make it accessible from menu
2016-06-08 16:18:24 +01:00
Nick O'Leary
241e2828e7
Add support to HTTP In node for PATCH requests
...
Closes #904
2016-06-08 11:31:59 +01:00
Nick O'Leary
5f6a0141f0
Add cookie handling to HTTP In and HTTP Response nodes
2016-06-08 11:09:18 +01:00
Nick O'Leary
ef2f71859c
Join node ui updates
2016-06-07 23:18:46 +01:00
Dave Conway-Jones
fdaeeb5d01
add join icon
2016-06-07 23:18:46 +01:00
Nick O'Leary
e594ffe0f8
Update Join node runtime to match UI changes
2016-06-07 23:18:46 +01:00
Nick O'Leary
9f8c32ce8f
Split node UI rework - WIP
2016-06-07 23:18:46 +01:00
Nick O'Leary
762eb07dd4
Add support for array-syntax in typedInput msg properties
2016-06-07 23:01:23 +01:00
Nick O'Leary
0300458ba8
Add error handling to all node definition api calls
2016-06-06 14:45:36 +01:00
Nick O'Leary
3959fcdc88
Handle null return from Function node in array of messages
2016-06-06 11:40:02 +01:00
Dave Conway-Jones
ea76c18f59
Add some info words to config nodes
2016-06-04 09:05:19 +01:00
Nick O'Leary
d125ecc671
Remove rogue console.log
2016-06-04 00:42:33 +01:00
Nick O'Leary
7d9b90a1f3
Disarm click-to-close whilst opening an edit tray
2016-06-04 00:42:08 +01:00
Nick O'Leary
7402c27b6a
Reduce tab left-padding below a width threshold
2016-06-04 00:41:26 +01:00
Nick O'Leary
4e762e2063
Enable shift-drag detach of just the selected link
2016-05-31 23:42:00 +01:00
Nick O'Leary
0afe98b399
Move rename flow dialog to editor tray
2016-05-31 23:20:25 +01:00
Nick O'Leary
daed059c47
Emit editor:open/close events from the tray itself
2016-05-31 23:19:43 +01:00
Trisooma
f1ce0fab8b
Option to enable cors for editor ( #886 )
...
Adds httpAdminCors setting
2016-05-31 14:55:03 +01:00
Nick O'Leary
b5d3f505e3
Defer loading of token sessions until they are accessed
...
Fixes #895
2016-05-31 14:39:50 +01:00
Nick O'Leary
6c8f688f33
Close the current edit tray when the workspace is clicked
2016-05-31 13:24:56 +01:00
Nick O'Leary
ed1b601a84
Editor buttons should have same border colour as other input elements
2016-05-31 13:09:27 +01:00
Nick O'Leary
add541f67f
Restore the edit-select box add behaviour
...
This reverts commit 59a7c46482 .
2016-05-31 13:01:49 +01:00
Nick O'Leary
bea8eb799f
Add node/editor lifecycle events
2016-05-29 23:51:20 +01:00
Nick O'Leary
3cac48e86f
Fix jshint issue in editableList
2016-05-29 22:41:25 +01:00
Nick O'Leary
64722da4a7
Make sidebars disabled-on-edit by default
2016-05-29 22:37:25 +01:00
Nick O'Leary
ada1e624d8
Update editableList apis
2016-05-29 22:37:25 +01:00
Dave Conway-Jones
69f83cb905
fully log node warnings on start
...
(i.e. don’t need -v for simple errors on start)
2016-05-26 10:38:24 +01:00
Dave Conway-Jones
807873f685
set pi gpio pin status correctly if set on start
2016-05-26 10:37:20 +01:00
Nick O'Leary
8d4be848b0
Workaround firefox not allowing SVG elements to have focus
2016-05-22 21:23:30 +01:00
Nick O'Leary
59a7c46482
Modify config node select box to have dedicated add button
2016-05-21 22:11:29 +01:00
Nick O'Leary
eabfeb9502
Slow down the tray slide animation slightly
2016-05-21 22:11:10 +01:00
Nick O'Leary
291240dd94
Add editableList widget and update Switch/Change nodes to use it
2016-05-20 22:13:28 +01:00
Nick O'Leary
2f6ed47168
Handle null node array references in catch/status nodes
2016-05-20 10:32:06 +01:00
Nick O'Leary
9a73568c7a
Ensure node field change handlers are invoked after editprepare
2016-05-19 22:42:28 +01:00
Nick O'Leary
acdef87be7
Ensure editor resize is called even when limits are hit
2016-05-19 11:16:37 +01:00
Nick O'Leary
b14546605d
Fix dialog button order in tab-delete and confirm-deploy dialogs
2016-05-19 11:16:37 +01:00
Nick O'Leary
5ad46106f4
Use onadd in link nodes to ensure imported links are updated
2016-05-19 11:16:37 +01:00
Dave Conway-Jones
3e9be9eed3
remove orion from build
2016-05-18 11:11:59 +01:00
Nick O'Leary
7318a7b767
Prevent parent window scrolling when view is focused
...
Fixes #635
2016-05-18 09:53:04 +01:00
Nick O'Leary
b78682f413
Change Inject repeat label icon
2016-05-18 09:35:43 +01:00
Nick O'Leary
e50659af09
Add repeat indicator to inject node label
...
Closes #887
2016-05-17 23:36:09 +01:00
Josh
3454e5ac77
Flows lib honours flowFilePretty setting ( #837 )
...
* Flow lib now adheres to pretty flow file, ui also adheres to this as well
* added settings mock object in flows_spec get api test
* reverted api changes, fixed parse of flow only
* try spell flows correctly
2016-05-17 22:09:57 +01:00
Nick O'Leary
9e26aeea1d
Handle scoped node modules in the api
2016-05-17 21:56:03 +01:00
Nick O'Leary
d7715b05ee
Ensure catch/status/link node references update on import
2016-05-17 09:39:18 +01:00
Nick O'Leary
db433efbef
Link nodes show hidden wires when selected
...
☕ ️
2016-05-17 09:18:32 +01:00
Dave Conway-Jones
f1f8c887c6
bump font awesome to 4.6.2 level
2016-05-11 20:39:38 +01:00
Nick O'Leary
9ae4745ca5
Refocus workspace after closing edit tray
2016-05-11 17:15:36 +01:00
Nick O'Leary
726d9c8ec5
Set z-index of editor shade so it stays above tabs
2016-05-08 22:55:55 +01:00
Nick O'Leary
a9bfa4e79b
Allow keyboard shortcuts to be scoped to a dom element
...
This gets rid of the need to enable/disable the keyboard handling
at various times.
Allows Ctrl-C to work as expected when selecting text in debug/info
sidebar.
Downside is shortcuts that apply to the workspace (select-all, copy
etc) now require the workspace to be focussed.
2016-05-08 22:50:55 +01:00
Nick O'Leary
8e6bba143a
Escape regex chars in palette filter input
2016-05-08 20:55:13 +01:00
Nick O'Leary
feeba77f16
Remove console.log debug from tray
2016-05-06 17:20:25 +01:00
Nick O'Leary
ea41a0e842
Improve edit tray size handling for small screens
2016-05-06 17:19:56 +01:00
Dave Conway-Jones
74b7500181
Add javascript highlighter to template node
...
because it’s FF
2016-05-06 17:00:58 +01:00
Nick O'Leary
594ff8cd3d
Add support for loading scoped node modules
...
Fixes #885
2016-05-06 10:16:41 +01:00
Nick O'Leary
337f5f9b98
Handle missing tab nodes in a loaded flow config
2016-05-04 22:09:11 +01:00
Nick O'Leary
41445a1b48
Merge branch 'config' into 0.14.0
...
explain why this merge is necessary,
2016-05-04 15:44:48 +01:00
Nick O'Leary
269763fa0c
Allow workspace tabs to be re-ordered
2016-05-04 15:22:30 +01:00
Nick O'Leary
fa90eeac55
Make all dialog buttons consistent with editor tray
2016-05-03 21:36:22 +01:00
Nick O'Leary
edceffdaaf
Ensure typedInput dropdown doesn't fall off the page
2016-05-03 17:01:45 +01:00
Nick O'Leary
ce25fc658b
Move edit tray buttons to top
2016-05-03 15:45:29 +01:00
Dave Conway-Jones
b27db3e2e7
tiny changes to JSON and exec test for node6
...
no need to specify npm2 defaults are ok now. (on travis)
2016-04-30 17:05:10 +01:00
Dave Conway-Jones
622d4214f7
Let's try that node6 thing again...
2016-04-29 10:00:14 +01:00
Nick O'Leary
0c53b5310a
Protect against node types with reserved names such as toString
...
Fixes #880
2016-04-28 14:17:48 +01:00
Nick O'Leary
45ff86eae5
Do not rely on the HTML file to identify where nodes are registered from
2016-04-28 11:23:42 +01:00
Dave Conway-Jones
47316b0fb7
Merge branch 'master' into 0.14.0
2016-04-27 23:22:37 +01:00
Dave Conway-Jones
c09be02e4e
small fix to exec node test
2016-04-27 22:54:00 +01:00
Dave Conway-Jones
bd59398cab
Add optional timeout to exec node
...
(both exec and spawn modes)
and add test for it (both exec and spawn)
also extra test for trigger node.
2016-04-27 22:32:58 +01:00
Nick O'Leary
8080ebceb4
Fix linting error on Flow.js
2016-04-27 12:37:20 +01:00
Nick O'Leary
1e2521c37a
Add TLS node and update MQTT/HTTP nodes to use it
2016-04-27 12:33:02 +01:00
Nick O'Leary
b744491dd2
Ensure config nodes are instantiated in the right order
2016-04-27 12:33:02 +01:00
Nick O'Leary
2a089f7d90
Ensure parent nodes marked as changed due to child config node changes
2016-04-27 12:33:02 +01:00
Nick O'Leary
088e3e5374
Validate all edit dialog inputs when one changes
2016-04-27 12:33:02 +01:00
Nick O'Leary
bac8a3092f
Recursively validate nodes after editing config node directly
2016-04-27 12:33:02 +01:00
Nick O'Leary
e56da17957
Disable keyboard shortcuts when editing a config node
2016-04-27 12:33:01 +01:00
Nick O'Leary
71b2e714ee
Allow config select input to override default width
2016-04-27 12:33:01 +01:00
Nick O'Leary
1b06afb81c
Preserve node properties on import
2016-04-27 12:33:01 +01:00
Nick O'Leary
819e48b03a
Enable config nodes to reference other config nodes
2016-04-27 12:33:01 +01:00
Nick O'Leary
1861c1feb6
Restore tray size properly when maximised
2016-04-27 12:33:01 +01:00
Nick O'Leary
0efccc4758
Add quick resize buttons to tray
2016-04-27 12:33:01 +01:00
Nick O'Leary
a9feeaa1c9
Make tray resizble and remember size per-node-type
2016-04-27 12:33:01 +01:00
Nick O'Leary
f9c869f521
Refresh node info when edit tray closes
2016-04-27 12:33:01 +01:00
Nick O'Leary
9c766d76f3
Resize tray on create to ensure proper size
2016-04-27 12:33:01 +01:00
Nick O'Leary
333acccff6
Add subflow dialogs to the tray
2016-04-27 12:33:01 +01:00
Nick O'Leary
1790ebf567
Update info sidebar as trays open/close
2016-04-27 12:33:01 +01:00
Nick O'Leary
6354b68bae
Config node tray
2016-04-27 12:33:01 +01:00
Nick O'Leary
41b10fd5e4
Add new style tray editor
2016-04-27 12:33:01 +01:00
Dave Conway-Jones
4ad540412a
trigger node, fix send last message ...
...
(if extend not selected).
2016-04-24 21:24:15 +01:00
Dave Conway-Jones
8916cf273e
Let trigger node also send last payload to arrive
...
and add test for it.
2016-04-24 17:42:24 +01:00
Dave Conway-Jones
b2923d0fc4
enhance a couple of tests to check more
...
Delay node checks times properly for both types of queue. And File
checks to make sure other payload types are handled (a bit better than
they were)
2016-04-24 17:41:22 +01:00
Dave Conway-Jones
8fc0018cb9
Fix regression in delay node.
...
topic based queue was emptying all the time instead of spreading out
messages.
2016-04-24 11:08:58 +01:00
Dave Conway-Jones
d0f57efe0b
test a few extra paths in several nodes
...
trigger, switch and file
(and linted delay just because)
2016-04-23 21:06:48 +01:00
Dave Conway-Jones
595ff63b72
Fix exec test for v0.10
...
Back out nvm 6 in travis (not there yet)
2016-04-23 17:41:56 +01:00
Dave Conway-Jones
9990046abb
get more debug from travis for exec test
...
Don’t have v.10 locally.
And a,y as well try node v6 also ;-)
2016-04-23 17:29:31 +01:00
Dave Conway-Jones
8dacf72b3c
try to increase coverage for exec and template nodes
...
(works locally - may fail on travis - lets see…)
2016-04-23 17:09:46 +01:00
Nick O'Leary
2801838ffa
Throw an error if a Function node adds an input event listener
2016-04-21 22:25:47 +01:00
Dave Conway-Jones
59b34c2b3f
Add timestamp as a default typedInput
...
and update Inject and change nodes to match,
and add some tests.
2016-04-18 14:38:36 +01:00
Nick O'Leary
f55f85aa14
Fix debug toolbar button sizes
2016-04-18 14:08:07 +01:00
Nick O'Leary
627a80419a
Fix hang on partial deploy with disconnected mqtt node
2016-04-18 13:54:05 +01:00
Dave Conway-Jones
4bc482bc85
update load of grunt related versions
...
and mqtt and fs-extra and should. Fix tests to keep working.
2016-04-18 12:40:08 +01:00
Dave Conway-Jones
0a1257a23a
Add Ace css support / remove swift
2016-04-18 12:38:32 +01:00
Dave Conway-Jones
51d99248d7
update marked.min.js
2016-04-18 12:21:03 +01:00
Dave Conway-Jones
af9aa74337
Add process.env.PORT to settings.js as we said we would
2016-04-18 09:12:12 +01:00
Nick O'Leary
321f5e615b
Activate link splice on node centre not mouse position
2016-04-17 21:28:56 +01:00
Nick O'Leary
95c31f3e17
Add option to filter debug by flow and highlight subflow-emitting nodes
2016-04-15 20:20:16 -07:00
Nick O'Leary
cf69dbe1dc
TypedInput: preload type icons to ensure width calc correct
2016-04-13 18:10:04 -07:00
Nick O'Leary
e92241bf97
Resize change node rules when they are added
2016-04-13 18:09:41 -07:00
Nick O'Leary
44dc37ef6d
Add qos option to MQTT In node
2016-04-11 08:49:50 -07:00
Nick O'Leary
6b0bef61a5
Prompt for login if comms reconnect fails authentication
2016-04-11 08:49:49 -07:00
Nick O'Leary
0c227be02d
Back off comms reconnect attempts after prolonged failures
2016-04-11 08:49:49 -07:00
Dave Conway-Jones
08794bad74
Add tests for Change node move function
2016-04-10 15:55:05 +01:00
Nick O'Leary
44693dd23a
Enable finer grained permissions in adminAuth
2016-04-10 15:30:13 +01:00
Nick O'Leary
75a7be41eb
Better notification message when action is not permitted
2016-04-10 15:30:13 +01:00
Dave Conway-Jones
913b09570c
ensure tcp node creates a buffer of size 1 at least
2016-04-10 12:21:56 +01:00
Dave Conway-Jones
1c9b5dfd00
add status to exec spawn mode
2016-04-10 12:21:07 +01:00
Dave Conway-Jones
2954ae917b
Add Move capability to change node
2016-04-10 12:20:46 +01:00
Dave Conway-Jones
736ddaeca4
Update Ace Editor
2016-04-10 12:19:59 +01:00
Gabe Johnson
b909e32201
Prevent RED.node.registerNode from overriding a constructor's prototype ( #865 )
...
* prevent registry.registerNodeConstructor from overriding a constructors protoype
* fix for node < v5.0.0
* exercise another code path
* altering __proto__ for node < v0.12
* move inheritance code to helper function
2016-04-07 22:18:28 +01:00
Nick O'Leary
bcff74327b
Add CoC.md
2016-04-07 21:51:12 +01:00
Nick O'Leary
e60b63e72f
Update to CoC 1.4
2016-04-07 21:13:40 +01:00
Nick O'Leary
2bf5d2b4e5
Adopt Contributor Covenant 1.2
2016-04-07 20:49:44 +01:00
Nick O'Leary
e1d09349ff
Add link nodes
2016-04-07 17:08:51 +01:00
Nick O'Leary
f07c8108fc
Change style of nodes in subflow template view
2016-04-07 16:28:04 +01:00
Nick O'Leary
39f5078d6b
Return editorTheme default if value is undefined
2016-04-04 22:30:19 +01:00
Nick O'Leary
1d54761d48
Fix comparison of Buffers (again)
2016-04-01 10:32:11 +01:00
Nick O'Leary
7cb9b2da66
Use Buffer.equals not Buffer.compare for node 4+
2016-04-01 10:23:00 +01:00
Nick O'Leary
b1896e3737
Fix RED.util.compareObjects for Function created objects and Buffers
2016-04-01 10:13:11 +01:00
Dave Conway-Jones
6fa78bdb04
bump serial port version number
...
uses typed widget to support other baud rates
2016-04-01 08:56:28 +01:00
Nick O'Leary
ee96f7d937
Fix closing tag in index.mst
2016-03-30 08:59:36 +01:00
Nick O'Leary
129ca0e39f
bump version
2016-03-21 11:02:09 +00:00
Dave Conway-Jones
906703db5f
Add timed release mode to delay node
2016-03-20 17:46:12 +00:00
Nick O'Leary
0cd4a2b4ec
Add api/flow_spec tests
...
Part of #840
2016-03-18 21:01:21 +00:00
Nick O'Leary
aef8aaa0bd
Enable link splicing for when import_dragging nodes
...
Closes #811
2016-03-17 11:12:45 +00:00
Nick O'Leary
428fbb8622
Fix uncaught exception on deploy whilst node sending messages
2016-03-16 15:37:44 +00:00
Nick O'Leary
b9f03e7d80
Deprecate old mqtt client and connection pool modules
2016-03-16 11:15:30 +00:00
Nick O'Leary
db686388b9
Fix registry test for Node 5
2016-03-16 11:05:10 +00:00
Nick O'Leary
626cba4002
Change node: add bool/num types to change mode
...
Closes #835 #835 #835
2016-03-13 23:10:10 +00:00
Nick O'Leary
37d4a6b9e2
Validate fields that are $(env-vars)
...
Closes #825
2016-03-13 14:29:36 +00:00
Nick O'Leary
12c4561aba
Handle missing config nodes when validating node properties
2016-03-13 13:25:59 +00:00
Dave Conway-Jones
fed49e3718
pi node - don't try to send data if closing
2016-03-13 10:58:22 +00:00
Nick O'Leary
3af37d3984
Load node message catalog when added dynamically
2016-03-12 22:53:07 +00:00
Nick O'Leary
0f49a11228
Split palette labels on spaces and hypens when laying out
2016-03-12 22:41:23 +00:00
Nick O'Leary
27d3e165b0
Message catalog updates for zero-length flow file handling
2016-03-12 00:04:27 +00:00
Nick O'Leary
e941c22f6c
Warn if editor routes are accessed but runtime not started
...
Closes #816
2016-03-12 00:03:50 +00:00
Nick O'Leary
7281e4deb6
Add zero-length flow file tests
2016-03-11 22:58:11 +00:00
Nick O'Leary
f2191e94b3
Better handling of zero-length flow files
...
Closes #819
If a flow file is found to be zero-bytes:
If there is a non-empty backup, restore the backup and resolve
If there is no backup or it is also empty, resolve empty flow
If a flow file is found to be invalid json:
Log and resolve empty flow
2016-03-11 22:42:04 +00:00
Dave Conway-Jones
349ebfe4db
remove extra brace added to library.js in error
2016-03-06 20:54:46 +00:00
Nick O'Leary
708365c4ac
Allow runtime calls to RED._ to specify other namespace
2016-03-06 20:43:19 +00:00
Dave Conway-Jones
0e9ea0aff1
Replace - & _ from example node name labels with space
...
and align lines (ocd)
2016-03-05 17:07:39 +00:00
Dave Conway-Jones
63ba05a193
Better right alignment of numerics in delay and trigger nodes
2016-03-04 10:12:07 +00:00
Nick O'Leary
4b702815cf
Strip node-red-contrib/node- prefix from Example menu labels
2016-03-03 11:02:37 +00:00
Nick O'Leary
55e66ebcac
Allow node modules to include example flows
2016-03-02 23:34:24 +00:00
Nick O'Leary
dcd8b3699c
Create node_modules in userDir
...
This ensures npm install puts modules under .node-red even if there's
already a node_modules dir in the parent directory.
2016-03-01 22:08:37 +00:00
Nick O'Leary
0e2d13172a
Ensure errors in node def funcs don't break view rendering
...
Fixes #815
- also fixes errors in the Catch/Status node label funcs #815
2016-03-01 21:58:57 +00:00
Nick O'Leary
2e2556fdad
Merge pull request #805 from aryehof/InjectInfoUpdate
...
Updated Inject node info with instructions for flow and global options
2016-02-26 14:07:21 +00:00
Nick O'Leary
859a7538e1
Fix crash on repeated inject of invalid json payload
2016-02-26 10:35:15 +00:00
Dave Conway-Jones
0d1543ee8a
Add tail node binary mode test
2016-02-25 08:52:43 +00:00
Dave Conway-Jones
d3a98dd355
Add binary mode to tail node
2016-02-24 23:06:27 +00:00
Dave Conway-Jones
ad10125303
revert Cheerio to somewhat smaller version
2016-02-23 09:47:49 +00:00
Dave Conway-Jones
b89e866d39
Add os/platform info to default debug
2016-02-22 17:47:16 +00:00
Dave Conway-Jones
afbaf1cfe0
make sample node info consistent <code>
2016-02-22 17:46:14 +00:00
Dave Conway-Jones
b3be8b30e7
remove direction flag from delay node
2016-02-22 17:45:28 +00:00
Aryeh Hoffman
8bfab8f73d
Updated Inject node info with instructions for flow and global options
2016-02-21 18:17:05 +02:00
Nick O'Leary
c6ad2c9ad2
Don't force reconnect mqtt client if message arrives
...
Fixes the annoying mqtt connect/disconnect cycle
2016-02-19 22:52:43 +00:00
Nick O'Leary
3b44d9972e
Bump package version
2016-02-19 21:21:22 +00:00
Nick O'Leary
af736c98f2
Add -p/--port option to override listening port
2016-02-19 21:18:50 +00:00
Nick O'Leary
f1377fa217
Invert toggle button colours so state is more obvious
2016-02-18 10:28:22 +00:00
Dave Conway-Jones
2ba146b9ff
Add timeout to httprequest node
...
and override 2 min default in settings.js.
to Close #801
2016-02-15 09:45:58 +00:00
Dave Conway-Jones
2361607aa3
file node info to same style as others
2016-02-14 13:45:14 +00:00
Nick O'Leary
86ffc80098
Tidy up spinner css
2016-02-14 11:52:33 +00:00
Dave Conway-Jones
7f6915eb59
tcp node add reply (to all) capability
...
if no _session present.
2016-02-12 13:17:50 +00:00
Dave Conway-Jones
d69bcad028
hardware, logic, storage nodes info updates
...
(and udp)
2016-02-12 13:17:21 +00:00
Dave Conway-Jones
4cb45e2712
parser node info updates
2016-02-12 13:16:28 +00:00
Dave Conway-Jones
b7a0ad703a
io and analysis nodes info updates
2016-02-12 13:15:53 +00:00
Dave Conway-Jones
7610b9a975
core nodes info updates
2016-02-12 13:15:05 +00:00
Dave Conway-Jones
7d95f621df
update UDP node info to be more correct.
2016-02-11 22:21:12 +00:00
Nick O'Leary
bba210e112
Allow the template node to be treated as plain text
2016-02-11 13:16:15 +00:00
Nick O'Leary
3a97e20bde
Validate MQTT In topics
...
Fixes #792
2016-02-10 22:38:59 +00:00
Nick O'Leary
4fe7ea00b0
httpNodeAuth should not block http options requests
...
Fixes #793#793#793
2016-02-10 21:57:46 +00:00
Nick O'Leary
3ec8ecd4de
Disable perMessageDeflate on WS servers
...
Workaround for this issue: https://github.com/websockets/ws/pull/632
as it has been fixed in the 1.x release that drops support for
node 0.10...
2016-02-10 21:43:37 +00:00
Dave Conway-Jones
401e65e852
Merge pull request #799 from natcl/patch-1
...
Fix typo in delay node: replaced ramdom to random
Thanks @natcl
2016-02-09 23:09:10 +00:00
Nathanaël Lécaudé
e7c5b691a0
More ramdom --> random
2016-02-09 18:03:27 -05:00
Nathanaël Lécaudé
9f3ea8da67
Fix typo in delay node: replaced ramdom to random
2016-02-09 17:57:50 -05:00
Nathanaël Lécaudé
d1269b441d
Update index.mst
2016-02-08 09:20:43 -05:00
Nathanaël Lécaudé
7615743aa5
Update theme.js
2016-02-08 09:20:07 -05:00
Nathanaël Lécaudé
dcaa0eeea4
Add node-red-icon-black.svg file to header
...
Add node-red-icon-black.svg file to header, according to Safari's pinned tab icon spec.
See :
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/pinnedTabs/pinnedTabs.html
2016-02-08 00:05:17 -05:00
Nathanaël Lécaudé
1d5e2f703e
Create node-red-icon-black.svg
2016-02-08 00:01:19 -05:00
Dave Conway-Jones
4d84d624b1
clear trigger status icon on re-deploy
2016-02-04 22:13:08 +00:00
Nick O'Leary
633a6a0ee6
Fix inject test to use a proper type
2016-02-04 21:52:27 +00:00
Nick O'Leary
c7bcd3f438
Don't default inject payload to blank string
2016-02-04 21:43:18 +00:00
Dave Conway-Jones
d3a29a6f16
fix trigger tests
2016-02-04 21:22:52 +00:00
Dave Conway-Jones
827711ca89
Fix util jshint as we need the behaviour.
2016-02-04 21:21:57 +00:00
Dave Conway-Jones
76e98f74fa
let new typed-inputs return correctly
...
0 now returns correct type for boolean and number when required.
2016-02-04 21:06:20 +00:00
Dave Conway-Jones
fb09f4b22d
trigger node, add configurable reset
...
and make it do strings when it says so, and numbers if you want.
2016-02-04 21:05:15 +00:00
Dave Conway-Jones
bb06585748
another tidy up on Pi GPIO node
2016-02-03 21:10:44 +00:00
Nick O'Leary
c76ba1dcc7
Allow function properties in settings
...
Fixes #790
2016-01-29 11:56:16 +00:00
Nick O'Leary
a115301b04
Fix order of config dialog calls to save/creds/validate
2016-01-29 11:56:16 +00:00
Dave Conway-Jones
72917117a9
Add debounce to Pi GPIO node
2016-01-25 09:56:35 +00:00
Nick O'Leary
6567739236
Bump version
2016-01-21 22:20:18 +00:00
Nick O'Leary
4aa6b47c0e
Revert wrapping of http requestion object
...
Fixes #787
2016-01-21 22:15:25 +00:00
Nick O'Leary
03558b012c
Bump version and dependencies
2016-01-18 11:09:52 +00:00
Nick O'Leary
3288efdad6
Remove unimplemented flow.enable/disable functions
2016-01-18 10:53:50 +00:00
Dave Conway-Jones
3902a343f3
Add ports in use warning to udp node
...
to close #786
Thanks @hugobox
2016-01-17 10:34:40 +00:00
Dave Conway-Jones
882b7d0391
change settings.js example to octalbonescript
2016-01-16 13:58:24 +00:00
Nick O'Leary
81f082825d
Add 'previous value' option to Switch node
2016-01-15 11:35:59 +00:00
Nick O'Leary
392fd6fed3
Allow existing nodes to splice into links on drag
2016-01-14 15:59:45 +00:00
Nick O'Leary
51afed4041
Ensure config list refreshes properly on tab delete
2016-01-14 15:22:00 +00:00
Nick O'Leary
17e3b71d9c
Allow update of global flow
2016-01-14 14:57:13 +00:00
Nick O'Leary
6e75089f3a
CORS not properly configured on multiple http routes
...
Fixes #783
2016-01-13 12:54:34 +00:00
Nick O'Leary
6dc640b129
Add hidden count when config node filtered
2016-01-13 10:30:24 +00:00
Nick O'Leary
27cbaac343
Restore shift-drag to snap/unsnap to grid
2016-01-13 09:16:24 +00:00
Nick O'Leary
fa4006619e
Make debug/config sidebar headers consistent
2016-01-12 23:55:18 +00:00
Nick O'Leary
cb8fe8462a
Moving nodes with keyboard should flag workspace dirty
2016-01-12 23:08:13 +00:00
Nick O'Leary
abd51a5511
Notifications flagged as fixed should not be click-closable
2016-01-12 23:06:18 +00:00
Nick O'Leary
a0cc1e6b0c
Add config node filter
2016-01-12 23:03:33 +00:00
Nick O'Leary
50399c6bfa
Rework config sidebar and deploy warning
2016-01-12 17:54:53 +00:00
Nick O'Leary
de48c1be44
Wrap http request object to match http response object
2016-01-11 22:35:31 +00:00
Nick O'Leary
0786ec4b66
Move typedInput icons and update boolean
2016-01-11 21:24:35 +00:00
Nick O'Leary
db319e0ebc
Ensure global context is seeded properly
2016-01-11 11:28:01 +00:00
Nick O'Leary
4fc568856a
Clear link_splice style on drag end
2016-01-11 11:00:54 +00:00
Nick O'Leary
4c6771669b
Fix palette node link splicing on Firefox
2016-01-10 22:25:20 +00:00
Nick O'Leary
9bca2a91c9
Tidy up view menu
2016-01-10 21:25:05 +00:00
Nick O'Leary
66eaaf5a48
Add 'view' menu and reorganise a few things
2016-01-09 20:39:03 +00:00
Nick O'Leary
9837f0e2e1
Highlight node port when dragging wires and undash the wires
2016-01-09 13:47:05 +00:00
Nick O'Leary
6b8ffb4c68
Fix lint issues in view
2016-01-09 00:31:05 +00:00
Nick O'Leary
f35dd34da9
Allow shift-click to detach existing wires
2016-01-09 00:29:04 +00:00
Nick O'Leary
ed19e4fa08
Splice nodes dragged from palette into links
2016-01-08 22:34:10 +00:00
Dave Conway-Jones
661e1a4f90
try to trim imported/dragged flows to [ ]
2016-01-08 19:54:16 +00:00
Nick O'Leary
5826de76ca
Make dragging nodes from the palette line up better
2016-01-08 14:42:05 +00:00
Nick O'Leary
05888740e5
Update jquery version to 0.11.3
2016-01-08 14:41:37 +00:00
Nick O'Leary
41f3b0c333
Fix variable leak in theme.js
2016-01-08 13:41:33 +00:00
Nick O'Leary
70f3e72a20
Move version number as title of NR logo
2016-01-08 13:36:49 +00:00
Nick O'Leary
e873afd40b
Moving nodes mark workspace as dirty
2016-01-08 11:08:48 +00:00
Nick O'Leary
2777c2937a
Make version number slightly darker
2016-01-07 22:29:20 +00:00
Nick O'Leary
798903e4cc
Move layout menu down one position
2016-01-07 22:28:03 +00:00
Nick O'Leary
58622ba18f
Attach dialog close handlers to dialog parents
2016-01-07 20:08:31 +00:00
Nick O'Leary
c368dcd5b7
Ok/Cancel edit dialogs with Ctrl-Enter/Escape
2016-01-07 17:10:59 +00:00
Nick O'Leary
0b4c652ce7
Add version number of sidebar footer
2016-01-07 16:42:10 +00:00
Nick O'Leary
dbaacc411a
Handle OSX Meta key when selecting nodes
2016-01-07 15:09:14 +00:00
Nick O'Leary
1850185d1e
Add grid-alignment options
2016-01-07 14:39:01 +00:00
Nick O'Leary
2e9d445d36
Add oneditresize function definition
2016-01-06 17:01:14 +00:00
Nick O'Leary
aed89d82fb
Fix template test
2016-01-06 17:01:14 +00:00
Nick O'Leary
231adac6d8
Rename typedInput.options
2016-01-06 17:01:14 +00:00
Nick O'Leary
587c4e5915
Update template node to use typedInput
2016-01-06 17:01:14 +00:00
Nick O'Leary
55f1cbf18f
Ensure inject payload exists
2016-01-06 17:01:13 +00:00
Nick O'Leary
38168a545b
Update Inject node to use typedInput
2016-01-06 17:01:13 +00:00
Nick O'Leary
43c6df49d7
Update typedInput nls
2016-01-06 17:01:13 +00:00
Nick O'Leary
f1c59faf72
Rename propertySelect to typedInput and add boolean opt
2016-01-06 17:01:13 +00:00
Nick O'Leary
5f7019325c
Update switch/change help text to reflect updates
2016-01-06 17:01:13 +00:00
Nick O'Leary
fe4dae8518
Add propertySelect to switch node
2016-01-06 17:01:13 +00:00
Nick O'Leary
1f848b205b
Add propertySelect support to Change node
2016-01-06 17:01:13 +00:00
Nick O'Leary
742c470d81
Add context/flow/global support to Function node
2016-01-06 17:01:13 +00:00
Nick O'Leary
5ead3342cc
Add node context/flow/global
2016-01-06 17:01:13 +00:00
Nick O'Leary
b95dc2ecce
Add propertySelect jquery widget
2016-01-06 17:01:13 +00:00
Nick O'Leary
4d0950215f
Don't allow tabs or subflows to be added with new flow
2016-01-06 17:01:13 +00:00
Nick O'Leary
da0ce9fe0d
Simplify flow api implementation and add logging messages
2016-01-06 17:01:13 +00:00
Nick O'Leary
ca62e720b5
Add missing spec file
2016-01-06 17:01:13 +00:00
Nick O'Leary
c4b1795396
Add add/update/delete flow apis
2016-01-06 17:01:13 +00:00
Nick O'Leary
fd2e47ed73
WIP: add flow api
2016-01-06 17:01:12 +00:00
Nick O'Leary
d5f2255a68
Handle null coreNodesPath
2016-01-06 17:01:12 +00:00
Nick O'Leary
05b58e9263
Allow core nodes dir to be provided to runtime via settings
2016-01-06 17:01:12 +00:00
Nick O'Leary
4a91c27e4b
Allow server to be option on red.init
2016-01-06 17:01:12 +00:00
Nick O'Leary
3a03d46d8d
Fix lint error in registry.js
2016-01-06 17:01:12 +00:00
Nick O'Leary
f03aff7006
Tidy up API passed to node modules
2016-01-06 17:01:12 +00:00
Nick O'Leary
043b8a3105
Register node message catalog directly, not via event
2016-01-06 17:01:12 +00:00
Nick O'Leary
1dd9984521
Pickup default language from i18n module
2016-01-06 17:01:12 +00:00
Nick O'Leary
d2be7f8c8f
Move locale files under api/runtime components
2016-01-06 17:01:12 +00:00
Nick O'Leary
88dc202db2
Fix node test helper for api/runtime changes
2016-01-06 17:01:12 +00:00
Nick O'Leary
083d54b008
Add unit test for flow reload api
2016-01-06 17:01:11 +00:00
Nick O'Leary
87d77efa57
Add flow reload admin api
2016-01-06 17:01:11 +00:00
Nick O'Leary
35c4a41d7b
Node id generation should only be done in runtime/util
2016-01-06 17:01:11 +00:00
Nick O'Leary
1ca3ca07d5
api/nodes accessing comms module incorrectly
2016-01-06 17:01:11 +00:00
Nick O'Leary
d673846e3d
WIP: runtime api for node modules
2016-01-06 17:01:11 +00:00
Nick O'Leary
f62b7afede
Remove all uses of fs.exists as it is deprecated
...
The tests still use it in places - particular localfilesystem tests,
but those tests need to be redone with sinon stubbing in place and
not rely on real fs operations.
2016-01-06 17:01:11 +00:00
Nick O'Leary
e65770a53a
Add missing test resources
...
They were ignored as they have node_modules in the path...
2016-01-06 17:01:11 +00:00
Nick O'Leary
a92a741932
Fix incorrect async test completion
2016-01-06 17:01:11 +00:00
Nick O'Leary
45f67191ba
Improve node registry test coverage
2016-01-06 17:01:11 +00:00
Nick O'Leary
93f5da325b
Fix node test helper for runtime/api changes
2016-01-06 17:01:11 +00:00
Nick O'Leary
8fb955e182
Move comms from runtime to api component
2016-01-06 17:01:11 +00:00
Nick O'Leary
9f5e6a4b37
Update tests for runtime/api separation
2016-01-06 17:01:11 +00:00
Nick O'Leary
f43738446e
WIP: separate runtime and api components
2016-01-06 17:01:11 +00:00
Nick O'Leary
923a46d304
Bump version 0.12.5
2016-01-06 16:55:38 +00:00
Dave Conway-Jones
b9b5eaccae
better handle utf8 file output chars
2016-01-06 12:27:47 +00:00
Dave Conway-Jones
cda11491c2
bump sentiment node npm prereq
2016-01-06 12:27:47 +00:00
Nick O'Leary
98c539f662
Refresh active nodes when node properties change
2016-01-04 22:05:17 +00:00
Dave Conway-Jones
9fb958b302
close tcp node connection properly when required.
2015-12-23 20:01:05 +00:00
Dave Conway-Jones
8e25e76439
Add hint re servos to Pi GPIO node info
2015-12-23 11:50:47 +00:00
Nick O'Leary
62694da7e6
Ensure last mqtt node turns off the lights before closing
...
The mqtt-broker node disconnects when the last node using it
is closed. But that node-close was not waiting for the disconnect
to complete. This led to a race-condition where the using node
was recreated and started trying to use the broker node whilst it
was still disconnecting.
2015-12-22 23:31:22 +00:00
Dave Conway-Jones
86064651af
Add Pi Keyboard code node
2015-12-21 10:27:58 +00:00
Dave Conway-Jones
65daaeb617
add attribute test to HTML parser node tests
2015-12-19 14:30:43 +00:00
Dave Conway-Jones
08b39f50b3
Add attribute capability to HTML parser node
2015-12-19 12:44:11 +00:00
Nick O'Leary
d0f7e5ca4d
Bump version 0.12.4
2015-12-14 10:01:10 +00:00
Nick O'Leary
4eb5058e68
Add readOnly setting to prevent file writes in localfilesystem storage
2015-12-13 22:45:44 +00:00
Nick O'Leary
1054193298
Update example httpNodeAuth setting to be bcrypt
2015-12-13 21:27:57 +00:00
Nick O'Leary
38c6cf0450
Support bcrypt for httpNodeAuth
2015-12-13 20:46:27 +00:00
Dave Conway-Jones
5b04b86867
remove extraneous s from GPIO node...
2015-12-12 15:18:17 +00:00
Dave Conway-Jones
a074bcfd56
Pi no longer needs root workaround to access gpio
...
(stops PAM logging in Node-RED log under systemd)
2015-12-12 15:13:15 +00:00
Nick O'Leary
f93179d946
Rename library filename field to avoid id clash
...
Fixed #767
2015-12-12 12:57:33 +00:00
Nick O'Leary
2c347bc092
Bump version for 0.12.3
2015-12-11 22:02:37 +00:00
Dave Conway-Jones
0f7119f468
TCPget don't send nun msg on disconnect
...
(as we now send status anyway)
2015-12-11 14:17:50 +00:00
Dave Conway-Jones
2685a24705
Let TCPget node pass through other msg properties
2015-12-11 14:07:20 +00:00
Nick O'Leary
371f72f4f1
Skip delay node burst test
2015-12-11 14:04:24 +00:00
Nick O'Leary
c70c00043b
Attached admin route before node route security
2015-12-11 13:42:44 +00:00
Nick O'Leary
50d0a88276
Ensure tabs are removed from runtime on partial deploy
2015-12-10 15:47:15 +00:00
Dave Conway-Jones
5bbf576dae
set fa-icons perms 644 not 755...
2015-12-10 13:57:54 +00:00
Nick O'Leary
5d334e9619
Clarify auth settings in default settings.js
2015-12-10 13:20:58 +00:00
Dave Conway-Jones
98f9353338
bump serial port package dependency version.
2015-12-10 13:11:14 +00:00
Nick O'Leary
d3de7037e5
Move HTTPRequest node to its own file
2015-12-10 12:58:50 +00:00
Nick O'Leary
64431c6711
Ensure node.ports is properly intialised
...
Fixes #766
2015-12-10 10:46:12 +00:00
Dave Conway-Jones
d4ce193dc8
Fix trigger to block properly until reset
...
Fix to Close #764
2015-12-09 16:42:16 +00:00
Dave Conway-Jones
606305aec4
Bump FA-Icons to v4.5
2015-12-09 15:38:37 +00:00
Dave Conway-Jones
a95f44d68b
remove annoying comma from comm.js
...
OCD reasons only
2015-12-09 13:37:20 +00:00
Dave Conway-Jones
ef2dc4b9e1
One more tidy up for tcp node
2015-12-07 22:39:42 +00:00
Dave Conway-Jones
9baca1772b
Close tcp port for tcpin node (same as previous fix but for input)
2015-12-07 22:39:42 +00:00
Nick O'Leary
04cd19349d
Don't reuse node-edit dialog for library export ui
...
Fixes #762
2015-12-07 22:15:14 +00:00
Dave Conway-Jones
1280e5bc8b
Close tcp out node more forcibly. (and update status) on redeploy.
2015-12-07 17:41:51 +00:00
Dave Conway-Jones
dda90f956d
Clear delay node status on re-deploy. (rate limit path)
2015-12-02 15:37:36 +00:00
Dave Conway-Jones
bc4b599513
Fix udp socket creation error on node v0.10
2015-12-01 14:52:15 +00:00
Dave Conway-Jones
090d52d678
narrowing in on tcpget fix, reconnect but don't resend.
...
to address issue #759
2015-12-01 13:41:39 +00:00
Dave Conway-Jones
a47ad4842a
Clean up tcpget node connected status.
...
to address #759
2015-11-30 22:05:26 +00:00
Nick O'Leary
3d5ed840dc
Bump version for 0.12.2
2015-11-28 20:32:19 +00:00
Nick O'Leary
11d75ff581
Inject time spinner incrementing value incorrectly
2015-11-26 09:56:49 +00:00
Nick O'Leary
306fb7a3d1
Kill processes run with exec node when flows redeployed
2015-11-24 23:09:44 +00:00
Nick O'Leary
0839b6f58e
Debug node not handling null messages
2015-11-24 23:09:32 +00:00
Nick O'Leary
fceca703b3
Update tcp node status on reconnect after timeout
...
Closes #757
2015-11-24 22:40:39 +00:00
Nick O'Leary
4dc60d2477
Clarify debug rate limit method
2015-11-21 21:30:03 +00:00
Nick O'Leary
d840d0b67d
Fix mqtt node lifecycle with partial deployments
2015-11-17 22:19:56 +00:00
Dave Conway-Jones
43dad4c465
ensure udp socket bind works more often
2015-11-16 08:38:22 +00:00
Dave Conway-Jones
60812b2d8a
fix udp node messages
...
(timing issue still outstanding)
2015-11-16 00:25:26 +00:00
Nick O'Leary
35e2caff13
Handle errors thrown in Function node setTimeout/Interval
2015-11-15 22:22:17 +00:00
Nick O'Leary
1d9d5c6bc7
Add node 5 to travis
2015-11-14 21:32:28 +00:00
Nick O'Leary
4d99536ea7
Function setTimeout/Interval wrapper not returing timer id
...
Fixes #753
2015-11-14 21:21:14 +00:00
Nick O'Leary
34537180c3
Fix basic authentication on httpNode/Admin/Static
2015-11-10 15:44:48 +00:00
Nick O'Leary
cb01920ee6
Allow nodes to be installed by path name
2015-11-09 16:52:14 +00:00
Nick O'Leary
437b01a0ff
Move node installer to its own module
2015-11-09 11:29:48 +00:00
Nick O'Leary
075a2abf71
Use child_process.execFile to prevent command injection
2015-11-08 14:26:11 +00:00
Nick O'Leary
985875cc75
Move node install/remove from server component to node engine
2015-11-08 14:06:36 +00:00
Nick O'Leary
1c45bc615f
Enable touch-menu for links so they can be deleted
2015-11-06 16:46:07 +00:00
Nick O'Leary
fa7f2606fb
bump version
2015-11-06 13:42:00 +00:00
Nick O'Leary
12b95f1c72
Enable config node dialog to have editor ui
2015-11-06 11:08:07 +00:00
Nick O'Leary
a0aee2021d
Tidy up sheets/flows labelling
2015-11-05 14:22:15 +00:00
Nick O'Leary
c90fd1e6d8
Move credential http API handling to api component
2015-11-04 11:13:43 +00:00
Dave Conway-Jones
3b769fd2de
add bash directive to nrgpio script
2015-11-04 08:42:00 +00:00
Nick O'Leary
71ecb89abc
Merge branch 'flowengine'
2015-11-03 20:24:55 +00:00
Nick O'Leary
7b6bc1d3bc
Increase default api request limit to 1mb
...
- expose it via settings.apiMaxLength
- audit log api errors
2015-11-03 11:23:37 +00:00
Nick O'Leary
9c3be40fbe
Automatically clear timeouts/intervals set in Function node
...
closes #744
2015-11-03 10:47:29 +00:00
Nick O'Leary
ab87fa9ce4
Ensure status/errors from global config nodes propagate properly
2015-11-03 10:20:00 +00:00
Nick O'Leary
d1940a023a
Complete test coverage on flow engine refactor
2015-11-02 15:58:40 +00:00
Nick O'Leary
5a176a037c
Update test helper for refactored flow engine
2015-11-02 15:58:40 +00:00
Nick O'Leary
ec25191c98
Flow Engine refactor
...
Each flow/tab now exists as its own logical object. This is the ground
work for allowing flows to be added/removed/updated independently.
2015-11-02 15:58:29 +00:00
Nick O'Leary
20b321f928
Handle null subflow info property
2015-10-26 11:12:49 +00:00
Dave Conway-Jones
425b016d63
Add missing space to label in delay node
2015-10-26 09:42:16 +00:00
Nick O'Leary
b2c7189ce4
Update package dependencies
2015-10-25 21:36:20 +00:00
Nick O'Leary
f66886dbdb
Websocket input node not unsubscribing properly
...
Fixes #739
2015-10-23 23:01:25 +01:00
Nick O'Leary
712f8b4680
Add description field to Subflows
2015-10-23 22:14:39 +01:00
Nick O'Leary
f626ee060a
Allow properties to be specified by environment variables
...
A property set to $(ABC) will be substituted with the environment
variable ABC - if it exists. If the property doesn't exist, the property
is left unchanged.
2015-10-23 22:14:39 +01:00
Dave Conway-Jones
86aa7c97be
Make exec node status indication consistent with others
2015-10-22 19:02:22 +01:00
Dave Conway-Jones
30e3525987
Add status icon to trigger node while it is active
2015-10-22 16:27:07 +01:00
Dave Conway-Jones
ad44f838da
update sample to refer to fa-icons
2015-10-20 19:30:42 +01:00
Dave Conway-Jones
2569a35b6c
fix closing web socket timeout
...
to close #738 - thanks to @GSeva for spotting it.
2015-10-20 18:58:37 +01:00
Dave Conway-Jones
1ee5e50d50
Turn on tcp node socket keepalive when in server mode
2015-10-20 10:13:48 +01:00
Dave Conway-Jones
1dbec5eca8
slight tidy of Pi Mouse node
2015-10-20 10:02:57 +01:00
Nick O'Leary
2bc8db308c
Add missing tab-config file
2015-10-17 19:05:23 +01:00
Nick O'Leary
f196740426
Restore config node tab
2015-10-16 21:56:20 +01:00
Dave Conway-Jones
20121b79c5
Let CSV node handle null columns in input array. array-> csv
2015-10-16 20:42:25 +01:00
Nick O'Leary
741a4cfe53
Don't assume def.align is set to 'right'
...
Fixes #734
2015-10-15 14:27:30 +01:00
Dave Conway-Jones
0343de9f34
Add status capability to function node
2015-10-15 13:33:05 +01:00
Nick O'Leary
4772bca14a
Undo 'selection to subflow' not restoring nodes
2015-10-15 11:34:17 +01:00
Dave Conway-Jones
6ae1a5ba0d
let CSV obj->css allow blank columns in template
2015-10-15 08:31:42 +01:00
Dave Conway-Jones
217c9718e4
catch missing template error in CSV parser node
...
and update help info
2015-10-14 23:38:29 +01:00
Dave Conway-Jones
61d7893467
Enhance CSV node to accept simple arrays -> css
2015-10-14 23:07:25 +01:00
Dave Conway-Jones
8f26c01f4b
fix escaping of quotes in CSV node
2015-10-14 11:02:31 +01:00
Dave Conway-Jones
61045ddd7f
try to fix debug node non-standard object type handling.
2015-10-10 22:41:07 +01:00
Dave Conway-Jones
1bf72a0bc3
correct TCP node server status message
2015-10-09 15:44:22 +01:00
Dave Conway-Jones
6d84b1bb8d
update inspect to come from correct package (util)
...
(works from v0.10 onwards - but now deprecated in v4)
2015-10-09 13:36:35 +01:00
Dave Conway-Jones
8abd0b1fdf
Detect/set correct method for http proxy
...
to close #732 — thanks @utaani
2015-10-09 09:19:09 +01:00
Dave Conway-Jones
81e125b7ba
add bit more help to exec node
...
Point out that parameters with spaces should be quoted
2015-10-05 21:41:53 +01:00
Dave Conway-Jones
d5e1468718
Normalise spawn behaviour in exec node to accept identical parameters
...
Can now just tick or untick spawn and command still works.
2015-10-05 21:17:35 +01:00
Nick O'Leary
c232bf5ed6
Avoid unnecessary isUtf8 check on HTTP payloads
2015-10-05 21:10:32 +01:00
Nick O'Leary
21b25ffaee
Merge pull request #730 from jthomas/master
...
Allow HTTP nodes to handle non-UTF8 content.
2015-10-05 20:52:35 +01:00
Dave Conway-Jones
ca0a93df08
Add Node-RED sag icon to default images
2015-10-05 13:46:42 +01:00
James Thomas
699a22c757
Allow HTTP nodes to handle non-UTF8 content.
...
Setting UTF-8 as the default body encoding stops us sending binary
content, e.g. audio, which can be decoded into a Buffer.
Use "Content-Type" header to decide whether to decode as UTF-8 or a
Buffer.
2015-10-05 11:53:29 +01:00
Nick O'Leary
8b2b1669b5
Add ignore-case flag to Switch regex rule
...
closes #366
2015-10-04 22:14:49 +01:00
Dave Conway-Jones
c1e8370916
Lets spawn msg.payload contain comma separated parameters
...
(like rest of parameters passed in to spawn via edit dialogue)
Will also accept an array…
2015-10-04 19:22:33 +01:00
Nick O'Leary
ddedea8b90
Resize change/switch rules with the dialog
2015-10-03 22:30:28 +01:00
Nick O'Leary
8f414ce458
Update auth revoke test for express 4
2015-10-03 20:32:24 +01:00
Nick O'Leary
453f23da20
Move to node 4.x.x in travis
2015-10-03 09:15:11 +01:00
Nick O'Leary
9e91e42a1b
Increase delay burst test timeout
...
The test was occasionally timing out, despite it succeeding. Increased
the timeout to give it a bit more safety margin to complete
2015-10-03 09:06:51 +01:00
Nick O'Leary
b666734c79
Update dependency versions
2015-10-02 22:13:15 +01:00
Nick O'Leary
a2297f303d
Update config node user list when node edits are undone
2015-10-02 21:27:31 +01:00
Nick O'Leary
ecde942255
Wrap msg.req/res objects and add deprecated warnings to functions
2015-10-02 21:27:31 +01:00
Nick O'Leary
d668d43a0a
Move to express 4.x
2015-10-02 21:27:31 +01:00
Nick O'Leary
ca91a5dd95
Rename flow menu ids back to workspace
2015-10-02 21:27:31 +01:00
Nick O'Leary
5f9780d71c
Improve error message if settings file fails to load
2015-10-02 21:27:31 +01:00
Nick O'Leary
ee37464741
Copy settings file to userDir on start-up if it makes sense
...
It will only copy the file if:
- a custom file hasn't been specified (-s file)
- there isn't an existing settings.js file in userDir
- the default settings file (in install dir) hasn't been
modified (mtime < ctime)
2015-10-02 21:27:31 +01:00
Nick O'Leary
8d73f927db
Debug output should use overridden toString method if set
...
Closes #690
2015-10-02 21:27:31 +01:00
Nick O'Leary
4a0222bd1c
Warn if a node references an unknown config node type
...
Closes #709
2015-10-02 21:27:31 +01:00
Nick O'Leary
c0b8f5e3e1
Add tab info to deploy error messages
2015-10-02 21:27:31 +01:00
Nick O'Leary
a9a0b263dc
Add undo support for config-node delete
2015-10-02 21:27:30 +01:00
Nick O'Leary
f2b73187d8
Name flows back to sheets in the ui
2015-10-02 21:27:30 +01:00
Nick O'Leary
ef10ade0cc
Improve handling of imported config nodes
...
Avoid creating unnecessary duplicates of config nodes, whilst
honouring the scope of the any existing node.
Also, 'undo' now removes any added config node
2015-10-02 21:27:30 +01:00
Nick O'Leary
719bb4263e
Ensure config nodes are deleted when owning subflow is deleted
2015-10-02 21:27:30 +01:00
Nick O'Leary
b3602b268e
Have grunt dev restart on message catalog changes
2015-10-02 21:27:30 +01:00
Nick O'Leary
66ec9bae27
Add warning if HTTP In node is missing path config
2015-10-02 21:27:30 +01:00
Nick O'Leary
d96b6e77c0
Allow config nodes to be scoped to an individual Flow
2015-10-02 21:27:30 +01:00
Nick O'Leary
da64c018ac
Make the comms link be more tolerant to temporarily blips
2015-10-02 21:27:30 +01:00
Nick O'Leary
f9fb97adf2
Undo subflow rename not updating corresponding tab/menu labels
2015-10-02 21:27:30 +01:00
Nick O'Leary
8316bc6480
Move config node users tip into body of dialog
2015-10-02 21:27:30 +01:00
Nick O'Leary
08021e039a
Better favicon
2015-10-02 21:27:30 +01:00
Dave Conway-Jones
cc6e0937a0
initialise status.text to be blank string if not set.
...
(and change test to use .text rather than .message)
(not that it matters at this level of test)
2015-10-02 21:27:30 +01:00
Nick O'Leary
c1d694a97c
Add birth message to MQTT node
2015-10-02 21:27:30 +01:00
Dave Conway-Jones
fcf4f40c36
add basic status node test
2015-10-02 21:27:30 +01:00
Nick O'Leary
380b03399c
Update to latest MQTT module version
2015-10-02 21:27:29 +01:00
Nick O'Leary
c33d02c53f
Ensure MQTT node cleansession/keepalive defaults are used
2015-10-02 21:27:29 +01:00
Nick O'Leary
fa5e37993e
Update mqtt node options to include will/cleansession/keepalive
2015-10-02 21:27:29 +01:00
Richard Ruston
437b2d506b
Update MQTT node to use MQTT.js 1.2 and enable secure connections
2015-10-02 21:27:29 +01:00
Dave Conway-Jones
4ed09f6431
update FA icons to v4.4.0
2015-10-02 21:27:29 +01:00
Nick O'Leary
0b98a6acf8
Ensure catch/status nodes marked changed when edited
2015-10-02 21:27:29 +01:00
Nick O'Leary
1d73c86cb2
Add scope to status node
2015-10-02 21:27:29 +01:00
Nick O'Leary
40fe0f3239
Test Node.status calls through to Flow.handleStatus
2015-10-02 21:27:29 +01:00
Nick O'Leary
d1ea689999
Update catch node help text
2015-10-02 21:27:29 +01:00
Nick O'Leary
a6644ad5ff
Add status node
2015-10-02 21:27:29 +01:00
Nick O'Leary
658746d2a3
Allow flow file to be specified with grunt dev
...
For example: grunt dev --flowFile=flows.json
2015-10-02 21:27:29 +01:00
Nick O'Leary
cbdd4de630
Errors in subflows propagate up to nearest catch node
2015-10-02 21:27:29 +01:00
Nick O'Leary
00c612485b
Fix jshint errors
2015-10-02 21:27:29 +01:00
Nick O'Leary
3a6192bf73
Catch node can target specific nodes
2015-10-02 21:27:28 +01:00
Nick O'Leary
c64b5c2850
Add subflow tab image
2015-10-02 21:27:28 +01:00
Nick O'Leary
fdbf079896
Clean up subflow editor
...
- new appearance of subflow tabs
- input/output buttons now counters
- allow multiple input wires to the same node when converting to subflow
- ensure edit history is propagated properly to instance nodes
2015-10-02 21:27:28 +01:00
Dave Conway-Jones
d1a5395727
update test for JSON parser to include array
2015-10-02 19:46:29 +01:00
Dave Conway-Jones
83a3642c0e
Allow JSON node to handle array type
2015-10-02 17:30:23 +01:00
Nick O'Leary
9932d34304
Fix XML parse test
...
Workaround to https://github.com/Leonidas-from-XIV/node-xml2js/issues/239
2015-09-29 14:39:07 +01:00
Nick O'Leary
7aa37a1976
Bump version
2015-09-29 10:17:45 +01:00
Dave Conway-Jones
fa42fbdab8
Let XML node options be set
...
let msg.options to set a lot more options if required
2015-09-26 13:47:14 +01:00
Nick O'Leary
caa83ac830
Merge pull request #724 from vielmetti/travis-node-4
...
Support for Node 4.0.0 and Travis CI testing for same
2015-09-25 23:02:49 +01:00
Nick O'Leary
3963fa9738
Allow a language catalog to be a partial catalog
2015-09-24 21:56:45 +01:00
Edward Vielmetti
005a98d020
Update for node 4 testing.
...
Changes to .travis.yml
Patch from @dceejay to make a test portable
Patch from @dceejay to correct a case where an int was expected
2015-09-23 15:27:45 -04:00
Dave Conway-Jones
9560dc9408
remove delay spinner upper limit
...
e.g. 65 secs is perfectly valid…
close #728
2015-09-22 15:06:58 +01:00
Nick O'Leary
4ac9a5edf0
Merge pull request #726 from vielmetti/patch-2
...
Bump uglify to 2.4.24 to address security advisory
2015-09-22 10:15:54 +01:00
Edward Vielmetti
37e62597ae
Bump uglify to 2.4.24 to address security advisory
...
Noted in https://nodesecurity.io/advisories/uglifyjs_incorrectly_handles_non-boolean_comparisons
2015-09-20 01:21:21 -04:00
Dave Conway-Jones
90bfe378d0
Add mobile category to palette order
2015-09-16 22:35:17 +01:00
Dave Conway-Jones
ce22b494ec
Update README to use svg badges
...
to close #720
Thanks to @scherwi for the tip
2015-09-08 21:47:57 +01:00
Nick O'Leary
f9e0420647
Fix http node method-override nls message id
2015-08-31 16:06:00 +01:00
Dave Conway-Jones
2fe568d9ba
Fix TCP node sending data
...
(it’s for the children)
2015-08-17 17:15:44 +01:00
Dave Conway-Jones
2d4979df4d
only set tcp timeout if needs setting.
2015-08-15 22:16:48 +01:00
Dave Conway-Jones
b555b014b8
Update debug test to check lengths...
2015-08-12 21:56:19 +01:00
Dave Conway-Jones
999b888c54
debug nodes - show length of strings, buffers or size of arrays
2015-08-11 19:39:37 +01:00
Nick O'Leary
5193d7bddb
Stop sending messages to ws connections that have errored
...
Fixes #708
2015-07-30 22:09:01 +01:00
Nick O'Leary
6b03379e4e
Ensure exclusive conf node is removed on edit cancel
...
- If an exclusive conf node was added to a node, but the
node's own edit dialog was canceled, the conf node remained
but not associated with the node - effectively orphaning it
2015-07-22 22:28:30 +01:00
Nick O'Leary
08d687ad60
Update to travis container builds
2015-07-22 13:06:14 +01:00
Nick O'Leary
eb57089f06
Add flag to disable build check for tests
2015-07-22 11:41:58 +01:00
Nick O'Leary
a76e4fede1
Handle null acceptedLanguages
...
Closes #704
2015-07-19 22:11:25 +01:00
Nick O'Leary
705d043540
Replace bootstrap popover
2015-07-18 21:27:16 +01:00
Nick O'Leary
5462e251f8
Fix exclusive config node check when type not registered
2015-07-15 13:23:05 +01:00
Nick O'Leary
50788af6ca
Add 0.12 to engine statement
2015-07-15 10:50:38 +01:00
Nick O'Leary
1a07c5a329
Bump 0.11.0
2015-07-15 10:48:33 +01:00
Nick O'Leary
9fb81b2814
Permit login with blank scope
...
Required for the editor, which doesn't know the appropriate scope
for the user logging in. The user will adopt their default permission
scope once logged in.
2015-07-15 10:12:45 +01:00
Dave Conway-Jones
10ad7fbf6e
remove spaces before ? in messages
2015-07-14 23:47:58 +01:00
Nick O'Leary
811c4f2630
Ensure locales dir is included in release zip
2015-07-14 20:37:49 +01:00
Dave Conway-Jones
f7e3b0a64f
Tiny pixel tweaks to new ui
2015-07-14 20:37:26 +01:00
Nick O'Leary
7d83d76fb3
Merge pull request #702 from node-red/ui-refresh
...
UI Refresh
2015-07-14 16:11:48 +01:00
Nick O'Leary
d3c41b38f7
More restylin
2015-07-14 15:59:56 +01:00
Nick O'Leary
57d6b16d5c
Reset sidebar font size
2015-07-13 23:30:57 +01:00
Nick O'Leary
27aa5ae7db
More UI refresh
2015-07-13 23:21:03 +01:00
Nick O'Leary
62e8f564b9
Fix node import error nls message
2015-07-13 16:28:23 +01:00
Nick O'Leary
a1d7bb4208
More restyling - workspace buttons
2015-07-13 15:08:17 +01:00
Nick O'Leary
5d8dae05c4
More ui redesign
2015-07-13 11:26:29 +01:00
Nick O'Leary
6bde07b5a0
Refresh appearance
2015-07-11 23:43:45 +01:00
Nick O'Leary
846ab08661
Allow node modules to declare supported versions of node-red
2015-07-10 21:42:14 +01:00
Nick O'Leary
999cf66b27
Add editor events component and migrate to it
2015-07-10 19:49:53 +01:00
Dave Conway-Jones
60539d890b
Fix File node check of msg.payload to close #700
...
Also add feature to allow creation of directory(ies) if path to file
does not exist.
2015-07-10 14:59:23 +01:00
Nick O'Leary
e5a0f25d94
Keep sidebar tab menu in alphabetical order
2015-07-09 16:48:53 +01:00
Nick O'Leary
fde9d40098
Copy/clone config nodes properly on import/export
2015-07-08 22:12:52 +01:00
Nick O'Leary
f70e9ea076
Ensure RED._ is defined before initialising settings
...
- remove permissions requirement from locales files so the
login dialog can be nls'd
2015-07-08 17:08:07 +01:00
Dave Conway-Jones
d0af4aac4d
cleanup status on delay node
2015-07-08 15:06:46 +01:00
Dave Conway-Jones
7de3704210
lets exec node pass more than just string as the command payload.
2015-07-08 15:06:08 +01:00
Nick O'Leary
1c33b837b8
Fix delay node labels
2015-07-08 08:04:47 +01:00
Nick O'Leary
95d20d7fba
Ensure status messages are strings
2015-07-08 08:02:23 +01:00
Nick O'Leary
90b8806e7c
Merge pull request #697 from knolleary/node12
...
Add node 0.12 to Travis config and fix resulting errors
2015-07-05 23:11:19 +01:00
Nick O'Leary
39df80bf99
Fix exec test to restart helper server before each test
2015-07-05 23:02:10 +01:00
Nick O'Leary
bac4beae03
Fix Function error parsing for node 0.12 format
2015-07-05 22:40:24 +01:00
Nick O'Leary
a7b68c18b5
Bump fs-extra version to fix 0.12 support
2015-07-05 22:10:34 +01:00
Nick O'Leary
ef2360baee
Add node 0.12 to Travis config
2015-07-04 22:08:58 +01:00
Nick O'Leary
8716e7e601
Ensure tab minimum size not applied when there is space for all
2015-07-03 20:54:31 +01:00
Nick O'Leary
00c2dae969
Set minimum size on workspace tab
2015-07-03 18:31:37 +01:00
Nick O'Leary
8782bc5896
Ensure sidebar panes are hidden, not removed on change
2015-07-03 11:17:27 +01:00
Nick O'Leary
6359b90352
Add sidebar menu and migrate existing panels to new api
2015-07-03 10:07:40 +01:00
Nick O'Leary
6cfa4976fe
Fix nodes.install.installing message id
2015-07-02 13:25:15 +01:00
Nick O'Leary
35cd7cf2b8
Fix tcp status message
2015-07-02 10:56:27 +01:00
Nick O'Leary
b2d7f079b7
Merge pull request #694 from node-red/i18n
...
Add i18n support
2015-07-02 10:54:22 +01:00
Nick O'Leary
726069bc4b
NLS status text in editor not runtime
2015-07-02 10:49:40 +01:00
Nick O'Leary
fbccf01933
Tidy up red.js runtime messages
2015-07-02 10:49:40 +01:00
Nick O'Leary
c9f3c6f4a3
Update trigger node ui
2015-07-02 10:49:40 +01:00
Nick O'Leary
c47da013ff
Tidy up of editor i18n messages
2015-07-02 10:49:40 +01:00
Allen Boone
bc76499957
Use core category for custom nodes if core nodes disabled
2015-07-02 10:49:40 +01:00
Allen Boone
24afcff0ea
Custom nodes category NLS
2015-07-02 10:49:40 +01:00
Nick O'Leary
6777f24845
Ensure library export dialog is i18n'd
2015-07-02 10:49:40 +01:00
Nick O'Leary
61e0923fc4
Restore when module dependency in red/api/nodes
2015-07-02 10:49:40 +01:00
Nick O'Leary
757caeb9a4
Try to use default palette label nls message if found
2015-07-02 10:49:40 +01:00
Allen Boone
fe9dc6b272
Palette category label NLS for core nodes
2015-07-02 10:49:40 +01:00
Nick O'Leary
24efdbe4da
Add missing-type install hint nls messages
2015-07-02 10:49:39 +01:00
Nick O'Leary
9ca102cf81
Ensure error messages are toStringed
2015-07-02 10:49:39 +01:00
Nick O'Leary
48df31d7b7
NLS deprecated node message
2015-07-02 10:49:39 +01:00
Nick O'Leary
539afb1e1d
Fix Inject node interval label
2015-07-02 10:49:39 +01:00
Nick O'Leary
bdcba44ca5
Remove moved node messages
2015-07-02 10:49:39 +01:00
Nick O'Leary
99a51b07ac
Catch error loop detection nls
2015-07-02 10:49:39 +01:00
Allen Boone
5fbaca75b4
Fixed sidebar id issue
2015-07-02 10:49:39 +01:00
Allen Boone
a6974371b0
Fixed acceptedLanguage typo
2015-07-02 10:49:39 +01:00
Allen Boone
409fa49234
Added missing NLS strings to sidebar and index.mst
2015-07-02 10:49:39 +01:00
Nick O'Leary
9bbd6a70b8
Add namespaced i18n function to node definition
2015-07-02 10:49:39 +01:00
Nick O'Leary
f0b4cb608a
Return locale specific node help
2015-07-02 10:49:39 +01:00
Allen Boone
284d7e26d1
Initialize list of supported languages from directories in the locale folder.
2015-07-02 10:49:39 +01:00
Scott Yoshizawa
965c0937ac
NLS undo previous change (added require for ./red/log)
2015-07-02 10:49:39 +01:00
Nick O'Leary
d9cf6a4431
Only attempt to load one locale per catalog
2015-07-02 10:49:39 +01:00
Allen Boone
e6ed8ee509
locale exposed to editor
2015-07-02 10:49:39 +01:00
Scott Yoshizawa
2563649b3e
NLS /red/nodes
...
NLS other js files under /red
NLS /red files (changed based on Nick's review)
2015-07-02 10:49:39 +01:00
Nick O'Leary
203bc41b06
Some more node i18n tidy up
2015-07-02 10:49:38 +01:00
Allen Boone
cb1d18c7c8
Fixed problem with RED._ being unavailable to module code
2015-07-02 10:49:38 +01:00
Nick O'Leary
5ea68dafc4
More node i18n tidy ups
2015-07-02 10:49:38 +01:00
Nick O'Leary
68bb8252af
Ensure i18n func available to new config nodes
2015-07-02 10:49:38 +01:00
Nick O'Leary
406f742d29
Add jsonlint step to build
2015-07-02 10:49:38 +01:00
Nick O'Leary
5522e57f65
More node i18n tidy-up
2015-07-02 10:49:38 +01:00
Nick O'Leary
94e27dbfc5
Tidy up node i18n
2015-07-02 10:49:38 +01:00
Nick O'Leary
f5fc8f763f
Pick up desired language from query string
2015-07-02 10:49:38 +01:00
Nick O'Leary
9058bf615c
Fix invalid json in message catalog
2015-07-02 10:49:38 +01:00
Nick O'Leary
9d17137dec
Ensure i18n message for Unknown nodes are available
2015-07-02 10:49:38 +01:00
Allen Boone
4a318553f7
Updated editor ui NLS strings
2015-07-02 10:49:38 +01:00
Allen Boone
0017074d38
Updated the notifications and errors to use NLS
...
removed errant comma
2015-07-02 10:49:36 +01:00
Allen Boone
a39a26fcc2
Converted editor menu to use NLS strings
2015-07-02 10:47:02 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
Nick O'Leary
c105b2df37
Add RED._ to test helper
2015-06-29 16:04:00 +01:00
Nick O'Leary
4fb86ab55a
Fix !=0 comparison
2015-06-29 16:04:00 +01:00
Nick O'Leary
1ed98a5963
Dont create i18n function for subflows
2015-06-29 16:04:00 +01:00
Nick O'Leary
a4a29ceb3c
Handle [html] data-i18n prefixes in config node dialog
2015-06-29 16:04:00 +01:00
Nick O'Leary
6249083431
Extract all core runtime messages
2015-06-29 16:04:00 +01:00
Nick O'Leary
aa18c65fa8
NLS enable the Inject node
2015-06-29 16:03:59 +01:00
Nick O'Leary
a7900940da
Expose i18n in editor
2015-06-29 16:03:59 +01:00
Nick O'Leary
008bc98070
Ensure node help is blank if otherwise undefined
2015-06-29 16:03:59 +01:00
Nick O'Leary
0705589cc2
Load base locales in editor
2015-06-29 16:03:59 +01:00
Nick O'Leary
b2caba593f
Add locales api endpoint
2015-06-29 16:03:59 +01:00
Nick O'Leary
6d4c64fcd5
i18n enable runtime node files
2015-06-29 16:03:59 +01:00
Nick O'Leary
7d41781fb4
Add initial red/i18n implementation
2015-06-29 16:03:59 +01:00
Nick O'Leary
0760facb77
Add .DS_store to gitignore
2015-06-29 16:02:01 +01:00
Nick O'Leary
a0ce095807
Error generating complete flow library list on OSX
...
Must use path.join to concatenate paths safely.
2015-06-29 16:00:10 +01:00
Nick O'Leary
df0110913a
Remove rogue console.logs
2015-06-25 15:33:39 -07:00
Nick O'Leary
06731374a4
Fix trigger extend behaviour
2015-06-25 13:59:26 -07:00
Dave Conway-Jones
6c8b7c0082
Correct RPi pins labels... and add BCM pins also.
2015-06-24 12:39:27 +01:00
Dave Conway-Jones
93136961b9
make unspecified settings file totally obvious in debug.
2015-06-22 14:17:16 +01:00
Dave Conway-Jones
529a691e1d
Add clearTimeout to function node sandbox
...
(to be a pair with setTimeout…)
2015-06-22 09:07:31 +01:00
Dave Conway-Jones
9f0b3eba47
Add basic exec node test
2015-06-22 08:26:38 +01:00
Nick O'Leary
6d897793cb
Ensure node.outputs is always a number
...
Closes #686
2015-06-19 20:37:12 +01:00
Nick O'Leary
0e12fc6b02
Fix canvas focus issue on FF/IE
2015-06-17 22:52:04 +01:00
Nick O'Leary
c00558ea1b
Remove old index.html
2015-06-17 22:46:54 +01:00
Dave Conway-Jones
bacf27a3ca
mistook
2015-06-17 22:12:48 +01:00
Dave Conway-Jones
6560ea0630
Delete Dockerfile
...
mistook
2015-06-17 22:12:27 +01:00
Nick O'Leary
8338231ce5
Drop blank port from comms ws path
2015-06-17 22:09:27 +01:00
Dave Conway-Jones
5813a91244
adjust timing on file tail test
...
Runs cleaner on Mac
2015-06-17 22:08:53 +01:00
Nick O'Leary
dfd8ab3545
Detect mouse paste in Import nodes dialog
2015-06-17 20:48:56 +01:00
Nick O'Leary
a5b9b949a8
bump to 0.10.11 dev version
2015-06-17 14:58:22 +01:00
Nick O'Leary
72570e4510
Fix scope of knownUnknowns variable
2015-06-17 14:27:49 +01:00
Nick O'Leary
3002aead6b
Add better install message on missing nodes
2015-06-17 14:18:47 +01:00
Nick O'Leary
841edbe6fb
Ensure release files retain proper chmod status
2015-06-17 13:38:49 +01:00
Nick O'Leary
2b9aca0c56
Add bin to release package
2015-06-16 23:39:33 +01:00
Nick O'Leary
3a17c3ee6d
Merge pull request #680 from cpswan/patch-1
...
https link (rather than git) in dev instructions
2015-06-16 23:38:58 +01:00
Chris Swan
df09252ee0
https link (rather than git) in dev instructions
2015-06-16 23:20:10 +01:00
Nick O'Leary
f51778d417
Bump to 0.10.9
2015-06-16 22:19:31 +01:00
Nick O'Leary
119fc63794
Bump version and dependencies
2015-06-16 21:27:44 +01:00
Nick O'Leary
ee3425d3be
Normalise ace editor font size
2015-06-16 20:56:09 +01:00
Nick O'Leary
31c979f30f
Add deprecated node list
2015-06-16 15:32:41 +01:00
dceejay
89f2c26cd6
Give our own linked core nodes some leeway on version number
...
so we can apply fixes without bumping package - which was the whole point of moving them out...
2015-06-16 08:40:39 +01:00
dceejay
0dbf43d0aa
Update Gruntfile so only core nodes are linted.
2015-06-15 20:38:40 +01:00
dceejay
8a6d11b191
tiny lint thing in debug node... missing ;
2015-06-15 20:38:09 +01:00
dceejay
d8eb926e2c
Move out several core node to node-red-nodes ready for 0.10.8
...
Update package.json to match.
Part of #668
2015-06-15 20:37:36 +01:00
Nick O'Leary
21d0adbdae
Handle null message in catch loop detection
2015-06-15 15:22:51 +01:00
Nick O'Leary
c5fd3a5753
Detect and prevent Catch node loops
2015-06-15 15:09:50 +01:00
Nick O'Leary
eae4e3d983
Add deploy warning for unused config nodes
2015-06-10 14:52:58 +01:00
Nick O'Leary
bb1fe8daef
Allow nodesExcludes to specify node module name
2015-06-08 23:17:45 +01:00
Nick O'Leary
c5d8e09b41
Only delete node type from registry if id matches
...
If a node is moved out of node-red core to an npm installable
package, the first time NR runs after the move it correctly
deletes the node-red version from the registry. However it was
also removing the node constructors registered by the new
npm installed version as it wasn't checking what it was removing
came from the now-removed node.
2015-06-08 16:32:50 +01:00
dceejay
369eae3d92
remove http response function call example from info. (being deprecated)
2015-06-03 22:53:27 +01:00
Nick O'Leary
e2fa457ca2
Minimise amount of node redrawing done during drag
2015-06-03 10:05:31 +01:00
Nick O'Leary
871f764e98
Allow node icon definition to be a function
2015-06-02 22:07:45 +01:00
Nick O'Leary
f8853af902
Enabling metric/audit logging takes precedence over level
2015-06-02 16:23:38 +01:00
Nick O'Leary
4248d20f39
Add RED.util.generateId and ensure HTTP node adds proper id
2015-06-02 15:54:37 +01:00
Nick O'Leary
5cda08e7b0
Update trigger node UI
2015-05-31 20:58:28 +01:00
dceejay
7e9d96ee87
Let email node set a default filename for binary attachment
...
so it will send "something" if only a buffer arrives.
2015-05-31 20:27:27 +01:00
dceejay
974ac31d33
Hide right sidebar on start if screen narrower than 600px
...
so at last you can see something that looks like Node-RED
2015-05-31 12:58:42 +01:00
Nick O'Leary
0658b70631
Inject node not parsing 0-23 hour range correctly
2015-05-29 22:28:42 +01:00
Nick O'Leary
53258eeede
Restore ability to add nodes by filename
2015-05-27 14:11:11 +01:00
dceejay
4f174308b9
Fix tcp node miscounting bytes, and check if staying connected first.
2015-05-26 20:08:58 +01:00
dceejay
98c9e40349
Add small note re escaping test to inject node.
2015-05-26 20:04:12 +01:00
dceejay
3a4756bd83
let urllib parse proxy url more cleanly in http-request node.
2015-05-23 18:55:11 +01:00
dceejay
6ccb05cb2c
http-request node - relax proxy regex check to let userid:password through
2015-05-21 17:45:11 +01:00
dceejay
3c2d32b867
Correct incorrect pwm "tip" info for RPI GPIO node
...
Closes #648
Thanks @edent
2015-05-21 17:03:59 +01:00
dceejay
956050434f
Add no_proxy to http-request node.
...
also make it support HTTP_PROXY and NO_PROXY (ie uppercase)
2015-05-19 11:07:54 +01:00
dceejay
38ab1550d2
change http request to use http_proxy environment rather than do it ourselves
2015-05-19 10:00:06 +01:00
dceejay
e852d1e57c
remove unrequired require from Arduino node
2015-05-19 10:00:06 +01:00
Nick O'Leary
7de0216976
Add audit log entries on API calls
...
Closes #627
2015-05-14 14:22:56 +01:00
dceejay
911288e695
Arduino node - improved logging and port error handling.
2015-05-13 22:26:01 +01:00
dceejay
72e1f20383
Arduino - ensure port list populated on start,
...
also allow connect to first found board - by not specifying a port.
2015-05-13 21:59:15 +01:00
Nick O'Leary
d28a6eaf9d
Add httpNodeMiddleware option
...
Closes #631
Enables custom middleware to be inserted in front of all HTTP In
nodes.
2015-05-13 21:25:37 +01:00
dceejay
17f3366556
Adds proxy support to http node - via settings.js
2015-05-13 13:54:47 +01:00
Nick O'Leary
0bef04ae0a
Set NODE_ENV in grunt dev task to serve non-minified assets
2015-05-11 20:24:15 +01:00
dceejay
f11b906fd9
Websocket - fix broken test (or rather - fix code to pass test)
2015-05-10 10:00:44 +01:00
dceejay
518358d9dc
Websocket - add reconnect capability when running as a client.
...
to close #643
Also adds node.status to nodes.
2015-05-10 00:12:52 +01:00
dceejay
5ffde21d83
revert change to editor change detector, and redo function node valid
...
code "flag" to report as non-boolean.
2015-05-08 15:31:48 +01:00
dceejay
052302b3e7
actually set valid to be false in function so .toString will work...
2015-05-07 22:02:46 +01:00
Nick O'Leary
fe1ce21114
toString values before checking for changes
2015-05-07 21:17:06 +01:00
Nick O'Leary
ce5c9da107
Ensure ace edit history is reset after initialisation
2015-05-07 21:12:46 +01:00
dceejay
cf25b2866e
Allow http to accept delete properly, and put, options etc.
2015-05-07 16:45:44 +01:00
dceejay
07fd5a5f5f
function node was marking changed even on no change.
2015-05-07 16:44:55 +01:00
Nick O'Leary
913fdac671
Add support for exclusive config nodes
2015-05-06 11:08:01 +01:00
Nick O'Leary
7dc838dea6
Fix click on debug message to reveal source node
2015-05-05 22:00:47 +01:00
Nick O'Leary
7112fd2a22
Partial deploy containing deleted subflow throws error
2015-05-05 13:53:40 +01:00
dceejay
56e8c143dd
CONTRIBUTING - remove link to specific Issues (so we can use this file
...
for all the projects)
2015-05-05 12:50:46 +01:00
dceejay
7b4cbbe816
Add try catch to exec node stdout if utf8 check fails
2015-05-05 12:50:46 +01:00
Nick O'Leary
8f8ee4662d
Initialise checkboxes in config editor for new nodes
2015-05-05 00:03:35 +01:00
Nick O'Leary
86013c7db4
Ensure node.credentials exists for nodes with registered creds
...
Fixes #639
2015-05-04 23:28:55 +01:00
Nick O'Leary
01aa3324f8
Fix lint error in user.js
2015-05-03 22:28:03 +01:00
Nick O'Leary
b9cfeee965
Navigate and submit login dialog with Enter key
2015-05-03 22:23:30 +01:00
Nick O'Leary
b3684a70b5
Handle Buffer payloads in HTTP Response node
2015-05-02 22:20:46 +01:00
Nick O'Leary
51fce9343b
Ensure errors in node.receive are handled
2015-05-02 22:15:33 +01:00
Nick O'Leary
0c5c3448d0
Merge pull request #633 from scott1y/Issue#626
...
Added the capability to register custom loggers (for Issue #626 )
2015-05-02 21:53:07 +01:00
Scott Yoshizawa
deaef3ab86
Corrected based on knolleary's comments.
2015-05-01 09:37:23 -04:00
Nick O'Leary
a443491c0c
Merge pull request #630 from lostinthestory/swagger-gen
...
Added support for swagger doc to HTTP-In
2015-05-01 09:32:57 +01:00
Scott Yoshizawa
276d893198
Added the capability to register custom loggers (for Issue #626 )
2015-04-30 17:01:22 -04:00
Nick O'Leary
653d0e71e4
Add meta tag for IE edge compatibility
2015-04-28 14:25:41 +01:00
Nick O'Leary
faa7d948a7
Update MQTT Out node status if already connected
2015-04-27 20:08:00 +01:00
Nick O'Leary
771342989e
HTTP Request - handle null url
...
Fixes #632
2015-04-26 08:50:42 +01:00
Cody Walker
e9ce519e4b
Added support for swagger doc to HTTP-In
2015-04-24 13:53:38 -05:00
Nick O'Leary
c016b102eb
Add async error handler to UDP out node
...
Fixes #629
2015-04-24 11:17:18 +01:00
Nick O'Leary
0583c60837
Editor link filter failing for src_port == 0
...
Fixes #621
2015-04-22 22:53:21 +01:00
Nick O'Leary
1c1a85dcef
editorTheme: allow header logo/title to be a link
2015-04-22 14:03:42 +01:00
Nick O'Leary
c71e76335b
Serial Out not appending character
...
Fixes #622
2015-04-21 09:43:00 +01:00
Nick O'Leary
c1a32c4eb9
Merge pull request #620 from drwoods/master
...
fix 3 localfilesystem tests failing on Windows
2015-04-20 15:27:38 +01:00
drwoods
9ad1f769d3
localfilesystem tests failing on Windows
2015-04-20 10:13:00 -04:00
Nick O'Leary
87f8fd34b8
Ensure full deploy is visually selected by default
2015-04-20 11:17:27 +01:00
dceejay
e206d2919e
More defensive on closing tcp connections,
...
and tidy up some lint
2015-04-19 12:13:45 +01:00
dceejay
9d809aa2ba
Point Grunt to use external jshintrc
2015-04-16 11:53:39 +01:00
dceejay
8f744794e4
push opinionated .jshintrc - matches Grunt build. for starters.
2015-04-16 10:22:12 +01:00
Nick O'Leary
78ab4217be
Arduino pin values should be strings not numbers
2015-04-15 09:34:03 +01:00
Nick O'Leary
d090df94c5
Arduino output - ensure string/number payloads handled
...
A change to tighten the type checking meant passing a string
'0' or '1' no longer matched the tests for numeric 0 or 1.
2015-04-14 23:14:13 +01:00
Nick O'Leary
937f26da41
Merge pull request #606 from drwoods/master
...
Ignore Eclipse project files and fix some jshint warnings
2015-04-14 21:34:23 +01:00
drwoods
98e3ff014e
ignore Eclipse files and resolve some Eclipse JSHint warnings
...
squashed 4 commits into 1
2015-04-14 14:17:08 -04:00
dceejay
6f84526364
Remove pre-req for mkdirp package.
...
(fs-extra has all the features needed already)
2015-04-14 18:41:48 +01:00
dceejay
105d38c885
MQTT node - don't report missing topic if payload is missing...
2015-04-14 18:39:42 +01:00
dceejay
d7bdcd69fc
fix exec missing addpayload,
...
improve switch null test (to include null object)
check mqtt has payload before sending
2015-04-14 17:15:56 +01:00
Nick O'Leary
87e537da90
Merge pull request #611 from node-red/themes
...
Editor Themes
2015-04-13 22:51:52 +01:00
Nick O'Leary
8f16695f06
Add theme tests
2015-04-13 22:15:15 +01:00
Nick O'Leary
8403f6291f
Tidy deploy button css
2015-04-13 21:50:40 +01:00
Nick O'Leary
5af6ac3e80
Rename menu ids to be logically consistent
2015-04-13 16:48:38 +01:00
Nick O'Leary
0d557094b2
Move help customisation under menu settings
2015-04-13 15:32:11 +01:00
Nick O'Leary
a2aa78afd4
Add main menu customisation
2015-04-13 13:55:17 +01:00
Nick O'Leary
b0de8abb63
Customise help link label/url
2015-04-13 11:35:52 +01:00
Nick O'Leary
6ff540ed08
Customise login image
2015-04-13 10:37:30 +01:00
Nick O'Leary
2b8ed9850b
Pass deployButton and userMenu theme options to ui
2015-04-13 09:48:49 +01:00
Nick O'Leary
dcd579b5e3
Some scss tidy up
2015-04-13 00:11:32 +01:00
Nick O'Leary
c9d2d301aa
Add editorTheme setting
2015-04-13 00:11:11 +01:00
Nick O'Leary
1aaef598a5
Concatenate vendor js/css where possible
2015-04-13 00:10:10 +01:00
dceejay
73d1f3d0e8
Expose rest of email node header fields.
2015-04-12 00:46:03 +01:00
Nick O'Leary
e369ded6c5
Allow deploy button to be customised
2015-04-11 22:51:00 +01:00
dceejay
269846c587
Catch bad folder error in email node
2015-04-11 19:24:32 +01:00
dceejay
8dc98420db
handle pure plain text messages in email node.
2015-04-11 16:48:50 +01:00
dceejay
1014abe92f
Fix email node repeat send, add to, cc, bcc fields, and ability to select inbox.
2015-04-11 16:09:13 +01:00
Nick O'Leary
6927f10f8f
Fix login image path
2015-04-10 15:39:29 +01:00
Nick O'Leary
49d3a7190a
Update nodemonignore/watch rules
2015-04-09 22:18:37 +01:00
Nick O'Leary
a2e65b0018
Prepend copyright to built editor files
2015-04-09 21:12:39 +01:00
Nick O'Leary
f48ee01a03
Ensure MQTT nodes unsubscribe before disconnect
...
Fixes #609
Needed for partial deployment - the nodes assumed the
connection would always be closed when a deploy occurs.
2015-04-09 20:10:34 +01:00
Nick O'Leary
0e926c566b
Add missing header scss
2015-04-09 17:26:11 +01:00
Nick O'Leary
d2c4c2c34c
Split css into individual scss files
2015-04-09 14:46:29 +01:00
Nick O'Leary
c2253d1e25
Merge pull request #608 from node-red/build2
...
Add build process to grunt
2015-04-09 13:02:01 +01:00
Nick O'Leary
eae16b6e8c
Add tests for build check
2015-04-09 12:13:46 +01:00
Nick O'Leary
868ae5b5dd
Add .dist to gitignore
2015-04-09 11:37:16 +01:00
Nick O'Leary
1406503e10
Add build info to README
2015-04-09 10:22:05 +01:00
Nick O'Leary
9ca9d88546
Drop Node 0.8 from travis build due to devDependencie issues
2015-04-09 10:22:05 +01:00
Nick O'Leary
203d3f672c
Add build step to Grunt file
2015-04-09 10:22:05 +01:00
dceejay
698b2688f6
Add port, ssl and allow self signed certs to IRC node
2015-04-09 09:55:34 +01:00
dceejay
be1620dd07
Fix watch node to stat file sizes ok
...
(and also not to when file missing)
2015-04-08 21:43:44 +01:00
Nick O'Leary
e1f0969957
Add dedicated route for editor index.html
2015-04-08 21:29:55 +01:00
Nick O'Leary
e1dd8cf2ab
Restore node order in palette following async changes
...
The move to async loading of node files led to them appearing
out of order in the palette.
2015-04-08 20:17:24 +01:00
dceejay
8ee90777ee
Move serialport (and irc) to optional dependancies so installs ok in more places.
...
(albeit without serialport etc... - but not many clouds have serialports)
2015-04-08 09:55:48 +01:00
Nick O'Leary
2fe9c1e55f
Change node config load to be async
2015-04-07 23:46:52 +01:00
Nick O'Leary
9dd7e2e43d
Refactor registry structure
...
Splits registry up into smaller components.
Unit tests still drive api via registry/index_spec - still
need to split them up into the currently blank _spec files
2015-04-07 16:02:15 +01:00
Nick O'Leary
5efbdf5d04
Revert removal of flow storage api
...
Whilst we know with the file system storage inplementation
getLibraryEntry is a suitable replacement for getFlow, this
may not be the case with other implementations.
The storage code uses the deprecated functions if they are
present - so the core code should call them and let the storage
layer decide what it calls.
2015-04-05 20:54:11 +01:00
dceejay
5be3472413
For some reason http request node icon was aligned right,
...
inconsistent with most other "function" nodes...
2015-04-05 17:57:06 +01:00
dceejay
a9a0953653
Slide timing window to left for trigger node test.
2015-04-04 22:27:25 +01:00
Nick O'Leary
d4ac4c44d0
Fix library test for deprecated storage api
2015-04-04 19:33:37 +01:00
Nick O'Leary
f459ff8ad0
Remove use of deprecated storage api
2015-04-04 19:25:07 +01:00
Nick O'Leary
b96ea36b70
Deprecate getAllFlows/getFlow/saveFlow storage functions
...
They were specialised versions of get/saveLibraryEntry that
complicated the interface.
This change removes them from localfilesystem, but the top
level module checks for their existence and uses them if
they are there - for backwards compatibility.
2015-04-03 23:05:56 +01:00
Nick O'Leary
e543cc0fed
Log settings file in use on start up
2015-04-03 23:05:15 +01:00
Nick O'Leary
0b1b4df210
Update README / Remove INSTALL.md
2015-04-02 21:19:57 +01:00
Nick O'Leary
e59ffb0b19
Bump to dev version 0.10.7
2015-04-01 10:48:57 +01:00
Nick O'Leary
120c8f2c28
Bump version 0.10.6
2015-04-01 10:28:04 +01:00
Nick O'Leary
fbfc5c8a2d
Add error codes to api responses
2015-03-31 22:29:42 +01:00
dceejay
31b018c80e
Missed closing brace in email node fix
2015-03-31 16:39:00 +01:00
dceejay
255d708fb6
updates to serial, watch, websocket, udp, twitter, email to handle no payload.
2015-03-31 09:21:11 +01:00
dceejay
78d1da5fbc
Updates to sentiment, exec and range to handle missing payload properties
2015-03-31 08:35:56 +01:00
dceejay
9c22a770ef
remove superfluous console.log from debug node
2015-03-30 21:59:54 +01:00
Nick O'Leary
b201828236
Remove 'loaded' property from external node info object
...
and fix everything that doing this broke
2015-03-30 21:49:20 +01:00
Nick O'Leary
2a8a885271
Standardise API error response format
2015-03-30 14:16:04 +01:00
Nick O'Leary
7adefd6ee0
Add access_token expiry
2015-03-30 14:14:32 +01:00
Nick O'Leary
f967a5ecdc
Fix auth on comms link and for anon user
...
The move to honour scope level of token broke the comms link
checking as well as the permissions checking for anon users.
2015-03-29 22:27:07 +01:00
Nick O'Leary
c8d6dc2531
Auth permission should honour the token scope
2015-03-29 21:59:48 +01:00
Nick O'Leary
216b5fba7a
Increment subflow name on import of duplicate
2015-03-28 22:12:18 +00:00
Nick O'Leary
f4ec9a72d5
Increase tab max-width
2015-03-28 22:08:39 +00:00
Nick O'Leary
cf0c2825eb
Expand palette category when first entry added
2015-03-28 21:46:27 +00:00
Nick O'Leary
be46c419dc
Center palette label whilst being dragged
2015-03-26 20:08:25 +00:00
Nick O'Leary
62c68d06fe
Merge pull request #598 from dceejay/dcjtests
...
new tests for sentiment, file and csv nodes
2015-03-26 16:57:04 +00:00
Nick O'Leary
4f4d8419bc
Nudge palette labels to rebalance them
2015-03-26 16:55:55 +00:00
dceejay
16e17954b4
add try catch to helper shutdown,
...
tiny fixes for exec and trigger based on tests
2015-03-26 15:02:08 +00:00
Nick O'Leary
cc1d080a5a
Remove add/removeNode by filename api
...
Only support add/remove by module name
2015-03-26 11:39:35 +00:00
Nick O'Leary
dd7f4f6752
Filter loaded property from /nodes endpoint
2015-03-26 11:38:51 +00:00
Nick O'Leary
9daeba02b5
Flow.registerType should indicate if type was missing or not
2015-03-26 11:37:24 +00:00
dceejay
8a96dbd121
New tests for Trigger, catch and unknown nodes
2015-03-25 21:58:26 +00:00
Nick O'Leary
2a57d0b6d0
auth/login should return empty object when insecure
2015-03-25 20:33:29 +00:00
dceejay
8a5c1bade5
new tests for sentiment, file and csv
...
(inc a bugfix for csv :-)
tweka of 0.8 ?
temp remove buffer should equall test from file node test
comment out failing test in file node (0.8 specific fail...)
stagger multiple writes slightly in file test
2015-03-25 14:58:57 +00:00
dceejay
fcc6943f98
Extra tests for html, xml, json and tail nodes
...
(and some consistent passing of missing payloads)
2015-03-24 17:43:47 +00:00
dceejay
72a9de058d
tests for defaults in switch, change and range nodes.
2015-03-24 17:35:54 +00:00
Nick O'Leary
8748be28b7
Bump to 0.10.5
2015-03-23 10:56:14 +00:00
Nick O'Leary
20bdea7ae0
Increase registry test coverage
2015-03-22 22:54:52 +00:00
Nick O'Leary
e19b8d35a9
Modules not properly removed from config.json
2015-03-22 21:48:12 +00:00
Nick O'Leary
81df74dfc8
Server not waiting for settings to load
2015-03-22 20:55:38 +00:00
Nick O'Leary
153fa7478f
Increase flows test coverage
2015-03-22 20:12:10 +00:00
Nick O'Leary
500e9a4010
Increase localfilesystem test coverage
2015-03-22 17:40:42 +00:00
dceejay
5352fc87ee
add extra tests to debug, delay & template
2015-03-22 09:38:42 +00:00
dceejay
f07fd64ffb
Make trigger have sensible defaults when dragged on.
2015-03-21 19:27:39 +00:00
Nick O'Leary
36f299c031
Improve core test coverage
2015-03-21 17:42:06 +00:00
Nick O'Leary
78cf310c58
Collapse palette category when emptied
2015-03-20 23:12:52 +00:00
Nick O'Leary
18a3d71024
Double-click on subflow palette node to open flow
2015-03-20 23:11:24 +00:00
Nick O'Leary
26db1048f9
Remove dialog close button via css not jquery
2015-03-20 23:11:03 +00:00
Nick O'Leary
b61a250d58
Debug message formatting mangling brackets
2015-03-20 22:09:58 +00:00
Nick O'Leary
1d10eba0cc
Propagate changed flag to parent subflow
2015-03-20 21:20:04 +00:00
Nick O'Leary
35042132fa
Make node-info properties collapsable in sidebar
2015-03-20 21:13:00 +00:00
Nick O'Leary
57c049b49f
Palette filter on label as well as id
2015-03-20 11:40:34 +00:00
Nick O'Leary
7a0ce0c957
Update style of nodes in palette to match workspace
2015-03-20 11:37:47 +00:00
Nick O'Leary
eb4cadb0b5
Propagate valid flag to parent subflows
2015-03-19 23:11:55 +00:00
Nick O'Leary
ac0ca083c0
Import of subflow loses certain internal wires
...
Wires between subflow inputs and outputs are getting lost when
JSON is imported.
2015-03-19 22:59:09 +00:00
dceejay
9afb4a9315
reverse overide behaviour on file, http and email. Node properties now
...
have priority. Warn user if msg.property tries to override.
Warning should be removed at next major verion bump.
2015-03-19 21:25:43 +00:00
dceejay
df065e94b7
add extra tests to user_spec to test some else conditions.
2015-03-19 19:57:41 +00:00
dceejay
a9789697e7
add bcrypt as optional dependency to speed up Pi,
...
but not force compile on Windows.
Fix to close Issue #585
2015-03-19 11:36:48 +00:00
Nick O'Leary
2d91be8814
Disable node buttons in subflow view
...
Closes #592
2015-03-19 11:19:44 +00:00
Nick O'Leary
5c58b0c2f4
Revalidate all config node users after edit
2015-03-19 10:49:56 +00:00
Nick O'Leary
f0139f9808
Add multi-rule support to Change node
2015-03-18 16:20:50 +00:00
dceejay
5610a3184e
small spelling mistake in deploy.js
2015-03-17 15:38:31 +00:00
Nick O'Leary
b202c73708
Allow access_token to be provided in url
2015-03-17 15:15:24 +00:00
Nick O'Leary
dd4cec84bf
Add node.send/on to Function node
2015-03-17 13:40:12 +00:00
Nick O'Leary
a1dac1e290
Resize ace editor on dialog-open
2015-03-17 13:36:50 +00:00
Nick O'Leary
e199d6725e
Test helper - initialise credentials with express instance
2015-03-16 21:57:31 +00:00
dceejay
aef38b945d
Change http request node info to suggest {{{ rather than {{ to supress
...
html escape when forming urls from mustache.
2015-03-16 20:22:25 +00:00
dceejay
cd5eac2cbb
Add type and size reporting to the file watch node.
2015-03-16 20:21:05 +00:00
dceejay
8fea443e71
Add error msg to rpi node
2015-03-16 17:09:13 +00:00
dceejay
2a47951e46
make sure MQTT msg has a topic
2015-03-16 17:07:46 +00:00
dceejay
5234fda266
Tidy up arduino node slightly and update settings example to work nicer
...
with JohnnyFive
2015-03-16 17:07:17 +00:00
Nick O'Leary
e63067cd9f
Add OS X command symbol to keyboard dialog
2015-03-16 15:40:25 +00:00
Nick O'Leary
be61cf6a88
Add node.error handling to core nodes
2015-03-16 13:58:01 +00:00
Nick O'Leary
5efc89d514
Warn when leaving editor with undeployed changes
2015-03-15 23:48:02 +00:00
Nick O'Leary
9c104faff3
Use RED.nodes.filterLinks in pref to RED.nodes.eachLink
2015-03-15 23:41:16 +00:00
Nick O'Leary
cf8fe16b09
Remove direct access to RED.nodes.nodes/links
...
- Adds RED.nodes.filterNodes and RED.nodes.filterLinks for
doing simply queries to find elements that match a criteria
2015-03-15 23:31:38 +00:00
Nick O'Leary
71db193675
Move user menu creation to user module
2015-03-15 23:07:57 +00:00
Nick O'Leary
9952d9451e
Move deploy menu/action to own module
2015-03-15 22:54:55 +00:00
Nick O'Leary
fb738ad9fa
Track dirty state in RED.nodes not RED.view
...
- add 'change' event on RED.nodes for tracking dirty state change
2015-03-15 21:54:36 +00:00
Nick O'Leary
46f2f752b0
Node on deleted tab not removed on partial deploy
2015-03-15 21:27:11 +00:00
Nick O'Leary
42730b8fce
Move external drag/drop to clipboard module
2015-03-14 22:53:31 +00:00
Nick O'Leary
1c2be579d9
Move keyboard shortcut dialog to keyboard module
2015-03-14 22:16:07 +00:00
Nick O'Leary
51e891ff88
Move sessionStorageModule into main storageModule
...
Fixes #586
- add get/saveSessions to main storage module
- handle storage modules without those functions
- store .session file in userDir
2015-03-13 23:37:59 +00:00
Nick O'Leary
731efe1c01
Add credential extract unit tests
2015-03-13 21:26:50 +00:00
Nick O'Leary
f77dd06e65
Partial deploy with missing type breaks flow diff
...
Another refactor of Flow lifecycle.
- diffFlow made a private static function
- applyConfig now diffConfig - which returns a diff object that
can be passed to .stop/.start to be properly applied
2015-03-13 17:54:58 +00:00
Nick O'Leary
af20f3df64
Partial deploy with missing node type breaks deploy
2015-03-13 13:15:20 +00:00
Nick O'Leary
4078212089
Split cliboard and workspaces out of editor view
2015-03-12 23:38:37 +00:00
Nick O'Leary
7bdb3181e2
Don't reload page on enter in subflow dialog
2015-03-12 17:23:17 +00:00
Nick O'Leary
933608aec1
Disable buttons of nodes with undeployed changes
2015-03-12 13:58:53 +00:00
Nick O'Leary
1d7f06bbba
Redraw unselected link when joining nodes starts
2015-03-12 13:35:39 +00:00
Nick O'Leary
f26cadab7f
Minimise link redrawing
2015-03-12 13:26:31 +00:00
Nick O'Leary
eacf41a4f6
Minimise filtering of nodes on redraw
2015-03-12 11:21:05 +00:00
Nick O'Leary
ab3e64271b
Move subflow handling to own module
2015-03-12 00:09:30 +00:00
Nick O'Leary
e26ea14104
Undo subflow rename not reflected in palette
2015-03-12 00:09:30 +00:00
dceejay
3967e23828
change settings to replace commented out arduino library
...
with johnny-five to match example in docs to make life easier.
2015-03-11 17:49:06 +00:00
dceejay
1f8c6f87c9
add don't add payload to exec node
...
to close #578
2015-03-11 17:43:42 +00:00
Nick O'Leary
f6203fe60a
Allow a config-node be marked as not required
2015-03-09 20:42:23 +00:00
Nick O'Leary
06bf710515
Improve editor dialog auto-sizing
2015-03-09 20:41:57 +00:00
Nick O'Leary
0f3cc3196c
Log-in window incorrect
...
fixes #583
2015-03-09 20:02:13 +00:00
dceejay
4403a00651
Revert change to http until we fully deprecate msg/node priorities
...
Fix to close #582
2015-03-08 18:36:35 +00:00
dceejay
9c46feb22b
more tests for log and Node
2015-03-08 16:53:48 +00:00
dceejay
10277aa956
revert/redo tests for api/index, log and Node_spec
2015-03-08 15:26:47 +00:00
Nick O'Leary
ff093d98c6
Merge pull request #576 from Belphemur/function-logger
...
Adding an Object Node to the sandbox of a function node
2015-03-07 23:37:00 +00:00
dceejay
acc0e0875b
few more tests for permissions and strategies
...
reset log flags at end of log test
2015-03-07 13:22:21 +00:00
dceejay
69f85bd688
boost api index, nodes index and nodes Node test coverage
2015-03-06 22:58:30 +00:00
dceejay
910d983b82
More tests for red, log, info and util.
2015-03-06 14:14:47 +00:00
dceejay
128415bc9e
back out some changes to red_spec test while investigate fail on v0.8
2015-03-06 10:51:57 +00:00
dceejay
082ce798d8
slightly enhance test coverage for info and log and settings.
2015-03-06 10:18:33 +00:00
dceejay
234abd82a2
Move away from __defineGetter syntax, in red and server
...
Bump test coverage forwards a bit
2015-03-06 10:17:00 +00:00
dceejay
3cbc1bbb1b
Add ipv6 support to udp node
2015-03-05 13:07:38 +00:00
Antoine Aflalo
0ed9f6cc4f
Adding an Object node to the sandbox of a function node
...
Permit the user of the sandbox to log using the Function Node.
Test provided and working.
Fix Display warning message in the debug log
Before they were displayed as error instead of warning
2015-03-05 09:50:11 +02:00
Nick O'Leary
10b092a9a7
Ignore 'type' when detecting config nodes
2015-03-04 22:38:53 +00:00
Nick O'Leary
444a897410
Resort to NODE_RED_HOME if User HOME not found
...
Fixes #575
2015-03-04 21:47:38 +00:00
Nick O'Leary
e013afb053
Import/Export dialogs cannot be cancelled
...
Fixes #577
2015-03-04 21:44:14 +00:00
Nick O'Leary
34364f5627
Allow node to register multiple close handlers
...
Closes #573
2015-03-04 21:42:11 +00:00
Nick O'Leary
cef378d820
Add selection-changed event on RED.view
2015-03-04 13:22:32 +00:00
Nick O'Leary
a27353c166
Add onadd/onremove event handlers to node definitions
2015-03-04 13:22:29 +00:00
dceejay
bbd197c71d
Note in info that MQTT node can support binary.
2015-03-03 15:56:42 +00:00
Nick O'Leary
fabf013714
Allow the main view hold keyboard focus
2015-03-02 22:55:34 +00:00
dceejay
81dcfecb4e
Catch very early exit null pointer when ctrl-c hit during startup.
2015-03-02 17:32:22 +00:00
Nick O'Leary
971a62ebc9
Merge pull request #571 from knolleary/errnode
...
Add Catch node
2015-02-26 22:58:03 +00:00
Nick O'Leary
04f2c92ba6
Add subflow/catch node tests
2015-02-26 22:40:54 +00:00
Nick O'Leary
00d0f8cfc7
Invoke catch node only when msg is provided
2015-02-26 22:40:54 +00:00
Nick O'Leary
c5c404ea05
Update catch node icon and help text
2015-02-26 22:40:54 +00:00
Nick O'Leary
c80a44933c
Add errorHandler tests
2015-02-26 22:40:54 +00:00
Nick O'Leary
5599b999ec
Add catch node
2015-02-26 22:40:53 +00:00
Nick O'Leary
172cbdaa84
Merge pull request #574 from knolleary/editor
...
Migrate to ACE editor
2015-02-26 22:27:02 +00:00
Nick O'Leary
a3c4f12764
Bump 0.10.4
2015-02-26 21:39:30 +00:00
Nick O'Leary
bf1cd457cd
Add RED.editor.createEditor utility function
2015-02-26 21:29:56 +00:00
dceejay
8af50a51ba
add validation triangle to ace function editor on errors
2015-02-26 17:08:50 +00:00
Nick O'Leary
ddf31e87b2
Update core nodes to use ACE editor
2015-02-26 17:08:50 +00:00
Nick O'Leary
5adbc012f3
Add ACE editor
2015-02-26 17:08:50 +00:00
Nick O'Leary
393fc349b9
Fix saving for node-library content
2015-02-26 17:08:20 +00:00
dceejay
dfed4963ed
fix big labelling issue with Pi + pins ...
2015-02-26 14:18:49 +00:00
dceejay
131adb6f4e
let email node mark mail as read
...
(for the ones it reads)
2015-02-26 14:18:49 +00:00
dceejay
a8b3cbb683
remove unecessary require from serial node
2015-02-26 14:18:49 +00:00
Nick O'Leary
e97d5c7354
Rename node-red wrapper to node-red-pi
2015-02-26 13:41:01 +00:00
Nick O'Leary
061c44f958
Move shebang to the correct red.js
2015-02-26 13:24:38 +00:00
Nick O'Leary
f5d8433341
Add node-red-pi command
2015-02-26 11:38:05 +00:00
Nick O'Leary
f78a71e8ed
Load flows file from userDir when appropriate
2015-02-26 11:30:20 +00:00
Nick O'Leary
4d48c72146
Add node-red script
...
Needed to allow arguments to be passed to the node
engine, which isn't possible if red.js is run with
a #! line.
2015-02-25 22:37:56 +00:00
dceejay
71ff828947
Tidy up all console.log util.log from core nodes.
...
Try to make log,warn,error more consistent behaviour.
Especially make sure any existing catches produce errors
2015-02-25 19:10:59 +00:00
Nick O'Leary
b6245bdef7
Remove console.log from XML test spec
2015-02-25 14:25:37 +00:00
Nick O'Leary
ce1cd1ab9c
Change default data dir
...
Changes the default location for user data to $HOME/.node-red.
2015-02-25 14:25:01 +00:00
dceejay
54b0debb3b
Re-order palette categories, move subflows to top of list.
2015-02-25 10:10:10 +00:00
Nick O'Leary
1876b56022
Fix jshint error
2015-02-24 23:06:07 +00:00
Nick O'Leary
d148a23ed6
Handle config nodes appearing out of order in flow
...
The editor ensures config nodes appear first in the flow file. The
code in the runtime and editor assumes this to be the case, so that
when a node is instantiated that requires a config node, it can assume
the config node already exists.
This change allows a config node to appear in the flow file after a
node that wants to use it. In both the editor and runtime, the code
now scans for config nodes and handles them first.
2015-02-24 23:04:55 +00:00
dceejay
049a5f1be6
revert small whitespace change to server start messages.
2015-02-24 22:22:16 +00:00
Nick O'Leary
f3880b7601
Fix credential pruning and start/stop log messages
2015-02-24 22:03:04 +00:00
dceejay
fbb45a8961
make udp node consistent with it's info.... (re params passed out)
2015-02-24 13:22:48 +00:00
dceejay
b8c460b825
pass original url request through http request node
...
(will be useful when we handle errors... ;-)
2015-02-24 13:20:33 +00:00
Nick O'Leary
63191bc641
Bump 0.10.3
2015-02-23 22:18:14 +00:00
dceejay
9f012c261a
Make parser nodes errors actual errors.
...
(more cleanup will probably be necessary - but this is a start)
2015-02-23 19:30:29 +00:00
dceejay
dc7701ad70
Add node.js version to startup log msgs for debug.
2015-02-23 19:30:29 +00:00
Nick O'Leary
e8666827e6
Restore httpAdminAuth with deprecation warning
2015-02-23 11:39:38 +00:00
Nick O'Leary
5e2c51a741
Handle deleted tab when diffing flows
2015-02-22 22:59:26 +00:00
dceejay
51421ce657
clone msg more correctly for CSV node multiple line output
2015-02-22 21:57:06 +00:00
Nick O'Leary
339e6039e1
Add engine restriction against node 0.12
2015-02-22 21:28:28 +00:00
dceejay
43054906dc
preserve other msg properties when passing through CSV node
2015-02-22 19:23:36 +00:00
Nick O'Leary
57dedcf816
Add files to .gitignore
2015-02-21 00:28:29 +00:00
Nick O'Leary
4dc21c43fa
Handle strings for limit/skip args to mongo node
2015-02-20 20:02:25 +00:00
Nick O'Leary
1c86908b90
Bump 0.10.2
2015-02-20 10:07:10 +00:00
Nick O'Leary
9b26973883
Ensure activeWorkspace is set when a flow contains no tabs
2015-02-20 10:05:42 +00:00
Nick O'Leary
2585e983a5
Add test-* grunt tasks
2015-02-15 23:35:24 +00:00
Nick O'Leary
a808cb44c2
Merge pull request #563 from emiloberg/master
...
Fixes bug that prevented unsubscribe from WebSockets, browser side. Fixes node-red/node-red/#562
2015-02-15 21:54:48 +00:00
Nick O'Leary
edd9d2cb9c
Fix Inject node handling of day selection
...
Fixes #564
2015-02-15 21:53:14 +00:00
Emil Öberg
33d24f79ce
Fixes bug that prevented unsubscribe from WebSockets, browser side. Fixes node-red/node-red/#562
2015-02-14 22:25:25 +01:00
dceejay
cc095e4edf
edit HTML node info to remove ref to jQuery. Link to CSSselect instead.
2015-02-14 19:06:35 +00:00
dceejay
07641d57ab
recorrect debug logging level colour class names so sidebar is as-was.
...
in light of new logging levels
2015-02-14 12:14:06 +00:00
dceejay
5643c51507
Let debug node show "topic" correctly for errors in functions.
2015-02-13 21:14:54 +00:00
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
e357352240
Tidy up info tab handling of subflows and comments
2015-02-10 21:29:27 +00:00
dceejay
0accfade02
catch internal subflow info error in tab-info...
2015-02-10 20:15:00 +00:00
dceejay
00b7afe3ae
spelling pedant alert in debug node... its not it's
2015-02-10 20:14:33 +00:00
dceejay
2e76541fa5
Update Debug node test to "unbreak" build... oops
2015-02-10 17:31:26 +00:00
dceejay
e2911078e3
tidy up tab-info so subflows show more useful information
...
(was broken before but no-one noticed ;-)
(and reorder fields in HTTP and XML nodes so name comes out first - ocd)
2015-02-10 16:56:07 +00:00
dceejay
c6157687c9
Move payload type label in Debug window to meta data row
...
rather than (object) etc at start of actual payload.
2015-02-10 16:56:07 +00:00
Nick O'Leary
87a1818486
Add missing FA font file
2015-02-09 09:48:31 +00:00
Nick O'Leary
d6c5d91e2c
Remove package.json from gitignore because it breaks everything
2015-02-08 23:14:37 +00:00
Nick O'Leary
e042d9e8cd
Bump version 0.10.0
2015-02-08 23:03:48 +00:00
dceejay
07c8c4bb45
Let Pi GPIO node show pins in use to help avoid clashes.
2015-02-08 19:40:23 +00:00
dceejay
2dd572f5bd
Allow msg.description to add to the email body text
...
(for feed from Fluickr node)
2015-02-08 15:02:02 +00:00
dceejay
d4a27f88a1
Allow Email node to send html, and add attachments.
...
(outbound only at present)
2015-02-08 11:33:04 +00:00
dceejay
1513dbfcdd
Add strict flag to debug (for consistency with others)
2015-02-08 11:32:26 +00:00
Nick O'Leary
8451c29a25
Add line/col report test
2015-02-07 19:56:22 +00:00
Nick O'Leary
ae7f1b38a8
Add line/col reporting to Function runtime errors
2015-02-07 19:52:14 +00:00
Nick O'Leary
83dad88ad3
Fix debug reporting of warning/errors
2015-02-07 19:29:43 +00:00
Nick O'Leary
8eb1a02407
Fix unit test failures following mocha upgrade
2015-02-06 17:27:43 +00:00
Nick O'Leary
1e6f45852f
Update package dependencies
2015-02-06 17:17:44 +00:00
Nick O'Leary
3849855b57
Rename _id to _msgid to avoid mongo clash
2015-02-06 16:36:32 +00:00
Nick O'Leary
f2712f296b
Update to font-awesome 4.3
2015-02-06 13:57:33 +00:00
Nick O'Leary
c7f13e3d0c
Add needsPermission protection to core nodes
2015-02-06 13:57:15 +00:00
Nick O'Leary
d1fe997bf7
Doc updates
2015-02-06 13:16:46 +00:00
Nick O'Leary
86c8a5de81
Allow palette categories to be predefined
2015-02-06 13:16:19 +00:00
Nick O'Leary
010abbd3d5
Remove deprecated nodes
2015-02-06 11:33:04 +00:00
Nick O'Leary
3123aa6279
Merge pull request #558 from knolleary/auth
...
Add bearer token authentication to Editor
2015-02-06 11:28:12 +00:00
Nick O'Leary
dedda19626
Restyle user menu
2015-02-06 11:27:21 +00:00
Nick O'Leary
c31ffb98b0
Tie auth middleware to needsPermission api
2015-02-05 23:43:35 +00:00
Nick O'Leary
3ef6f29d6e
Add Log.trace/debug/error functions
2015-02-05 17:05:39 +00:00
Nick O'Leary
26c42e500f
Allow user.default to be an api function
2015-02-05 13:01:00 +00:00
Nick O'Leary
53a515176b
Remove unused token expiry code
2015-02-05 13:01:00 +00:00
Nick O'Leary
fbf7ee50eb
Increase unit test coverage of auth code
2015-02-05 13:00:56 +00:00
Nick O'Leary
b2aae93fa6
Hide user profile menu
2015-02-05 13:00:55 +00:00
Nick O'Leary
a494954275
Add permissions and user menu
2015-02-05 13:00:55 +00:00
Nick O'Leary
f5d7903ecb
Stop lost connection message bouncing when not authed
2015-02-05 13:00:55 +00:00
Nick O'Leary
9bbe0799bd
Allow adminAuth setting to provide functions
2015-02-05 13:00:55 +00:00
Nick O'Leary
f3eb85c449
Move over to settings.adminAuth
2015-02-05 13:00:54 +00:00
Nick O'Leary
74e1ef0823
Add auth awareness to comms channel
2015-02-05 13:00:49 +00:00
Nick O'Leary
982997c3df
Add auth awareness to ui
2015-02-05 13:00:49 +00:00
Nick O'Leary
66005a2688
Use jquery ajax rather than d3
2015-02-05 13:00:49 +00:00
Nick O'Leary
42cd6f94a7
fix settings
2015-02-05 13:00:37 +00:00
Nick O'Leary
dfc20f3cc9
Add node-red logo for login screen
2015-02-05 13:00:29 +00:00
Nick O'Leary
2b5a1ce6d4
Add settings changes
2015-02-05 13:00:16 +00:00
Nick O'Leary
28823802ea
Prompt login if auth enabled
2015-02-05 13:00:16 +00:00
Nick O'Leary
2128b57ab2
Add oauth grant
2015-02-05 13:00:07 +00:00
Nick O'Leary
c8ccacb035
Switch node sortable entries diable inputs in FF
2015-02-05 10:46:01 +00:00
dceejay
3334c795e0
Correct spelling in Pi error messages, fix mouse icon file type
2015-02-04 23:27:51 +00:00
Nick O'Leary
b97d251787
Add on-headers dependency to package.json
2015-02-04 22:32:27 +00:00
Nick O'Leary
482c4e9c5e
Add memory metric reporting
2015-02-04 22:28:17 +00:00
Nick O'Leary
1712146836
Clear loghandlers on init and supress output in tests
2015-02-04 21:29:11 +00:00
Nick O'Leary
c8d2d690f0
Rename HTTP In content-length metric
2015-02-04 21:10:18 +00:00
Nick O'Leary
f2d4648384
Support of HTTP Node metrics
2015-02-04 20:48:46 +00:00
dceejay
86ca75bcd5
Pi Node status not displaying 0 fixed.
2015-02-04 19:02:32 +00:00
Nick O'Leary
31aa3901cc
Fix global leak in localfilesystem
2015-02-04 15:41:18 +00:00
Nick O'Leary
ab831c34f3
Enable node status by default
2015-02-04 15:23:28 +00:00
Nick O'Leary
8443e48240
Place flows backup alongside flow file
...
Also backup credentials file in the same manner.
2015-02-04 15:23:28 +00:00
dceejay
a08b29dbd1
Add info to Twitter out node to make it obvious how to do DMs.
2015-02-04 11:36:43 +00:00
Nick O'Leary
97621b41b9
Ensure deleted core nodes are removed from config list
2015-02-04 10:27:02 +00:00
Nick O'Leary
f462446213
Make Function duration status optional
2015-02-04 10:01:46 +00:00
hbeeken
6b96c1876a
changing function node metrics to new infrastructure
2015-02-04 09:46:54 +00:00
Nick O'Leary
0aaea1ec40
Update logging/metric system
2015-02-03 22:02:26 +00:00
hbeeken
7d6ce1ec12
Changing metric logging to take a primative rather than an object
2015-02-03 19:12:09 +00:00
hbeeken
b052324d36
Adding logging & metric recording configuration via settings
2015-02-03 19:12:09 +00:00
dceejay
a22f819f40
Bit more consistent error handling / status updates for Pi GPIO node
2015-02-03 17:22:44 +00:00
Nick O'Leary
07acc6642f
Merge pull request #460 from hindessm/fix-lastSent-initial-value
...
Fix node.lastSent initial value after refactoring.
2015-02-03 13:27:48 +00:00
Nick O'Leary
950611ed31
Merge pull request #554 from hbeeken/Node-spec-fix
...
Fixing test where part wasn't exercised
2015-02-03 13:26:50 +00:00
dceejay
84e6417877
Change inject node to use tick boxes for days of week instead of select.
2015-02-03 11:21:29 +00:00
hbeeken
a87548a991
Fixing test where part wasn't exercised
2015-02-02 13:21:19 +00:00
dceejay
5e5a220f68
Better ref link for CSS selectors list for HTTP parser node.
2015-01-30 10:00:20 +00:00
dceejay
f451d0644a
Allow msg.PATCH method on http request node
...
Simple fix to Close PR #524
(no CLA)
2015-01-30 10:00:20 +00:00
Nick O'Leary
e9f0877da8
Skip .info call for subflow IO nodes
2015-01-30 09:53:11 +00:00
dceejay
f6c6301733
Add done() async close to tcp node(s)
2015-01-29 21:43:23 +00:00
dceejay
0709a118e3
more fun trying to close Pi and Arduin nodes async style with done()
...
(more consistent use of call done().)
2015-01-29 21:43:23 +00:00
Nick O'Leary
7576878ba5
Filter comments when generating palette tooltips
...
Fixes #549
2015-01-29 21:40:21 +00:00
Nick O'Leary
083e253e45
Configure marked once on start-up
2015-01-29 20:47:30 +00:00
Nick O'Leary
da67e69544
Add drag handle to switch node rules
2015-01-29 20:38:19 +00:00
dceejay
0ed8d28342
Add Markdown capability to Comment node
...
body is rendered in the info tab and can be styled with Markdown
2015-01-29 18:53:59 +00:00
dceejay
27f9056360
Add status to file node when you overide filename
...
(so you can see what it writes to... )
2015-01-29 18:53:59 +00:00
dceejay
8c075bfde3
Make HTML select node point to Cheerio select docs.
2015-01-29 18:53:59 +00:00
dceejay
cae755d948
Cleanup closing down of Pi gpio nodes
2015-01-29 18:53:58 +00:00
Nick O'Leary
ca9d84b1b7
Allow Switch rules to be drag-ordered
2015-01-29 16:28:18 +00:00
Nick O'Leary
f983e4da9f
Renable unit tests following logging api changes
2015-01-29 09:57:09 +00:00
Nick O'Leary
109270b437
Merge pull request #541 from hbeeken/logging-infrastructure
...
Adding metric logging mechanism
2015-01-27 17:50:26 +00:00
hbeeken
0bfbb12211
Adding metric logging mechanism
2015-01-27 14:41:20 +00:00
dceejay
69998243cc
Add fs.notify, feedparser and serialport to default install packages
...
To close #518 Pull request 9 by TJ
We want to keep arduino, mongo and redis out of the default install for now.
need for js2xmlparser will go in v0.10
2015-01-21 15:05:35 +00:00
dceejay
8b61c121e6
Small changes to info box language for file watch node
2015-01-21 15:05:35 +00:00
Nick O'Leary
56ef982345
Revert settings.js
2015-01-18 21:24:19 +00:00
Nick O'Leary
8389df9729
Merge branch 'master' of github.com:node-red/node-red
2015-01-18 09:39:05 +00:00
Nick O'Leary
a8f1a6df2c
Update sidemenu links to nodered.org
2015-01-18 09:38:47 +00:00
dansu
68e51bb886
added tests for websocket-client
...
cleanup and prettify
2015-01-18 09:38:47 +00:00
Nick O'Leary
462c259f3a
Allow node to provide dynamic content to Info tab
...
Closes #492
The node definition can now include an `info` property. This property can be either a string or a Function. Whenever the info tab is refreshed, such as the node is selected, the value of this property, or the result of the Function, will be appended to the Info tab.
2015-01-18 09:38:47 +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
57b39022d0
Merge pull request #537 from dsundberg/websocket-client-unittests
...
added tests for websocket-client
2015-01-17 22:45:22 +00:00
Nick O'Leary
110f0bf169
Allow node to provide dynamic content to Info tab
...
Closes #492
The node definition can now include an `info` property. This property can be either a string or a Function. Whenever the info tab is refreshed, such as the node is selected, the value of this property, or the result of the Function, will be appended to the Info tab.
2015-01-17 21:36:16 +00:00
Nick O'Leary
3f0fcb70a4
Make subflow delete option more obvious
...
Fixes #514
2015-01-17 21:02:28 +00:00
Nick O'Leary
d8c7ea8144
Tidy sidebar menu
...
- remove inconsistent ellipsis
- add Subflow submenu
2015-01-17 20:36:18 +00:00
dansu
44db2c28a3
added tests for websocket-client
...
cleanup and prettify
2015-01-17 21:10:38 +01:00
Nick O'Leary
8d5f99640e
Merge pull request #533 from knolleary/deploy
...
Add smarter deployment options
2015-01-16 16:00:35 +00:00
Nick O'Leary
ffe417976c
Merge pull request #532 from hindessm/random-delay-fixes
...
Random delay fixes
2015-01-16 15:46:53 +00:00
Nick O'Leary
d04ac00732
Add more Flow_spec tests
2015-01-16 15:43:47 +00:00
Nick O'Leary
dd5e851339
Better sidemenu style
2015-01-16 10:25:57 +00:00
Dave Conway-Jones
2890575b3d
Merge pull request #531 from dsundberg/websocket-unittest
...
Websocket unit tests
2015-01-15 17:18:34 +00:00
Dave Conway-Jones
8b3fbae3f6
Merge pull request #516 from dsundberg/websocket_ext
...
Added option to specify remote WebSocket URL in web socket node.
2015-01-15 17:17:21 +00:00
Nick O'Leary
c97ab18e62
Add Flow spec
2015-01-15 17:12:50 +00:00
Nick O'Leary
b0ffc12142
Restyle sidebar menu
2015-01-15 10:28:12 +00:00
Nick O'Leary
687a66344e
Deploy menu style
2015-01-15 10:28:11 +00:00
Nick O'Leary
a5afc258b1
Update unit tests
2015-01-15 10:28:11 +00:00
Nick O'Leary
afb5e8cbce
Fix jshint errors
2015-01-15 10:28:11 +00:00
Nick O'Leary
83b40a7ba6
Fix credential update
2015-01-15 10:28:11 +00:00
Nick O'Leary
cf1371bfdf
Add deployment types in runtime
...
- removes ui option as it needs work
2015-01-15 10:28:11 +00:00
Nick O'Leary
89fff339d5
Add deploy dropdown button
2015-01-15 10:28:10 +00:00
Nick O'Leary
e11abd2508
Identify modified nodes on deploy
2015-01-15 10:28:10 +00:00
dansu
9a0177b900
Added support for websocket-client in 22-wesocket node, selectable in ui
...
as Listen to/Connect to drop down.
2015-01-15 08:57:42 +01:00
Mark Hindess
5510dffe18
Fix random delay mode to be random delay not random rate-limited stack.
...
Documentation says "Introduces a delay into a flow or rate limits
messages." but this node was doing delay and rate limit in random mode
which doesn't seem that useful. Worse it was a stack not a queue. I
can't think of any sane use cases for that behaviour.
2015-01-14 14:19:21 +00:00
Mark Hindess
7909ca24d3
Fix random delay in milliseconds case and change test to reproduce bug.
...
Because there was no multiplier the node.randomFirst was a string so
the later '+' was a concatentation. The test failed to catch this because
it uses integers not strings to configure the node.
2015-01-14 10:18:47 +00:00
dceejay
eee2996e8a
Make Pi GPIO node wait for close before restarting
...
Looking to address Issue #530
2015-01-14 09:55:30 +00:00
dansu
2577631334
Added unittests for websocket node
2015-01-13 10:38:53 +01:00
dansu
9f91493cd1
rename 'send' to 'reply' to not collide with internal node function names, a config node has no wires so the 'send' function gets overwritten with a noop (nodes/red/Node.js:42, introduced in 57ae297)
2015-01-13 08:48:59 +01:00
dceejay
fcec704b7b
Reset some changes to sample to be in line with how most of our nodes
...
actually are.
2015-01-12 19:11:07 +00:00
dceejay
2066d53d3f
Handle quotes in JSON inside CSV files in CSV node...
...
so they come out as real JSON rather than being stripped.
2015-01-09 20:32:05 +00:00
Dave Conway-Jones
8822335700
Merge pull request #522 from motiooon/patch-1
...
adding skip to the mongodb input node
Great - looks good - many thanks @motiooon
2015-01-09 20:27:09 +00:00
Gabriel Baciu
f461b121e1
mongodb node take a skip property so pagination can be achieved
2015-01-09 14:32:21 -05:00
dceejay
92b393d3df
really enforce binary for exec node stdout when required.
2015-01-08 12:35:42 +00:00
dceejay
4fb2a44d74
correct exec binary stdout to be consistent with spawn stdout.
...
Binary = buffer
String = utf8
2015-01-07 21:33:15 +00:00
dceejay
00429ebe70
Update exec node to handle binary stdout
2015-01-07 21:12:01 +00:00
dceejay
25537e01d4
Add byte mode and mouse buttons to Pi node
2015-01-06 22:06:28 +00:00
Nick O'Leary
65e4d83625
Merge pull request #526 from anna2130/mongo-db-aggregate
...
Fixed check for array in MongoDB aggregate function
2015-01-05 11:14:18 +00:00
Anna Thomas
ed6272ce12
Fixed check for array in MongoDB aggregate function
...
Fixes #525
2015-01-05 10:57:49 +00:00
dceejay
9e4187d6a8
New Pi GPIO node based on RPI.GPIO library.
...
Adds PWM support of outputs and easier access to interrupts for inputs.
2014-12-27 13:11:44 +00:00
Dave C-J
b4dc66944a
Make sample node more representaive of a real node...
...
(OK not really real but at least it now doesn't fail if you try to run it)
2014-12-26 15:28:31 +00:00
Dave C-J
a51056a91f
Be a bit more relaxed about IRC node reconnect - it does happen eventually.
...
Trying to nail down Issue #447
2014-12-18 23:22:36 +00:00
Nick O'Leary
a3692944a2
Merge pull request #515 from anna2130/nr-cli-enhancements
...
No-op and return success on enabling/disabling node by type name
2014-12-17 14:03:38 +00:00
Anna Thomas
03765afefa
Updated nodes_spec test to no-op when already enabled/disabled by type name
2014-12-17 13:58:49 +00:00
Anna Thomas
66213d151d
No-op and return success on enabling/disabling node by type name
2014-12-17 13:35:57 +00:00
Nick O'Leary
0c699ae57f
Merge pull request #511 from anna2130/nr-cli-enhancements
...
Updates to match cli changes
2014-12-17 13:10:49 +00:00
Dave C-J
bf8d549cf7
Add "advanced" options to XML parsing node
...
Allows setting of attrkey and charkey
Push to close #348
2014-12-15 17:05:18 +00:00
Dave C-J
1261bf97ea
Remove : from inject node label - people didn't like it.
...
Claim they can tell the difference between topic and payload as they wrote
the flow...
2014-12-15 17:03:18 +00:00
Dave C-J
41552625e0
remove spurious line of debug from http node
2014-12-15 17:01:58 +00:00
Dave C-J
27ef7d972f
Add Binary paylaod option to Http request node
...
Also add JSON parse option to output
Allow user to select override using msg.method to stop getting warning.
Fix to close #399
2014-12-09 14:40:03 +00:00
Dave C-J
6fc3aab907
Make Palette search Case InSeNsItIve
...
fix to close #496
2014-12-09 14:37:32 +00:00
Anna Thomas
10681f97d9
Updated tests to reflect addition of version getSet
2014-12-08 16:53:06 +00:00
Anna Thomas
475d9e110e
Updated to match cli changes
2014-12-08 16:53:06 +00:00
Nick O'Leary
8c5fab61e6
Merge pull request #509 from anna2130/nr-cli-enhancements
...
nr-cli enhancements
2014-12-08 13:08:58 +00:00
Anna Thomas
e7ccff5a4b
Get version from pkg
2014-12-08 10:15:21 +00:00
Anna Thomas
81e08e06e4
Updated test to reflect saving settings in nodes
2014-12-08 10:10:16 +00:00
Anna Thomas
b006ccf610
saveNodeList saves settings in nodes
2014-12-08 09:57:17 +00:00
Anna Thomas
bb0e48f271
Store version in settings
2014-12-08 09:55:51 +00:00
Nick O'Leary
6d0dffcdf7
Migrate node config to new format
2014-12-05 20:43:41 +00:00
Nick O'Leary
14b84f0c7b
Merge pull request #498 from anna2130/nr-cli-enhancements
...
nr-cli enhancements - server side api
2014-12-05 20:39:42 +00:00
Anna Thomas
8b6e287a74
Updated remove modules tests to reflect getNodeModuleInfo changes
2014-12-05 16:51:26 +00:00
Anna Thomas
1a5751ff1d
Update removeModule to reflect getNodeModuleInfo changes
2014-12-05 16:45:32 +00:00
Anna Thomas
851048077c
Remove new lines from version
2014-12-04 13:22:42 +00:00
Dave C-J
5f74a1d237
Update file, http and email nodes to only show deprecation warning
...
if msg property is a real overide to node property ( !== ).
Fix for comment by @drJeckyll to Issue #399
2014-12-01 22:58:25 +00:00
Dave Conway-Jones
e9b1e287ba
Merge pull request #500 from jacktech24/master
...
Fixed bug, in Arduino output node
2014-11-28 10:52:12 +00:00
Nick O'Leary
da7b3ce9e4
Incorrect reference to routes in http in node
...
Fixes #503
2014-11-28 10:09:38 +00:00
Anna Thomas
35b3912808
Removed CLI from repo
2014-11-28 09:21:39 +00:00
Anna Thomas
e28f933f64
Refactor saveNodeList
2014-11-28 09:17:46 +00:00
Anna Thomas
57bc83b2a7
Enabling and disabling non-existent nodes throws an error
2014-11-27 16:42:45 +00:00
Anna Thomas
ec43fc4fe2
Removed unused code
2014-11-27 13:12:47 +00:00
Anna Thomas
8f2a0b63d9
Changed cleanNodeList to cleanModuleList
2014-11-26 16:46:51 +00:00
Anna Thomas
bb6e27f662
Store node list as module list
2014-11-26 16:25:37 +00:00
jacktech24
4e28a308b0
fixed bug, replaced servoWrite with analogWrite where it should be
2014-11-25 20:42:17 +01:00
Anna Thomas
04ffaeb2b8
Refactor nodeModules.nodes to moduleNodes
2014-11-24 15:44:11 +00:00
Anna Thomas
d7f249eac4
Added version number to modules
2014-11-21 16:35:29 +00:00
Anna Thomas
a5064b3ab6
Reloads module info after enabling/disabling module
2014-11-21 16:34:57 +00:00
Anna Thomas
dd5821ee1b
Installing a module returns module info
...
Removing a module checks module exists and checks type is not in use
2014-11-21 15:15:24 +00:00
Anna Thomas
4c9d53388c
Removed plugins references
2014-11-21 11:31:07 +00:00
Anna Thomas
70f101497d
Replaced delete response with 204
2014-11-21 11:25:51 +00:00
Anna Thomas
56cb985de9
Separated put response into /nodes/:mod and /nodes/:mod/:set
...
Updated put tests
2014-11-21 10:36:32 +00:00
Anna Thomas
d614b7c39f
Moved get node set response to /nodes/:mod/:set
...
Updated tests
Changed plugin back to module
2014-11-20 15:18:16 +00:00
Anna Thomas
0ff65f6805
Updated registry tests to reflect id changes
2014-11-20 13:08:27 +00:00
Anna Thomas
591b5f3f91
Replaced hex id with 'module/set' id
2014-11-20 12:15:15 +00:00
Anna Thomas
50fddf474b
Local nodes loaded with node-red as their module
2014-11-20 09:58:42 +00:00
Nick O'Leary
3a78a2fedd
Tab name changes not persisting
...
Fixes #495
2014-11-19 16:03:12 +00:00
Anna Thomas
9552055b08
loadNodeConfig assumed to always be called with module and name parameters
2014-11-19 13:54:00 +00:00
Nick O'Leary
71bd5cd9e9
Merge pull request #485 from anna2130/nr-cli-enhancements
...
WIP: Command Line Tool API
2014-11-17 13:34:24 +00:00
Nick O'Leary
7cff7ed297
Merge pull request #491 from anna2130/mongo-msg-collection
...
Fixes collection only being set by first message
2014-11-17 11:15:45 +00:00
Anna Thomas
6ba0d83778
Fixes collection only being set by first message
2014-11-17 10:33:31 +00:00
Dave C-J
ca2ef7e71f
Pi GPIO node was not displaying Model B+ pin numbers correctly
...
on subsequent edit.
2014-11-16 18:23:24 +00:00
Dave C-J
977a9e1c83
Better attempt at making Inject node label more "useful".
...
Addresses Issue #489
2014-11-16 18:22:33 +00:00
Dave C-J
7da108e129
Reverting fix for #489 while we debate the issue more fully....
2014-11-14 23:50:49 +00:00
Dave C-J
7b14e753cd
Let Twitter node save place as a location property rather than text.
2014-11-14 23:42:35 +00:00
Dave C-J
9863b6e178
Add payload to Inject label to make more helpful
...
Close #489
2014-11-14 17:28:08 +00:00
Nick O'Leary
0789b82c15
Restore dialog size on reopn properly
2014-11-13 22:14:05 +00:00
Nick O'Leary
a477c0b827
Fix serial config node edit layout
2014-11-13 20:53:15 +00:00
Nick O'Leary
3cb423a0b4
Fix func/temp/comment editor resizing
2014-11-13 17:21:12 +00:00
Nick O'Leary
9c8d9550a7
Do not assume subflows exist when deleting nodes
2014-11-13 16:00:46 +00:00
Anna Thomas
8d16f3c8be
Registry tests for plugins and enable/disable in CLI
2014-11-13 15:14:20 +00:00
Nick O'Leary
b4c92b457a
Flatten the dialog box style
2014-11-13 13:55:12 +00:00
Nick O'Leary
426fcc2fdd
Rework subflow edit process
2014-11-13 12:59:28 +00:00
Nick O'Leary
5cb9a5b7eb
All subflow input to be deleted by selection
2014-11-13 00:02:41 +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
f72f7cdaa7
Merge pull request #469 from Belphemur/ui-localstorage
...
Ui localstorage
2014-11-11 10:43:06 +00:00
Antoine Aflalo
01f0d5390f
Adding support to LocalStorage on client side
...
Save the state of the Menu Item between session (like activation of
node-status and sidebar)
2014-11-11 09:04:57 +02:00
Dave C-J
ed9951f065
Add PWM support to Pi GPIO Node - pin 12 (GPIO1)
...
(only pin that has hardware pwm support)
Note: It will interfere with any other audio output as they share
same hardware/timers.
2014-11-10 20:03:51 +00:00
Nick O'Leary
4249cf5d69
Fix debugMaxLength description
...
Closes #484
2014-11-09 20:55:13 +00:00
Dave C-J
5da45b404c
Add delete option to File node
...
to replace msg.delete option - now deprecated but not removed.
Addresses some of the confusion for Issue #399
2014-11-08 15:34:54 +00:00
Dave C-J
8b7e367416
tweak CSV parser to better handle GSM style phone numbers.
2014-11-08 15:34:54 +00:00
Nick O'Leary
28da2dc38a
Subflow palette node outputs not updating
...
part of #479
2014-11-07 16:12:27 +00:00
Dave C-J
5c5de028da
Add remote server name to page title / tab
...
Makes selecting one of several servers easier.
2014-11-07 12:28:35 +00:00
Dave C-J
b861f490c6
tiny tidy-up on TCP request node
2014-11-07 12:28:34 +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
3e235ecc0b
Move cloneMessage to RED.util.cloneMessage
2014-11-06 11:39:30 +00:00
Anna Thomas
deeaa09360
Renamed modules to plugins for CLI
2014-11-06 10:59:34 +00:00
Anna Thomas
2e7a97fb88
Get plugins tests
2014-11-06 10:59:06 +00:00
Dave C-J
9c92eeb9f5
Allow tcp request node to accept msg.host and msg.port as inputs
...
Overrides only allowed if edit setting left blank.
2014-11-06 10:21:14 +00:00
Anna Thomas
3e24601518
Functionality to get installed module info from the cli
2014-11-06 10:00:25 +00:00
Nick O'Leary
266a644ca6
Preserve querystring when ensuring path ends with slash
2014-11-06 00:01:01 +00:00
Nick O'Leary
def93214de
Merge pull request #476 from knolleary/auth
...
Reorganise how adminApp is setup
2014-11-05 23:18:32 +00:00
Nick O'Leary
a520240b25
Ensure application/json on library flows reqs
2014-11-05 23:08:23 +00:00
Nick O'Leary
e7eb02fcb7
Add unit tests for refactored API modules
2014-11-05 23:07:50 +00:00
Nick O'Leary
72f9471f2b
Reorganise how adminApp is setup
2014-11-05 22:45:18 +00:00
Nick O'Leary
67449eb65a
Merge pull request #470 from anna2130/msg-property-overrides
...
Message properties overriding set node properties
2014-11-05 22:05:34 +00:00
Anna Thomas
069a47f35a
Added node warnings when message properties override set node properties
2014-11-05 17:23:27 +00:00
Nick O'Leary
53b07581cf
Merge pull request #474 from zobalogh/twitter-location
...
Adding location support to Twitter
2014-11-05 15:40:47 +00:00
zobalogh
11a29b4633
Adding location support to Twitter
2014-11-05 12:00:37 +00:00
Dave C-J
bdb46cbbe4
Add "is-utf8" npm to package - part of fix #435
2014-11-04 22:00:58 +00:00
Dave C-J
273acc0ec4
Let MQTT input node receive binary packets
...
Try to auto select output type to be string or buffer to be backwards compatible
Fixes #435
2014-11-04 21:56:15 +00:00
Nick O'Leary
1153619a03
Handle uninitialised node in single-wire fastpath
2014-11-04 11:36:28 +00:00
Nick O'Leary
f89ddb5f7a
Merge pull request #463 from njh/redis-object
...
Added support for storing a msg.payload of type object in a Redis hash
2014-11-01 21:19:45 +00:00
Nick O'Leary
4494c11b03
Subflow name property getting dropped on import
...
Closes #468
2014-10-31 22:46:26 +00:00
Dave C-J
694649e8f9
Update feedparse in line with underlying npm.
2014-10-31 18:59:57 +00:00
Anna Thomas
9f925140c9
Updated MongoDB node info
2014-10-31 15:41:13 +00:00
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
f0e9a0279f
Ignore comms heartbeat messages in comms test
2014-10-31 13:06:08 +00:00
Nick O'Leary
863b85714d
localfilesystem storage must fsync writes
...
Closes #465
2014-10-31 11:40:10 +00:00
Nick O'Leary
dfc79e3122
Preserve unknown node type properties across deploys
...
Closes #5
2014-10-30 21:41:42 +00:00
Nicholas Humfrey
afde3d0ab8
Added support for storing a msg.payload of type object in a Redis hash
2014-10-30 10:09:40 +00:00
Nick O'Leary
7419f62a20
Merge pull request #461 from hindessm/fix-tweet-post-error-reporting
...
Fix tweet post error reporting.
2014-10-30 08:44:08 +00:00
Mark Hindess
f06b52625f
Fix tweet post error reporting.
2014-10-30 08:38:49 +00:00
Nick O'Leary
ccfbd69f24
Merge pull request #459 from hindessm/fix-info-id-refactoring-bug
...
Fix refactoring error; rename info to id.
2014-10-30 08:35:10 +00:00
Mark Hindess
d859412785
Fix node.lastSent initial value after refactoring.
2014-10-30 08:19:52 +00:00
Mark Hindess
3840bd117c
Fix refactoring error; rename info to id.
2014-10-30 08:08:41 +00:00
Nick O'Leary
aff8a7802a
Merge pull request #458 from knolleary/subflows
...
Add Subflows
2014-10-29 22:04:48 +00:00
Nick O'Leary
6169e4299a
Add initial subflow tests
2014-10-29 21:44:33 +00:00
Nick O'Leary
d9648ca76b
Add subflow support
2014-10-29 20:26:25 +00:00
Dave C-J
348b642d25
Return sensible name to display for Delay node Queue mode
2014-10-29 18:26:43 +00:00
Dave C-J
a1830def8e
Fix http in node close wrinkle if cors enabled but not used.
2014-10-29 18:26:09 +00:00
Dave C-J
98b875c4a0
Neater fix for Mac meta key - thanks to Nick.
2014-10-29 09:05:48 +00:00
Nick O'Leary
d242f67be3
Merge pull request #457 from anna2130/change-node-multi-level-properties
...
Change node can set msg property to another msg property. Closes #456
2014-10-28 16:07:42 +00:00
Anna Thomas
ce6513e7f7
Change node can set msg property to another msg property. Closes #456
2014-10-28 15:50:50 +00:00
Dave C-J
bd75c1c753
Better attempt at adding Apple meta key
2014-10-28 09:03:00 +00:00
Nick O'Leary
48d3b8f37a
Inject node interval error
...
part two of #455
2014-10-27 19:41:29 +00:00
Nick O'Leary
4c573b208c
Merge branch 'master' of github.com:node-red/node-red
2014-10-27 19:36:43 +00:00
Nick O'Leary
a5228875a6
Inject node calculating hour interval period incorrectly
...
Fixes #455
2014-10-27 19:36:26 +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
Dave C-J
bbaf7bf247
correcting typos in trigger node... oops
2014-10-27 08:54:21 +00:00
Nick O'Leary
04673c65f4
Node drag start threshold incorrectly calculated
2014-10-26 22:23:56 +00:00
Nick O'Leary
57ae297efd
Clone messages before any node.receive call
2014-10-25 23:12:30 +01:00
Dave C-J
0bb78ae491
Try to ensure TCP node closes server connections on redeploy
...
(to clean up properly - especially in case of port changes)
Closes Issue #454
2014-10-25 17:52:24 +01:00
Dave C-J
d9363f4974
Reduce logging for exec node
...
(can be re-enabled by using node -v red.js ... )
2014-10-25 17:50:55 +01:00
Dave C-J
b54e9edfa6
Add "topic based fair queue" option to delay node
2014-10-24 20:00:25 +01:00
Dave C-J
cf81de415a
Minor UI tweaks to RPi node
2014-10-24 20:00:25 +01:00
Nick O'Leary
4cd78692e2
Handle debug boolean complete properties
2014-10-23 15:28:47 +01:00
Nick O'Leary
5fd1ff5137
Add hint on requiring fs module in settings.js
2014-10-22 21:44:01 +01:00
Nick O'Leary
fe95a98339
Merge pull request #441 from anna2130/reduce-message-cloning-overhead
...
Reduces message cloning overhead for single recipients
2014-10-22 15:09:59 +01:00
Nick O'Leary
da73972c41
Merge pull request #449 from hbeeken/update-test-helper
...
Adding capability to the test helper to load more than one node at once
2014-10-22 15:08:17 +01:00
Nick O'Leary
014389c55f
Merge pull request #450 from Belphemur/patch-1
...
Correcting a Typo
2014-10-22 15:07:47 +01:00
Antoine Aflalo
ff4edccbbc
Correcting a Typo
2014-10-22 16:33:48 +03:00
hbeeken
1e7ce2cfe7
Adding capability to the test helper to load more than one node at once
2014-10-22 11:29:54 +01:00
Anna Thomas
bc8e459ae6
Node does not clone first message sent
...
Tests updated to mirror this behaviour
Annotated algorithm
2014-10-21 14:08:35 +01:00
Nick O'Leary
53a9a5fe93
Merge pull request #422 from anna2130/debug
...
Updated debug node to output other msg properties
2014-10-20 16:35:24 +01:00
Anna Thomas
17e4bf1a11
Tidy up node label and edit dialog
2014-10-20 12:52:07 +01:00
Nick O'Leary
bec4e429f9
Merge pull request #433 from anna2130/change-node-multi-level-properties
...
Change node: Multi-level properties
2014-10-20 11:12:59 +01:00
Dave C-J
472fdc65a9
Allow Raspberry Pi node to set initial output level.
...
Fix for #443
Also allow (optional) initial read of input pins on deploy.
Moved to Category Raspberry Pi
(other Pi related nodes will be updated to match soon).
2014-10-19 13:54:21 +01:00
Dave C-J
28a4ba1aad
Don't let IRC node try to join channels multiple times...
...
Addresses #447
2014-10-18 20:38:58 +01:00
Dave Conway-Jones
dd9fc6a250
Merge pull request #437 from hindessm/file-query-node-usability
...
Minor fixes to messages sent from "file in" nodes.
2014-10-14 17:54:47 +01:00
Dave C-J
7802939bb0
fix IRC node (once again)
...
refactoring created incorrect object references - which weren't picked up.
(sorry) - Addresses Issue 439
2014-10-09 20:50:46 +01:00
Nick O'Leary
d4a21be666
Clone settings to avoid modifying original values
2014-10-09 14:21:53 +01:00
Mark Hindess
0d9abbb8b6
Minor fixes to messages sent from "file in" nodes.
...
Specifically:
* in the error case, set msg.filename to be the name of the file used (as
is done in the non-error case),
* in the error case, delete msg.payload so that subsequent nodes only need
check for a msg.payload to act upon if they don't care about error cases,
and
* in the non-error case, delete msg.error to avoid passing through errors
from earlier nodes to a subsequent node that does care about error cases
Messages sent will now always have well-defined behaviour with respect to
the payload, filename, and error in both error and non-error cases.
2014-10-09 11:19:14 +01:00
Nick O'Leary
9a32e79603
Merge pull request #436 from anna2130/calculate-text-width
...
Refactored palette.js and view.js to reuse calculateTextWidth
2014-10-09 10:21:42 +01:00
Anna Thomas
206b8ac34a
Refactored to reuse calculateTextWidth
2014-10-09 10:07:17 +01:00
Nick O'Leary
da1321f1de
Bump 0.9.1
...
Commit 1000! \o/
2014-10-08 13:56:05 +01:00
Nick O'Leary
748c7aedee
Add nodes to provide custom palette labels
2014-10-08 13:54:48 +01:00
Nick O'Leary
483c4352d3
Merge pull request #434 from anna2130/palette-multi-line-nodes
...
Node expands for multi-line node names
2014-10-08 13:23:54 +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
21e349c22a
Ensure httpNodePath is handled properly in HTTP/WS nodes
...
Cope with httpNodePath not ending with a / when it comes to
displaying the node details. The runtime is not affected.
2014-10-08 11:03:18 +01:00
Dave Conway-Jones
da4446c20f
Merge pull request #432 from hindessm/avoid-abbreviation-and-be-consistent
...
Don't use abbreviation 'mins' and 'minutes' in the same sentence.
2014-10-07 22:23:06 +01:00
Anna Thomas
986ce8163f
Added tests to check functionality when using multi-level properties
2014-10-07 16:12:35 +01:00
Anna Thomas
97e5c2e571
Added multi-level property functionality
2014-10-07 16:12:35 +01:00
Anna Thomas
2a753c9d22
Updated debug node test
2014-10-07 10:25:56 +01:00
Anna Thomas
f96b40cff2
Updated debug node to output other msg properties
2014-10-07 10:25:56 +01:00
Mark Hindess
e0927d190f
Don't use abbreviation 'mins' and 'minutes' in the same sentence.
...
I don't think saving three letters justifies the use of a non-standard
abbreviation. If we really need to save letters, then the SI units would
be better and for most people to read.
2014-10-07 08:40:06 +01:00
Dave C-J
0c636ca707
Wind down excessive logging on IRC node
...
now only logs connects/reconnects, errors and "raw" input commands
(so you can debug them when you get it wrong)
All other messages appear on the node output anyway.
2014-10-06 10:20:40 +01:00
Dave C-J
d49ed69a0a
Remove listener limit on IRC node server connection.
...
Fixes #431
2014-10-05 21:36:42 +01:00
Dave C-J
4b73a92f71
Cross platform fix for Arduino Serial port not there.
...
Fix for #428
2014-10-04 22:56:52 +01:00
Dave C-J
e95d4a9010
Update Ardunio node slightly in line with latest Windows Serialport patches.
...
(But there is still a possibly bad underlying problem
- error not being caught - in the upstream npm - reported.)
2014-10-04 22:26:02 +01:00
Dave C-J
d950ceceea
Tweak IRC fix #430 to not create multiple clients on extended reconnects
2014-10-03 22:27:58 +01:00
Dave C-J
43f55c6038
Add IRC server link check and retry after timeout
...
Fix for #430
2014-10-03 21:15:09 +01:00
Nick O'Leary
489c552dbe
Reset settings between tests
2014-10-03 15:05:37 +01:00
Nick O'Leary
c223e7f58f
Avoid writing unchanged settings
2014-10-03 14:47:23 +01:00
Nick O'Leary
86d4179039
Merge pull request #421 from hindessm/fix-supertest-usage
...
Fix supertest usage to correctly throw errors.
2014-10-01 22:48:00 +01:00
Nick O'Leary
b0e2b3d525
Merge pull request #429 from hindessm/fix-build-without-nock
...
Make nock an optional dependency.
2014-10-01 20:40:57 +01:00
Mark Hindess
ea6313c9a1
Make nock an optional dependency.
2014-10-01 18:14:40 +01:00
Nick O'Leary
c631b393e9
Merge pull request #427 from hindessm/add-nock-to-node-test-helper
...
Add nock to node test helper.
2014-10-01 14:59:23 +01:00
Mark Hindess
8df9eee6d2
Add nock to node test helper.
2014-10-01 14:35:51 +01:00
Nick O'Leary
322a6ebed3
Merge pull request #419 from hindessm/add-credentials-to-test-helper
...
Add credentials support to node test helper.
2014-10-01 11:13:28 +01:00
Mark Hindess
669f3d9ba1
Fix supertest usage to correctly throw errors.
2014-09-30 14:59:37 +01:00
Mark Hindess
059ec3b50c
Add credentials support to node test helper.
2014-09-30 08:01:40 +01:00
Dave C-J
4f496c37be
Force file node to write "binary" - so as not to expand binary like chars
...
into utf encoding. Helps with writing strings that happen to be binary
encoded rather than buffers.
2014-09-26 21:19:32 +01:00
Nick O'Leary
d3956f9816
Ensure valid mongo selector object
2014-09-26 11:30:09 +01:00
Nick O'Leary
a5265784e8
Bump 0.9.0
2014-09-24 13:14:19 +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
8742bf354b
Missing brackets in sample node
...
Closes #414
2014-09-23 23:15:34 +01:00
Nick O'Leary
9152daa13b
Fix race condition on saving config
2014-09-23 17:09:23 +01:00
Nick O'Leary
6305c5b55f
Use request.del in cli request module
2014-09-23 16:35:17 +01:00
Nick O'Leary
723a3e628e
Add cli tests
2014-09-23 00:14:30 +01:00
Nick O'Leary
af0b740fbd
Rework nr-cli
...
- better componentisation
- add 'search' option to look for npm modules
- add 'target' option to point at non-default installs
2014-09-22 22:59:42 +01:00
Nick O'Leary
31255bd66b
Handle blank config file
2014-09-22 21:35:30 +01:00
Nick O'Leary
1f95071a37
Only normalise known headers in http node
2014-09-22 20:48:06 +01:00
Nick O'Leary
5f77531a39
Merge pull request #410 from anna2130/mongo
...
Updates to MongoDB nodes
2014-09-22 16:45:19 +01:00
Anna Thomas
23b5ac4582
Allow user to select collection in mongo nodes using msg.collection
2014-09-22 16:16:21 +01:00
Anna Thomas
4f2e4b58e4
Added update functionality to mongodb out node
2014-09-22 16:09:56 +01:00
Nick O'Leary
abd3d752f5
Add deprecation warnings to nodes
2014-09-22 15:57:16 +01:00
Nick O'Leary
8d54126127
Pretty-print the .config.json file for ease of debug
2014-09-22 14:34:53 +01:00
Nick O'Leary
55c830b812
Add disableEditor option
...
Closes #409
2014-09-22 14:34:17 +01:00
Nick O'Leary
e48cbafbd6
Fix jshint test
2014-09-22 13:22:23 +01:00
Nick O'Leary
9bfc6d376b
Use module:node name to generate set id
2014-09-22 13:15:19 +01:00
Nick O'Leary
c98b9dfaa3
Don't filter errored nodes in result list
2014-09-20 22:42:48 +01:00
Nick O'Leary
ea89aff3db
Handle node-load errors properly
...
Fixes #403
Certain load errors were causing start-up to fail. In particular,
an npm module with a missing .js file.
2014-09-20 22:25:00 +01:00
Nick O'Leary
e2be5c6383
Don't assume errors have stacks associated with them
2014-09-20 21:29:46 +01:00
Nick O'Leary
f939d52551
Restore node ids from config list
2014-09-20 21:29:46 +01:00
Dave C-J
ed1da5cf7b
Add try/catch to websocket to fix #402
...
Also allow buffer out as binary if required. (ie don't try and stringify a buffer)
2014-09-18 17:10:01 +01:00
Dave C-J
a718f34c58
Expand the non-functional sample to have an input to make it more useful
2014-09-18 17:06:35 +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
00cb8d5bce
Update package dependencies
...
Closes #345
Also fixes a resulting test failure with the HTML parse node
2014-09-17 23:49:28 +01:00
Nick O'Leary
ebb0d1a46d
Handle invalid property values in Switch node
...
Fixes #404
2014-09-17 22:31:26 +01:00
Dave C-J
f04e42e4da
Fix bug in number handling in CSV parser
...
Thanks Anupam !
2014-09-16 19:05:16 +01:00
Dave C-J
22329ca106
Add hourly option to Inject Node time interval mode,
...
Fix a few UI wrinkles when editing.
2014-09-15 12:32:28 +01:00
Nick O'Leary
c4932e3cf9
Merge pull request #401 from anna2130/master
...
Added count and aggregate operations to MongoDB In node
2014-09-15 09:37:56 +01:00
Anna Thomas
bc8acd24ae
Added count and aggregate operations to MongoDB In node
2014-09-15 09:33:36 +01:00
Dave C-J
a0ac79384d
Tidy up some little wrinkles in Inject node html labels etc
2014-09-14 18:38:30 +01:00
Dave C-J
7e2dbb13e4
Major Update to CSV node.
...
now handles lines, files, column names in first row, etc etc
2014-09-12 16:50:01 +01:00
Nick O'Leary
429a87f88a
Merge pull request #400 from hindessm/add-ensure-buffer-helper
...
Add ensureBuffer helper for nodes.
2014-09-10 13:33:23 +01:00
Mark Hindess
c0fcc20f23
Add ensureBuffer helper for nodes.
2014-09-10 12:46:56 +01:00
Nick O'Leary
a3497a5fc7
Merge pull request #398 from anna2130/master
...
Fixed _spec.js test
2014-09-10 09:53:02 +01:00
Anna Thomas
54a2923c65
Fixed _spec.js test
2014-09-10 09:48:27 +01:00
Dave C-J
400f51d921
Allow IRC name changes when node chanel not set.
...
Trying to f ix #397
2014-09-09 22:14:52 +01:00
Nick O'Leary
50f1a17920
Merge pull request #396 from hindessm/delete-should-not-require-defined-payload
...
Fix logic so defined msg.payload is not prereq for delete.
2014-09-09 20:47:54 +01:00
Mark Hindess
72dcb53d23
Fix logic so defined msg.payload is not prereq for delete.
2014-09-09 20:01:54 +01:00
Nick O'Leary
0111ab8901
Merge pull request #393 from hindessm/remove-unused-vars-in-nodes
...
Remove unused variables.
2014-09-08 22:26:16 +01:00
Mark Hindess
fd04b5851b
Remove unused variables.
2014-09-08 21:53:15 +01:00
Nick O'Leary
94b196bfcf
Merge pull request #392 from hindessm/remove-redundant-null-checks
...
Remove redundant msg != null checks.
2014-09-08 21:31:55 +01:00
Mark Hindess
5d9c16ffbf
Remove redundant msg != null checks.
2014-09-08 21:10:06 +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
d30f1e639b
Merge pull request #391 from hindessm/remove-undefined-reference-to-node
...
Remove reference to undefined variable 'node'.
2014-09-08 20:38:00 +01:00
Nick O'Leary
27149fe10f
Merge pull request #390 from hindessm/fix-base64-udp-send
...
Fix base64 udp send
2014-09-08 20:20:22 +01:00
Nick O'Leary
3880bd7ca4
Merge pull request #389 from hindessm/remove-spurious-dollar
...
Remove spurious dollar.
2014-09-08 20:20:12 +01:00
Nick O'Leary
7ec7354755
Merge pull request #388 from hindessm/fix-emailkey-variable
...
Fix variable name emailkey which should be globalkeys.
2014-09-08 20:20:03 +01:00
Nick O'Leary
afa201790d
Merge pull request #387 from hindessm/fix-scope-of-data
...
Avoid wasting time preparing the payload if operation is a delete.
2014-09-08 20:19:54 +01:00
Dave C-J
cba4791b65
MQTT node better check for topic existing
2014-09-08 20:19:25 +01:00
Mark Hindess
3ec07a9161
Remove reference to undefined variable 'node'.
2014-09-08 20:19:20 +01:00
Mark Hindess
6368a43a02
Fix base64 encoding of msg.payload in UDP out node.
2014-09-08 20:13:08 +01:00
Mark Hindess
39d0419b65
Remove spurious dollar.
2014-09-08 20:04:11 +01:00
Dave C-J
ab4d3c025e
MQTT node should only send message if topic actually specified (string)
2014-09-08 20:01:28 +01:00
Mark Hindess
19c3a7f36c
Fix variable name, emailkey should be globalkeys.
...
Also, remove unused reference to util.
2014-09-08 19:59:22 +01:00
Mark Hindess
22b32b1684
Avoid wasting time preparing the payload if operation is a delete.
2014-09-08 19:53:03 +01:00
Nick O'Leary
1a5a548fbf
Incorrect credentials in mongo node
...
Closes #386
2014-09-08 19:25:12 +01:00
Nick O'Leary
c03db99a21
Merge pull request #363 from kylegordon/patch-1
...
Provide a process.title
2014-09-08 14:58:22 +01:00
Nick O'Leary
141c8a1faf
Merge pull request #385 from zobalogh/delay-test-fix
...
Adding drop check to Delay tests
2014-09-08 14:48:06 +01:00
Nick O'Leary
3e3b388ca7
Prevent adding empty twitter creds
...
Closes #372
2014-09-08 14:41:39 +01:00
zobalogh
4706b814dd
Adding drop check to Delay tests
2014-09-08 14:26:35 +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
e3f72a697e
Ignore coveralls upload errors
...
Part of #299
2014-09-08 14:02:53 +01:00
Dave Conway-Jones
148fbefbbb
Merge pull request #377 from hindessm/fa-icon-migration
...
Fa icon migration
2014-09-08 13:54:32 +01:00
Mark Hindess
3f054bdf7e
Migrate to fa icons.
2014-09-08 12:07:39 +01:00
Nick O'Leary
995268c5df
Handle node imports containing tab nodes
...
Closes #172
2014-09-08 10:54:06 +01:00
Dave C-J
a03861cb6d
Indent range node UI more in style with other nodes.
2014-09-07 22:13:10 +01:00
Dave C-J
426453d925
make tcp and udp node fa icons more consistent
2014-09-07 22:12:25 +01:00
Dave C-J
ef9255a87c
set defaults in trigger node rather than confusing placeholders
2014-09-07 22:11:58 +01:00
Dave C-J
5872541b1b
Tweak info of watch and file nodes to be more style consistent with others.
2014-09-07 22:11:00 +01:00
Nick O'Leary
6076be011a
Merge pull request #379 from hindessm/fix-undefined-class-on-labels
...
Correct logic to avoid 'undefined' label style being inserted.
2014-09-05 23:12:55 +01:00
Nick O'Leary
67d5bc2399
Merge pull request #380 from hindessm/trivial-html-fixes
...
Fix two trivial HTML bugs.
2014-09-05 23:12:32 +01:00
Nick O'Leary
c91a3f3f78
Delay node drop immediate not working
...
Fixes #381
2014-09-05 16:04:35 +01:00
Dave C-J
083dc213f0
Check to see serialport exists before opening in Arduino node
...
Fixes #382
now warns if chosen serial port doesn't exist - rather than crashing.
So is now recoverable without manually editing flows.
(Also moved to fa-icons and Arduino category)
2014-09-05 15:10:40 +01:00
Nick O'Leary
56768fbf2c
HTTP In delete configuration missing errorHandler
...
Fixes #384
2014-09-05 13:19:05 +01:00
Nick O'Leary
293725afcd
Reuse vm context to speed up Function nodes
...
If the NODE_RED_FUNCTION_TIME environment variable is set, the
function nodes publish a status of how long the function took
to run, in ms.
2014-09-05 10:40:57 +01:00
Mark Hindess
e90054c93c
Fix two trivial HTML bugs.
2014-09-04 19:59:30 +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
06542d95f2
fix email html fa icons... seemed to get lost in merge conflict
2014-09-04 08:20:13 +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
Dave C-J
fc679adefb
Allow TCP node option to break connections per message (and auto
...
reconnect) - eg for file trnasfer to indicate EOF.
Change to FA icons.
2014-09-03 20:06:29 +01:00
Dave C-J
e136080888
Tiny wrinkle (non critical) in httpin node
2014-09-03 20:04:38 +01:00
Dave C-J
a05c0f4bb2
Fix RPi node - gpio path as per @Croady suggestion
2014-09-03 20:03:52 +01:00
Dave C-J
fa8d31609e
fix merge email.js
2014-09-03 19:39:26 +01:00
Dave C-J
7da7887ed2
Add info to IRC node re RAW commands
2014-09-03 19:37:19 +01:00
Nick O'Leary
5a81ce8569
Merge pull request #375 from hindessm/rename-red-utils
...
Rename RED.utils to RED.util
2014-09-03 13:54:31 +01:00
Mark Hindess
0a009e2a15
Rename RED.utils to RED.util. Fixes #364 .
2014-09-03 13:20:45 +01:00
Nick O'Leary
8e78df09da
Don't clear selection on ctrl-click
...
Fixes #373
2014-09-02 16:00:01 +01:00
Nick O'Leary
16048112c6
Merge pull request #370 from jhr007/patch-2
...
Add checkbox support so config dialogs can save checkbox values
2014-09-01 20:31:17 +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
0138eb3f5f
Merge pull request #343 from zobalogh/range-tests
...
Adding range tests
2014-09-01 10:23:55 +01:00
Nick O'Leary
4f36435628
Merge branch 'zobalogh-delay-test'
2014-09-01 10:22:50 +01:00
Nick O'Leary
9876570189
Merge delay node test
...
Fixes #346
Closes #347
2014-09-01 10:22:29 +01:00
Nick O'Leary
961c9f3fa9
Add ability to tweet images
...
Closes #117
2014-09-01 10:16:37 +01:00
Nick O'Leary
27e34f20fb
Merge pull request #368 from jhr007/patch-1
...
Update index.html
2014-09-01 09:00:42 +01:00
jhr007
eb1e967be6
Update index.html
...
Closing head tag
2014-08-31 20:18:12 -05:00
Dave C-J
06e48e9cb1
make IRC node handle RAW messages more cleanly.
2014-08-31 23:50:56 +01:00
Dave C-J
8c8c9b13b9
Addressing the first message bug in #346 .
...
Not closing the Issue (yet) as there still seems to be some discussion re timing.
2014-08-31 13:29:38 +01:00
Dave C-J
42c3ee430f
Slight tweak to IRC status updates to clear on start.
2014-08-30 13:24:09 +01:00
Dave C-J
dfc427c192
Downplay twitter geo-area capability (from warn to log)
2014-08-30 13:23:24 +01:00
Dave C-J
c3926f6513
Better template handling in CSV node - (can cope with quoted column names etc)
2014-08-30 13:22:22 +01:00
Dave C-J
64c95f1d1b
Make IRC node channel check case-insensitive. Closes #365
...
Thanks _jhr007_ for the heads up.
Also now handle multiple output channels from a node.
And add status indicators for connectied/joined.
2014-08-30 10:41:12 +01:00
Nick O'Leary
fae8b35961
Allow spaces in node category names
...
Fixes #361
2014-08-29 20:37:30 +01:00
Dave C-J
0a3c889cc6
Allow IRC to listen on multiple channels from one or multiple nodes...
...
Issue #362
2014-08-29 16:41:32 +01:00
Kyle Gordon
98338508d2
Provide a process.title
...
Set the process.title to 'node-red'.
Helps identify node-red amongst a plethora of other nodejs processes
Aids monitoring systems in identifying running processes
2014-08-29 16:22:01 +01:00
Nick O'Leary
44ec551ed9
Tweak example settings for functionGlobalContext
...
Make it more obvious there should be a single hash, not multiple
2014-08-29 09:35:14 +01:00
Dave C-J
e256110eac
Slight tweak to text spacing in IRC node
...
(Thanks to _jhr007_ for spotting)
Also taking chance to update to fa icons.
Closes #359
2014-08-28 21:05:00 +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
6f888068d2
Merge pull request #358 from hindessm/utils-ensure-string
...
Add ensure string helper for nodes.
2014-08-28 16:53:34 +01:00
Mark Hindess
a9e72858df
Add ensure string helper for nodes.
2014-08-28 14:25:41 +01:00
Nick O'Leary
e09ac859d3
Merge pull request #354 from hindessm/redis-string-fix
...
Make more effort to stringify sensibly when storing in redis.
2014-08-28 14:15:53 +01:00
Nick O'Leary
e1ba2f7254
Merge pull request #357 from hindessm/fix-help
...
Fix --help so it doesn't crash.
2014-08-28 14:15:23 +01:00
Mark Hindess
7abae51b42
Fix --help so it doesn't crash.
2014-08-28 13:59:56 +01:00
Nick O'Leary
8febfbe329
Disable tail truncated test until it behaves on Travis
2014-08-28 00:22:12 +01:00
Nick O'Leary
bac288fa52
Add more delays to tail node test
2014-08-28 00:14:25 +01:00
Nick O'Leary
691ef12e04
Add more tail node tests
...
- add 'file doesn't exist initially' text
- remove resource file as it is programmatically modified by the test
- tweak test checking in truncated file test
2014-08-27 23:29:26 +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
Mark Hindess
025e4ab6d1
Make more effort to stringify sensibly when storing in redis.
2014-08-27 12:41:56 +01:00
Dave C-J
2d92b44f52
Tidy up tail node tests
2014-08-27 10:41:25 +01:00
Dave C-J
6b04d512ae
add consistent timeouts to tail file write tests
2014-08-27 10:08:44 +01:00
Dave C-J
df751be331
Make all tail node test writres are sync
2014-08-27 09:51:30 +01:00
Dave C-J
c38aa91a4d
put Debug node active flag back to boolean. (mea culpa)
2014-08-25 15:42:12 +01:00
Dave C-J
a74009caa9
more consistent use of "true"/"false" for options in Debug node
2014-08-25 15:37:31 +01:00
Dave C-J
40c87ab14c
Make defaults into strings rather than boolean.
...
Fixes #350
2014-08-25 15:09:52 +01:00
Dave C-J
ecbf4add6b
Modify Tail node to only send new messages
...
Now with test that works with it.
Part of Issue #326
Now need to redo with libs that support windows.
2014-08-22 12:44:55 +01:00
Dave C-J
a8ade083d4
Add QoS and Retain to the MQtt node options
2014-08-22 12:44:54 +01:00
Dave C-J
f1d2b7ffa0
change file and mongodb nodes to use fa icons
2014-08-22 12:44:54 +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
zobalogh
3823150e46
Adding range node tests
2014-08-19 11:45:17 +01:00
Nick O'Leary
7042d87444
Handle missing file/modules in Add node api
2014-08-18 21:59:19 +01:00
Nick O'Leary
4d6846047f
Dynamic node add not listing added types properly
2014-08-18 21:12:15 +01:00
Nick O'Leary
8ddfa9eb29
Migrate email node to credentials system
2014-08-18 17:15:14 +01:00
Nick O'Leary
c0842455b9
Update email node to use nodemailer 1.x api
...
Fixes #334
2014-08-18 15:47:37 +01:00
Nick O'Leary
e8c4caaf74
Remove cheerio parse of node html files on start-up
2014-08-18 14:34:47 +01:00
Nick O'Leary
76e8512869
Temporarily remove Mongo Update option
...
Part of #335
2014-08-18 11:30:48 +01:00
Nick O'Leary
907ce5c079
MQTT Node: allow publishing of Buffer payloads
...
Closes #341
2014-08-18 11:27:52 +01:00
Nick O'Leary
3c31ef4643
Merge pull request #336 from zobalogh/switch-test
...
Adding Switch Node tests
2014-08-18 11:15:04 +01:00
Nick O'Leary
9734c755ae
Merge pull request #342 from zobalogh/change-node-tests
...
Adding Change Node tests
2014-08-18 11:14:04 +01:00
zobalogh
89825dae04
Adding Change Node tests
2014-08-15 12:19:07 +01:00
zobalogh
ce4d44ea48
Adding Switch Node tests
2014-08-14 11:27:21 +01:00
Nick O'Leary
105b25287f
Reverting tail node change to fix build
...
Fixes #337
A useful change but need the corresponding tests to be updated and also properly publicised on the mailing list as it is a change in behaviour.
2014-08-13 22:43:15 +01:00
Dave Conway-Jones
b3c3bffeaa
tweak tail.js to only send changed/new lines.
2014-08-12 19:33:41 +01:00
Nick O'Leary
972e6fc6b3
Tidy editor code to pass jshint
2014-08-08 00:01:35 +01:00
Nick O'Leary
fb2f307a26
Remove unnecessary semicolon
2014-08-07 22:24:02 +01:00
Nick O'Leary
58c2f5dd3d
Add remove node api
2014-08-07 22:20:06 +01:00
Nick O'Leary
43ad8706aa
Update tail node tests to use resource file
2014-08-07 14:55:34 +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
15494dda84
Merge pull request #332 from zobalogh/tail-done-fix
...
Fixing test termination
2014-08-07 13:34:46 +01:00
Nick O'Leary
c6a98da256
Merge pull request #331 from hbeeken/issue-326
...
Proposed fix for Issue #326
2014-08-07 13:33:57 +01:00
Nick O'Leary
2e2b5ad13e
Merge pull request #327 from hbeeken/html-node-tests
...
Tests for HTML node
2014-08-07 13:30:13 +01:00
zobalogh
ea22ffa2bf
Fixing test termination
2014-08-07 13:23:20 +01:00
hbeeken
fadd2167f5
Closing file handles to fix test failures on windows
2014-08-07 12:03:03 +01:00
hbeeken
82fb15896c
Tests for HTML node
2014-08-06 11:34:30 +01:00
Nick O'Leary
960d15491d
Add node add/remove/enable/disable apis to registry
2014-08-04 17:12:54 +01:00
Nick O'Leary
495dd3f2e0
Merge pull request #325 from hbeeken/fix-registry-tests-for-windows
...
Using path.sep rather than "/" so tests run on windows as well as linux
2014-08-04 11:35:32 +01:00
hbeeken
8c0c843367
Using path.sep rather than "/" so tests run on windows as well as linux
2014-08-04 11:27:26 +01:00
Nick O'Leary
4ac4995762
Merge pull request #320 from hbeeken/xmlparser-node-tests
...
Adding tests for XML parser node
2014-08-04 11:14:21 +01:00
hbeeken
118c50ce8e
Fixing tests by clearing out the node registry between tests.
2014-08-04 10:59:08 +01:00
hbeeken
38c541361e
Removing unreachable catch blocks
2014-08-04 10:57:00 +01:00
hbeeken
8eb8ac0f88
Adding tests for XML parser node
2014-08-04 10:56:49 +01:00
Nick O'Leary
f7f58a2347
Add registry test for node module loading
2014-08-03 21:17:24 +01:00
Nick O'Leary
1697aee9f6
Add loadNode api to registry.js
2014-08-01 23:42:01 +01:00
Nick O'Leary
3ee98e730d
Ensure test resource icons directory exists
2014-08-01 22:23:32 +01:00
Nick O'Leary
d6c5f9b57f
Add debug for eventEmitSpy
...
Debugging a travis-only build failure
2014-08-01 22:19:33 +01:00
Nick O'Leary
882b593ba4
Add missing registry test resources
2014-08-01 22:09:40 +01:00
Nick O'Leary
79e9641c09
Big rework of registry.js
...
Part of #322
Loads node.html files before node.js files
Adds helper.unload which must be called by node tests
to clear the registery of nodes
2014-08-01 22:05:49 +01:00
Nick O'Leary
a869642705
Split up tests in gruntfile
2014-08-01 22:02:12 +01:00
Nick O'Leary
8ee5be7031
Restore stubs in credentials_spec
2014-08-01 21:56:27 +01:00
Nick O'Leary
8e8e13a3a2
Add comms.stop to tidy up keepalive timer
2014-08-01 21:55:05 +01:00
Nick O'Leary
6c464ed3a4
Merge pull request #324 from zobalogh/tail-test
...
Adding tail node tests
2014-08-01 16:30:04 +01:00
zobalogh
716d0c1135
Adding tail node tests
2014-08-01 16:22:02 +01:00
Nick O'Leary
989f3459d5
Merge pull request #323 from zobalogh/further-registry-tests
...
Adding test for registry cheerio
2014-07-31 17:25:31 +01:00
Nick O'Leary
b8f40d4e39
Merge pull request #319 from hindessm/restrict-library-entry-names
...
Prohibit library entry names from containing '../'.
2014-07-31 17:24:57 +01:00
zobalogh
401afcbadd
Adding test for registry cheerio
2014-07-31 16:49:19 +01:00
Nick O'Leary
a170623b4c
Merge pull request #315 from zobalogh/registry-test-delivery
...
Adding registry node load tests
2014-07-31 14:54:56 +01:00
zobalogh
d9544e4ac5
Adding registry node load tests
2014-07-31 14:43:26 +01:00
Nick O'Leary
530a1fce81
Merge pull request #321 from hbeeken/remove-unnecessary-require
...
Remove duplicate require("util")
2014-07-31 14:19:53 +01:00
Mark Hindess
b7428ab627
Prohibit library entry names from containing '../'.
2014-07-31 13:59:24 +01:00
hbeeken
5a714242a4
Remove duplicate require("util")
2014-07-31 13:53:11 +01:00
Nick O'Leary
bc8ea998bb
Merge pull request #318 from hbeeken/json-node-tests
...
JSON node tests
2014-07-31 12:44:17 +01:00
hbeeken
e179753853
Error path tests for 70-JSON.js
2014-07-31 11:02:55 +01:00
hbeeken
80676da300
Adding test for JSON node
2014-07-31 11:02:43 +01:00
Nick O'Leary
f4ffdce3d0
Merge pull request #317 from hindessm/fix-flows-missing-types-logic
...
Fix missing types logic.
2014-07-31 10:01:27 +01:00
Nick O'Leary
32d14ddbcf
Merge pull request #316 from hindessm/fix-server-http-response
...
Fix HTTP response; 204 should be code not body.
2014-07-31 10:00:00 +01:00
Nick O'Leary
3e76e73839
Merge pull request #312 from hbeeken/test-credentials-registerEndpoint
...
Adding unit tests for credentials.registerEndpoint
2014-07-31 09:59:42 +01:00
hbeeken
9c0b65a4c2
Adding tests for credentials.registerEndpoint
2014-07-31 08:41:43 +01:00
Mark Hindess
2f882913f0
Fix missing types logic.
...
missingTypes.length was greater than zero so the only way it can be
zero immediately afterwards is if splice is called so move the zero
check after the splice.
Despite what istanbul reports this function is covered by the tests.
2014-07-31 08:36:54 +01:00
Mark Hindess
e407fc857e
Fix HTTP response; 204 should be code not body.
2014-07-31 07:04:10 +01:00
Nick O'Leary
30a94bdaf5
Merge pull request #313 from hindessm/more-comms-tests
...
More comms tests
2014-07-30 17:03:10 +01:00
Mark Hindess
195f581da7
Remove redundant assignment.
...
The publish immediately overwrites this time so there isn't much
point setting it.
2014-07-30 14:33:31 +01:00
Mark Hindess
a8c491bf2b
Add comms keep alive tests.
2014-07-30 14:33:31 +01:00
Mark Hindess
8e30910065
Add webSocketKeepAliveTime setting to aid testing.
2014-07-30 14:33:31 +01:00
Nick O'Leary
47f7cb52d8
Merge pull request #311 from hbeeken/test-credentials-extract
...
Adding unit tests for credentials.extract
2014-07-30 12:51:49 +01:00
Nick O'Leary
14c36687e0
Merge pull request #310 from hindessm/more-node-tests
...
More tests for the Node base class.
2014-07-30 12:51:41 +01:00
hbeeken
a3cb0e996d
Adding unit tests for credentials.extract
2014-07-30 10:56:42 +01:00
Mark Hindess
bbdfa03687
Test Node status method.
2014-07-30 10:39:48 +01:00
Mark Hindess
d7b3e86096
Test Node send for req/res behaviour.
2014-07-30 10:29:37 +01:00
Nick O'Leary
1ce4765ed8
Merge pull request #309 from hindessm/more-function-node-tests
...
Add more tests for function node.
2014-07-30 09:54:36 +01:00
Nick O'Leary
a9ee417c1f
Merge pull request #308 from hindessm/avoid-debug-payload-corruption
...
Avoid corrupting message payload while logging.
2014-07-30 09:54:10 +01:00
Mark Hindess
53d9eab94e
Add more tests for function node.
2014-07-30 09:32:17 +01:00
Mark Hindess
96ea81894d
Avoid corrupting message payload while logging.
2014-07-30 08:17:40 +01:00
Nick O'Leary
b1f14031a9
Merge pull request #303 from hbeeken/test-registerType-with-credentials
...
Adding test for index.registerType with credentials defined
2014-07-29 23:56:52 +01:00
Nick O'Leary
575d166947
Merge pull request #307 from hindessm/start-testing-nodes
...
Some initial tests for core nodes.
2014-07-29 23:55:54 +01:00
hbeeken
796810f460
Test to ensure credential definition is defined after index.registerType
2014-07-29 14:58:49 +01:00
Mark Hindess
74ae2eca3e
Start adding tests for nodes.
2014-07-29 12:59:42 +01:00
Nick O'Leary
ac1e750f14
Merge pull request #304 from hbeeken/test-credentials
...
Add test for case if loading credentials from storage has an error
2014-07-29 11:24:18 +01:00
Nick O'Leary
a396bca06a
Merge pull request #306 from hindessm/simplify-debug-node
...
Simplify debug node message processing.
2014-07-29 10:24:42 +01:00
Mark Hindess
deff93f95e
Simplify debug node message processing.
...
Make processing more consistent irrespective of complete flag.
Avoid processing when node is inactive.
Avoid duplicate code.
2014-07-29 09:41:47 +01:00
Dave C-J
78edf89e52
Allow File node to write out buffers of binary data
2014-07-29 08:57:27 +01:00
Nick O'Leary
00a9542edf
Fix typo in example file
2014-07-29 08:55:29 +01:00
Nick O'Leary
31d72b2193
Merge pull request #305 from hbeeken/test-index-remove-redundant-test
...
Remove redundant "can be required without errors" test
2014-07-28 20:50:16 +01:00
hbeeken
d09c992ecc
Remove redundant "can be required without errors" test
2014-07-28 20:24:01 +01:00
Nick O'Leary
e07a523c3b
Fix node html compression and refactor registry
2014-07-28 16:37:39 +01:00
Nick O'Leary
3d31a0abca
Merge pull request #302 from hbeeken/fix-ui-windows-test-failure
...
Removing assumption that /tmp exists so test runs on Windows
2014-07-28 15:47:12 +01:00
hbeeken
132dcdeb43
Add test for case if loading credentials from storage has an error
2014-07-28 14:29:35 +01:00
hbeeken
50b28842a4
Removing assumption that /tmp exists so test runs on Windows
2014-07-28 12:10:13 +01:00
Nick O'Leary
536a0c9142
Only trigger dbl click on single node
...
Fixes #301
2014-07-27 22:08:27 +01:00
Nick O'Leary
76a6730ef4
Merge pull request #289 from zobalogh/storage-interface-dev
...
Defining storage interface
2014-07-25 15:00:40 +01:00
Nick O'Leary
0c8b54253a
Merge pull request #300 from zobalogh/ui-caller-delivery
...
Removing accidental requires
2014-07-25 15:00:22 +01:00
zobalogh
1f09c29aeb
Removing accidental requires
2014-07-25 14:50:54 +01:00
zobalogh
d58788f721
Defining storage interface.
2014-07-25 14:44:15 +01:00
Nick O'Leary
e299baf1a0
Refactor inner workings of registry.js
2014-07-24 23:16:41 +01:00
Nick O'Leary
af1bcf33c1
Merge pull request #297 from zobalogh/ui-caller-delivery
...
Adding UI unit tests
2014-07-24 16:26:45 +01:00
Nick O'Leary
7abda9bc52
Merge pull request #298 from hindessm/test-comms
...
Add comms tests
2014-07-24 15:29:06 +01:00
Mark Hindess
2c1da2d546
Add comms tests.
2014-07-24 14:47:45 +01:00
Mark Hindess
8506fd0c4b
Do not crash on malformed json message on websocket.
2014-07-24 14:46:04 +01:00
zobalogh
6c093eef99
Fixing settings usage in UI
2014-07-24 14:35:01 +01:00
zobalogh
12a06cacce
Adding UI unit tests
2014-07-24 14:35:01 +01:00
Nick O'Leary
b50b23318b
Merge pull request #295 from hbeeken/test-node-index
...
Adding unit test for nodes/index.js
2014-07-24 12:36:52 +01:00
Nick O'Leary
166a798c09
Merge pull request #293 from hindessm/remove-some-unused-variables
...
Remove some unused variables.
2014-07-24 12:35:54 +01:00
Nick O'Leary
4096589d21
Fix README link and add badges
...
Closes #296
2014-07-24 12:33:57 +01:00
hbeeken
2e86a41944
Adding unit test for nodes/index.js
2014-07-24 09:41:47 +01:00
Nick O'Leary
6bc4b235bb
Merge pull request #291 from hindessm/test-library
...
Add library tests
2014-07-23 23:06:12 +01:00
Nick O'Leary
38390c6285
Merge pull request #292 from hindessm/handle-storage-error
...
Fail with error rather than silently on storage init problems.
2014-07-23 23:05:39 +01:00
Mark Hindess
e96fff573d
Remove some unused variables.
2014-07-23 23:04:08 +01:00
Nick O'Leary
16a5aa7368
Merge pull request #294 from hindessm/trivial-whitespace-fixes
...
Trivial whitespace fixes
2014-07-23 23:03:37 +01:00
Mark Hindess
f331d906b4
Fail with error rather than silently on storage init problems.
2014-07-23 22:54:16 +01:00
Mark Hindess
d7445a5bb9
Replace tabs with 4 space indent.
2014-07-23 22:10: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
Mark Hindess
5b5b7d2be1
Add library tests
2014-07-23 21:38:57 +01:00
Nick O'Leary
55679694c9
HTTP In - fix header iterator
2014-07-23 21:28:53 +01:00
Nick O'Leary
c079576e49
Remove websocket listeners on close
...
Fixes #285
2014-07-23 21:18:07 +01:00
Nick O'Leary
5179cc77f5
Merge pull request #290 from hindessm/unused-red-vars
...
Remove unused references to red/red.js
2014-07-23 20:50:38 +01:00
Mark Hindess
406581d522
Remove unused references to red/red.js
2014-07-23 20:02:28 +01:00
Nick O'Leary
9a60294813
Merge pull request #286 from zobalogh/master
...
Adding a unit test that checks if every .js file in the core
2014-07-23 13:07:11 +01:00
Dave C-J
82036dd84a
Simple fix to check/force http: to close #288
...
Checks url starts http: or https: - if not add http: - at least then it breaks gently.
Also add resultant url to any error payload if request fails in order to make debug easier.
2014-07-23 12:09:34 +01:00
zobalogh
b29062a931
Add test that every source file has a test.
2014-07-23 11:40:46 +01:00
Nick O'Leary
14a1899c23
Merge pull request #287 from hindessm/spurious-require-of-events-singleton
...
Remove spurious require of the events singleton.
2014-07-23 10:19:05 +01:00
Mark Hindess
d51eadb6c2
Remove spurious require of the events singleton.
2014-07-22 12:43:02 +01:00
Nick O'Leary
bead24e760
HTTP In node: Check credentials exist before using
2014-07-22 11:33:52 +01:00
Dave C-J
0b308deb79
Slight tidy to MQTT - move to fa icons - use built in close method.
2014-07-21 20:29:10 +01:00
Nick O'Leary
d1300c0632
Remove unnecessary semi-colon
2014-07-21 16:18:22 +01:00
Nick O'Leary
014fca2d61
Add some function-level docs
2014-07-21 16:07:28 +01:00
Nick O'Leary
fea6280bff
Tidy up runtime credentials
2014-07-21 15:56:38 +01:00
Nick O'Leary
7687cf6661
Merge pull request #283 from hindessm/missing-require-util
...
Add missing util require.
2014-07-21 15:22:15 +01:00
Mark Hindess
63ebee22dd
Add missing require.
2014-07-21 13:29:54 +01:00
Nick O'Leary
4f8ddad935
Merge pull request #282 from hindessm/more-node-tests
...
Test that wires to non-existent nodes are ignored.
2014-07-21 10:08:49 +01:00
Dave Conway-Jones
bd70c4b6e7
Merge pull request #281 from hindessm/trivial-switch-spelling-fix
...
Trivial spelling fix.
2014-07-21 09:57:59 +01:00
Mark Hindess
1414308179
Test that wires to non-existent nodes are ignored.
2014-07-21 09:26:48 +01:00
Mark Hindess
fd6682cfce
Trivial spelling fix.
2014-07-21 08:54:37 +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
d67a54a66a
Update HTTP Request node to new credentials api
2014-07-19 00:26:46 +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
760dd022dc
Migrate MQTT nodes to new credentials api
2014-07-19 00:25:22 +01:00
Nick O'Leary
c379f1b197
Migrate mongo node to new credential api
2014-07-19 00:25:22 +01:00
Dave C-J
4770a06679
yet more JShint cleaning.
2014-07-18 21:49:48 +01:00
Dave C-J
252135532d
more JShint cleaning and fa icons added
2014-07-18 21:49:20 +01:00
Dave C-J
aaab0d0d0b
Add B+ GPIO support to Pi Node
2014-07-18 15:08:16 +01:00
Nick O'Leary
aa35484a30
Prepopulate node credentials if present
2014-07-18 14:23:32 +01:00
Nick O'Leary
a6a0352b70
Add credential registration to RED.nodes.registerType
2014-07-18 14:20:49 +01:00
Nick O'Leary
f80c41058c
Properly escape html entities in debug
...
Fixes #276
2014-07-17 22:13:04 +01:00
Nick O'Leary
84a0e8ceff
Add version information to /settings
2014-07-17 21:32:30 +01:00
Dave C-J
8b6c14b05d
update mongodb to fa-icons and fix name position in edit config...
2014-07-17 17:21:35 +01:00
Nick O'Leary
cb854c40ba
Merge pull request #278 from hindessm/fix-jshint-of-tests
...
Fix jshint 'tests' definition.
2014-07-17 16:12:16 +01:00
Mark Hindess
bf4369a01e
Fix jshint 'tests' definition.
2014-07-17 15:51:21 +01:00
Nick O'Leary
8f3de41049
Merge pull request #277 from hindessm/realistic-test-coverage
...
Make test coverage figure more realistic.
2014-07-17 12:21:51 +01:00
Dave C-J
fea68d4eda
add strict to redisout and fa-icons
2014-07-17 10:25:52 +01:00
Mark Hindess
2778c38b55
Add trivial tests to make coverage figure more realistic.
2014-07-17 09:16:43 +01:00
Mark Hindess
67bd4f373f
Move tests to match source hierarchy.
2014-07-17 09:16:43 +01:00
Nick O'Leary
2b423fe9be
Merge pull request #274 from hindessm/redis-status
...
Add status support to the redisout node.
2014-07-17 09:07:29 +01:00
Nick O'Leary
3bc4e7125b
Merge pull request #275 from hindessm/add-missing-license-header
...
Add missing license header.
2014-07-17 09:06:45 +01:00
Mark Hindess
8cedf76b70
Add missing license header.
2014-07-17 08:08:24 +01:00
Mark Hindess
79853d8583
Add status support to the redisout node.
2014-07-16 23:10:34 +01:00
Nick O'Leary
17a83436b3
Merge pull request #273 from hindessm/trivial-mqtt-var-cleanup
...
Trivial mqtt var cleanup
2014-07-16 22:10:28 +01:00
Mark Hindess
5073cf8dd7
Reduce scope of variable declaration to be consistent with MQTTInNode code.
2014-07-16 21:45:02 +01:00
Mark Hindess
77f6652fa9
Remove spurious variable declaration.
2014-07-16 21:45:02 +01:00
Nick O'Leary
3756e41522
Merge pull request #271 from Belphemur/test-creds
...
Correcting setFlow test
2014-07-16 12:15:50 +01:00
Antoine Aflalo
ac889e18d2
Correcting setFlow test
...
Because of the change made into the credentials, the saveCredentials needs to be defined for the setFLow to work
2014-07-16 13:25:43 +03:00
Nick O'Leary
9650b3ed38
Merge pull request #270 from hindessm/ignore-coverage
...
Ignore the test coverage directory.
2014-07-16 10:57:44 +01:00
Nick O'Leary
b7a83383c9
Merge pull request #268 from hbeeken/test-coverage
...
Adding unit test for credentials.clean
2014-07-16 10:53:25 +01:00
Nick O'Leary
d4919e27bd
Merge pull request #251 from Belphemur/credentials-pr
...
Rewrite credentials API to work with save on deploy.
2014-07-16 10:41:01 +01:00
Mark Hindess
4f6e76cace
Ignore the test coverage directory.
2014-07-16 10:19:39 +01:00
Antoine Aflalo
4d97d9d300
Rewrite credentials API to work with save on deploy.
2014-07-16 11:25:40 +03:00
hbeeken
1419a79933
Adding unit test for credentials.clean
2014-07-16 09:25:08 +01:00
Nick O'Leary
cfd590a397
Merge pull request #267 from hindessm/flows-tests
...
Flows tests
2014-07-15 17:03:16 +01:00
Nick O'Leary
d67074f4b7
Merge pull request #269 from zobalogh/master
...
Removing orphaned function: localfilesystem.writeFile(root,path,meta,body,res)
2014-07-15 17:01:27 +01:00
zobalogh
4a514b9060
Removing orphaned function.
2014-07-15 15:32:56 +01:00
Mark Hindess
8e32427109
Add setFlows test.
2014-07-14 22:00:09 +01:00
Mark Hindess
fe9ff0a297
Fix jshint complaints.
2014-07-14 21:46:36 +01:00
Mark Hindess
7281d273a1
Remove unused code.
2014-07-14 21:45:03 +01:00
Mark Hindess
d4548deeb3
Add node flows tests.
2014-07-14 21:44:34 +01:00
Dave Conway-Jones
debd5c4496
Spelling correctin http node info, close #266
2014-07-14 09:26:09 +01:00
Dave C-J
62496d80d5
tray/catch error in Websocket node to close #264
2014-07-13 17:39:56 +01:00
Dave C-J
bc53d302ff
and add fa icons to websocket
2014-07-11 21:32:51 +01:00
Dave C-J
1a1c6a73b6
Update icon to fa icons for parser nodes and sentiment
2014-07-11 21:01:16 +01:00
Dave Conway-Jones
9158766297
Merge pull request #262 from hindessm/improve-node-coverage
...
Improve red/nodes/Node.js coverage and minor refactoring
2014-07-11 14:04:27 +01:00
Dave Conway-Jones
b84aba5c98
minor spelling correction
2014-07-11 08:20:47 +01:00
Mark Hindess
66459f1bd6
Short circuit the null message case.
2014-07-10 14:25:32 +01:00
Mark Hindess
74335990e3
Add test for the null message case.
2014-07-10 14:25:32 +01:00
Mark Hindess
d371511d1d
Refactor common log code.
2014-07-10 14:25:32 +01:00
Mark Hindess
0a7bd848c6
Add more Node tests.
2014-07-10 14:25:32 +01:00
Dave C-J
de352dcdc2
Change template node to allow templating of any property of msg
2014-07-10 08:23:44 +01:00
Nick O'Leary
242fe1ef86
Merge pull request #260 from hindessm/test-coverage
...
Test coverage on coveralls.io
2014-07-09 10:00:10 +01:00
Nick O'Leary
3db84d5bf1
HTTP Out payload: relax null checking
2014-07-09 09:51:43 +01:00
Nick O'Leary
4d031891e5
Http Out: remove excess debug
2014-07-09 09:48:09 +01:00
Nick O'Leary
a7e7254317
Handle null response payloads
2014-07-09 09:46:10 +01:00
Nick O'Leary
8e24a958b7
HTTP Out - stringed the wrong bit
2014-07-09 09:43:02 +01:00
Nick O'Leary
bd80cf4f83
HTTP Out - header properties must be strings
2014-07-09 09:08:43 +01:00
Mark Hindess
abf5944316
Report coverage to build log and coveralls.
2014-07-09 07:45:58 +01:00
Mark Hindess
85a8e7283f
Have travis generate test coverage using istanbul.
2014-07-09 07:45:58 +01: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
c10c687653
Add TCP request node to TCP node "family"
2014-07-08 13:45:00 +01:00
Dave C-J
2c5d5148b8
tweak tail node to use -F (thanks to tip from Mike Smerekov)
...
pending other changes
2014-07-08 12:28:02 +01:00
Dave C-J
6fb9739245
Add strict to function node
2014-07-08 12:27:09 +01:00
Dave C-J
9bc9994354
Fix for missingType(s) - to close #259
...
(thanks to toksea for spotting it)
2014-07-08 08:49:48 +01:00
Dave C-J
35965e55b5
Add on error method to exec node... (should have been there before :-)
2014-07-08 08:48:46 +01:00
Dave C-J
4532cadb14
Add Alt zoom to help page (to be complete)
2014-07-08 08:47:44 +01:00
Nick O'Leary
6e956ef03a
Merge pull request #254 from TJKoury/master
...
Added dynamic category capability
2014-07-02 22:23:52 +01:00
tjkoury
4afda2f53b
Added deprecated to exclusion list
2014-07-02 17:20:16 -04:00
Nick O'Leary
9db1166ce0
Fix logHandler array handling
...
Fixes #257
2014-07-02 16:31:02 +01:00
Nick O'Leary
3de2f3d1da
Add jshint:core to default build
2014-07-01 23:50:17 +01:00
Nick O'Leary
9f3233175b
Fix node html generation
2014-07-01 23:48:26 +01:00
Nick O'Leary
649c82f7d7
Fix all jshint warnings in core code
2014-07-01 23:46:25 +01:00
Nick O'Leary
c18119f26e
Debug pane should use local timezone
2014-07-01 23:14:44 +01:00
tjkoury
ef6a0e5947
Added default sub-categories to the core categories;
2014-06-30 23:31:06 -04:00
Dave C-J
045f658ef9
More defensive handling of missing filename in file node.
...
(in line with jshint)
2014-06-30 23:23:01 +01:00
Dave C-J
c7f0f9639a
tidy up jsHint errors in exec and trigger nodes
...
Add "use strict" to the sample node
2014-06-30 20:44:35 +01:00
Dave C-J
52779ac518
Tidy up jsHinst errors in parser nodes
2014-06-30 20:44:01 +01:00
Dave C-J
790ad8eb68
Tidy up jsHint errors in parser nodes
2014-06-30 20:43:31 +01: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
e15de8cf37
Bump 0.8.1
2014-06-29 22:55:08 +01:00
Nick O'Leary
13da5e7327
Fix 0.8 build
2014-06-29 22:48:35 +01:00
Nick O'Leary
3bbf2fa737
Disable Travis 0.8 build until upstream bug fixed
...
Cannot npm install grunt-contrib-jshint due to this
https://github.com/Raynos/console-browserify/issues/6
2014-06-28 22:11:36 +01:00
Nick O'Leary
cfe7c372d3
Add jshint to grunt file
2014-06-28 21:40:46 +01:00
Nick O'Leary
3fcc1b5680
Missing variable declaration in tail node
2014-06-27 12:29:13 +01:00
Dave C-J
6d54050b4f
Tweak colour of new trigger node to match delay node.
2014-06-26 13:05:34 +01:00
Nick O'Leary
83b8c46b28
Bump 0.8
2014-06-25 21:39:27 +01:00
Nick O'Leary
1602d9496f
Add trigger node
2014-06-25 21:36:28 +01:00
Nick O'Leary
479a02cc16
Enable npm nodes to provide custom icons
2014-06-25 10:30:52 +01:00
Dave C-J
7c7f030aa8
Tweak serial to outpur correct number of chars from buffer.
...
Having counted the correct number into the buffer it seems a shame
not to send them all out to the next node...
(Also allow separator char to be specified as hex (eg 0x0a))
2014-06-24 22:27:02 +01:00
Dave C-J
cf70fee8c7
Add new HTML (cheerio/jquery like) parser node ...
2014-06-24 13:22:16 +01:00
Nick O'Leary
842e7cf5f5
Allow retained status message to be cleared
2014-06-21 22:43:48 +01:00
Dave C-J
ed3be7f82e
Add italic style to name for exec function...
...
been missing for ages... who knows why :-)
2014-06-17 20:07:29 +01:00
Dave C-J
6f6ecfc7a8
Make sure buffers are nulled to ensure cleanup.
2014-06-17 20:06:54 +01:00
Dave C-J
c61d4d3209
revert logging of every url request from http reg node.
2014-06-12 21:16:41 +01:00
Nick O'Leary
dded87c134
Log close errors rather than pass up the stack
2014-06-08 23:28:46 +01:00
Dave C-J
fc94429266
Add missing name field to file (in) node
...
(and tweak icons to new style)
2014-06-08 22:54:21 +01:00
Dave C-J
2d9e72816f
Update comment node to fa icons - plus matching node icon.
2014-06-08 22:13:12 +01:00
Dave C-J
fe1b7c54ff
Update serial info to match new capabilities.
2014-06-08 15:39:38 +01:00
Dave C-J
7d6f70545a
and honour text (utf8) mode in single char mode. aaargh.
2014-06-08 15:27:15 +01:00
Dave C-J
12b8fa36dc
Serial port - missed no split char option. If no split char then send every
...
character in char mode.
2014-06-08 15:21:02 +01:00
Dave C-J
00f87cbcd6
Add strict mode and latest icons to http node(s)
2014-06-08 15:05:08 +01:00
Dave C-J
0cbc277a2c
Add binary capabilities to Serial node - along with timeout, fixed
...
buffer size and binary output options. Also updated icons and added strict
checking.
2014-06-08 14:58:19 +01:00
Dave C-J
c10ed13322
Add flash of status to exec node
2014-06-08 14:58:19 +01:00
Dave C-J
346ca21803
Make sure file name gets passed on in file node
2014-06-08 14:58:19 +01:00
Nick O'Leary
8e48251f26
Disable max event listener warning on server
...
Fixes #238
2014-06-08 00:01:29 +01:00
Nick O'Leary
72476cc8a7
Set content-length in HTTP response node
...
Fixes #233
2014-06-07 23:18:50 +01:00
Nick O'Leary
749eaa2181
Add flowFilePretty option
2014-06-07 22:33:29 +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
Dave Conway-Jones
9d2864088b
Merge pull request #243 from TJKoury/change_file_node
...
Change to error handling in 50-file.js to pass on msg.error.
2014-06-02 21:08:18 +01:00
tjkoury
785d4a66f0
Added error handling to 50-file.js
2014-06-02 15:25:48 -04:00
Dave C-J
4e1d45b508
Tweak to Watch Node info to close #236
2014-06-01 18:02:25 +01:00
Nick O'Leary
32cad7a627
Icon refresh
2014-05-31 22:20:06 +01:00
Dave C-J
8c8f75df69
Catch more errors in file watcher node.
2014-05-31 19:44:02 +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
70147d0b6b
Remove 'retined' property from node.status calls
2014-05-30 20:30:26 +01:00
Dave C-J
2cdaed1325
Add "use strict" to most core nodes.
...
(skipping ones that may have other work in progress)
2014-05-29 22:13:21 +01:00
Dave C-J
7ad28de52a
Add use strict to mqtt node, allow will parm to be passed.
2014-05-29 09:00:28 +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
Dave C-J
b67e70e09f
Fix Delay node milliseconds label to read ms.
...
(and add use strict)
2014-05-23 23:15:28 +01:00
Dave C-J
dcc0adf2f7
Update Arduino to a better supported npm, that supports callbacks
...
for inputs... (less processor load). Also adds connected status to
visualisation.
2014-05-23 15:35:55 +01:00
Dave C-J
db125974c0
Tidy up inject tabs/spaces one more time.
2014-05-19 22:08:50 +01:00
Dave Conway-Jones
69405296ba
Merge pull request #230 from TJKoury/master
...
Fixed spinner issue in inject node
2014-05-19 22:06:15 +01:00
TJKoury
21a72336fd
Update 20-inject.html
...
Tabs got wonky, fixed it.
2014-05-19 16:43:30 -04:00
tjkoury
57e5f52d02
Fixed spinner issue in inject node with non-hardcoded offset
2014-05-19 16:42:36 -04:00
tjkoury
804dd67b4a
Fixed spinner issue in inject node with non-hardcoded offset
2014-05-19 16:40:37 -04:00
tjkoury
4f56f36cde
Fixed spinner issue in inject node
2014-05-19 15:38:07 -04: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
Antoine Aflalo
f822827454
Credentials into RED
2014-05-16 10:07:43 +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
Nick O'Leary
525321ec7f
Fix node emitter
2014-05-15 20:55:01 +01:00
Nick O'Leary
820ca4475d
Add tests for async close
2014-05-14 21:46:07 +01:00
Nick O'Leary
8f1dd62515
Allow Serial nodes to close asynchonously
2014-05-14 21:34:17 +01:00
Nick O'Leary
c317ccc36d
Allow nodes to close asynchronously
2014-05-14 21:18:47 +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
1bbd6297ba
Actually make xml2js and json2xml deprecated
...
as well as just moving them
2014-05-14 14:32:44 +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
Dave C-J
0e35b65afd
Deprecate xml2js and jsn2xml nodes
...
Replaced by single XML node
2014-05-14 14:18:11 +01:00
Nick O'Leary
789b86b122
Prevent node label selection on drag in FF
2014-05-14 13:49:16 +01:00
Dave C-J
6f981d29ec
Patch to suppoer use strict
...
Fixes Issue #205
Manual merge due to other changes
2014-05-14 11:44:19 +01:00
Dave C-J
55245610dd
Patch to Support use strict
...
Fixes Issue #206
(manual merge due ot other changes)
2014-05-14 11:43:51 +01:00
Dave Conway-Jones
7e4fa5fa45
Merge pull request #204 from tedgoddard/patch-1
...
support for use_strict - patch for server.js file
Removes redundant variable declaration.
(now handled in storage)
2014-05-14 11:25:38 +01:00
Nick O'Leary
a3ce04e9a5
Increase double-click to edit time
2014-05-14 09:50:06 +01:00
Dave C-J
6f0e619611
add Status to email, http nodes (update copyright on tcp)
2014-05-13 11:39:59 +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
59eccb116a
Add RED._debug
2014-05-13 00:00:17 +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
Nick O'Leary
4abbe483a0
Merge pull request #227 from TJKoury/mobile_PR
...
Add inital pinch-to-zoom implementation
2014-05-12 23:51:41 +01:00
Dave C-J
7e71a118eb
Add status indicators to serial and tcp (client) nodes
2014-05-12 16:32:19 +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
Dave C-J
69873bacb6
Tiny EFL tweaks to IRC. Thanks again Belphemur
2014-05-09 15:03:41 +01:00
Dave C-J
d1aff364e4
let nodemon ignore backup file - or it restarts on every deploy.
2014-05-09 14:56:02 +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
Dave Conway-Jones
848e5a9824
Merge pull request #225 from Belphemur/node-irc
...
Adding a listener to "names" and improve documentation of IRC Node
2014-05-09 10:54:13 +01:00
Antoine Aflalo
0ea2c92d23
Adding a listener to "names" and improve documentation
...
Being able to get the list of connected user when join the channel can be interesting, that why I added the listener.
I improved the documentation by adding all the possible status and their description.
2014-05-09 11:48:41 +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
da3fbd3b62
Initialise Node earlier in registry life-cycle
2014-05-08 22:58:30 +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
c99f0d895f
Add comms back to RED interface
2014-05-08 16:55:08 +01:00
Nick O'Leary
7ecb80bf40
Add node status updates
2014-05-08 14:15:54 +01:00
Nick O'Leary
8e7fc011f0
File In node loses message properties
2014-05-08 11:13:35 +01:00
Nick O'Leary
ba126e90d9
TypeError on debug node
...
Fixes #223
2014-05-08 11:12:13 +01:00
Nick O'Leary
16f8673ec0
Add comms module
2014-05-07 20:47:25 +01:00
Nick O'Leary
e6794a0c75
Twitter: add rate limit warning
2014-05-07 20:45:59 +01:00
Nick O'Leary
3c176d0b94
Handle parse errors in template file
2014-05-07 20:45:26 +01:00
Nick O'Leary
7b0a1b2463
Fix flow backup for first run, add tests
2014-05-07 00:33:50 +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
Dave C-J
fb0cae0935
Reduce GPIO setup on Pi node to try to make it play nice with other peripherals
2014-05-06 20:58:36 +01:00
Dave C-J
d1318d215c
change preferred name of backup file to flows.backup
...
(even if it is the previous version :-)
relates to Issue #184
2014-05-06 16:02:18 +01:00
Dave C-J
67d1e2acd8
Create a copy of the previous flow file (flow.previous) before each deploy
...
closes #184
In case of emergency you can now find the previous flow file before you hit
deploy in a file called flow.previous . As indicated it is the flow that was
running prior to you hitting deploy...
2014-05-06 15:22:58 +01:00
Nick O'Leary
44e8aeaae4
Remove console.log in credentials
2014-05-06 14:25:53 +01:00
Nick O'Leary
4b160dc3a9
Function error not recognised as TypeError
2014-05-06 13:49:22 +01:00
Nick O'Leary
5e5d3d3000
Log.addHandler missing its implementation
2014-05-06 13:06:06 +01:00
Dave C-J
e47839b7e7
Tweaks to shorten Serialport html names.
...
and remove redundant code.
2014-05-06 11:12:56 +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
baaf8167d3
Delay node dropping intermediate messages incorrectly
2014-05-06 10:07:57 +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
14e882f250
Remove rogue console.log
2014-05-05 21:44:04 +01:00
Nick O'Leary
b64b1f2956
Serial port select combo-box
2014-05-05 21:42:01 +01:00
Dave C-J
671723374d
Allow serial port to be manual entry or pick from list.
2014-05-05 11:39:59 +01:00
Dave C-J
b806854867
Revert serial port config to a text box - while we look at how best to
...
provide a list - but allow free input. (for Pi that doesn't enumerate tyAMA0)
2014-05-05 09:02:01 +01:00
Dave C-J
bc1fb3b404
Tiny formatting tidy ups.
2014-05-05 09:02:01 +01:00
Nick O'Leary
7674492819
Fix node loading order
2014-05-05 00:10:50 +01:00
Nick O'Leary
da8ef7acc6
Minify node .html files before sending
2014-05-04 17:30:55 +01:00
Nick O'Leary
ff49d2b217
Migrate to new node function style
2014-05-03 23:32:04 +01:00
Nick O'Leary
5afc5857c4
Fix localfilesystem_spec
2014-05-03 22:38:33 +01:00
Nick O'Leary
7eed375111
Split up nodes.js into components
2014-05-03 22:28:17 +01:00
Dave C-J
df9744084c
Tweaks to email error rmessages
2014-05-02 15:16:11 +01:00
Dave C-J
1309b9a72d
Add new/updated Email node including credentials per node.
...
Deprecating old IMAP node as now part of this general Email node
2014-05-02 14:37:41 +01:00
Dave C-J
a9e07f8b78
Updated credentials storage so there is a .._cred.... file per flow.
...
Allows swapping flows more easily without having to re-enter credentials.
Thus also added *_cred* to .gitignore
2014-05-02 14:35:51 +01:00
Nick O'Leary
84093bcb6e
Make node loading more asynchronouse
2014-05-02 11:16:07 +01:00
Nick O'Leary
4dda4aeef2
Remove sentiment tip to be consistent
2014-05-01 23:12:19 +01:00
Nick O'Leary
d0b6fd078c
Add File In node
2014-04-30 22:48:30 +01:00
Nick O'Leary
1df963e0ed
Generate content-length on HTTP Request node
2014-04-30 22:05:27 +01:00
Dave C-J
e49eb3c685
Tweak layout of serial port config (Thanks Frank)
2014-04-30 14:09:08 +01:00
Dave Conway-Jones
f60430305e
Merge pull request #207 from fvdpol/master
...
Add configuration of serial protocol settings (25-serial node)
2014-04-30 13:53:36 +01:00
Dave C-J
0b49b2cdda
Add parser function nodes for XML, JSON and CSV.
...
Each is dual function - pass in (for example) and get out a js object, pass in a js object and get back out the xml string.
The CSV node must be configured with a column template that specifys the required property names for that column (csv->js), or the properties of the object that should be made into the csv (js->csv)
2014-04-29 17:01:30 +01:00
Dave C-J
f2e9b43866
Functional Fix for Inject node
...
addresses Issue #209
Interval is now wholly timeout based.
Now works on Sundays
2014-04-29 16:20:45 +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
b2f4bc915e
Bump 0.7.2
2014-04-26 22:43:29 +01:00
Nick O'Leary
13deef189d
Add ws heartbeat to keep connection alive through firewall
2014-04-24 23:42:44 +01:00
Nick O'Leary
b5a8a7288b
Tidy up ajax usage
2014-04-21 22:42:46 +01:00
Frank van de Pol
c62a42169f
Typo
2014-04-21 23:42:07 +02:00
Frank van de Pol
9d1bb39018
Add configuration of serial protocol settings
...
- Add support for configuration of protocol parameters (data bits,
party, stop bits)
- Set serial device/port using select list (discovered ports)
- Provide default settings for existing flows that do not yet have
serial protocol settings
2014-04-21 23:35:28 +02:00
Nick O'Leary
b6fd103b37
/nodes end-point should be text/html not json
2014-04-21 22:17:52 +01:00
Nick O'Leary
6a17a7d4c2
Add version information to log output
2014-04-21 21:55:28 +01:00
Nick O'Leary
c39f4f9738
Handle port-in-use error on start-up
2014-04-21 21:42:59 +01:00
Nick O'Leary
c20128b80f
MQTT Client - missing null check
2014-04-21 21:14:03 +01:00
Nick O'Leary
0b7fa1ab5c
Fix MQTT client reconnect logic
2014-04-21 20:40:56 +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
d702caa5be
Bump 0.7.1
2014-04-20 20:52:16 +01:00
Nick O'Leary
729036ec0b
Fix HTTTP Request url template
2014-04-20 20:50:20 +01:00
Nick O'Leary
eee8f89146
Clear MQTT Connection watchdog on error
2014-04-19 22:19:06 +01:00
Nick O'Leary
4ae5f34d2e
Make Template node help clearer
2014-04-18 15:33:29 +01:00
Ted Goddard
440d649cd6
support for use_strict
...
variable appears unused but results in
ReferenceError: flowfile is not defined
when node is invoked with --use_strict
2014-04-17 10:54:55 -06:00
Nick O'Leary
18ae7108f5
Add Grunt-cli dependency and fix Travis
2014-04-16 23:28:02 +01:00
Nick O'Leary
b8bcd57cda
Bump 0.7.0
2014-04-16 22:42:26 +01:00
Nick O'Leary
0a2dab67c7
Remove deprecated nodes
...
As announced here https://groups.google.com/forum/#!topic/node-red/-2nG6nKaxFI
2014-04-16 22:21:50 +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
4219681cfa
Single-click on debug message reveals node
...
Closes #192
2014-04-16 12:59:23 +01:00
Nick O'Leary
a386c028b0
Handle null debug messages
...
Fixes #200
2014-04-16 11:37:41 +01:00
Nick O'Leary
9ad4d50442
Merge pull request #187 from monteslu/sentiment
...
Add support for word overrides feature in sentiment node
2014-04-16 11:07:29 +01:00
Nick O'Leary
653c02bb15
Add drop-intermediate option to Delay rate node
2014-04-15 23:08:02 +01:00
Nick O'Leary
d5b36fcadc
Add mustache template support to the HTTP Request url
2014-04-15 22:49:39 +01:00
Nick O'Leary
e9c6501771
Add onadd node edit hook
2014-04-15 22:31:34 +01:00
Dave C-J
7290512794
Allow File out node to handle objects more usefully.
2014-04-14 15:49:49 +01:00
Dave C-J
be5f6762f7
Add Array detection to Debug node output
2014-04-14 15:49:17 +01:00
Nick O'Leary
1ea023e8ef
Update README.md
2014-04-14 09:51:55 +01:00
Nick O'Leary
896b52ed9e
Fix node tests
2014-04-13 22:32:33 +01:00
Nick O'Leary
92d10384ba
Avoid adding null req/res properties to messages
2014-04-13 22:12:57 +01:00
Nick O'Leary
de9ee37b42
Fix 'cannot set property boolean of undefined'
2014-04-12 23:09:47 +01:00
Dave C-J
ae02cf8d71
Make 0's appear in switch node dialog (were seen as nulls)
2014-04-11 10:56:59 +01:00
Dave C-J
df0ecbaf3a
Disable unselectable option in Raspberry Pi node
2014-04-11 10:56:20 +01:00
Dave C-J
96ed3055bf
tweak sample nodes - slightly
2014-04-11 10:55:14 +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
Dave C-J
a08789a086
Change parseXML node to no longer have special debug options
...
(as can now be done in the debug node... so more consistent)
2014-04-08 16:06:58 +01:00
Dave C-J
e38b321c33
Tweak to Pi GPIO node to throw exceptions more in line with latest thinking
2014-04-08 16:06:58 +01:00
Nick O'Leary
d784889b75
Validate properties after calling oneditprepare
2014-04-08 15:32:58 +01:00
Nick O'Leary
43073de10b
Add nodesExcludes option
2014-04-08 13:33:09 +01:00
Dave C-J
069f42f0c5
Add console.log option to debug node
...
Fixes #194
2014-04-08 11:31:35 +01:00
Nick O'Leary
0b8e8de260
Allow nodesDir to be an array of paths
2014-04-07 22:01:33 +01:00
Dave C-J
61285a0ee8
Fixes to spawn behaviour - (well more to catching bad behaviour)
...
It needs a redo - but patched so it doesn't die horribly.
2014-04-06 23:25:40 +01:00
Dave C-J
789d64f7ed
Add Ctrl-x (cut) to shortcuts
2014-04-03 00:05:16 +01:00
Dave C-J
572a6156d6
Add .npm dir to .gitignore
2014-04-02 23:59:51 +01:00
Nick O'Leary
214338eb62
Fix Function node
...
accidental leakage of in-progress work
2014-04-02 23:56:46 +01:00
Nick O'Leary
bcefa6c9ef
Properly deprecate httpget node
2014-04-02 21:21:51 +01:00
Nick O'Leary
c52db897b3
Remove boilerplate help from Function node
...
Fixes #180
2014-04-02 21:20:58 +01:00
Nick O'Leary
fa2d2771a7
Add websocket error handlers
...
Fixes #190
2014-04-01 23:18:34 +01:00
Nick O'Leary
6cc0df75a6
Better spinner graphic
...
Fixes #189
2014-04-01 22:53:48 +01:00
Nick O'Leary
c1502663b4
Update node_registry_spec
2014-03-31 14:41:51 +01:00
Nick O'Leary
ea2c0da163
Make localfs test async aware
2014-03-31 14:37:38 +01:00
Nick O'Leary
1bdfd920cd
Add debug to storage_localfilesystem test
2014-03-31 14:15:10 +01:00
Nick O'Leary
22db06046b
Fix mocha dependency
2014-03-31 13:38:35 +01:00
Nick O'Leary
9a7042b8dc
Add grunt build and travis-ci
2014-03-31 13:31:31 +01:00
Nick O'Leary
e7dcdb075a
Update udp node bind local options
2014-03-31 13:06:57 +01:00
Dave C-J
1d23cdad9f
Improve labels for Pi GPIO pins
2014-03-31 11:18:37 +01:00
Dave C-J
1f6155f118
Fix to allow blank password for Basic Auth in httprequest node
2014-03-31 10:28:37 +01:00
Nick O'Leary
a3fa6dada5
Rework local port UI in udp node
2014-03-30 23:05:59 +01:00
Nick O'Leary
e2bac40b17
Update range node ui
2014-03-29 23:05:46 +00:00
Nick O'Leary
99ab6eaafd
Tidy-up language in change node
2014-03-29 21:57:20 +00:00
Luis Montes
8b138ff2c8
add support for word overrides in sentiment node
2014-03-29 14:27:09 -07: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
Dave C-J
79f8d057a1
tweak "leave blank for random" text for outgoing port
...
as per Nick's suggestion
2014-03-28 08:53:25 +00:00
Dave C-J
e5e457a410
UDP node fixes. Allow fixing of outbound port.
...
Fixes #178
Also fixed multicast binding to work more correctly.
Note: - if you fix the outbound port it will then be unvailable for input - as we are not setting up a pool.
2014-03-27 23:27:43 +00:00
Nick O'Leary
0409a14a84
Merge pull request #183 from hardillb/master
...
fix delay node name when using random setting
2014-03-25 23:24:22 +00:00
Nick O'Leary
4e41db15e9
Add explicit CLA links
2014-03-25 17:41:33 +00:00
Ben Hardill
4e00ab3b2d
fix delay node name when using random setting
2014-03-25 11:09:38 +00:00
Dave C-J
2a0491542d
Fix for IMAP node - inbox 0 error.
2014-03-23 11:43:34 +00:00
Nick O'Leary
0b516a83db
Fix snap-to-grid
...
Fixes #177
2014-03-22 13:47:47 +00:00
Nick O'Leary
bc8683f40a
Skip non-existent node directories
2014-03-21 14:05:27 +00:00
Nick O'Leary
4dce130acb
Hide palette until nodes loaded
2014-03-17 16:26:15 +00:00
Nick O'Leary
f666b0e6f9
TCP Node port in use not caught properly
2014-03-17 16:09:07 +00:00
Nick O'Leary
015adb3dfd
Clear palette filter box on reload (firefox)
2014-03-17 16:01:47 +00:00
Nick O'Leary
15d642c55d
Unexpected error if uiPort already in use
2014-03-17 15:58:44 +00:00
Dave C-J
d87cc471a0
Tiny change to presets for range node - more useful example irl.
2014-03-11 16:38:52 +00:00
Nick O'Leary
d5ad113d1b
Remove console.log debug
2014-03-09 22:34:45 +00:00
Nick O'Leary
15002f6872
Add headless mode
...
closes #2
httpAdminRoot / httpNodeRoot can be set to false to disable their respective bits. If both are set to false, (or httpRoot is set to false), and httpStatic is not defined, then it will not start the http server.
2014-03-08 22:35:35 +00:00
Nick O'Leary
5e58cc9fc1
HTTP In help text should use httpNodeRoot
2014-03-08 21:54:13 +00:00
Nick O'Leary
77f1ee9f64
Tidy up nodes module exports
2014-03-06 22:44:34 +00:00
Nick O'Leary
f7792c66b4
Add cmd-line help and reduce node error output by default
...
Added nopt package dependency - npm update required!
Added -v cmdline option to show node module load errors, which are otherwise hidden by default with only a summary shown
2014-03-06 22:32:23 +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
ebcf539795
Update CONTRIBUTING.md
2014-02-27 16:38:35 +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
f81ebf0e64
Fix too specific wildcard matching in MQTT node
2014-02-23 20:14:27 +00:00
Nick O'Leary
a44104a7e4
Bump to 0.6.0
2014-02-21 21:48:31 +00:00
Nick O'Leary
715fb6e7f4
Tidy-up tab ui api
2014-02-21 09:54:50 +00:00
Nick O'Leary
f7a72a48ea
Improve socket error handling in MQTT client
...
Fixes #155
2014-02-20 21:56:29 +00:00
Dave C-J
58774c366d
Add .delete property to File output node
...
Fix to close #162
2014-02-20 21:00:54 +00:00
Dave C-J
0bc4a3bbb1
update UDP node to not bind output port if not required to do so.
...
Fix to Close #165
2014-02-20 20:59:05 +00:00
Dave C-J
46765d5737
Turn down console.log-ing in udp node
2014-02-20 18:11:08 +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
d97e23947d
Add uid to mqtt client log messages
...
This is a semi-temporary change to help debug the multiple-connection issue seen with the MQTT client
2014-02-19 22:17:20 +00:00
Nick O'Leary
b4ef1d354d
Catch mqtt socket write error after disconnect
...
Part of #155
2014-02-19 21:30:46 +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
af50fe876f
Merge pull request #164 from hardillb/master
...
Fix delay node singleton issues
2014-02-18 18:40:03 +00:00
Ben Hardill
da167c8607
remove un needed commented out line
2014-02-18 10:28:46 +00:00
Ben Hardill
560d106ba2
Merge remote-tracking branch 'upstream/master'
2014-02-18 10:25:21 +00:00
Ben Hardill
7af88f63f5
Fix delay node singleton issue
...
Fixes #154
2014-02-18 10:23:44 +00:00
Nick O'Leary
b8953abb28
Add clientid to mqtt-broker label
...
Fixes #161
2014-02-17 22:42:31 +00:00
Nick O'Leary
6b278fdceb
Add httpNodeCors setting
...
Adds a dependency on the 'cors' npm module
2014-02-17 22:32:53 +00:00
Nick O'Leary
09f162d933
Fix overriding method in HTTP Req node
2014-02-17 22:16:42 +00:00
Nick O'Leary
b7e3e2d739
Add username/password to Mongo nodes
...
Fixes #159
2014-02-16 23:17:15 +00:00
Nick O'Leary
7c24d4d760
Separate out httpAdmin and httpNode
2014-02-16 00:39:30 +00:00
Nick O'Leary
e6cf783d52
HTTP In GET error handler fix
2014-02-15 22:36:01 +00:00
Nick O'Leary
eb90d96d65
Fix drag'n'drop of flows on FF
2014-02-12 22:33:07 +00:00
Nick O'Leary
35fb4bb47a
Add rawBody middleware
...
Fixes #151
2014-02-12 21:30:49 +00:00
Nick O'Leary
62389b487f
Merge pull request #153 from andypiper/mime-fix
...
Fix for bad MIME Content-Type
2014-02-12 20:15:33 +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
79d4b32e3f
Update README.md
2014-02-08 15:33:09 +00:00
Nick O'Leary
6756e964fd
Add CONTRIBUTING.md
2014-02-08 15:31:01 +00:00
Nick O'Leary
7c24c7465a
HTTP Request: allow message to override https
...
Fixes #147
2014-02-06 22:14:27 +00:00
Nick O'Leary
20de0c7c89
Move to twitter-ng module
...
Fixes #136
This will require an `npm update` to keep things working
2014-02-05 20:26:56 +00:00
Nick O'Leary
cef652eef7
File node: allow filename to be overridden
2014-02-05 10:26:17 +00:00
Dave C-J
ae03562f86
Slight UI tweak to Inject node - move fire once below options
2014-02-05 08:09:16 +00:00
Dave C-J
f3f52fa586
Inject - cleanup messing with crontab... just don't do it.
2014-02-04 22:31:51 +00:00
Dave C-J
40232f95ed
Clear inject once flag properly. Issue #145
2014-02-04 22:19:55 +00:00
Dave C-J
b1de42b297
Tweak Inject Fire at Once options as per Issue #145
2014-02-04 21:50:35 +00:00
Dave C-J
bdd9d901ec
inject node - Remove couple of lines of excess console.log
2014-02-03 19:06:49 +00:00
Nick O'Leary
45cb1016cc
Merge pull request #144 from hardillb/master
...
Fix random wait in delay node
2014-02-03 06:40:45 -08:00
Ben Hardill
ad1f967a8d
Fix random wait in delay node
...
Fixes #143
2014-02-03 13:08:20 +00:00
Nick O'Leary
2afe474ec8
Merge pull request #139 from skynetim/storage
...
Remove some sync calls from localfilesystem.js.
2014-02-02 12:22:23 -08:00
Dave C-J
e19f2956a8
tiny tweak to inject to fix name and hide un-needed text box.
...
tweak exec node text to be less alarmist
2014-02-02 18:12:28 +00:00
Dave C-J
b882846516
Quick fix for serial hangs (with serialport1.3.1)
...
While we investigate further.
2014-02-02 16:52:32 +00:00
Nick O'Leary
c47c72cf48
Improve inject node payload options
2014-02-02 15:37:34 +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
3dee0f1e20
Add small bit of extra node.log to exec node to make it obvious what it is doing.
2014-01-27 19:24:15 +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 Niemeir
288b129ec3
Make more promisey
2014-01-16 06:28:10 +00:00
Nick Niemeir
3c41b2624a
First pass at removing sync calls
2014-01-16 05:59:13 +00:00
Dave C-J
aa044970c9
Add extra labels to extra Pi GPIO pins
2014-01-14 19:23:50 +00:00
Nick Niemeir
bdef2a5b96
Add npm test
2014-01-14 06:13:07 +00:00
Dave C-J
ad675c00d8
enhance fs.notify help text
...
windows paths need double slashes \\
2014-01-13 20:25:58 +00:00
Dave C-J
82f58393c7
enhance labels for Pi GPIO pins
2014-01-13 20:24:57 +00:00
Dave Conway-Jones
08559838cc
Merge pull request #133 from cpswan/master
...
Enable Pi to use of all 17 WiringPi pins
2014-01-13 12:04:31 -08:00
Nick O'Leary
79aeeea640
Handle duplicate PUBREL
...
Fixes #138
If the connection to a broker is lost mid qos 2 flow, there is a window where we have processed the PUBREL, released the message and deleted it from our store, but not sent the PUBCOMP. When the connection is re-established, and the PUBREL is resent by the broker, we assume the message still exists - and hit the error reported.
The fix is to check the message is valid before trying to process it. We send the PUBCOMP to complete the flow regardless.
2014-01-13 11:32:16 +00:00
Nick O'Leary
6b3010f95b
Guard against null client in MQTT nodes
...
Fixes #130
There was a timing window where a client could connect to a broker just as new flows were deployed that would cause the on-connect callback to be called after client has been set to null. This caused an NPE.
The fix is to check client isn't null in the event handler.
2014-01-13 11:27:09 +00:00
Dave C-J
10b7f402c3
Update MQTT node Icon color to be different from Twitter one
...
Fixes #132
2014-01-08 16:44:47 +00:00
Dave C-J
cbad188be8
Update to fs.watch node to use new fs.notify API
...
requires npm update fs.notify
2014-01-08 16:44:05 +00:00
Dave C-J
b652d26b6b
Add invite event to irc node
2014-01-03 10:57:49 +00:00
Dave C-J
e5536b848a
Changes to IRC node
...
addresses fix for #106
moved channel to node properties (won't break but will flag as undeployed changes)
changed defaults to be irc.freenode.net
allow input of a msg.raw as an array of a raw irc command (undocumented)
2014-01-02 11:15:03 +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
Chris Swan
9839e87580
pintable + tablepin maps for all 17 WiringPi pins
2013-12-31 08:54:06 +00:00
Chris Swan
982ad91581
Drop down options for all 17 pins in WiringPi
2013-12-31 08:50:24 +00:00
Nick O'Leary
1c010c568d
Fix keepalive handling in MQTT client
...
Fixes #124
2013-12-29 20:16:27 +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
24c373ecc2
Tidying up the Change node after a lot of churn
2013-12-24 23:16:36 +00:00
Nick O'Leary
74f43f4059
Merge pull request #127 from fvdpol/master
...
Add validation to the Change node 'from' field
2013-12-24 14:53:48 -08:00
Frank van de Pol
44e920fde2
Disable the notification for the Change node editor
...
Disable the notification on the Change node.
Once the infrastructure for validation error messages is implemented
this can be re-enabled and retrofitted to the
new structure.
2013-12-24 23:29:40 +01:00
Frank van de Pol
1ebc5979aa
Add validation to Change node editor for invalid regex
...
This change adds input validation to the gui of Change Nodes to prevent
the user from unintentionally entering an invalid regular expression
(in case the ‘use regular expressions’ option is enabled).
The user will be notified (using the RED notification mechanism) on the
specific error code to help resolve the issue.
2013-12-24 20:28:08 +01:00
Frank van de Pol
b411d59d43
Make log message in invalid regular expressions more verbose
...
Make logging of erratic regular expressions more verbose to help
identification and resolving of the configuration issue:
eg.:
old: 24 Dec 18:40:09 - [error] [change:Strip kW] Invalid regex: *kW
new: 24 Dec 18:40:09 - [error] [change:Strip kW] Invalid regular
expression: /*kW/: Nothing to repeat
old: 24 Dec 20:15:57 - [error] [change:Strip kW] Invalid regex: *kW
new: 24 Dec 20:15:57 - [error] [change:Strip kW] Invalid regular
expression: /[kW/: Unterminated character class
2013-12-24 20:17:42 +01:00
Frank van de Pol
231f8b6a4d
undo my changes to the Change node; revert to original
...
undo the local changes to the Change node to get back aligned with the
master tree
2013-12-24 20:02:30 +01:00
Frank van de Pol
b81f251023
merge from upstream
2013-12-24 18:53:38 +01:00
Dave C-J
00202a3930
wrong syntax for checking check box... in change node
2013-12-24 17:07:07 +00:00
Dave C-J
e0921f84c4
still flattening wrinkles in change node...
...
(I blame the Xmas "spirit" ;-)
2013-12-24 17:01:53 +00:00
Dave C-J
dafb2f1d38
Removed excess debugging from change node (sorry)
2013-12-24 16:54:19 +00:00
Dave C-J
6b2e666600
Make sure old flows with change node - work as-is/was.
...
Signed-off-by: Dave C-J <dave@conway-jones.co.uk >
2013-12-24 16:24:31 +00:00
Dave C-J
b7531bae4d
Added proper choice for regex support to change node
...
(and better error catching)
Addresses Issue #121
2013-12-24 16:18:18 +00:00
Dave C-J
2ba5e0fe3e
Add socketTimeout to settings.js for TCP server sockets
...
Fixes #125
adds an optional socketTimeout param to settings.js file to add a TCP server
socket timeout. Default is no timeout.
2013-12-24 13:12:17 +00:00
Nick O'Leary
a9668a1999
Better error message if twitter auth flow fails
...
Closes #123
2013-12-23 14:44:35 +00:00
Nick O'Leary
c6264e8040
Add newline when wrapping function to allow comments
...
Fixes #122
2013-12-22 22:22:47 +00:00
Frank van de Pol
a03b4e4dd4
Added validation logic to Change editor for validity of regular expressions
...
This change adds input validation to the gui of Change Nodes to prevent
the user from unintentionally entering an invalid regular expression.
The user will be notified on the specific error code to help resolve
the issue.
2013-12-22 17:46:25 +01:00
Frank van de Pol
655e777a3e
Add exception handing to Change node
...
Adding exception handling to the change node to prevent node-RED from
crashing on invalid regular expressions eg. “*kW” (missing escape
before the asterix)
2013-12-22 14:00:25 +01:00
Nick O'Leary
5d43334b1c
Bump version 0.5.0
2013-12-21 19:31:50 +00:00
Dave C-J
15669b7f1f
Only declare node variables inside node declaration.
...
Fix for Issue #119
(also reformatted with spaces hence what looks like massive changes...)
2013-12-21 17:31:05 +00:00
Nick O'Leary
95b8600da7
Automatically follow 301-redirects in HTTP request node
...
Fixes #30
2013-12-20 11:11:50 +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
73f3ea52a5
Add session awareness to TCP nodes
...
Closes #63,#65
2013-12-19 21:16:25 +00:00
Nick O'Leary
02df584af6
Allow storage module to be set explicitly
...
Rather than just by name
2013-12-19 11:05:03 +00:00
Nick O'Leary
751ac7b9ee
Handle Buffer objects properly in Serial out node
...
Fixes #115
The serial out node does a JSON.stringify if the payload is an object. This was incorrectly being applied to Buffer objects, causing the output seen in issue #115 .
The Buffer is now passed through as-is (with the newline appended if so configured).
2013-12-13 10:27:52 +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
Nicholas O'Leary
3984b6b702
Add websocket node docs
...
Part of #105
2013-12-08 20:41:57 +00:00
Nicholas O'Leary
cce5f33a97
Allow JSON sending/receiving in websocket node
...
Fixes #105
2013-12-08 20:31:56 +00:00
Nicholas O'Leary
f22cd381ee
Add JSONP support to http response node
...
Fixes #102
2013-12-08 19:40:27 +00:00
Dave C-J
fae34f8244
Let serialport retry reconnects etc
...
Partial fix to Issue #111
This doesn't fix the screaming loop issue if you try to write to an unplugged
serial port - but does attempt to fix the not retrying to reconnect part of
the issue.
Both were introduced by changes to the underlying serialport npm.
2013-12-08 16:59:36 +00:00
Dave C-J
67e16adfd0
Added output "New Line" char to Serial
...
Addresses Issue #104
adds the option to re-use the character used the split input into lineson input as an append to every line sent out to the serial port.
2013-12-06 21:04:35 +00:00
Nicholas O'Leary
d2ce6af486
Switch node: infer intent to compare numbers
...
Fixes #108
2013-12-06 20:26:55 +00:00
Nicholas O'Leary
4475e74187
Overlapping mqtt subs get duplicate messages
2013-12-06 14:19:21 +00:00
Nicholas O'Leary
ce7bf78349
Non-Cloning of req/res properties caused them to be lost
...
The previous fix to not clone the req/res objects introduced a bug where the req/res objects were lost from all but the first clone made out of a particular node.
2013-12-05 14:39:26 +00:00
Nicholas O'Leary
5767478871
Switch node null/not null tests don't always work
...
a === null / a !=== null
is different to
typeof a == "undefined" / typeof a != "undefined"
2013-12-03 01:12:29 +00:00
Nick O'Leary
7eae669a34
Merge pull request #101 from hardillb/master
...
Fix typo in the delay node
2013-11-30 10:14:20 -08:00
Ben Hardill
f44272877e
Merge remote-tracking branch 'upstream/master'
2013-11-30 18:10:03 +00:00
Ben Hardill
4b3f26bed5
Fix milliseconds in delay
2013-11-30 18:08:44 +00:00
Nicholas O'Leary
a4a3322048
Merge branch 'master' of github.com:node-red/node-red
2013-11-29 19:59:02 +00:00
Nicholas O'Leary
0507578c98
Always clone messages to ensure no cross-pollution
...
Part of #85
A function that returns the same message to multiple outputs, where each output is wired to at most one node was not having its messages cloned due to the change I made in #85 to be slightly more efficient. By returning the same message to each output, cross pollution was possible.
2013-11-29 19:56:46 +00:00
Dave C-J
399617dc58
Make Imap node always read once on start
...
Closes Issue #96
Imap node now logs (in console) if it finds duplicate email on read or not.
It doesn't send on duplicates. It also now DOES fire once on startup AND re-deploy to populate anything downstream... at least that is the excuse for the change.
Signed-off-by: Dave C-J <dave@conway-jones.co.uk >
2013-11-29 19:16:11 +00:00
Nicholas O'Leary
0bc0dc3a2b
Cannot clone http.req/http.res properties
...
Temporary fixes #97
2013-11-28 16:06:17 +00:00
Nicholas O'Leary
9690ebe9c1
Add session awareness to WebSocket node
...
This allows a websocket-in node to receive data, process it in a flow
and then send it back to the originating websocket client via a
websocket-out node.
2013-11-26 23:33:57 +00:00
Dave C-J
ab04fcf7c0
Update IMAP node to use new 0.8.x API
...
Fixes Issue #96
this necessitates an update to the underlying npm
npm install --force imap
2013-11-26 19:55:40 +00:00
Nicholas O'Leary
7040aaa179
Add clientid/username/password to MQTT nodes
...
Alternative implementation, closes #42
The username/password as not stored in the main flow file for security reasons;
they are stored in the adjacent credentials file. This does mean an extra step
to importing an MQTT node, as the user has to manually edit it to re-add username
and password if needed.
2013-11-25 22:50:08 +00:00
Nicholas O'Leary
796080471d
Twitter: add help text about rate limits
2013-11-25 21:46:15 +00:00
Nicholas O'Leary
83072dcda4
Twitter node: tags field not required if DM's selected
...
Fixes #91
2013-11-25 10:32:21 +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
Dave C-J
0a78838c71
Add default name to switch node (for when name not specified - to be more consistent with other nodes)
2013-11-24 22:22:35 +00:00
Nicholas O'Leary
873974478a
Allow settings.js be specified on command line
...
Closes #79
2013-11-24 21:49:32 +00:00
Nicholas O'Leary
c1d495b62a
Twitter node: DM's come in with a different structure
2013-11-24 20:54:10 +00:00
Nicholas O'Leary
cb8a3f064e
Twitter doc updates and rate limit fixes
2013-11-24 16:48:24 +00:00
Nicholas O'Leary
9104b4200a
Update feedparser node for underlying module api changes
2013-11-24 16:03:30 +00:00
Dave C-J
f051fbd1e1
Make imap node check for email right away on start/restart. Add some more console logging for re-assurance of things happening - or not.
2013-11-24 13:10:48 +00:00
Nicholas O'Leary
f2ed2365cd
Twitter: monitor direct messages
2013-11-23 21:48:17 +00:00
Nicholas O'Leary
8176506d72
Twitter node: incorrect default user setting
...
caused by #80
2013-11-22 23:09:49 +00:00
Nicholas O'Leary
e88dcd4aba
Get tweets from specific people
...
fixes #80
2013-11-22 23:07:08 +00:00
Nicholas O'Leary
88be896f1c
Add WebSocket nodes
2013-11-22 21:28:05 +00:00
Nicholas O'Leary
7463ef92cb
Add httpRoot tip to http node
2013-11-22 21:26:18 +00:00
Nicholas O'Leary
0aa17662f5
Posting to /flows should block until successfully saved, or fail
...
Mentioned in #76
2013-11-22 21:07:29 +00:00
Dave C-J
ff8db09fd9
Add "otherwise" option to switch node - also added ability to stop checking after first match or keep matching (as-is today). Fixes Issue #88
2013-11-22 16:25:02 +00:00
Nicholas O'Leary
3054b04378
Storage object null when adding twitter credentials as first ever node
2013-11-22 13:54:10 +00:00
Dave C-J
1967046cc8
Slight tweak to sentiment info to reflect reality.
2013-11-21 17:14:05 +00:00
Nicholas O'Leary
e1dbb95396
Deep-clone messages when there are multiple recipients
...
Fixes #85
As well as adding deep-clone (via the new dependency on the 'clone' module), we no longer clone the message if there is a single recipient. This makes simple node-to-node flows more efficient.
I've done some simple profiling using process.hrtime to time how long the Node.send function takes, and at best, this change is neutral to performance.
2013-11-21 14:03:17 +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
a0aed93c69
Make Debug topic slightly darker for better contrast
...
Fixes #82
2013-11-20 22:17:21 +00:00
Nicholas O'Leary
48c4786d66
Ignore node_modules dir when scanning for nodes
2013-11-20 13:55:21 +00:00
Nicholas O'Leary
2028880b48
Debug activation message the wrong way around
...
As reported under #47
2013-11-19 15:51:33 +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
f5284f5e1f
Twitter Oauth path needs to account for httpRoot
...
Fixes #78
2013-11-18 21:20:50 +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
Dave C-J
3c32186a9d
force parsexml node to be async (just in case)
2013-11-15 09:15:26 +00:00
Dave C-J
f2b7fada9d
Tweaks to email and imap info now that the relative paths no longer make sense.
2013-11-15 08:59:55 +00:00
Dave C-J
c17687e5db
allow twitter multipe sech terms... space for AND and , for OR. (not sure why I had knobbled it in first place...)
2013-11-15 08:59:06 +00:00
Nicholas O'Leary
e700a11647
Bump version: 0.4.0
2013-11-14 20:45:34 +00:00
Nicholas O'Leary
48dabffefc
Move all nodes into core subdirectory
...
This makes it easier to distinguish core nodes from those added later
2013-11-14 15:52:19 +00:00
Nicholas O'Leary
affcc8ae65
Update all core nodes to use NODE_RED_HOME rather than relative paths
2013-11-14 15:44:54 +00:00
Nicholas O'Leary
82b863805d
Move Debug ws endpoint to /debug/ws
...
fixes #61
2013-11-14 14:40:34 +00:00
Nicholas O'Leary
d2208fae83
Collapse TCP nodes into single pair of files
2013-11-14 14:39:26 +00:00
Nicholas O'Leary
2a5f4abd49
Document msg.tweet property of Twitter In node
2013-11-14 14:38:59 +00:00
Dave C-J
11523a6ced
duplicate http get or post params into msg.payload to make life easier for debug etc. other properties remain as-is
2013-11-14 13:25:12 +00:00
Nicholas O'Leary
510fab7b8f
IMAP node should not try to load settings file directly
2013-11-13 22:20:36 +00:00
Nicholas O'Leary
3a52397744
Add nodesDir property to all nodes files to exist elsewhere
2013-11-13 17:02:29 +00:00
Nicholas O'Leary
851c2ab089
Merge branch 'master' of github.com:node-red/node-red
2013-11-13 15:42:58 +00:00
Nicholas O'Leary
e4353a22bc
Add some more comments to settings.js
2013-11-13 15:42:38 +00:00
Nick O'Leary
5b69dfb2f2
Merge pull request #70 from hardillb/master
...
Add Random delay to Delay node
2013-11-13 07:37:37 -08:00
Ben Hardill
ca72e187f9
and another typo
2013-11-13 15:36:54 +00:00
Ben Hardill
e2a532434e
Added missing () to validator
2013-11-13 15:25:29 +00:00
Nicholas O'Leary
8426c9802b
Allow unlimited event listeners on mqttConnectionPool
...
Fixes #71
2013-11-13 15:00:55 +00:00
Nicholas O'Leary
848a69dc26
Make storage.init return a promise to async initialisation
...
part of #62
2013-11-12 17:13:06 +00:00
Nicholas O'Leary
1536dcdf1e
Add httpStatic setting
2013-11-11 21:16:57 +00:00
Nicholas O'Leary
07a5d3626e
Typo in HTTP Request Node prevents POSTs
...
fixes #68
2013-11-11 14:25:50 +00:00
Nicholas O'Leary
29734dd994
Add unit test for localfilestorage
...
Stage 2 of #62
2013-11-10 22:19:01 +00:00
Ben Hardill
f3a84eacf3
Added some limits to the spinners, and updated the image
2013-11-10 19:49:16 +00:00
Ben Hardill
e9a64f7bdf
Added random delay to delay node
2013-11-10 17:25:55 +00:00
Nicholas O'Leary
89dc15567d
Remove stray setting from testing
2013-11-10 15:15:37 +00:00
Nicholas O'Leary
95bef6b6ca
Abstract all file-system operations
...
Stage 1 of #62
2013-11-10 00:05:58 +00:00
Nicholas O'Leary
22f46a4317
Inject Node: Interval between times not sticking
...
fixes #67
2013-11-09 17:07:57 +00:00
Nicholas O'Leary
a2e77471a9
Add settings.uiHost - to allow binding to a specific interface
...
Closes #58
2013-11-08 14:50:54 +00:00
Nicholas O'Leary
cb6fbf29a8
Palette popover defined title twice
...
fixes #64
2013-11-07 16:08:35 +00:00
Nicholas O'Leary
3b49c85a8e
Remove extra slash in Debug WS connection url and respect http/https
...
Fixes #59,#60
2013-11-06 21:33:25 +00:00
Nicholas O'Leary
8f71ee4631
Unable to pass custom headers to HTTP Response node
...
fixes #54
2013-11-06 21:08:00 +00:00
Dave C-J
25596b06b1
Add json2xml node - to complement the xml2json one...
2013-11-04 20:29:33 +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
Dave Conway-Jones
2e92b9a120
Added sentiment and irc to base dependencies
2013-11-02 16:03:32 +00:00
Dave C-J
09348eb353
Improve IRC UI options to Fix Issue #53 . Now a three way select - either send whole msg object to channel, just msg.payload to channel or msg.payload to users specified in msg.topic
2013-11-02 12:12:47 +00:00