Commit Graph

164 Commits

Author SHA1 Message Date
Nick O'Leary 6635ff9a69
Rework mermaid integration to support off-DOM rendering 2023-09-22 15:23:01 +01:00
Steve-Mcl 1eddad82c8 update typings 2023-03-03 10:55:06 +00:00
Hiroyasu Nishiyama 038f75e48f add support for mermaid diagram to markdown editor 2023-01-05 17:25:16 +09:00
Hiroyasu Nishiyama f23d0480e4 add global environment variable feature 2022-11-04 18:42:51 +09:00
Steve-Mcl 3cef2bb7e0 Merge remote-tracking branch 'upstream/master' into stop-start-flows 2022-06-27 13:03:52 +01:00
Nick O'Leary 0eba4bdd61
Add right-click context menu to workspace 2022-06-16 13:59:14 +01:00
Steve-Mcl 68331fc40c implement flows runtime stop/start API and UI 2022-06-08 21:56:17 +01:00
Steve-Mcl 5633c5224e Add system info UI 2022-03-29 20:59:35 +01:00
Nick O'Leary f4f11c8884
Add cache-busting query params to index.mst 2021-10-22 09:14:01 +01:00
Nick O'Leary 7f9e318214
Add autoComplete widget and add to TypedInput for msg. props 2021-10-05 17:59:44 +01:00
Nick O'Leary 48baac916c
Add initial tour-guide feature 2021-09-26 20:46:38 +01:00
Nick O'Leary e910f3915d
Initial refactor of edit dialogs to separate panes 2021-09-02 10:33:43 +01:00
Nick O'Leary 844bf29de1
Add RED.view.annotations api 2021-06-24 17:40:26 +01:00
Nick O'Leary a9164e63ab
Merge branch 'dev' into pr_2971 2021-05-18 16:30:13 +01:00
Nick O'Leary 1550e5343c
Merge branch 'master' into dev 2021-05-13 13:42:26 +01:00
Nick O'Leary 319af51f84
Add RED.hooks to editor 2021-05-13 13:35:12 +01:00
Nick O'Leary b77cd56a01
Migrate from node-sass to sass
node-sass is deprecated and doesn't work on Node 16.
sass is actively maintained and considered the canonical sass
implementation.
2021-05-11 18:13:21 +01:00
Nick O'Leary 71ba73b38f
Merge branch 'master' into dev 2021-05-04 11:19:05 +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
Nick O'Leary a0c09fc617
Update api docs header 2021-04-27 17:30:30 +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 0167c25e08
Export package version in Grunt file so docs template can access 2021-04-16 11:56:23 +01:00
Nick O'Leary 7531314e3f
Add RED.plugins module to editor 2021-01-18 16:25:40 +00:00
Nick O'Leary 6fb96fa3c1
Move exec and events components to util module
The exec and events components are common components that
are used by both runtime and registry. It makes sense to
move them into the util package.

This also adds some docs to the registry module
2020-12-07 11:49:01 +00:00
Nick O'Leary 9f3e9786a8
Disable nyc coverage reporting on older node versions 2020-12-07 11:46:14 +00:00
Nick O'Leary d79cd463a0
Disable projects when flowFile passed into grunt dev
Useful for quickly testing a standalone flow file
2020-11-14 14:09:24 +00:00
Nick O'Leary ff0be73b1f
Migrate to nyc instead of istanbul for code coverage 2020-10-19 21:10:34 +01:00
Nick O'Leary bdd736315a
Add RED.hooks engine 2020-09-29 12:19:27 +01:00
Nick O'Leary 952c9d8bdb
Upgrade to latest nodemon to fix restart
The grunt-nodemon module we were using is no longer
maintained and is stuck on a 1.x version of nodemon.

At that version, node-red doesn't restart properly
due to our increased signal handling in the core.

This change removes grunt-nodemon and replaces it
with nodemon itself, with a custom task to wrap it
that does the same work as grunt-nodemon was doing.
2020-09-29 12:11:10 +01:00
Nick O'Leary dc81b7a699
Add --userDir=/tmp/foo support to grunt dev 2020-08-14 00:08:09 +01:00
Steve-Mcl 53490cd368 Add developer options
- permits npm run build-dev.  skips minification & doesnt launch nodemon
- permits npm run dev for those without grunt installed globally
2020-06-27 11:24:06 +01:00
Nick O'Leary cf00acac04
Bump jquery/migrate to latest versions 2020-05-27 17:13:33 +01:00
Nick O'Leary 9f29149d87
[help-sidebar] Add help sidebar 2020-05-06 16:15:12 +01:00
Nick O'Leary a5b33d11fc
[outline] Add outline section to info sidebar 2020-04-27 11:17:19 +01:00
Nick O'Leary efad7270b7
Add polyfills for IE11 2020-04-03 16:57:15 +01:00
Nick O'Leary 294696daf5
Merge branch 'dev' into groups 2020-03-30 23:42:52 +01:00
Nick O'Leary 58696c6ad4
[groups] Add better colour picker for group fill/stroke 2020-03-19 13:41:54 +00:00
Nick O'Leary 86ce5c591b
[groups] add basic group functionality to editor 2020-03-03 20:55:01 +00:00
Nick O'Leary 3f86fd7176
Upgrade to latest marked and dompurify libs 2020-02-24 11:22:47 +00:00
Nick O'Leary a781a1dd4d
Merge pull request #2440 from kazuhitoyokoi/master-supportbrowserstack
Support BrowserStack in UI testing
2020-02-05 15:40:03 +00:00
Nick O'Leary 9d4238e5cc
Re-enable jshint on editor and fixup issues 2020-01-22 11:53:41 +00:00
Kazuhito Yokoi b49835c72f
Support BrowserStack in UI testing 2020-01-21 09:49:19 +09:00
Kazuhito Yokoi 0f8af4ba1c Use boolean value as flag instead of string value 2020-01-14 20:36:10 +09:00
Dave Conway-Jones e8ef476a6d
update grunt-sass and add node-sass for node12 support
and update Gruntfile.js to use them
2019-10-25 15:23:51 +01:00
Nick O'Leary e94634544c
Add script to generate npm publish script 2019-10-14 15:50:48 +01:00
Nick O'Leary 5a094b44c4
Remove 'uglify' from Grunt watch task
The grunt watch task is used by the grunt dev task that watches for
changes and auto rebuilds the editor js.

When running in dev mode, the editor will load the unminified version
of red.js. This means there is no point in running the uglify task to
generate the minified version. The uglify task tasks a few seconds and
if you do a couple rapid saves, the second will often not get built as
the previous uglify task was still running.

Removing it from the dev task shouldn't have any side effects. It still
forms part of the `grunt build` and `grunt release` tasks where it is
needed.
2019-09-10 17:04:53 +01:00
Nick O'Leary 6e3fa974ba
Remove all ui test dependencies from package.json
Given chromedriver was already an extra dependency that needed to
be manually installed, I have now moved all of the webdriver.io
dependencies out as well.

A new script has been added to install all of the ui test dependencies.

The Grunt file has been updated on how it checks for the missing
deps.
2019-08-06 16:32:46 +01:00
Nick O'Leary cc0933eee4
Rename commandPrompt to actionList 2019-06-11 22:43:28 +01:00
Nick O'Leary ffeb2e91f4
Add command prompt dialog 2019-06-11 22:43:28 +01:00
Nick O'Leary c4f5df0cd0
Bump to jquery 3.4.1 2019-05-22 00:03:26 +01:00