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
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
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
aa6b72ac87
Move context.js to context folder
...
and rename context.js -> index.js
2018-06-20 19:40:22 +09: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
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
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
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
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
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
YumaMatsuura
a5c00b5c81
add translate-user-settings ( #1740 )
2018-05-25 13:55:03 +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
fcbea2629c
Support flow.disabled and .info in /flow API
2018-05-23 22:41:39 +01:00
Nick O'Leary
26bc142cc2
Handle loading empty nodesDir
2018-05-23 10:59:08 +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
f3e1b85d82
Add RED.require to allow nodes to access other modules
2018-05-21 22:08:04 +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
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
62471e4531
Handle null error object in Flow.handleError
...
Fixes #1721
2018-05-08 10:37:41 +01:00
Nick O'Leary
0ca3cabbe8
Refector how Project object is instantiated
2018-05-04 16:24:00 +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
Nick O'Leary
53e3e08d70
Handle cloning a project without package.json
2018-05-02 16:24:58 +01:00
Nick O'Leary
e3520309fc
Add clone project to welcome screen
2018-05-02 13:38:50 +01: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
ff18618032
Highlight subflow node when log msg comes from inside
...
Fixes #1698
2018-04-17 12:44:58 +01: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
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
64ae67586a
Ensure keyboard shortcuts get saved in runtime settings
...
Fixes #1696
2018-04-15 11:43:03 +01: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
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
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