Commit Graph

264 Commits

Author SHA1 Message Date
Nick O'Leary fbcb1130c9
Merge pull request #3221 from hardillb/disable-tours
Add environment variable to enable/disable tours
2021-10-26 09:47:17 +01:00
Nick O'Leary 4f175fc93e
Fix loading non-default language files leaving runtime in wrong locale 2021-10-25 15:58:07 +01:00
Ben Hardill 2e7188ea4f
Add environment variable to enable/disable tours
NODE_RED_ENABLE_TOURS

Also had to patch editor-api/lib/editor/themes.js to pass
`editorTheme.tours` to the editor.
2021-10-25 11:25:31 +01:00
Nick O'Leary 2ffea143e7
Bump for 2.1.2 2021-10-25 09:38:32 +01:00
Nick O'Leary d4d6f71cf4
Bump for 2.1.1 2021-10-22 09:27:52 +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 7560bb8d7b
Bump for 2.1.0 2021-10-21 09:08:35 +01:00
Nick O'Leary 6cb06c146d
Update for 2.1.0-beta.2 2021-10-14 13:07:58 +01:00
Nick O'Leary a27ce375db
Update package dependencies 2021-10-06 09:11:20 +01:00
Nick O'Leary a88be35292
Merge pull request #3168 from node-red/improve-unit-test-coverage
Improve unit test coverage
2021-10-05 23:31:58 +01:00
Nick O'Leary 893ef227d4
Merge pull request #3084 from Steve-Mcl/theme-monaco-theme
Permit plugin theme to theme monaco editor
2021-10-05 10:42:08 +01:00
Nick O'Leary 012e1cbcc5
Improve unit test coverage 2021-10-04 17:53:14 +01:00
Nick O'Leary ce87abe96e
Fix serving of theme files on Windows
Fixes #3097
2021-09-29 17:59:25 +01:00
Nick O'Leary b3c84242dc
Bump version for 2.1.0-beta.1 2021-09-27 17:50:09 +01:00
Steve-Mcl c20ca3399e codeEditor.options should take precedence
- over plugins monacoOptions
2021-09-21 14:12:21 +01:00
Steve-Mcl 5825da9c76 Merge branch 'dev' into theme-monaco-theme 2021-09-21 14:06:54 +01:00
Nick O'Leary e3853ae402
Improve error reporting with oauth login strategies 2021-09-20 11:48:51 +01:00
Casey Wilkes a3d2f6592e Add support for colouring tab icon in settings.js
```
editorTheme: {
    page: {
       tabicon: {
           icon: "full/path/of/tabicon.svg",
           colour: "#008f00"
    }
}
```

