mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge branch 'master' into sync-dev-2
This commit is contained in:
commit
13ee8cec24
@ -205,9 +205,10 @@ function genericStrategy(adminApp,strategy) {
|
|||||||
passport.use(new strategy.strategy(options, verify));
|
passport.use(new strategy.strategy(options, verify));
|
||||||
|
|
||||||
adminApp.get('/auth/strategy',
|
adminApp.get('/auth/strategy',
|
||||||
passport.authenticate(strategy.name, {session:false,
|
passport.authenticate(strategy.name, {
|
||||||
|
session:false,
|
||||||
failureMessage: true,
|
failureMessage: true,
|
||||||
failureRedirect: settings.httpAdminRoot
|
failureRedirect: settings.httpAdminRoot + '?session_message=Login Failed'
|
||||||
}),
|
}),
|
||||||
completeGenerateStrategyAuth,
|
completeGenerateStrategyAuth,
|
||||||
handleStrategyError
|
handleStrategyError
|
||||||
@ -221,7 +222,7 @@ function genericStrategy(adminApp,strategy) {
|
|||||||
passport.authenticate(strategy.name, {
|
passport.authenticate(strategy.name, {
|
||||||
session:false,
|
session:false,
|
||||||
failureMessage: true,
|
failureMessage: true,
|
||||||
failureRedirect: settings.httpAdminRoot
|
failureRedirect: settings.httpAdminRoot + '?session_message=Login Failed'
|
||||||
}),
|
}),
|
||||||
completeGenerateStrategyAuth,
|
completeGenerateStrategyAuth,
|
||||||
handleStrategyError
|
handleStrategyError
|
||||||
|
@ -624,7 +624,10 @@ RED.deploy = (function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
RED.nodes.eachSubflow(function (subflow) {
|
RED.nodes.eachSubflow(function (subflow) {
|
||||||
|
if (subflow.changed) {
|
||||||
subflow.changed = false;
|
subflow.changed = false;
|
||||||
|
RED.events.emit("subflows:change", subflow);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
RED.nodes.eachWorkspace(function (ws) {
|
RED.nodes.eachWorkspace(function (ws) {
|
||||||
if (ws.changed || ws.added) {
|
if (ws.changed || ws.added) {
|
||||||
|
@ -1721,8 +1721,8 @@ RED.editor = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isSameObj(old_env, new_env)) {
|
if (!isSameObj(old_env, new_env)) {
|
||||||
editing_node.env = new_env;
|
|
||||||
editState.changes.env = editing_node.env;
|
editState.changes.env = editing_node.env;
|
||||||
|
editing_node.env = new_env;
|
||||||
editState.changed = true;
|
editState.changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@ RED.editor.codeEditor.monaco = (function() {
|
|||||||
_monaco.languages.json.jsonDefaults.setDiagnosticsOptions(diagnosticOptions);
|
_monaco.languages.json.jsonDefaults.setDiagnosticsOptions(diagnosticOptions);
|
||||||
if(modeConfiguration) { _monaco.languages.json.jsonDefaults.setModeConfiguration(modeConfiguration); }
|
if(modeConfiguration) { _monaco.languages.json.jsonDefaults.setModeConfiguration(modeConfiguration); }
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn("monaco - Error setting up json options", err)
|
console.warn("monaco - Error setting up json options", error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -526,7 +526,7 @@ RED.editor.codeEditor.monaco = (function() {
|
|||||||
if(htmlDefaults) { _monaco.languages.html.htmlDefaults.setOptions(htmlDefaults); }
|
if(htmlDefaults) { _monaco.languages.html.htmlDefaults.setOptions(htmlDefaults); }
|
||||||
if(handlebarDefaults) { _monaco.languages.html.handlebarDefaults.setOptions(handlebarDefaults); }
|
if(handlebarDefaults) { _monaco.languages.html.handlebarDefaults.setOptions(handlebarDefaults); }
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn("monaco - Error setting up html options", err)
|
console.warn("monaco - Error setting up html options", error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -546,7 +546,7 @@ RED.editor.codeEditor.monaco = (function() {
|
|||||||
if(lessDefaults_modeConfiguration) { _monaco.languages.css.cssDefaults.setDiagnosticsOptions(lessDefaults_modeConfiguration); }
|
if(lessDefaults_modeConfiguration) { _monaco.languages.css.cssDefaults.setDiagnosticsOptions(lessDefaults_modeConfiguration); }
|
||||||
if(scssDefaults_modeConfiguration) { _monaco.languages.css.cssDefaults.setDiagnosticsOptions(scssDefaults_modeConfiguration); }
|
if(scssDefaults_modeConfiguration) { _monaco.languages.css.cssDefaults.setDiagnosticsOptions(scssDefaults_modeConfiguration); }
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn("monaco - Error setting up CSS/SCSS/LESS options", err)
|
console.warn("monaco - Error setting up CSS/SCSS/LESS options", error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
<h4>Automatic mode</h4>
|
<h4>Automatic mode</h4>
|
||||||
<p>Automatic mode uses the <code>parts</code> property of incoming messages to
|
<p>Automatic mode uses the <code>parts</code> property of incoming messages to
|
||||||
determine how the sequence should be joined. This allows it to automatically
|
determine how the sequence should be joined. This allows it to automatically
|
||||||
reverse the action of a <b>split</b> node.
|
reverse the action of a <b>split</b> node.</p>
|
||||||
|
|
||||||
<h4>Manual mode</h4>
|
<h4>Manual mode</h4>
|
||||||
<p>When configured to join in manual mode, the node is able to join sequences
|
<p>When configured to join in manual mode, the node is able to join sequences
|
||||||
|
Loading…
x
Reference in New Issue
Block a user