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
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
Hiroyasu Nishiyama
723e9b3cba
make $parent access without key return undefined
2019-02-05 14:47:30 +09: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
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
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
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
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
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
54c863d48f
Make Node._flow non-enumerable to avoid circular refs
2019-01-21 14:19:19 +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
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
f309a9d537
Bump version to 0.20.0-beta.3
2019-01-10 13:34:47 +00:00
Nick O'Leary
19eb8e9a6d
Update palette manager properly when module updated
2019-01-07 14:54:35 +00:00
Joerg Wende
a73381e24b
german translation v01
2018-12-22 09:22:25 +01:00
Kazuhito Yokoi
f05f534fd2
Update message catalogue
2018-12-17 18:48:19 +09: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
8bb861124d
Catch file-not-found on startup when non-existant flow file specified
2018-12-13 10:59:03 +00: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
fefabef9ee
Bump for 0.20.0.beta.2
2018-12-07 16:44:14 +00:00
Nick O'Leary
98616e772c
Bump dependencies
2018-12-07 14:13:59 +00:00
Nick O'Leary
2979acd5b8
Bump to beta.1 version
2018-12-07 11:40:33 +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
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
Nick O'Leary
0b5e4f2dd7
Documentation updates for node-red and runtime modules
2018-11-30 23:01:09 +00:00
Nick O'Leary
bc02c9573c
Generate runtime api docs in runtime module
2018-11-16 10:04:53 +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
bfd98f3767
Add ability to delete context values from sidebar
2018-11-12 17:04:22 +00:00
Nick O'Leary
1b8cab0f58
Update individual module versions
2018-10-31 13:57:52 +00:00
Nick O'Leary
b715ac8bf4
Add more test coverage around settings apis
2018-10-26 21:22:58 +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
e4d518749f
Remove deprecated Buffer constructor usage
...
Fixes #1709
2018-10-24 13:45:34 +01:00
Kazuhito Yokoi
5590d31336
Fix typo
2018-10-22 18:52:34 +09: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
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
Kazuhito Yokoi
ce014044ea
Fix reference bug in message catalog
2018-10-17 15:43:09 +09:00
Nick O'Leary
f4ca8cd738
Merge branch 'master' into dev
2018-10-07 11:45:43 +01:00
Nick O'Leary
d887ab126b
Add --safe mode flag to allow starting without flows running
2018-09-25 11:20:50 +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
d34ebd4d1b
Fix i18n api changes in runtime/nodes
2018-09-18 10:31:44 +01:00
Nick O'Leary
2aae76c9bc
Merge branch 'dev' into repackage
2018-09-17 14:49:11 +01:00
Nick O'Leary
2980818f0d
Add inter-module dependencies to package.json
2018-08-30 12:56:31 +01: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
546f07156f
Move node locales and tidy up package.json files
2018-08-20 20:31:29 +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
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
ecd8f97d8b
WIP: move all the code
2018-08-04 22:23:06 +01:00