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, master has been updated
via 774c22168dc0c0f2bceaef22d0d3d220c01128b8 (commit)
via 66ece019c6861f7fdfc0c6c457fff256272769b6 (commit)
via 26b27ec7cd999b26779a2216a760fcd39b209987 (commit)
via 0d5cbae3bef788da7612db4e3e658f0943e070dd (commit)
from a86ce327c8c44093516d8c20b0465ce412955dc9 (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=774c22168dc0c0f2bceaef22d0d3d220c01128b8
commit 774c22168dc0c0f2bceaef22d0d3d220c01128b8
Author: Alain Peyrat <[email protected]>
Date: Sun Feb 19 00:49:54 2017 +0200
Removed usued variable
diff --git a/src/common/tracker/actions/query.php
b/src/common/tracker/actions/query.php
index ed86cd7..d0565ee 100644
--- a/src/common/tracker/actions/query.php
+++ b/src/common/tracker/actions/query.php
@@ -153,7 +153,6 @@ if (getStringFromRequest('submit')) {
} else {
$feedback .= _('Query Deleted');;
}
- $query_id=0;
session_redirect('/tracker/?atid='.$atid.'&group_id='.$group_id.'&func=browse');
} else {
exit_error(_('Missing Build Query Action'),'tracker');
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=66ece019c6861f7fdfc0c6c457fff256272769b6
commit 66ece019c6861f7fdfc0c6c457fff256272769b6
Author: Alain Peyrat <[email protected]>
Date: Sun Feb 19 00:49:15 2017 +0200
Fix html_build_multiple_select_box() and others - @fixme added to be
reviewed
diff --git a/src/www/include/html.php b/src/www/include/html.php
index fc220e6..b61f982 100644
--- a/src/www/include/html.php
+++ b/src/www/include/html.php
@@ -850,10 +850,10 @@ function html_build_multiple_select_box($result, $name,
$checked_array, $size =
$texts = array();
$rows = db_numrows($result);
for ($i = 0; $i < $rows; $i++) {
- $vals = db_result($result, $i, 0);
- $texts = substr(db_result($result, $i, 1), 0, 35);
+ $vals[] = db_result($result, $i, 0);
+ $texts[] = substr(db_result($result, $i, 1), 0, 35);
}
- return html_build_multiple_select_box_from_arrays($vals, $texts, $name,
$checked_array, $size, $show_100, $text_100, $attrs);
+ return html_build_multiple_select_box_from_arrays($vals, $texts, $name,
$checked_array, $size, $show_100, $text_100, false, $attrs);
}
/**
@@ -925,7 +925,7 @@ function html_build_multiple_select_box_from_arrays(
if ($withGroup && $vals[$i]!='100' &&
$optgroup[$i]!=$currentGroup) {
if ($currentGroup!='' && $groupOpen) {
$return .= html_ac(html_ap() - 1);
- $groupOpen = false;
+ $groupOpen = false; // @fixme see
$groupOpen below
}
$return .= html_ao('optgroup',
array('label'=>$optgroup[$i]));
$groupOpen = true;
@@ -1131,7 +1131,7 @@ function html_buildcheckboxarray($options, $name,
$checked_array) {
$checked = 1;
}
}
- echo html_e('br').html_build_checkbox($name, $value,
$checked).$options[$i];
+ echo html_e('br').html_build_checkbox($name, false,
$checked).$options[$i];
}
}
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=26b27ec7cd999b26779a2216a760fcd39b209987
commit 26b27ec7cd999b26779a2216a760fcd39b209987
Author: Alain Peyrat <[email protected]>
Date: Sun Feb 19 00:48:05 2017 +0200
Fix typo in src/docs/README.Soap
diff --git a/src/docs/README.Soap b/src/docs/README.Soap
index ec07cb4..3d6de26 100644
--- a/src/docs/README.Soap
+++ b/src/docs/README.Soap
@@ -4,7 +4,7 @@ SOAP server.
Server Setup
1. Extract the tar file into the root GForge directory. For example, if
-your root diectory is @SOURCE_PATH@/www, then
+your root directory is @SOURCE_PATH@/www, then
cd @SOURCE_PATH@/www ; tar xvf {tarfile}
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=0d5cbae3bef788da7612db4e3e658f0943e070dd
commit 0d5cbae3bef788da7612db4e3e658f0943e070dd
Author: Alain Peyrat <[email protected]>
Date: Sun Feb 19 00:47:17 2017 +0200
Send 403 Forbidden when feature is disabled
diff --git a/src/common/include/exit.php b/src/common/include/exit.php
index 05e0607..4cd122b 100644
--- a/src/common/include/exit.php
+++ b/src/common/include/exit.php
@@ -113,6 +113,7 @@ function exit_missing_param($url = '', $missing_params =
array(), $toptab = '')
* @param string $toptab needed for navigation
*/
function exit_disabled($toptab = 'summary') {
+ header($_SERVER["SERVER_PROTOCOL"]." 403 Forbidden");
exit_error(_('The Site Administrator has turned off this feature.'),
$toptab);
}
-----------------------------------------------------------------------
Summary of changes:
src/common/include/exit.php | 1 +
src/common/tracker/actions/query.php | 1 -
src/docs/README.Soap | 2 +-
src/www/include/html.php | 10 +++++-----
4 files changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits