Commit Graph

264 Commits

Author SHA1 Message Date
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
Nick O'Leary 668678b2c4
Bump version to 1.1.0 2020-06-29 21:08:34 +01:00
Nick O'Leary c9e54f2ba9
Bump for 1.1.0-beta.3 2020-06-17 10:54:15 +01:00
Nick O'Leary 714b3d3fe0
Bump version to 1.1.0-beta.2 2020-06-16 15:21:03 +01:00
Nick O'Leary c0f4e07e10
Bump dependencies 2020-06-03 21:26:31 +01:00
Nick O'Leary 8995fa9ed1
Update changelog for 1.1.0-beta.1 2020-06-01 14:57:37 +01:00
Nick O'Leary 0de49e2a75
Ensure auth failure on project fetch identifies the remote
Fixes #2545
2020-05-21 17:18:46 +01:00
Nick O'Leary b0f9bf2c62
Add httpAdminMiddleware for admin routes 2020-05-05 18:13:21 +01:00
Nick O'Leary d7df20413d
Merge branch 'master' into dev 2020-05-04 11:41:44 +01:00
Nick O'Leary feb5d13e1c
Bump for 1.0.6 2020-04-24 13:55:34 +01:00
Nick O'Leary b82167fefa
Bump for 1.0.5 2020-04-09 14:15:46 +01:00
Nick O'Leary f572c11912
Bump dependencies 2020-04-08 17:43:32 +01:00
Nick O'Leary aafa4fe0b9
Bump dev branch to 1.1.0 2020-04-06 20:29:22 +01:00
Nick O'Leary 05fc3c5eca
Merge branch 'master' into dev 2020-03-30 23:41:33 +01:00
Nick O'Leary 32aa4c41ce
Bump for 1.0.4 2020-02-27 14:37:25 +00:00
KAZUHIRO ITO 83942c2551 Fix plugin only receives the actual token 2020-02-27 19:55:21 +09:00
KAZUHIRO ITO 458d794f52 Fix tokensStrategy order 2020-02-27 19:41:59 +09:00
Nick O'Leary d09ee6611f
Update dependencies 2020-02-26 11:37:37 +00:00
KAZUHIRO ITO bba6855872 Add admin api authentication function 2020-02-26 12:59:40 +09:00
Nick O'Leary 22de8855c1
Handle httpAdminRoot missing ending slash with login strategy
Fixes #2473
2020-02-24 21:08:29 +00:00
Nick O'Leary 6b52206186
Merge branch 'master' into dev 2020-01-22 11:54:24 +00: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 d45274494d
Merge branch 'master' into dev 2019-11-21 21:57:58 +00:00
Nick O'Leary b81be8f358
Update for 1.0.3 again 2019-11-21 17:28:28 +00:00
KAZUHIRO ITO ff96773295 Add node installation from other than public site 2019-11-11 18:25:36 +09:00
Nick O'Leary 2cd5e1d3c5
Bump for 1.0.3 2019-10-27 21:22:20 +00:00
tseigo e022b782a9 Fixed jsdoc descriptions 2019-10-22 00:35:35 +09: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 07fe5b247b
Bump for 1.0.2 2019-10-14 13:17:48 +01:00
Nick O'Leary f75dd2209d
Bump for 1.0.1 2019-10-04 11:13:46 +01:00
Nick O'Leary 4d5f771f9f
Bump for 1.0 2019-09-30 11:02:22 +01:00
Nick O'Leary 34cdbfc852
Bump for 1.0.0-beta.4 2019-09-16 15:27:06 +01:00
Nick O'Leary 28bda9fa41
Bump for 1.0.0-beta.3 2019-08-22 11:09:55 +01:00
Nick O'Leary 18aeeab041
Bump dependencies 2019-08-22 10:40:33 +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 7926055b97
Merge branch 'master' into dev 2019-08-06 16:10:33 +01:00
Ben Hardill 5ab90b85da
Limit the regex for the /nodes/ api end points
fixes #2240

It looks like the regex for the /nodes/... endpoints over matches.

