mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
commit
ca9ada4c58
@ -8,12 +8,18 @@ Projects
|
||||
- Avoid unnecessary project refresh on branch-switch Fixes #1597
|
||||
- Add support for file:// git urls
|
||||
- Handle project first-run without existing flow file
|
||||
- Handle delete of last remote in project settings
|
||||
- Add git_pull_unrelated_history handling
|
||||
- Fix pull/push when no tracked branch
|
||||
- Remember to disable projects in editor when git not found
|
||||
|
||||
Node Fixes
|
||||
|
||||
- Trigger node migration - ensure bytopic not blank
|
||||
- Add HEAD to list of methods with no body in http req node #1598
|
||||
- Do not include payload in GET requests Fixes #1598
|
||||
- Update sort/batch docs Fixes #1601
|
||||
- Don't assume node has defaults when exporting icon property
|
||||
|
||||
|
||||
#### 0.18: Milestone Release
|
||||
|
@ -501,7 +501,7 @@ RED.nodes = (function() {
|
||||
if (n.outputs > 0 && n.outputLabels && !/^\s*$/.test(n.outputLabels.join(""))) {
|
||||
node.outputLabels = n.outputLabels.slice();
|
||||
}
|
||||
if (!n._def.defaults.hasOwnProperty("icon") && n.icon) {
|
||||
if ((!n._def.defaults || !n._def.defaults.hasOwnProperty("icon")) && n.icon) {
|
||||
var defIcon = RED.utils.getDefaultNodeIcon(n._def, n);
|
||||
if (n.icon !== defIcon.module+"/"+defIcon.file) {
|
||||
node.icon = n.icon;
|
||||
|
@ -14,8 +14,6 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<script type="text/x-red" data-template-name="sort">
|
||||
|
||||
<div class="form-row">
|
||||
@ -31,7 +29,7 @@
|
||||
<input type="hidden" id="node-input-msgKeyType">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="node-row-sort-seq-key">
|
||||
<div class="form-row">
|
||||
<label for="node-input-seqKey"><i class="fa fa-filter"></i> <span data-i18n="sort.key"></span></label>
|
||||
@ -39,7 +37,7 @@
|
||||
<input type="hidden" id="node-input-seqKeyType">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<label><i class="fa fa-random"></i> <span data-i18n="sort.order"></span></label>
|
||||
<select id="node-input-order" style="width:200px;">
|
||||
|
@ -14,8 +14,6 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<script type="text/x-red" data-template-name="batch">
|
||||
<div class="form-row">
|
||||
<label for="node-input-mode"><span data-i18n="batch.mode.label"></span></label>
|
||||
@ -83,10 +81,10 @@
|
||||
arrive within the interval, the node can optionally send on an empty message.</dd>
|
||||
|
||||
<dt>Concatenate Sequences</dt>
|
||||
<dd>creates a message sequence by concatenating incoming sequences. Each sequence
|
||||
must have a <code>msg.topic</code> property to identify it. The node is
|
||||
configured with a list of <code>topic</code> values to identify the order
|
||||
sequences are concatenated.
|
||||
<dd>creates a message sequence by concatenating incoming sequences. Each message
|
||||
must have a <code>msg.topic</code> property and a <code>msg.parts</code> property
|
||||
identifying its sequence. The node is configured with a list of <code>topic</code>
|
||||
values to identify the order sequences are concatenated.
|
||||
</dd>
|
||||
</dd>
|
||||
</dl>
|
||||
|
@ -95,6 +95,14 @@ function init(_settings, _runtime) {
|
||||
if (!gitConfig) {
|
||||
projectLogMessages.push(log._("storage.localfilesystem.projects.git-not-found"))
|
||||
projectsEnabled = false;
|
||||
try {
|
||||
// As projects have to be turned on, we know this property
|
||||
// must exist at this point, so turn it off.
|
||||
// TODO: when on-by-default, this will need to do more
|
||||
// work to disable.
|
||||
settings.editorTheme.projects.enabled = false;
|
||||
} catch(err) {
|
||||
}
|
||||
} else {
|
||||
globalGitUser = gitConfig.user;
|
||||
Projects.init(settings,runtime);
|
||||
|
Loading…
Reference in New Issue
Block a user