Commit Graph

889 Commits

Author SHA1 Message Date
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
Nick O'Leary 529b358c9b
Split out expandable editors and add JS editor 2018-07-15 21:06:51 +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 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 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 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
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
Kazuhito Yokoi 053d8c44c2 Update Japanese language file (editor.json) 2018-07-12 16:14:25 +09:00
HirokiUchikawa e8d76b0555 Allow multiple values to be passed to `get` 2018-07-12 14:05:36 +09:00
Hiroyasu Nishiyama c248f1a762 fix persistable context handling of switch node 2018-07-11 23:39:34 +09: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
Kazuhito Yokoi 6c8fc4846b Fix i18n bugs in projects 2018-07-11 15:33:25 +09: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
Nick O'Leary b2f06b6777
Add async mode to evaluateJSONataExpression 2018-07-09 15:12:09 +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 afb566b6b4
Add async context support to Inject node 2018-07-09 11:31:10 +01:00
Nick O'Leary 946a6d6041
Update RED.util.evaluateNodeProperty to support context stores 2018-07-05 10:43:33 +01:00
Nick O'Leary 4e4a1f11e6
Fix context admin api for empty contexts 2018-07-03 21:18:43 +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 038d821a7c
Apply fGC to all global contexts for default values 2018-07-02 15:21:13 +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
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 fe22cedc1d
Move debug encode/decode to utils for reuse 2018-06-25 22:32:34 +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
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 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