The old way still works also (but doesn't allow the tabicon to
be coloured:
```
editorTheme: {
    page: {
       tabicon: "full/path/of/tabicon.svg"
    }
}
```
2021-09-10 13:10:01 +12:00
Nick O'Leary 3b460fb8fa
Bump for 2.0.6 2021-09-02 09:00:54 +01:00
Dominik Schmidt 630d2ca926 Give passport verfiy callback wrapper the same arity as the original callback passed in via options 2021-08-23 15:57:44 +02:00
Steve-Mcl 08049252f2 permit plugin theme to change other monaco options 2021-07-31 10:24:48 +01:00
Nick O'Leary f1e7ec0c6b
Bump for 2.0.5 2021-07-30 13:28:52 +01:00
Steve-Mcl 8a1d81989b use codeEditor.options.theme 2021-07-26 21:02:11 +01:00
Nick O'Leary ee9234b2c6
Bump for 2.0.4 2021-07-26 17:09:26 +01:00
Steve-Mcl d7a2fc2be4 use them plugin theme `monacoTheme` if present 2021-07-25 15:16:49 +01:00
Nick O'Leary 142176f194
Bump for 2.0.3 2021-07-23 14:38:43 +01:00
Nick O'Leary 269669ba28
Bump for 2.0.2 2021-07-22 11:17:48 +01:00
Nick O'Leary c9597b9447
Bump for 2.0.1 2021-07-20 14:44:47 +01:00
Nick O'Leary 5ba0588c7b
Merge branch 'master' into dev 2021-07-16 08:53:35 +01:00
Nick O'Leary e16ab2a0fd
Bump for 2.0.0 2021-07-13 11:51:23 +01:00
Mauricio Bonani 94ee739d91 Fix scriptFiles 2021-07-07 09:12:58 -04:00
Nick O'Leary f8d8d4b186
Update dependencies 2021-06-29 16:19:28 +01:00
Nick O'Leary b516ab9b4f
Batch messages sent over comms to prevent flooding 2021-06-16 11:45:02 +01:00
Nick O'Leary 68a5325849
Bump version to 2.0.0-beta.2 2021-06-16 11:44:14 +01:00
Nick O'Leary a9b252b8fa
Ensure httpServerOptions gets applied to ALL the express apps
This is silly. Turns out setting options at a top level app
does not percolate down to sub apps (and vice versa). You
have to apply the options to ALL express apps.
2021-06-08 21:17:42 +01:00
Nick O'Leary e042ef05a4
Update dependencies 2021-06-02 16:24:12 +01:00
Nick O'Leary 7c02e4d66a
Merge branch 'master' into dev 2021-06-02 15:40:56 +01:00
Nick O'Leary 3e6a55f78e
Update to latest 6.x ws module 2021-06-02 11:58:51 +01:00
Nick O'Leary a9164e63ab
Merge branch 'dev' into pr_2971 2021-05-18 16:30:13 +01:00
Nick O'Leary 4f77bbeb2b
Update for 1.3.5 2021-05-18 11:52:49 +01:00
Nick O'Leary 5dbaaae68e
Merge branch 'master' into dev 2021-05-12 16:00:36 +01:00
Nick O'Leary d8d384a979
Fix plugin loading when browser sends unrecognised lang 2021-05-11 16:42:00 +01:00
Nick O'Leary 71ba73b38f
Merge branch 'master' into dev 2021-05-04 11:19:05 +01:00
Steve-Mcl 69dafd6c68 add codeEditor settings 2021-04-29 16:53:59 +01:00
Nick O'Leary 1af21735a9
Fix theme handling when no editorTheme.page setting 2021-04-29 15:32:26 +01:00
Nick O'Leary b0e349b215
Update for 1.3.4 2021-04-29 11:22:22 +01:00
Nick O'Leary cd3aba2b89
Allow nodes to access resolved theme files
Fixes #2968
2021-04-29 10:17:07 +01:00
Nick O'Leary 0e06da6c63
Update for 1.3.3 2021-04-20 11:06:23 +01:00
Dave Conway-Jones e0c7269b8e
bump other refs to bcrypt up to 5.0.1 2021-04-19 13:21:12 +01:00
Nick O'Leary b0955705be
Update to 1.3.2 2021-04-13 13:34:16 +01:00
Nick O'Leary 13406e76de
Ensure theme login image is passed through to api response
Fixes #2929
2021-04-12 10:06:35 +01:00
Nick O'Leary cb1a178fbf
Set 2.0.0-beta.1 version 2021-04-09 10:35:19 +01:00
Nick O'Leary 749533b0b4
Bump for 1.3.1 2021-04-08 16:23:22 +01:00
Nick O'Leary 449d76a6c7
Update version for 1.3.0 2021-04-06 18:31:49 +01:00
Nick O'Leary ff93a38354
Update dependencies 2021-04-06 18:31:02 +01:00
Nick O'Leary 8543613563
Allow module to provide resources and automatically expose them 2021-03-15 21:06:10 +00:00
Nick O'Leary 0dc4440a99
Merge branch 'master' into dev 2021-02-25 17:56:01 +00:00
Nick O'Leary 46bc331428
Merge pull request #2843 from node-red/theme-keymap
Allow default keymap to be overridden in settings file
2021-02-25 16:05:51 +00:00
Nick O'Leary 3f9a29730f
Add partial implementation of adding library sources via editor
This adds lots of commented out code that provides a settings panel
to add new library sources. It is incomplete as it doesn't actually
add/update the library sources on the runtime.

For 1.3, I'm focussing on allowing additional sources get added
via the settings file only. I've done enough work on the editor
side to convince myself more work is needed than I can justify
at this time on what is otherwise not going to be a widely
used feature.
2021-02-18 11:58:23 +00:00
Nick O'Leary fad8dcd304
Bump for 1.2.9 2021-02-03 18:04:37 +00:00
Nick O'Leary 735de2908a
Handle more valid language codes when validating lang params
Fixes #2856
2021-02-03 15:43:26 +00:00
Nick O'Leary 23f0cd3a26
Bump for 1.2.8 2021-02-02 13:11:33 +00:00
Nick O'Leary 61690ecf4a
Allow default keymap to be overridden in settings file 2021-01-28 16:42:16 +00:00
Nick O'Leary 3a0074d96e
Merge branch 'master' into dev 2021-01-27 23:28:19 +00:00
Nick O'Leary 9b5ed8407f
Broaden lang verification to include * 2021-01-27 22:06:12 +00:00
Nick O'Leary 1f6328bf4e
Add initial support for ThemePlugins 2021-01-26 13:49:47 +00:00
Nick O'Leary a0f736bb88
Validate user-provided language parameter before passing to i18n 2021-01-25 17:06:27 +00:00
Nick O'Leary a006b52052
Initial plugin runtime api implementation 2021-01-18 16:25:40 +00:00
Nick O'Leary c40412d7c6
Merge pull request #2690 from node-red/sf-module
[sf-modules] Support npm subflow modules
2021-01-08 21:16:05 +00:00
Nick O'Leary e30a01310e
Merge pull request #2788 from kevinGodell/dev
middleware integration
2021-01-07 17:11:48 +00:00
Nick O'Leary da96c85d32
Handle subflow modules with their own npm dependencies 2021-01-07 11:26:20 +00:00
Nick O'Leary 7913b3cbc2
Merge branch 'master' into dev 2021-01-07 10:17:50 +00:00
Nick O'Leary abe77ab96f
Bump for 1.2.7 2021-01-06 11:49:31 +00:00
Nick O'Leary ea720bb4a5
Bump dependencies 2021-01-06 11:41:17 +00:00
Nick O'Leary aacb92a7ae
Implement allow/denyList when loading/installing modules 2020-12-27 12:49:17 +00:00
Kevin Godell 34b27f2e68
allow for adding an array of middleware functions 2020-12-22 16:28:33 -06:00
Nick O'Leary 5992ed1fab
Fully remove when.js dependency 2020-12-07 11:49:01 +00:00
Nick O'Leary 4bfe9a9ae9
Bump for 1.2.6 2020-11-25 21:09:45 +00:00
Nick O'Leary c6129b44a1
Merge branch 'master' into dev 2020-11-18 16:36:56 +00:00
Nick O'Leary 8ebcee32c2
Bump for 1.2.5 2020-11-17 23:09:07 +00:00
Nick O'Leary 795416a84d
Bump for 1.2.4 2020-11-17 21:03:24 +00:00
Nick O'Leary 6ea978d83d
Prevent needless retention of node status messages 2020-11-16 21:05:13 +00:00
Nick O'Leary 2a8290a4b7
Bump version to 1.3.0-beta.1 2020-11-13 18:23:35 +00:00
Nick O'Leary 281d8b7cec
Bump for 1.2.3 2020-11-02 21:31:27 +00:00
Nick O'Leary 8049e44dec
Update CHANGELOG for 1.2.2 2020-10-19 13:25:38 +01:00
Nick O'Leary 978eb95acd
Bump for 1.2.1 2020-10-15 16:22:37 +01:00
Nick O'Leary 82ad5839fa
Update changelog and bump dependencies 2020-10-13 21:49:11 +01:00
Nick O'Leary a954c198fb
Bump version for 1.2.0-beta.1 2020-09-30 10:20:41 +01:00
Nick O'Leary c5bdd3d056
Allow user to manage project version string 2020-09-28 11:30:46 +01:00
Nick O'Leary b7243c2226
Merge branch 'master' into dev 2020-09-16 11:54:34 +01:00
Nick O'Leary 70b6674f44
Replace Math.random with crypto.getBytes for session tokens 2020-09-11 14:09:54 +01:00
Nick O'Leary 6f1ed76b4c
Add support for file upload in /nodes api 2020-08-13 15:54:54 +01:00
Nick O'Leary bcd85b11a1
Merge branch 'master' into dev 2020-08-05 15:19:54 +01:00
Nick O'Leary ec368ae3fd
Bump for 1.1.3 2020-08-05 14:59:25 +01:00
Nick O'Leary 16c26d8098
Move runtime settings back to adminApi from editorApi
Fixes #2662
2020-07-31 15:26:21 +01:00
Nick O'Leary 43db1824be
Bump for 1.1.2 2020-07-10 20:13:05 +01:00
Nick O'Leary 1df2f5e96a
Allow Comms websocket auth to be done via token header
Fixes #2642
2020-07-09 19:07:51 +01:00
Nick O'Leary 8b36279e52
Bump version 1.2.0-alpha.1 2020-07-08 15:57:32 +01:00
Nick O'Leary 6df26f2400
Bump for 1.1.1 2020-07-08 10:30:20 +01:00
Nick O'Leary 57154b2853
Authenticate websocket comms using user-provided token if present
Fixes #2642
2020-07-06 20:45:07 +01:00