Steve-Mcl
c475536388
provide extra libs and call to refresh
2021-04-29 18:00:23 +01:00
Steve-Mcl
cc7def89af
ensure monaco is correctly sized
2021-04-29 17:59:12 +01:00
Steve-Mcl
58da87898e
integrate monaco
...
- refactors createEditor out to own code files
- moves ace editor to own code file
- adds monaco editor to own code file
- add monaco bootstrap
- update mst to include monaco asset
- update grunt to include new files and integrate
2021-04-29 17:58:41 +01:00
Steve-Mcl
bded5490d2
add utility func getBrowserInfo
...
- prep for monaco - for slimming down monaco on mobile
- prep for monaco - needed to prevent monaco on IE
2021-04-29 17:35:11 +01:00
Steve-Mcl
c3715a2a3d
ensure editor is removed
...
- Fixes issue with left over HTML in the DOM
2021-04-29 17:32:44 +01:00
Steve-Mcl
abf084f6c2
Dont call to ACE, re-use createEditor instead
2021-04-29 17:31:38 +01:00
Steve-Mcl
37ba409dc3
ensure mode is set for event log viewer
2021-04-29 17:29:54 +01:00
Steve-Mcl
f29488b24f
prevent editor context menu being clipped by sidebar
...
- raise / lower tray z-index for correct slide animation
2021-04-29 17:03:17 +01:00
Steve-Mcl
71bdade7b9
prevent exception if ace is missing
2021-04-29 16:59:11 +01:00
Steve-Mcl
60d97c887d
missing args from JSONata $now signature
2021-04-29 16:57:22 +01:00
Steve-Mcl
5bba50f01f
refactor node.libs to a function getLibsList
...
- preparation for monaco integration
2021-04-29 16:56:16 +01:00
Steve-Mcl
1f7884dc70
add typings for basic intellisense
2021-04-29 16:54:29 +01:00
Steve-Mcl
69dafd6c68
add codeEditor settings
2021-04-29 16:53:59 +01:00
Steve-Mcl
64b79cd5ac
add monaco dist
...
- includes themes from https://github.com/brijeshb42/monaco-themes
2021-04-29 16:52:22 +01:00
Nick O'Leary
9f2a2b9869
Pass npm args to preUninstall hook to be consistent with preInstall
2021-04-27 17:32:18 +01:00
Nick O'Leary
a0c09fc617
Update api docs header
2021-04-27 17:30:30 +01:00
Nick O'Leary
4133f9c56f
Merge pull request #2936 from node-red/npm-install-hooks
...
Add pre/postInstall hooks to npm install handling
2021-04-27 10:57:14 +01:00
Nick O'Leary
53055064e1
Merge pull request #2932 from node-red/file-cwd-setting
...
File node: Add fileWorkingDirectory to customise how relative paths are resolved
2021-04-27 10:49:02 +01:00
Nick O'Leary
06090d8de1
Merge branch 'dev' into pr_2949
2021-04-27 10:45:33 +01:00
Nick O'Leary
d6ccae38f8
Merge pull request #2959 from node-red/inject-cronosjs
...
Move Inject node to CronosJS module
2021-04-27 10:44:22 +01:00
Nick O'Leary
f7210effec
Rework hooks structure to be a linkedlist
...
Allows for safe removal of hooks whilst they are being invoked
2021-04-26 21:14:42 +01:00
Nick O'Leary
ea50ba16f9
Move Inject node to CronosJS module
2021-04-26 14:47:50 +01:00
Nick O'Leary
b62e4f6662
Fix deprecation of httpRoot
2021-04-26 14:43:06 +01:00
Kazuhito Yokoi
46af2e37a7
Add Japanese translations for delay node enhancements ( #2958 )
2021-04-26 09:57:11 +01:00
Nick O'Leary
62f2a552ea
Merge pull request #2953 from node-red/depreacte-usage-of-httpRoot-and-add-warning
...
Deprecate usage of httpRoot and add warning
2021-04-23 16:42:01 +01:00
Dave Conway-Jones
b053e02174
remove httpRoot from setting.js entirely
2021-04-23 16:38:45 +01:00
Dave Conway-Jones
3798167908
Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-04-23 16:36:22 +01:00
Dave Conway-Jones
56fe2014e1
Update packages/node_modules/@node-red/runtime/lib/index.js
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-04-23 16:36:15 +01:00
Nick O'Leary
be2e64433f
Merge pull request #2951 from node-red/fix-flowfile-name-in-settings
...
fix flowfile name to flows.json in settings
2021-04-23 16:27:45 +01:00
Dave Conway-Jones
8732e89e55
Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-04-23 16:22:50 +01:00
Dave Conway-Jones
fdd0a93bad
Deprecate use of httpRoot in settings and add warning
...
(no change is actual behaviour yet - just warning)
Should we remove option from settings ? or just label it ?
2021-04-23 15:42:57 +01:00
Nick O'Leary
dd12572b1d
Allow node16 build to fail for now
2021-04-23 14:30:50 +01:00
Dave Conway-Jones
5cc791690b
fix flowfile name to flows.json in settings
...
and warn if not set (as if anyone reads warnings)
Move setting to top of settings.js as it will be edited more often.
Default behaviour will still work
(needs translations)
2021-04-23 14:09:06 +01:00
Dave Conway-Jones
93971537b4
add rate option to queue and timed modes. so a simple check box instead.
2021-04-22 11:02:34 +01:00
Dave Conway-Jones
87e816a7f5
Delay node - Make msg.rate an optional override
2021-04-22 10:26:35 +01:00
Dave Conway-Jones
0f45b1da48
Try to make delay modes consistent as regards flush
...
behaviour is different. May cause minor breakage.
if flush arrives with payload that is now included with the flushed data so no data is lost. Previously any payload was dropped.
2021-04-22 09:43:54 +01:00
Kazuhito Yokoi
a20049c82a
Delay node enhancements ( #2294 )
...
* Remove unused messages in message catalog
* Support msg.rate in delay node
* Support nodeMessageBufferMaxLength in delay node
* Add logging function for queue size
* Support msg.nodeMessageBufferMaxLength
* Revert "Support msg.nodeMessageBufferMaxLength"
This reverts commit cc72f892f7
.
* Improve logging function for delay node
* Add support for Messaging API to delay node
* Add documentation about msg.rate in delay node
* Add test cases for msg.rate in delay node
Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
2021-04-22 09:01:28 +01:00
Nick O'Leary
250005ad16
Allow npm install args to be customised by preInstall trigger
2021-04-20 22:55:06 +01:00
Nick O'Leary
719aea2a58
Add Node 16 to travis
2021-04-20 18:38:35 +01:00
Nick O'Leary
68fef169f3
Merge pull request #2944 from node-red/Pull-in-RBE-and-push-out-tail
...
v2: Pull in RBE node and push out tail
2021-04-20 10:57:37 +01:00
Nick O'Leary
c668201df4
Merge pull request #2931 from node-red/join-default
...
Join: change default manual mode to object
2021-04-20 10:57:23 +01:00
Nick O'Leary
1d68c8cc87
Merge pull request #2940 from node-red/i18n-update
...
Update to latest i18n in editor and runtime
2021-04-20 10:57:08 +01:00
Nick O'Leary
b9ac8b42ea
Use paletteLabel if set in help sidebar
2021-04-19 21:07:44 +01:00
Nick O'Leary
b4a03a56b4
Allow preInstall hook to return false to skip npm install
2021-04-19 20:29:30 +01:00
Dave Conway-Jones
e0c7269b8e
bump other refs to bcrypt up to 5.0.1
2021-04-19 13:21:12 +01:00
Dave Conway-Jones
73063df11b
Pull in RBE node and push out tail
2021-04-19 13:09:13 +01:00
Nick O'Leary
f8855b83fa
Update i18next in util package
2021-04-16 17:11:57 +01:00
Nick O'Leary
0d0459d83d
Update to latest i18n in editor and runtime
...
Fixes #2924
2021-04-16 16:52:12 +01:00
Nick O'Leary
d2432716ea
Fix hook requires in unit tests
2021-04-15 15:30:02 +01:00
Nick O'Leary
52ef85cba3
Update test for latest sinon
2021-04-15 15:15:52 +01:00