Indefero

Indefero Commit Details


Date:2012-01-03 09:44:41 (12 years 11 months ago)
Author:Thomas Keller
Branch:develop, release-1.3
Commit:6bbabaebdd058c413d671e15dd10f1c4b66ba023
Parents: 3bec47778abf0db1fdd9bf7bc1a61286a27d7632
Message:Limit the allowed number of labels to six, otherwise our form upload view breaks and document that limit.

Changes:

File differences

src/IDF/Form/UploadArchiveHelper.php
102102
103103
104104
105
106
107
108
109
110
105111
106112
107113
}
}
// FIXME: remove this once we allow more than six labels everywhere
if (count($entry['labels']) > 6) {
throw new Pluf_Form_Invalid(
sprintf(__('The entry %s in the manifest has more than the six allowed labels set.'), $entry['name']));
}
$this->entries[$entry['name']] = $entry;
}
src/IDF/templates/idf/faq-archive-format.html
8585
8686
8787
88
89
88
89
90
91
92
93
9094
9195
9296
</pre>
<p>
The format is more or less self-explaining, all fields map to properties of a single download.
One special element has been introduced though, <code>replaces</code>. If this optional element
The format is more or less self-explaining, all fields map to properties of a single download. Note
that there is a limit of <strong>six</strong> labels that you can attach to a download, similar to
what the regular file upload functionality allows.
</p>
<p>One special element has been introduced and this is named <code>replaces</code>. If this optional element
is given, InDefero looks for a file with that name in the project and acts in one of the following
two ways:
</p>

Archive Download the corresponding diff file

Page rendered in 0.07826s using 13 queries.