I've added `^` to the start to anchor the matches to the start of the
URL.
2019-07-29 11:42:29 +01:00
Nick O'Leary 944f3bd329
Merge branch 'master' into dev 2019-07-07 21:48:13 +01:00
Nick O'Leary 8bb7b2e88b
Ensure session expiry timeout doesn't exceed limit 2019-07-06 16:34:48 +01:00
Nick O'Leary aab0b0b4bf
Bump for 0.20.7 2019-07-05 11:12:26 +01:00
Nick O'Leary 8c68e76c3e
Merge pull request #2217 from node-red/svg-icons
Update all node icons and editor images to SVG
2019-06-21 22:08:34 +01:00
Nick O'Leary 3ff861099a
Move deploy icons to svg 2019-06-21 16:08:43 +01:00
Nick O'Leary 677442a3c0
Merge branch 'master' into dev 2019-06-21 14:01:34 +01:00
Nick O'Leary b73f12cdba
Bump for 0.20.6 2019-06-21 13:25:39 +01:00
Nick O'Leary 28fbb61e81
Bump dependencies 2019-06-21 13:25:09 +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 16db9d4290
Bump for 1.0.0-beta.2 2019-05-24 11:36:57 +01:00
Nick O'Leary 359c0354f6
Set package version to 1.0.0-beta.1 2019-05-21 23:32:42 +01:00
Nick O'Leary fc77c089fa
Bump dependencies 2019-05-21 23:31:21 +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 7ec999475e
Merge branch 'master' into dev 2019-04-29 08:45:07 +01:00
Nick O'Leary 742bf85a89
Bump all dependencies
Fixes #2152
2019-04-29 08:42:37 +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 ed2a45e975
Bump for 0.20.5 2019-04-05 13:46:25 +01:00
Nick O'Leary fe63ab1242
Bump packages to 0.20.4 2019-04-05 10:21:11 +01:00
Nick O'Leary 1795c491a8
Merge branch 'master' into dev 2019-03-28 16:59:04 +00:00
Nick O'Leary ea333c19f7
Update package dependencies 2019-03-28 14:46:16 +00:00
Nick O'Leary 5a9fcd9267
Bump dev branch to 0.21.0-alpha.0 2019-03-26 15:51:17 +00:00
Nick O'Leary fe2360883f
Bump bcrypt to latest 2019-03-20 17:01:58 +00:00
Nick O'Leary b45ddadb09
Bump for 0.20.3 2019-03-20 15:24:23 +00:00
Nick O'Leary 161ee17f45
Bump for 0.20.2 2019-03-15 19:03:30 +00:00
Nick O'Leary bdf68311b4
Bump for 0.20.1 2019-03-15 11:22:01 +00:00
Nick O'Leary 58914e5c5f
Bump package to 0.20.0 2019-03-12 14:53:12 +00:00
Nick O'Leary 9c474cc089
Bump for 0.20 2019-03-12 10:59:20 +00:00
Nick O'Leary 9e74ddac48
Bump dependencies 2019-03-04 12:33:36 +00:00
Nick O'Leary 419f26db87
Fix use of custom auth strategy plugins 2019-02-12 10:45:38 +00:00
Nick O'Leary fb0f12bb20
Bump to 0.20.0-beta.5 2019-02-08 10:41:22 +00:00
Nick O'Leary d23b32a830
Bump to 0.20.0-beta.4 2019-01-28 15:29:01 +00:00
Nick O'Leary ceba08a801
Update dependencies and tidy up sentiment 2019-01-28 15:27:40 +00:00
Nick O'Leary e0bb03a53f
More api documentation updates 2019-01-28 14:40:42 +00:00
Nick O'Leary f309a9d537
Bump version to 0.20.0-beta.3 2019-01-10 13:34:47 +00:00
Nick O'Leary 81ae552e69
Project ui code using incorrect error property 2019-01-09 17:03:17 +00:00
Nick O'Leary 81d5b47fce
Update ws dependency in sub-modules 2019-01-08 16:31:18 +00:00
Nick O'Leary ed31a0cf15
Update to WS 6.x and fix all it broke
Significant update to the ws module to get it completely up to date.

The jump from 1.x to 6.x has required a rewrite of our WS handling. Most
specifically the means by which you can have multiple ws servers on a
single http server has completely changed; we now have to handle the
'upgrade' event on the server ourselves.
2019-01-08 16:21:36 +00:00
Nick O'Leary 98e391b867
Add audit logging to admin api 2019-01-07 14:59:48 +00:00
Nick O'Leary a1f135bd66
Allow oauth strategy callback method to be customised
Closes #1998

Method can be set via: `adminAuth.strategy.options.callbackMethod`

Can be either GET (default) or POST.
2018-12-13 13:43:57 +00:00
Nick O'Leary 8c561e92c8
Actively expire login sesssions and notify user 2018-12-11 11:32:12 +00:00
Nick O'Leary acf8c9bc4a
Fixup version again because its Friday afternoon 2018-12-07 16:49:37 +00:00
Nick O'Leary 7173895d36
Fixup version 2018-12-07 16:47:19 +00:00
Nick O'Leary fefabef9ee
Bump for 0.20.0.beta.2 2018-12-07 16:44:14 +00:00
Nick O'Leary 98616e772c
Bump dependencies 2018-12-07 14:13:59 +00:00
Nick O'Leary 2979acd5b8
Bump to beta.1 version 2018-12-07 11:40:33 +00:00
Nick O'Leary ee47646cf7
Fix up unit tests 2018-12-04 15:59:43 +00:00
Nick O'Leary 0b5e4f2dd7
Documentation updates for node-red and runtime modules 2018-11-30 23:01:09 +00:00
Nick O'Leary bfd98f3767
Add ability to delete context values from sidebar 2018-11-12 17:04:22 +00:00
Nick O'Leary 1b8cab0f58
Update individual module versions 2018-10-31 13:57:52 +00:00
Nick O'Leary b715ac8bf4
Add more test coverage around settings apis 2018-10-26 21:22:58 +01:00
Nick O'Leary 1111d2518b
Add pack-modules grunt task 2018-10-25 11:18:13 +01:00
Nick O'Leary 3b02d36acb
Merge pull request #1943 from node-red-hitachi/dev-fixEditorApiName
fix typo of editor-api package name
2018-10-25 09:56:04 +01:00
TAKAYA IDE f8a88cc1a4 fix typo of editor-api package name 2018-10-23 13:21:59 +09:00
TJKoury 8a68a3e861
Update editor options
http://expressjs.com/en/api.html#app.settings.table

Allow for setting individual options on the editor express app.  This app is not available through the embedded interface when using Node-RED within another application.

Update settings with editor options

Allow editor express app options to be set in settings.js

Update settings.js

formatting

Update settings.js

Co-Authored-By: TJKoury <TJKoury@gmail.com>

editorOptions -> httpServerOptions
2018-10-22 22:54:44 +01:00
Nick O'Leary dabb2790c9
Fix up merge of auth token handling 2018-10-22 16:21:02 +01:00
Nick O'Leary dc7e48dc53
Merge branch 'dev' into pr_1789 2018-10-22 10:46:47 +01:00
Nick O'Leary f22960ad59
Avoid http redirects as Safari doesn't reuse Auth header
Fixes #1903
2018-10-19 14:03:22 +01:00
Hiroyasu Nishiyama 14435c24ac fix i18n handling for ja-JP locale on Safari/MacOS 2018-10-05 21:16:57 +09:00
Nick O'Leary 6c65d3830e
Move editor locales into editor-client package 2018-10-03 14:08:16 +01:00
Nick O'Leary cdcf39fe82
Update tooltip style and add to some editor buttons 2018-10-03 14:02:07 +01:00
Nick O'Leary 7307e558cb
Merge pull request #1910 from kazuhitoyokoi/dev-updatejapanesemessages
Update Japanese message catalog
2018-10-02 14:57:31 +01:00
Kazuhito Yokoi 071f4eacde Update Japanese message catalog 2018-10-02 18:41:33 +09:00