Commit Graph

153 Commits

Author SHA1 Message Date
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
Nick O'Leary
5f3e9a19ea
Introduce toggleButton and move flow-disabled to use it 2019-05-21 15:25:38 +01:00
Nick O'Leary
0e02e21967
Get rid of Bootstrap 2019-05-02 17:03:42 +01:00
Nick O'Leary
90b167eba1
Remove bootstrap.js and package all js in vendor.js 2019-05-02 16:10:47 +01:00
Nick O'Leary
5e8279cf51
Add workspace statusBar 2019-04-29 17:24:14 +01:00
Nick O'Leary
b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
Nick O'Leary
236d437430
Add api docs landing content 2019-02-28 22:21:22 +00:00
Nick O'Leary
e0bb03a53f
More api documentation updates 2019-01-28 14:40:42 +00:00
kazntree
7ab5a2be47 remove chromedriver package, and instruct how to install it when running grunt test-ui 2019-01-20 19:10:54 +09:00
Nick O'Leary
4749c92252
Add View Tools 2019-01-18 21:19:03 +00:00
Nick O'Leary
6031f146aa
Add TreeList common widget 2018-12-20 13:15:31 +00:00
Nick O'Leary
ea4d65ceee
Add RED.editor.registerTypeEditor for custom type editors 2018-12-10 22:21:21 +00:00