Dave Conway-Jones
2ebdd6c5cb
let join node handle merged objects with repeated properties and honour parts
...
to close issue from slack re repeated {"d":"d","d":"d","d":"d"} messages
2019-02-20 00:11:31 +00:00
Kazuhito Yokoi
91cc03dd80
Fix typo and update message catalog
2019-02-19 14:24:37 +09:00
Nick O'Leary
9d673a213e
Use absolute flow file path in project settings
...
This ensures the diff logic can recognise the project flow file
and apply merge resolution to paths that git knows
2019-02-17 22:18:40 +00:00
JeanCarl
97e789538e
Transfer placeholder and type to generated TypedInput field
2019-02-15 14:40:19 -08:00
Nick O'Leary
e05ff01d57
Allow a project to be located below the root of repo
2019-02-15 22:11:25 +00:00
Dave Conway-Jones
28d4084aa0
ensure JSON node handles single booleans and numbers
2019-02-15 17:07:11 +00:00
Nick O'Leary
afd2ccfb4f
Detect the cloning of an empty git repo properly
2019-02-14 14:00:25 +00:00
Nick O'Leary
057127f4de
Hitting enter in Comment node name field clicks markdown button
...
When Enter is pressed in a form, the browser will find the first
submittable element and trigger it. By default <button> elements
have type set to 'submit' which causes them to be targetted by
this behaviour.
Adding `type="button"` prevents this behaviour. This change
targets some main offenders - in particular the markdown toolbar.
There are of lots of other `<button>` elements without this attribute
set, so they need tidying up. Not currently aware of any others that
exist in a <Form> so may be immune from this behaviour.
2019-02-13 20:41:34 +00:00
Dave Conway-Jones
2937b25d6d
Shift status text left if no shape specified
2019-02-13 14:36:36 +00:00
Nick O'Leary
419f26db87
Fix use of custom auth strategy plugins
2019-02-12 10:45:38 +00:00
Nick O'Leary
be1b9c0e43
Handle treeList labels as text not html
2019-02-11 16:15:25 +00:00
Nick O'Leary
894d28c60b
Remove remnants of when library in git/index
...
Fixes #2057
2019-02-11 09:01:40 +00:00
Nick O'Leary
06cc08d9f7
Better align node status text to status dot
2019-02-09 21:27:54 +00:00
Nick O'Leary
75393c0b28
Clear subflow status no close
2019-02-09 21:24:31 +00:00
Nick O'Leary
bdc1da70c1
Change subflow edit dialog titles
2019-02-09 21:20:20 +00:00
Nick O'Leary
7cef990ba6
Resize subflow edit dialog properly
2019-02-09 20:44:21 +00:00
Nick O'Leary
fb0f12bb20
Bump to 0.20.0-beta.5
2019-02-08 10:41:22 +00:00
Nick O'Leary
8c00e1fdf4
Bump dependencies
2019-02-08 10:35:06 +00:00
Nick O'Leary
a31fa82284
Merge pull request #2056 from node-red-hitachi/update-logic-nodes-info-jp
...
Update Japanese info text of logic nodes
2019-02-08 09:38:17 +00:00
Hiroyasu Nishiyama
e9f248020e
update Japanese info text of split node
2019-02-08 09:46:35 +09:00
Hiroyasu Nishiyama
a8e1058af6
fix typos in Japanese info text of range node
2019-02-08 09:35:02 +09:00
Hiroyasu Nishiyama
1a087fd799
update info text of switch node
2019-02-08 09:32:07 +09:00
Hiroyasu Nishiyama
50c81533e0
fix header level of switch node info text
2019-02-08 09:26:11 +09:00
Hiroyasu Nishiyama
5eab9aa4b1
fix typos in tcpin node info text
2019-02-08 09:14:32 +09:00
Hiroyasu Nishiyama
1970cbfe37
fix mismatched p-tag
2019-02-08 09:05:29 +09:00
Hiroyasu Nishiyama
6d736201f9
fix unmatched p-tag
2019-02-08 08:58:59 +09:00
Nick O'Leary
51ec52b573
Merge pull request #2053 from node-red-hitachi/update-node-messages-jp
...
Update Japanese message catalogue of core nodes
2019-02-07 22:00:55 +00:00
Nick O'Leary
d099387186
Merge pull request #2054 from node-red-hitachi/update-core-nodes-info-jp
...
Update Japanese info text of core nodes
2019-02-07 21:59:57 +00:00
Hiroyasu Nishiyama
3f91e4da66
update Japanese info text of template node
2019-02-07 23:35:09 +09:00
Hiroyasu Nishiyama
4124159378
update Japanese info text of function node
2019-02-07 23:24:12 +09:00
Hiroyasu Nishiyama
18f3789e29
update Japanese info text of catch node
2019-02-07 23:15:06 +09:00
Hiroyasu Nishiyama
7828af591e
update Japanese message catalogue of core nodes
2019-02-07 20:03:16 +09:00
Nick O'Leary
d432dba726
Merge pull request #2052 from node-red-hitachi/update-editor-messages-jp
...
Update Japanese editor message catalogue
2019-02-07 09:30:13 +00:00
Nick O'Leary
724acff591
Properly sanitize node names in deploy warning dialogs
2019-02-07 09:11:06 +00:00
Hiroyasu Nishiyama
482b432e2c
update Japanese message catalogue for JSONata
2019-02-07 12:49:36 +09:00
Hiroyasu Nishiyama
351c0cb0a8
add missing colon
2019-02-07 12:33:36 +09:00
Hiroyasu Nishiyama
314a0fb5d6
update Japanese message catalog
2019-02-07 12:28:59 +09:00
Nick O'Leary
a301bf8bf5
Fix XSS issues in library ui code
2019-02-06 22:25:25 +00:00
Nick O'Leary
37b3601c47
Link Node - scroll to current flow in node list
2019-02-06 15:38:35 +00:00
Nick O'Leary
6e944485f0
Merge pull request #2030 from node-red-hitachi/scope-parent
...
Allow access of scope parent
2019-02-06 14:10:57 +00:00
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
2a8f0a4eab
Display parent subflow properties in edit dialog
2019-02-05 23:08:39 +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
Nick O'Leary
aab0f2dcd5
Merge pull request #2047 from node-red-hitachi/fix-use-common-i18n-label
...
Fix use of i18n label
2019-02-05 08:31:38 +00:00
Kazuhito Yokoi
f1a5e8a42c
Fix direction value of subflow output
2019-02-05 16:27:02 +09:00
Hiroyasu Nishiyama
723e9b3cba
make $parent access without key return undefined
2019-02-05 14:47:30 +09:00
Hiroyasu Nishiyama
ff759a8074
use common i18 label for variable name placeholder
2019-02-05 13:12:21 +09:00
Nick O'Leary
4de1056d82
Tidy up HTTP Request payload to GET params work
2019-02-04 21:30:11 +00:00
Nick O'Leary
884b8da8bf
Merge pull request #1981 from jonferreira/dev
...
Use payload properties as parameters on a GET request
2019-02-04 20:43:45 +00:00
Nick O'Leary
044ad77a4b
Merge pull request #2044 from node-red-hitachi/cookie_encoding
...
Allow http request node to avoid encoding cookie
2019-02-04 20:39:05 +00:00
Nick O'Leary
1fe8b388a3
Allow subflow env-var list to resize with the dialog
2019-02-04 17:20:31 +00:00
Dave Conway-Jones
79fe7d684c
Add parsed JSON output option to MQTT subscribe node
2019-02-04 16:35:42 +00:00
Dave Conway-Jones
c409af0ea8
Add local time display option to numerics in debug window
2019-02-04 15:51:42 +00: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
Hiroki Uchikawa
f3d2053878
Make the encode option a boolean value to determine whether to encode
2019-02-01 17:15:07 +09:00
Nick O'Leary
efe8fbbd11
Better handling of multiple flow merges
...
Fixes #2039
Keeps better track of what was merged so a subsequent merge
properly identifies new-vs-old and doesn't remove thinks by mistake
2019-01-30 15:12:01 +00: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
Hiroki Uchikawa
7c6eb7c794
Allow http request node to change cookie value encoding
2019-01-30 19:33:23 +09:00
Hiroki Uchikawa
2037741b54
Revert cookie encoding behavior
2019-01-30 19:24:19 +09: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
0b05b883cb
add test cases
2019-01-30 00:04:41 +09: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
Nick O'Leary
ceba08a801
Update dependencies and tidy up sentiment
2019-01-28 15:27:40 +00:00
Nick O'Leary
e0bb03a53f
More api documentation updates
2019-01-28 14:40:42 +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
2b43e3ee23
add placeholder for env var name
2019-01-27 21:56:13 +09:00
Nick O'Leary
79062e2034
Move nodes to top-left corner when converting to subflow
2019-01-26 20:49:22 +00: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
3c8e4f8bbf
Merge branch 'pr_2033' into dev
2019-01-23 16:29:14 +00:00
Nick O'Leary
aa9a37da38
Add placeholder node when in quick-add mode
2019-01-23 16:27:13 +00:00
Nick O'Leary
85efb48c1f
Merge branch 'dev' into pr_2033
2019-01-22 16:13:26 +00:00
Kazuhito Yokoi
d7bbf8a8da
Fix bug in websocket node
2019-01-22 12:03:30 +09:00
Dave Conway-Jones
e2ee88de84
offset menu so you can see node placement
2019-01-21 22:08:25 +00:00
Dave Conway-Jones
1d1ab5b7b2
don't pin new nodes to grid if not using grid
2019-01-21 16:15:38 +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
acc633b4b6
Don't collapse version control header when clicking refresh
2019-01-21 10:06:02 +00:00
Dave Conway-Jones
766ccf85c2
add fast entry via keyboard for string of nodes
2019-01-20 14:43:17 +00:00
Nick O'Leary
7a6e1fe566
Check for undeployed change before showing open project dialog
2019-01-18 21:42:13 +00:00
Nick O'Leary
4749c92252
Add View Tools
2019-01-18 21:19:03 +00:00
Nick O'Leary
0e035e47df
Avoid duplicate links when missing node type installed
...
Fixes #2032
2019-01-17 22:35:58 +00:00
Nick O'Leary
1359545e13
Allow debug edit expression to be sent to status
2019-01-17 17:15:53 +00:00
Nick O'Leary
5b2f24f842
Handle i18n properly when key is a valid sub-identifier
...
Fixes #2028
The i18n library will, be default, return a string containing
an error message about the key resolving to an object. We cannot
distinguish that string from others to handle ourselves.
The `returnObjectTrees` option will cause it to return the object
rather than error. We can then test for that and return the original
key if the object is returned - which is the desired result.
2019-01-17 14:44:41 +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
901b32297e
Restore RED.auth to node-red module api
2019-01-16 23:41:44 +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