This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.0 has been updated
via 996676b13aa0c5d0f7ad456737d6ee5b6e444bd6 (commit)
from e21617adba69971d48612f154e59cd2371481559 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=996676b13aa0c5d0f7ad456737d6ee5b6e444bd6
commit 996676b13aa0c5d0f7ad456737d6ee5b6e444bd6
Author: Sylvain Beucler <[email protected]>
Date: Mon Jun 22 16:23:00 2015 +0200
frs: don't enforce length on notes and changelog, as it confuses users, and
was only checked when editing the fields with an uploaded text file in the past
diff --git a/src/CHANGES b/src/CHANGES
index e15cc43..bfde363 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -6,6 +6,7 @@ FusionForge 6.0.1:
* SCM: kill stalled Apache processes (Inria)
* Forum: fix conflict between attachments and pending attachments [#662]
(Inria)
* FRS: display new releases first (Roland Mas, for Inria)
+* FRS: revert Notes and ChangeLog as optional fields (Inria)
* Tracker: fix description re-html-ization when editing item (Inria)
* Tracker: fix HTML entities in mail notifications (Inria)
* Tracker: provide a "Submit" button below the "add a comment" field [#776]
(TrivialDev)
diff --git a/src/common/frs/actions/addrelease.php
b/src/common/frs/actions/addrelease.php
index 8b28f3d..894051b 100644
--- a/src/common/frs/actions/addrelease.php
+++ b/src/common/frs/actions/addrelease.php
@@ -85,11 +85,6 @@ if (strlen($release_name) >= 3) {
$notes = $release_notes;
}
- if (strlen($notes) < 20) {
- $error_msg .= _('Release Notes Are Too Small').'<br />';
- $exec_changes = false;
- }
-
// Check for uploaded change logs
if (isset($uploaded_changes['tmp_name']) &&
$uploaded_changes['tmp_name']) {
if (!is_uploaded_file($uploaded_changes['tmp_name'])) {
@@ -106,10 +101,6 @@ if (strlen($release_name) >= 3) {
$changes = $release_changes;
}
- if (strlen($changes) < 20) {
- $error_msg .= _('Change Log Is Too Small');
- $exec_changes = false;
- }
if ($exec_changes) {
$frsr = new FRSRelease($frsp);
if ($frsr->create($release_name, $notes, $changes,
$preformatted, $release_date)) {
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/common/frs/actions/addrelease.php | 9 ---------
2 files changed, 1 insertion(+), 9 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits