Commit Graph

618 Commits

Author SHA1 Message Date
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 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
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 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
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
Hiroyasu Nishiyama a84b2ab5bb update defaultFileSet test for i18n support 2018-05-27 22:30:05 +09:00
Nick O'Leary 0ff0f25aaf
Merge branch 'master' into 0.19 2018-05-25 13:58:15 +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 252df81f59
Pass Date into the Function node sandbox to fix instanceof tests 2018-05-25 10:55:44 +01:00
Dave Conway-Jones 3df3d6f516
add debug to trigger test to help work out fails 2018-05-24 10:02:51 +01:00
Hiroyasu Nishiyama 83854c28db fix test failure of icon scan on windows 2018-05-24 12:06:39 +09: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
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 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
Hiroyasu Nishiyama af1ea610ea allow id and name reference in function node code (#1731) 2018-05-21 11:34:56 +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 7584820987
Filter req.user in /settings to prevent leaking info 2018-05-09 10:03:22 +01:00
Nick O'Leary 3b5a2815a9
Merge master 2018-05-08 23:27:27 +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 880af0671a
Merge branch 'pr_1706' 2018-05-08 10:44:35 +01: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
Nick O'Leary ae4b1b17a9
Increase trigger node test timings 2018-05-01 12:59:53 +01:00
Dave Conway-Jones 3190de873e add output property select to HTML parse node (#1701) 2018-05-01 12:42:27 +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
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
Dave Conway-Jones 087cd121b8 add debug and trace to function node (#1654) 2018-03-20 20:40:36 +00:00
Dave Conway-Jones 7e416797e9
make trigger test a bit more robust 2018-03-19 17:33:18 +00: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
Nick O'Leary 06a5e4273b
Move all event emitting into runtime side, not api side 2018-02-28 11:24:12 +00:00
Nick O'Leary a0489f2a0d
Fix tests for existing file flag in settings 2018-02-21 08:38:52 -08:00