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
f4f11c8884
Add cache-busting query params to index.mst
2021-10-22 09:14:01 +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
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
Steve-Mcl
08049252f2
permit plugin theme to change other monaco options
2021-07-31 10:24:48 +01:00
Steve-Mcl
8a1d81989b
use codeEditor.options.theme
2021-07-26 21:02:11 +01:00
Steve-Mcl
d7a2fc2be4
use them plugin theme monacoTheme
if present
2021-07-25 15:16:49 +01:00
Nick O'Leary
5ba0588c7b
Merge branch 'master' into dev
2021-07-16 08:53:35 +01:00
Mauricio Bonani
94ee739d91
Fix scriptFiles
2021-07-07 09:12:58 -04:00
Nick O'Leary
b516ab9b4f
Batch messages sent over comms to prevent flooding
2021-06-16 11:45:02 +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
a9164e63ab
Merge branch 'dev' into pr_2971
2021-05-18 16:30:13 +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
cd3aba2b89
Allow nodes to access resolved theme files
...
Fixes #2968
2021-04-29 10:17:07 +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
735de2908a
Handle more valid language codes when validating lang params
...
Fixes #2856
2021-02-03 15:43:26 +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
5992ed1fab
Fully remove when.js dependency
2020-12-07 11:49:01 +00:00
Nick O'Leary
6ea978d83d
Prevent needless retention of node status messages
2020-11-16 21:05:13 +00:00
Nick O'Leary
c5bdd3d056
Allow user to manage project version string
2020-09-28 11:30:46 +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
16c26d8098
Move runtime settings back to adminApi from editorApi
...
Fixes #2662
2020-07-31 15:26:21 +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
57154b2853
Authenticate websocket comms using user-provided token if present
...
Fixes #2642
2020-07-06 20:45:07 +01:00
Arlena Derksen
2436bb0128
Fixes the routes described in #2418 regarding too broad matching of regex URLs.
2020-01-03 21:27:35 +01:00
Nick O'Leary
29f1651a18
Use default language if lng param not set in i18n req
2019-10-18 16:09:14 +01:00
Nick O'Leary
be2dd6dc32
Add req back to audit log events and extend to Projects api
2019-08-09 16:56:11 +01:00
Nick O'Leary
3ff861099a
Move deploy icons to svg
2019-06-21 16:08:43 +01:00
Nick O'Leary
d623848c87
Update all node icons to SVG
...
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.
If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +01:00
Nick O'Leary
5b1defad9f
Simplify index.mst to a single div to insert the editor
2019-05-02 16:09:13 +01:00
Nick O'Leary
369f8b3fe0
Merge pull request #2148 from node-red/new-export-dialog
...
Updated Library UX
2019-04-26 16:23:23 +01:00
Nick O'Leary
493687b5bb
Allow editor language to be chosen in editor settings
...
This gets stored in localStorage of the browser which is not
ideal. This is because we load language catalogs before we
load user preferences - so if this was stored in the runtime,
the editor wouldn't know the user's preference until it was
too late to apply it.
This is likely good enough for now - may need to do something
more convoluted later on.
2019-04-25 15:23:08 +01:00
Nick O'Leary
b581e33611
Update runtime apis to support multiple libraries
2019-04-25 11:32:09 +01:00
Nick O'Leary
81ae552e69
Project ui code using incorrect error property
2019-01-09 17:03:17 +00:00