[Fusionforge-commits] r7425 - in branches/Branch_4_7/gforge/debian: . patches

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Apr 15 14:46:29 CEST 2009


Author: lolando
Date: 2009-04-15 14:46:29 +0200 (Wed, 15 Apr 2009)
New Revision: 7425

Modified:
   branches/Branch_4_7/gforge/debian/changelog
   branches/Branch_4_7/gforge/debian/patches/disable-dav.dpatch
Log:
Don't display the link to the SVN browser for projects where it won't work

Modified: branches/Branch_4_7/gforge/debian/changelog
===================================================================
--- branches/Branch_4_7/gforge/debian/changelog	2009-04-15 12:41:39 UTC (rev 7424)
+++ branches/Branch_4_7/gforge/debian/changelog	2009-04-15 12:46:29 UTC (rev 7425)
@@ -1,10 +1,12 @@
-gforge (4.7.2-6+2) experimental; urgency=low
+gforge (4.7.2-6+3) experimental; urgency=low
 
   * Added Debconf template translations for Spanish (closes: #519066).
   * Do not fail in prerm if the user removed the vhost file from Apache's
     config (closes: #516579).
+  * Don't display the link to the SVN browser for projects where anonymous
+    checkout is disabled since it won't work anyway (Closes: #514613).
 
- -- Roland Mas <lolando at debian.org>  Wed, 15 Apr 2009 14:41:07 +0200
+ -- Roland Mas <lolando at debian.org>  Wed, 15 Apr 2009 14:45:40 +0200
 
 gforge (4.7.2-6) experimental; urgency=low
 

Modified: branches/Branch_4_7/gforge/debian/patches/disable-dav.dpatch
===================================================================
--- branches/Branch_4_7/gforge/debian/patches/disable-dav.dpatch	2009-04-15 12:41:39 UTC (rev 7424)
+++ branches/Branch_4_7/gforge/debian/patches/disable-dav.dpatch	2009-04-15 12:46:29 UTC (rev 7425)
@@ -5,9 +5,27 @@
 ## DP: Disable SVN-over-WebDAV
 
 @DPATCH@
+diff -urNad gforge~/plugins/scmsvn/common/SVNPlugin.class.php gforge/plugins/scmsvn/common/SVNPlugin.class.php
+--- gforge~/plugins/scmsvn/common/SVNPlugin.class.php	2009-02-01 20:07:25.000000000 +0100
++++ gforge/plugins/scmsvn/common/SVNPlugin.class.php	2009-04-15 14:43:58.000000000 +0200
+@@ -94,12 +94,14 @@
+ 			// project enables anon SVN or if logged-in
+ 			// user is a member of the group
+ 			$displaySvnBrowser = $project->enableAnonSCM();
++			/*
+ 			if(session_loggedin()) {
+ 				$perm =& $project->getPermission(session_get_user());
+ 				if ($perm && is_object($perm) && !$perm->isError() && $perm->isMember()) {
+ 					$displaySvnBrowser = true;
+ 				}
+ 			}
++			*/
+ 
+ 			// ######################## Table for summary info
+ 			?>
 diff -urNad gforge~/plugins/scmsvn/etc/plugins/scmsvn/config.php gforge/plugins/scmsvn/etc/plugins/scmsvn/config.php
 --- gforge~/plugins/scmsvn/etc/plugins/scmsvn/config.php	2009-03-26 16:57:34.000000000 +0100
-+++ gforge/plugins/scmsvn/etc/plugins/scmsvn/config.php	2009-03-26 17:14:01.000000000 +0100
++++ gforge/plugins/scmsvn/etc/plugins/scmsvn/config.php	2009-04-15 14:43:26.000000000 +0200
 @@ -7,10 +7,10 @@
  } else {
  	$default_svn_server = 'scm';




More information about the Fusionforge-commits mailing list