Commit Graph

1500 Commits

Author SHA1 Message Date
Nick O'Leary 7406ab6017
Merge branch 'master' into dev 2018-09-17 11:33:36 +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
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 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 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
Dave Conway-Jones c667a0e74c
debug node - show ring at start until first msg 2018-09-05 09:45:34 +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
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 368418cf56
Merge branch 'master' into dev 2018-08-31 21:02:20 +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 8e9815fb91
TCP-request node - only write payload
to close #1869
2018-08-30 20:47:39 +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
Stefan Machmeier c0e7d6d826
Mqtt proxy configuration for websocket connection, #1651. 2018-08-29 09:53:07 +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
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 d373105b32
Fix typo in template.html 2018-08-21 13:42:51 +01:00
Nick O'Leary 72c400794c
Change node must handle empty rule set 2018-08-16 09:41:43 +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 f169a68319
Fix template node handling of nested context tags 2018-08-14 16:21:38 +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 450f4d9a5a
Fix error reporting of invalid jsonata in Join/reduce 2018-07-27 22:05:42 +01:00
Nick O'Leary 52f74ff7e0
Join: reduce fails if count not in first msg received 2018-07-26 14:13:12 +01:00
Nick O'Leary 9efd48fe51
Fixup Join node to apply reduce_fixup asynchronously 2018-07-25 11:08:03 +01:00
Yuma Matsuura b01cd30339 Update Japanease text of mqtt node 2018-07-23 10:11:10 +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 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 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
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
Hiroyasu Nishiyama e066a154a1 update info text of file node (English & Japanese) 2018-07-20 14:59:52 +09:00
nakanishi 8f34f4e80b Update Japanese translation for switch and batch nodes 2018-07-20 13:35:24 +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
Nick O'Leary cecea318da
Merge branch 'master' into 0.19 2018-07-18 13:22:35 +01:00
Hiroyasu Nishiyama 0f947c756e update Japanese info text of function node 2018-07-18 17:17:23 +09:00