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 3a6c4fcaa5b1434bb6ad95b75d917401cc3480e9 (commit)
from 021ca32ca5e8ee908ad81d955c33d7914b1422d1 (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=3a6c4fcaa5b1434bb6ad95b75d917401cc3480e9
commit 3a6c4fcaa5b1434bb6ad95b75d917401cc3480e9
Author: Sylvain Beucler <[email protected]>
Date: Tue Jun 30 18:27:41 2015 +0200
FRS: revert Notes and ChangeLog as optional fields - also when editing
releases
diff --git a/src/CHANGES b/src/CHANGES
index 651ccd5..52676d9 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -5,6 +5,7 @@ FusionForge 6.0.2:
* Mailing lists: fix installation on CentOS (Inria)
* FRS: don't reset permissions when derefencing roles in other projects [#782]
(Inria)
* FRS: do not display hidden releases publicly (TrivialDev & Inria)
+* FRS: revert Notes and ChangeLog as optional fields - also when editing
releases (Inria)
* Tracker: fix column title in add/update custom field elements (TrivialDev)
* Plugin Taskboard: fix logic on initialize error (TrivialDev)
* Plugin Taskboard: fix background column color setting (TrivialDev)
diff --git a/src/common/frs/actions/editrelease.php
b/src/common/frs/actions/editrelease.php
index cd01154..c6ba7f7 100644
--- a/src/common/frs/actions/editrelease.php
+++ b/src/common/frs/actions/editrelease.php
@@ -85,11 +85,6 @@ if ($uploaded_notes['tmp_name']) {
$notes = $release_notes;
}
-if (strlen($notes) < 20) {
- $error_msg .= _('Release Notes Are Too Small').'<br />';
- $exec_changes = false;
-}
-
// Check for uploaded change logs
if ($uploaded_changes['tmp_name']) {
if (!is_uploaded_file($uploaded_changes['tmp_name'])) {
@@ -106,11 +101,6 @@ if ($uploaded_changes['tmp_name']) {
$changes = $release_changes;
}
-if (strlen($changes) < 20) {
- $error_msg .= _('Change Log Is Too Small').'<br />';
- $exec_changes = false;
-}
-
// If we haven't encountered any problems so far then save the changes
if ($exec_changes == true) {
$release_date = strtotime($release_date);
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/common/frs/actions/editrelease.php | 10 ----------
2 files changed, 1 insertion(+), 10 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits