Commit Graph

127 Commits

Author SHA1 Message Date
Steve-Mcl bc7852c1cc Allow codeEditor theme to be set missing from settings.js 2022-07-21 14:44:29 +01:00
Steve-Mcl 8bd02d0c36 update header url if set in theme and not settings 2022-07-13 20:36:27 +01:00
Steve-Mcl c6cfbb8755 use page&theme settings in a theme plugin 2022-07-13 20:16:34 +01:00
Nick O'Leary 13e8aeae4e
Fix defaulting to monaco if settings does not contain codeEditor 2022-07-03 20:22:19 +01:00
Nick O'Leary f33848e16b
Rework start/stop api to use runtime-event notification message 2022-06-29 10:27:44 +01:00
Steve-Mcl 51baed4932 default stop/start feature to `enabled:false` 2022-06-27 18:06:53 +01:00
Steve-Mcl 2f1f587c50 Use HTTP body instead of header for setting flows run state 2022-06-27 18:03:14 +01:00
Steve-Mcl 68331fc40c implement flows runtime stop/start API and UI 2022-06-08 21:56:17 +01:00
Stephen McLaughlin e714ff35c4
Merge branch 'dev' into diagnostics 2022-04-27 12:08:32 +01:00
Nick O'Leary d802ce1484
Merge pull request #3460 from ArFe/feature-add-store-external-token-when-authenticate
Feature add: Store external token when authenticate if provided
2022-04-22 09:51:20 +01:00
Nick O'Leary 14c23051ee
Merge pull request #3388 from mw75/strategy_in_verify
OAuth/OpenID logout with Keycloak - Forum 57492
2022-04-20 10:24:58 +01:00
Steve-Mcl ccb3c991a6 improve rejection message 2022-04-06 15:11:03 +01:00
Nick O'Leary b8435efc97
Allow adminAuth to auto-login users when using passport strategy
Fixes #3467
2022-04-04 21:23:39 +01:00
Steve-Mcl 03763a1423 Update diagnostics as per Issue discussion 2022-03-29 20:48:29 +01:00
Steve-Mcl a2fd705153 Improve diagnostics content 2022-03-28 18:49:56 +01:00
Steve-Mcl 3388f699a0 Add diagnostics endpoint
fixes #3430
2022-03-24 16:00:45 +00:00
Ariel Ferreira 450888f542 check if user contains token and use it instead of generating a new Token 2022-02-26 16:35:46 -05:00
Mario Wolff 5a9d858604 OAuth/OpenID logout with Keycloak - Forum 57492 2022-01-31 08:03:34 +01:00
Nick O'Leary 8b43b31c64
Add checkbox on project-open screen to clear context 2022-01-12 21:05:47 +00:00
Nick O'Leary ea20342d76
Handle non-error responses from token function 2022-01-12 13:48:06 +00:00
Nick O'Leary 7732d52583
Initialize passport when only adminAuth.tokens is set
Fixes #3341
2022-01-12 13:27:01 +00:00
Nick O'Leary 96840ede56
Include full user object on login audit events 2021-11-22 19:58:48 +00:00
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
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
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
Nick O'Leary d8d384a979
Fix plugin loading when browser sends unrecognised lang 2021-05-11 16:42:00 +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 13406e76de
Ensure theme login image is passed through to api response
Fixes #2929
2021-04-12 10:06:35 +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