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  81683e4fd055b43c0690ee95d8f42478f55c3cbd (commit)
       via  4fa00615e3f0fa8ab4eaf252447aaf41ebaf9fcc (commit)
      from  df60c9d181f9eb4806853779dee8adcae23c3a52 (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=81683e4fd055b43c0690ee95d8f42478f55c3cbd

commit 81683e4fd055b43c0690ee95d8f42478f55c3cbd
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Mon May 3 19:29:50 2021 +0200

    removing extra semi-colon

diff --git a/src/www/themes/funky-guy/css/theme.css 
b/src/www/themes/funky-guy/css/theme.css
index 9ada412..5fd0ba0 100644
--- a/src/www/themes/funky-guy/css/theme.css
+++ b/src/www/themes/funky-guy/css/theme.css
@@ -882,7 +882,7 @@ input, select {
        background-color: #e10;
        border: none;
        color: white;
-       text-shadow: 0 0 1px #300;;
+       text-shadow: 0 0 1px #300;
        padding: .2em .4em;
 }
 

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=4fa00615e3f0fa8ab4eaf252447aaf41ebaf9fcc

commit 4fa00615e3f0fa8ab4eaf252447aaf41ebaf9fcc
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Mon May 3 19:29:07 2021 +0200

    clean-up: set default action name

diff --git a/src/www/widgets/updatelayout.php b/src/www/widgets/updatelayout.php
index 51ac660..dd3bf2a 100644
--- a/src/www/widgets/updatelayout.php
+++ b/src/www/widgets/updatelayout.php
@@ -48,8 +48,7 @@ if ($owner) {
                                $group_id = $owner_id;
                                $_REQUEST['group_id'] = $_GET['group_id'] = 
$group_id;
                                $redirect = '/projects/'. 
$project->getUnixName().'/';
-                               if (!forge_check_perm('project_admin', 
$group_id) &&
-                                       
!forge_check_global_perm('forge_admin')) {
+                               if (!forge_check_perm('project_admin', 
$group_id) && !forge_check_global_perm('forge_admin')) {
                                        session_redirect($redirect);
                                }
                                $good = true;
@@ -92,14 +91,14 @@ if ($owner) {
                        break;
        }
        if ($good) {
-               if (($layout_id = getIntFromRequest('layout_id')) || 
'preferences' == getStringFromRequest('action')) {
+               $mainaction = getStringFromRequest('action', 'reorder');
+               if (($layout_id = getIntFromRequest('layout_id')) || 
'preferences' == $mainaction) {
                        $name = null;
                        $param = getArrayFromRequest('name');
                        if (count($param)) {
                                $name = array_pop(array_keys($param));
                                $instance_id = (int)$param[$name];
                        }
-                       $mainaction = getStringFromRequest('action');
                        switch($mainaction) {
                                case 'widget':
                                        if ($name) {
@@ -148,6 +147,7 @@ if ($owner) {
                                case 'layout':
                                        $lm->updateLayout($owner_id, 
$owner_type, $layout_id, getIntFromRequest('new_layout'));
                                        break;
+                               case 'reorder':
                                default:
                                        $lm->reorderLayout($owner_id, 
$owner_type, $layout_id);
                                        break;

-----------------------------------------------------------------------

Summary of changes:
 src/www/themes/funky-guy/css/theme.css | 2 +-
 src/www/widgets/updatelayout.php       | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to