Nick O'Leary
1d2fd8a604
Remove final use of util.log
2025-07-04 15:00:33 +01:00
Debadutta Panda
7d16feff24
Merge branch 'dev' into @feature/issue-5029
2025-06-07 10:47:20 +05:30
Nick O'Leary
9a784191ba
Add runtime telemetry component
2025-04-23 17:31:46 +01:00
Debadutta Panda
356c0c2416
Add include raw data option in request body.
2025-02-14 13:46:41 +05:30
Nick O'Leary
48a2876c48
Add support for httpStaticCors
2024-06-14 15:18:40 +01:00
Nick O'Leary
2ad3af1864
Replace bcrypt with @node-rs/bcrypt
2024-05-31 15:16:32 +01:00
Nick O'Leary
6600910163
Add os details to --version output
2024-05-17 17:16:01 +01:00
Nick O'Leary
a6973bd7ed
Add node.js version to --version output
2024-05-17 17:13:50 +01:00
Nick O'Leary
d58127730f
Add --version cli arg
2024-05-17 17:10:37 +01:00
Rotzbua
d706c9cb37
fix: remove outdated Node 11+ check
2024-05-12 22:51:05 +02:00
Nick O'Leary
d94d13737f
Merge pull request #4572 from kevinGodell/dev
...
let settings.httpNodeAuth accept single middleware or array of middlewares
2024-03-07 15:48:12 +00:00
Kevin Godell
74efaa3c2d
let settings.httpNodeAuth accept single middleware or array of middlewares to replace built-in basic-auth middleware at top level of RED.httpNode
2024-02-19 16:42:14 -06:00
Nick O'Leary
a5223709ba
Bump minimum version to node 18
2024-02-19 16:38:06 +00:00
Rotzbua
aea32cc279
Migrate http -> https for nodered.org
2023-09-05 14:55:56 +02:00
Nick O'Leary
33899763ef
Add support for httpStatic middleware
2023-06-21 16:47:47 +01:00
Nick O'Leary
9479b56549
Merge pull request #4109 from kevinGodell/dev
...
httpStatic feature
2023-05-22 16:54:29 +01:00
Nick O'Leary
e6c454bba5
Ensure non-zero exit codes for errors
2023-05-22 15:11:57 +01:00
Kevin Godell
54b2215164
pass options to express.static
2023-03-20 17:51:05 -05:00
Kevin Godell
889489e33e
set default when root is not defined
2023-03-20 17:51:05 -05:00
bggbr
892d21fb77
Fix "EADDRINUSE" error
2023-02-03 22:23:09 +09:00
Stephen McLaughlin
7f68e341da
Merge branch 'dev' into master
2022-05-03 09:35:32 +01:00
Steve-Mcl
22000f10df
Add support for multiple static paths with root
...
closes #3510
2022-04-22 17:06:40 +01:00
Ben Hardill
cdcc8cc59a
Update packages/node_modules/node-red/red.js
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-04-21 15:47:40 +01:00
Ben Hardill
0014fec63f
Remove test that exits if no userDir defined
...
With the storage plugins it is possible to not need a userDir, just a
settings.js
2022-04-21 13:52:38 +01:00
Ben Hardill
812efde342
Also check if there is a useDir defined
2022-04-21 12:00:10 +01:00
Ben Hardill
889f0e1569
Don't start if user has no home directory
...
If the user doesn't have a defined home dir (env var `HOME`,
`USERPROFILE` or `HOMEPATH`) and the `userDir` is not passed on the
command line then we shouldn't start as we don't know where to copy the
default `settings.js` file to or where to store flows
fixes #3539
2022-04-21 11:40:12 +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
273d9c76a7
Add fallback when logging uncaughtExceptions
2021-10-06 17:33:04 +01:00
Renato Junior
bd142a9710
uncaughtException debug improvements
...
Changed error uncaughtException tracing
2021-09-17 22:02:48 -03:00
bartbutenaers
7f2627dbc8
Key and certificate as string or buffer
2021-08-21 22:21:58 +02: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
b62e4f6662
Fix deprecation of httpRoot
2021-04-26 14:43:06 +01:00
Nick O'Leary
5992ed1fab
Fully remove when.js dependency
2020-12-07 11:49:01 +00:00
Nick O'Leary
6d294a0c74
Prevent RED.stop being called multiple times if >1 signal received
2020-06-09 08:23:12 +01:00
Nick O'Leary
c048b1a25b
Exit with non-0 rc if admin command fails
2020-06-04 11:02:48 +01:00
Nick O'Leary
c8f6100a6a
Assume -d params are strings if they don't otherwise parse
2020-06-04 00:04:41 +01:00
Nick O'Leary
3b3a2d4edc
Merge pull request #2592 from node-red/admin-cli
...
Add node-red admin support
2020-06-03 20:59:19 +01:00
Nick O'Leary
43d5df4a12
Merge branch 'dev' into catch-more-signals
2020-06-03 19:26:50 +01:00
Nick O'Leary
3e74d75f28
Add node-red admin support
2020-06-02 23:39:36 +01:00
Nick O'Leary
1b497b340b
Merge branch 'pr_2551' into dev
2020-05-29 16:52:19 +01:00
Nick O'Leary
bb41ab482c
Rework the https refresh logic
...
- puts the node version check first
- validates the refresh interval and keeps it in valid range
- simplifies the error messages
- uses parseFloat not parseInt so we can use fractions of hour
2020-05-29 16:50:53 +01:00
Nick O'Leary
215aab0fe4
Modify format of -D settings file
2020-05-29 11:44:13 +01:00
bartbutenaers
4adcb9c439
Refresh interval in hours
2020-05-29 00:08:07 +02:00
bartbutenaers
dec3762b7a
Remove debugger statement
2020-05-14 22:43:50 +02:00
bartbutenaers
6c766eba86
Logs internationalisation
2020-05-13 23:46:33 +02:00
bartbutenaers
cc760acb62
Update packages/node_modules/node-red/red.js
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2020-05-13 23:24:57 +02:00
bartbutenaers
f4d4bf8779
Update packages/node_modules/node-red/red.js
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2020-05-13 23:24:40 +02:00
bartbutenaers
90f62e5e4a
Update packages/node_modules/node-red/red.js
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2020-05-13 23:23:29 +02:00
bartbutenaers
bfa5f39b6d
Asynchronous https support
2020-05-11 23:33:54 +02:00
bartbutenaers
f7e0f55c13
httpsRefreshInterval in seconds
2020-05-02 22:24:04 +02:00