[Fusionforge-commits] r11706 - in trunk/src: common/include etc/config.ini.d plugins/aselectextauth plugins/aselectextauth/etc plugins/blocks/etc plugins/contribtracker plugins/contribtracker/etc plugins/cvssyncmail plugins/cvssyncmail/etc plugins/cvstracker/etc plugins/externalsearch/etc plugins/extratabs plugins/extratabs/etc plugins/fckeditor plugins/fckeditor/etc plugins/forumml/etc plugins/globalsearch plugins/globalsearch/etc plugins/gravatar plugins/gravatar/etc plugins/hudson/etc plugins/ldapextauth/etc plugins/mailman/etc plugins/mantis/etc plugins/mantisbt/etc plugins/mediawiki/etc plugins/online_help plugins/online_help/etc plugins/oslc/etc plugins/projectlabels plugins/projectlabels/etc plugins/projects_hierarchy/etc plugins/quota_management/etc plugins/scmarch/etc plugins/scmbzr/etc plugins/scmccase/etc plugins/scmcvs/etc plugins/scmdarcs/etc plugins/scmgit/etc plugins/scmhg/etc plugins/scmsvn/etc plugins/svncommitemail plugins/svncommitemail/etc plugins/svntracker/etc www/admin www/themes/funky/images www/themes/gforge/images

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sun Dec 5 15:15:31 CET 2010


Author: nerville
Date: 2010-12-05 15:15:31 +0100 (Sun, 05 Dec 2010)
New Revision: 11706

Added:
   trunk/src/etc/config.ini.d/aselectextauth.ini
   trunk/src/etc/config.ini.d/contribtracker.ini
   trunk/src/etc/config.ini.d/cvssyncmail.ini
   trunk/src/etc/config.ini.d/cvstracker.ini
   trunk/src/etc/config.ini.d/extratabs.ini
   trunk/src/etc/config.ini.d/fckeditor.ini
   trunk/src/etc/config.ini.d/forumml.ini
   trunk/src/etc/config.ini.d/globalsearch.ini
   trunk/src/etc/config.ini.d/gravatar.ini
   trunk/src/etc/config.ini.d/hudson.ini
   trunk/src/etc/config.ini.d/ldapextauth.ini
   trunk/src/etc/config.ini.d/mailman.ini
   trunk/src/etc/config.ini.d/online_help.ini
   trunk/src/etc/config.ini.d/oslc.ini
   trunk/src/etc/config.ini.d/projectlabels.ini
   trunk/src/etc/config.ini.d/projects_hierarchy.ini
   trunk/src/etc/config.ini.d/quota_management.ini
   trunk/src/etc/config.ini.d/svncommitemail.ini
   trunk/src/etc/config.ini.d/svntracker.ini
   trunk/src/plugins/aselectextauth/etc/
   trunk/src/plugins/aselectextauth/etc/aselectextauth.ini
   trunk/src/plugins/contribtracker/etc/
   trunk/src/plugins/contribtracker/etc/contribtracker.ini
   trunk/src/plugins/cvssyncmail/etc/
   trunk/src/plugins/cvssyncmail/etc/cvssyncmail.ini
   trunk/src/plugins/cvstracker/etc/cvstracker.ini
   trunk/src/plugins/extratabs/etc/
   trunk/src/plugins/extratabs/etc/extratabs.ini
   trunk/src/plugins/fckeditor/etc/
   trunk/src/plugins/fckeditor/etc/fckeditor.ini
   trunk/src/plugins/forumml/etc/forumml.ini
   trunk/src/plugins/globalsearch/etc/
   trunk/src/plugins/globalsearch/etc/globalsearch.ini
   trunk/src/plugins/gravatar/etc/
   trunk/src/plugins/gravatar/etc/gravatar.ini
   trunk/src/plugins/hudson/etc/hudson.ini
   trunk/src/plugins/ldapextauth/etc/ldapextauth.ini
   trunk/src/plugins/mailman/etc/mailman.ini
   trunk/src/plugins/online_help/etc/
   trunk/src/plugins/online_help/etc/online_help.ini
   trunk/src/plugins/oslc/etc/oslc.ini
   trunk/src/plugins/projectlabels/etc/
   trunk/src/plugins/projectlabels/etc/projectlabels.ini
   trunk/src/plugins/projects_hierarchy/etc/projects_hierarchy.ini
   trunk/src/plugins/quota_management/etc/quota_management.ini
   trunk/src/plugins/svncommitemail/etc/
   trunk/src/plugins/svncommitemail/etc/svncommitemail.ini
   trunk/src/plugins/svntracker/etc/svntracker.ini
   trunk/src/www/themes/funky/images/plugin_status_broken.png
   trunk/src/www/themes/funky/images/plugin_status_valid.png
   trunk/src/www/themes/gforge/images/plugin_status_broken.png
   trunk/src/www/themes/gforge/images/plugin_status_valid.png
Modified:
   trunk/src/common/include/Plugin.class.php
   trunk/src/plugins/blocks/etc/blocks.ini
   trunk/src/plugins/externalsearch/etc/externalsearch.ini
   trunk/src/plugins/mantis/etc/mantis.ini
   trunk/src/plugins/mantisbt/etc/mantisbt.ini
   trunk/src/plugins/mediawiki/etc/mediawiki.ini
   trunk/src/plugins/scmarch/etc/scmarch.ini
   trunk/src/plugins/scmbzr/etc/scmbzr.ini
   trunk/src/plugins/scmccase/etc/scmccase.ini
   trunk/src/plugins/scmcvs/etc/scmcvs.ini
   trunk/src/plugins/scmdarcs/etc/scmdarcs.ini
   trunk/src/plugins/scmgit/etc/scmgit.ini
   trunk/src/plugins/scmhg/etc/scmhg.ini
   trunk/src/plugins/scmsvn/etc/scmsvn.ini
   trunk/src/www/admin/pluginman.php
Log:
first implementation of plugin_status

Modified: trunk/src/common/include/Plugin.class.php
===================================================================
--- trunk/src/common/include/Plugin.class.php	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/common/include/Plugin.class.php	2010-12-05 14:15:31 UTC (rev 11706)
@@ -3,6 +3,9 @@
  * FusionForge plugin system
  *
  * Copyright 2002, Roland Mas
+ * Copyright 2010, Franck Villaume - Capgemini
+ * Portions Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights reserved
+ * Portions Copyright 2010 (c) Mélanie Le Bail
  * http://fusionforge.org
  *
  * This file is part of FusionForge.
@@ -21,65 +24,64 @@
  * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
- *
- * Portions Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights reserved
- * Portions Copyright 2010 (c) Mélanie Le Bail
  */
 
 class Plugin extends Error {
-	var $name ;
-	var $hooks ;
+	var $name;
+	var $hooks;
 
 	/**
 	 * Plugin() - constructor
 	 *
 	 */
-	function Plugin ($id=0) {
-		$this->Error() ;
-		$this->name = false ;
-		$this->hooks = array () ;
+	function Plugin($id=0) {
+		$this->Error();
+		$this->name = false;
+		$this->hooks = array();
 	}
 
 	/**
-	 * GetHooks() - get list of hooks to subscribe to
+	 * GetHooks() - get list of hooks to subscribe to.
 	 *
-	 * @return List of strings
+	 * @return	array	List of strings.
 	 */
-	function GetHooks () {
-		return $this->hooks ;
+	function GetHooks() {
+		return $this->hooks;
 	}
 	/**
-	 * _addHooks() - add a hook to the list of hooks
+	 * _addHooks() - add a hook to the list of hooks.
+	 *
+	 * @return	string
 	 */
-	function _addHook ($name) {
-		return $this->hooks[]=$name ;
+	function _addHook($name) {
+		return $this->hooks[]=$name;
 	}
 
 	/**
-	 * GetName() - get plugin name
+	 * GetName() - get plugin name.
 	 *
-	 * @return the plugin name
+	 * @return	string	the plugin name.
 	 */
-	function GetName () {
-		return $this->name ;
+	function GetName() {
+		return $this->name;
 	}
 
 	/**
-	 * GetInstallDir() - get installation dir for the plugin
+	 * GetInstallDir() - get installation dir for the plugin.
 	 *
-	 * @return the directory where the plugin should be linked.
+	 * @return	string	the directory where the plugin should be linked.
 	 */
-	function GetInstallDir () {
+	function GetInstallDir() {
 		if (isset($this->installdir) && $this->installdir)
 			return $this->installdir;
 		else
-			return 'plugins/'.$this->name ;
+			return 'plugins/'.$this->name;
 	}
 
 	/**
 	 * provide() - return true if plugin provides the feature.
 	 *
-	 * @return bool if feature is provided or not.
+	 * @return	bool	if feature is provided or not.
 	 */
 	function provide($feature) {
 		return (isset($this->provides[$feature]) && $this->provides[$feature]);
@@ -87,35 +89,36 @@
 
 	/**
 	 * Added for Codendi compatibility
-	 * getPluginPath() - get installation dir for the plugin
+	 * getPluginPath() - get installation dir for the plugin.
 	 *
 	 * @return the directory where the plugin should be linked.
 	 */
-	function getPluginPath () {
+	function getPluginPath() {
 		if (isset($this->installdir) && $this->installdir)
 			return $this->installdir;
 		else
-			return 'plugins/'.$this->name ;
+			return 'plugins/'.$this->name;
 	}
 
 	/**
-	 * CallHook() - call a particular hook
+	 * CallHook() - call a particular hook.
 	 *
-	 * @param hookname - the "handle" of the hook
-	 * @param params - array of parameters to pass the hook
+	 * @param	string	the "handle" of the hook.
+	 * @param	array	array of parameters to pass the hook.
+	 * @return	bool	true only
 	 */
-	function CallHook ($hookname, &$params) {
-		return true ; 
+	function CallHook($hookname, &$params) {
+		return true;
 	}
 
 	/**
-	 * getGroups -  get a list of all groups using a plugin
+	 * getGroups - get a list of all groups using a plugin.
 	 *
-	 * @return	array	array containing group ids
+	 * @return	array	array containing group objects.
 	 */
 	function getGroups() {
-		$result = array() ;
-		$res = db_query_params ('SELECT group_plugin.group_id
+		$result = array();
+		$res = db_query_params('SELECT group_plugin.group_id
 					FROM group_plugin, plugins
 					WHERE group_plugin.plugin_id=plugins.plugin_id
 					AND plugins.plugin_name=$1
@@ -127,7 +130,6 @@
 			$group_id = db_result($res,$i,'group_id');
 			$result[] = group_get_object ($group_id);
 		}
-		
 		return $result;
 	}
 
@@ -136,27 +138,40 @@
 	}
 
 	function registerRoleValues(&$params, $values) {
-		$role =& $params['role'] ;
+		$role =& $params['role'];
 	}
-		
-	function groupisactivecheckbox (&$params) {
+
+	function groupisactivecheckbox(&$params) {
 		//Check if the group is active
 		// this code creates the checkbox in the project edit public info page to activate/deactivate the plugin
-		$group = group_get_object($params['group']);
-		$flag = strtolower('use_'.$this->name);
-		echo "<tr>";
-		echo "<td>";
-		echo ' <input type="checkbox" name="'.$flag.'" value="1" ';
-		// checked or unchecked?
-		if ( $group->usesPlugin ( $this->name ) ) {
-			echo "checked=\"checked\"";
+		$display = 1;
+		$title = _('current plugin status is:').' '.forge_get_config('plugin_status', $this->name);
+		$imgStatus = 'plugin_status_valid.png';
+		if ( forge_get_config('plugin_status',$this->name) !== 'valid' ) {
+			$display = 0;
+			$imgStatus = 'plugin_status_broken.png';
 		}
-		echo " /><br/>";
-		echo "</td>";
-		echo "<td>";
-		echo "<strong>Use ".$this->text." Plugin</strong>";
-		echo "</td>";
-		echo "</tr>";
+		if ( forge_get_config('installation_environment') === 'development' ) {
+			$display = 1;
+		}
+		if ($display) {
+			$group = group_get_object($params['group']);
+			$flag = strtolower('use_'.$this->name);
+			echo '<tr>';
+			echo '<td>';
+			echo ' <input type="checkbox" name="'.$flag.'" value="1" ';
+			// checked or unchecked?
+			if ($group->usesPlugin($this->name)) {
+				echo 'checked="checked"';
+			}
+			echo ' /><br/>';
+			echo '</td>';
+			echo '<td>';
+			echo '<strong>'. sprintf(_('Use %s Plugin'), $this->text) .'</strong>';
+			echo html_image($imgStatus, '16', '16',array('alt'=>$title, 'title'=>$title));
+			echo '</td>';
+			echo '</tr>';
+		}
 	}
 
 	/*
@@ -166,7 +181,7 @@
 		// this code actually activates/deactivates the plugin after the form was submitted in the project edit public info page
 		$group = group_get_object($params['group']);
 		$flag = strtolower('use_'.$this->name);
-		if ( getStringFromRequest($flag) == 1 ) {
+		if ( getIntFromRequest($flag) == 1 ) {
 			$group->setPluginUse($this->name);
 		} else {
 			$group->setPluginUse($this->name, false);
@@ -174,83 +189,86 @@
 		return true;
 	}
 
-	function userisactivecheckbox (&$params) {
+	function userisactivecheckbox(&$params) {
 		//check if user is active
 		// this code creates the checkbox in the user account manteinance page to activate/deactivate the plugin
-		$user = $params['user'];
-		$flag = strtolower('use_'.$this->name);
-		echo "<tr>";
-		echo "<td>";
-		echo ' <input type="checkbox" name="'.$flag.'" value="1" ';
-		// checked or unchecked?
-		if ( $user->usesPlugin ( $this->name ) ) {
-			echo 'checked="checked"';
+		$display = 1;
+		$title = _('current plugin status is:').' '.forge_get_config('plugin_status', $this->name);
+		$imgStatus = 'plugin_status_valid.png';
+		if ( forge_get_config('plugin_status', $this->name) !== 'valid' ) {
+			$display = 0;
+			$imgStatus = 'plugin_status_broken.png';
 		}
-		echo " />    Use ".$this->text." Plugin";
-		echo "</td>";
-		echo "</tr>";
+		if ( forge_get_config('installation_environment') === 'development' ) {
+			$display = 1;
+		}
+		if ($display) {
+			$user = $params['user'];
+			$flag = strtolower('use_'.$this->name);
+			echo '<tr>';
+			echo '<td>';
+			echo ' <input type="checkbox" name="'.$flag.'" value="1" ';
+			// checked or unchecked?
+			if ( $user->usesPlugin($this->name)) {
+				echo 'checked="checked"';
+			}
+			echo ' />    '. sprintf(_('Use %s Plugin'), $this->text);
+			echo html_image($imgStatus, '16', '16',array('alt'=>$title, 'title'=>$title));
+			echo '</td>';
+			echo '</tr>';
+		}
 	}
 
-	function userisactivecheckboxpost (&$params) {
+	function userisactivecheckboxpost(&$params) {
 		// this code actually activates/deactivates the plugin after the form was submitted in the user account manteinance page
 		$user = $params['user'];
 		$flag = strtolower('use_'.$this->name);
-		if ( getStringFromRequest($flag) == 1 ) {
-			$user->setPluginUse ( $this->name );
+		if (getIntFromRequest($flag) == 1) {
+			$user->setPluginUse($this->name);
 		} else {
-			$user->setPluginUse ( $this->name, false );
+			$user->setPluginUse($this->name, false);
 		}
-		echo "<tr>";
-		echo "<td>";
-		echo ' <input type="checkbox" name="'.$flag.'" value="1" ';
-		// checked or unchecked?
-		if ( $user->usesPlugin ( $this->name ) ) {
-			echo 'checked="checked"';
-		}
-		echo " />    Use ".$this->text." Plugin";
-		echo "</td>";
-		echo "</tr>";
 	}
 }
 
 class PluginSpecificRoleSetting {
-	var $role ;
-	var $name = '' ;
-	var $section = '' ;
-	var $values = array () ;
-	var $default_values = array () ;
-	var $global = false ;
+	var $role;
+	var $name = '';
+	var $section = '';
+	var $values = array();
+	var $default_values = array();
+	var $global = false;
 
-	function PluginSpecificRoleSetting (&$role, $name, $global = false) {
-		$this->global = $global ;
-		$this->role =& $role ;
-		$this->name = $name ;
+	function PluginSpecificRoleSetting(&$role, $name, $global = false) {
+		$this->global = $global;
+		$this->role =& $role;
+		$this->name = $name;
 	}
 	
-	function SetAllowedValues ($values) {
-		$this->role->role_values = array_replace_recursive ($this->role->role_values,
-								    array ($this->name => $values)) ;
+	function SetAllowedValues($values) {
+		$this->role->role_values = array_replace_recursive($this->role->role_values,
+								   array($this->name => $values));
 		if ($this->global) {
-			$this->role->global_settings[] = $this->name ;
+			$this->role->global_settings[] = $this->name;
 		}
 	}
 
-	function SetDefaultValues ($defaults) {
+	function SetDefaultValues($defaults) {
 		foreach ($defaults as $rname => $v) {
-			$this->role->defaults[$rname][$this->name] = $v ;
+			$this->role->defaults[$rname][$this->name] = $v;
 		}
 	}
 
-	function setValueDescriptions ($descs) {
+	function setValueDescriptions($descs) {
 		global $rbac_permission_names ;
 		foreach ($descs as $k => $v) {
-			$rbac_permission_names[$this->name.$k] = $v ;
+			$rbac_permission_names[$this->name.$k] = $v;
 		}
 	}
 
-	function setDescription ($desc) {
+	function setDescription($desc) {
 		global $rbac_edit_section_names ;
-		$rbac_edit_section_names[$this->name] = $desc ;
+		$rbac_edit_section_names[$this->name] = $desc;
 	}
 }
 

Added: trunk/src/etc/config.ini.d/aselectextauth.ini
===================================================================
--- trunk/src/etc/config.ini.d/aselectextauth.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/aselectextauth.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/aselectextauth/etc/aselectextauth.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/aselectextauth.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/contribtracker.ini
===================================================================
--- trunk/src/etc/config.ini.d/contribtracker.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/contribtracker.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/contribtracker/etc/contribtracker.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/contribtracker.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/cvssyncmail.ini
===================================================================
--- trunk/src/etc/config.ini.d/cvssyncmail.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/cvssyncmail.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/cvssyncmail/etc/cvssyncmail.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/cvssyncmail.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/cvstracker.ini
===================================================================
--- trunk/src/etc/config.ini.d/cvstracker.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/cvstracker.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/cvstracker/etc/cvstracker.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/cvstracker.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/extratabs.ini
===================================================================
--- trunk/src/etc/config.ini.d/extratabs.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/extratabs.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/extratabs/etc/extratabs.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/extratabs.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/fckeditor.ini
===================================================================
--- trunk/src/etc/config.ini.d/fckeditor.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/fckeditor.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/fckeditor/etc/fckeditor.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/fckeditor.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/forumml.ini
===================================================================
--- trunk/src/etc/config.ini.d/forumml.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/forumml.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/forumml/etc/forumml.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/forumml.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/globalsearch.ini
===================================================================
--- trunk/src/etc/config.ini.d/globalsearch.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/globalsearch.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/globalsearch/etc/globalsearch.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/globalsearch.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/gravatar.ini
===================================================================
--- trunk/src/etc/config.ini.d/gravatar.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/gravatar.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/gravatar/etc/gravatar.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/gravatar.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/hudson.ini
===================================================================
--- trunk/src/etc/config.ini.d/hudson.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/hudson.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/hudson/etc/hudson.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/hudson.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/ldapextauth.ini
===================================================================
--- trunk/src/etc/config.ini.d/ldapextauth.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/ldapextauth.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/ldapextauth/etc/ldapextauth.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/ldapextauth.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/mailman.ini
===================================================================
--- trunk/src/etc/config.ini.d/mailman.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/mailman.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/mailman/etc/mailman.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/mailman.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/online_help.ini
===================================================================
--- trunk/src/etc/config.ini.d/online_help.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/online_help.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/online_help/etc/online_help.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/online_help.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/oslc.ini
===================================================================
--- trunk/src/etc/config.ini.d/oslc.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/oslc.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/oslc/etc/oslc.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/oslc.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/projectlabels.ini
===================================================================
--- trunk/src/etc/config.ini.d/projectlabels.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/projectlabels.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/projectlabels/etc/projectlabels.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/projectlabels.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/projects_hierarchy.ini
===================================================================
--- trunk/src/etc/config.ini.d/projects_hierarchy.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/projects_hierarchy.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/projects_hierarchy/etc/projects_hierarchy.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/projects_hierarchy.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/quota_management.ini
===================================================================
--- trunk/src/etc/config.ini.d/quota_management.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/quota_management.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/quota_management/etc/quota_management.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/quota_management.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/svncommitemail.ini
===================================================================
--- trunk/src/etc/config.ini.d/svncommitemail.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/svncommitemail.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/svncommitemail/etc/svncommitemail.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/svncommitemail.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/etc/config.ini.d/svntracker.ini
===================================================================
--- trunk/src/etc/config.ini.d/svntracker.ini	                        (rev 0)
+++ trunk/src/etc/config.ini.d/svntracker.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1 @@
+link ../../plugins/svntracker/etc/svntracker.ini
\ No newline at end of file


Property changes on: trunk/src/etc/config.ini.d/svntracker.ini
___________________________________________________________________
Added: svn:special
   + *

Added: trunk/src/plugins/aselectextauth/etc/aselectextauth.ini
===================================================================
--- trunk/src/plugins/aselectextauth/etc/aselectextauth.ini	                        (rev 0)
+++ trunk/src/plugins/aselectextauth/etc/aselectextauth.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,9 @@
+[aselectextauth]
+
+; Current aselectextauth is to be validate by developers.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin  
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers';
+

Modified: trunk/src/plugins/blocks/etc/blocks.ini
===================================================================
--- trunk/src/plugins/blocks/etc/blocks.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/blocks/etc/blocks.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [blocks]
 
+; Current blocks is valid
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = valid
+
 ; Path to a file containing a JSON-encoded array of key/value pairs
-templates_file = "$core/source_path/plugins/blocks/etc/templates.json"
\ No newline at end of file
+templates_file = "$core/source_path/plugins/blocks/etc/templates.json"

Added: trunk/src/plugins/contribtracker/etc/contribtracker.ini
===================================================================
--- trunk/src/plugins/contribtracker/etc/contribtracker.ini	                        (rev 0)
+++ trunk/src/plugins/contribtracker/etc/contribtracker.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[contribtracker]
+
+; Current contribtracker is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'

Added: trunk/src/plugins/cvssyncmail/etc/cvssyncmail.ini
===================================================================
--- trunk/src/plugins/cvssyncmail/etc/cvssyncmail.ini	                        (rev 0)
+++ trunk/src/plugins/cvssyncmail/etc/cvssyncmail.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[cvssyncmail]
+
+; Current cvssyncmail is to be validate by developers.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin  
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers';

Added: trunk/src/plugins/cvstracker/etc/cvstracker.ini
===================================================================
--- trunk/src/plugins/cvstracker/etc/cvstracker.ini	                        (rev 0)
+++ trunk/src/plugins/cvstracker/etc/cvstracker.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[cvstracker]
+
+; Current cvstracker is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Modified: trunk/src/plugins/externalsearch/etc/externalsearch.ini
===================================================================
--- trunk/src/plugins/externalsearch/etc/externalsearch.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/externalsearch/etc/externalsearch.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,5 +1,12 @@
 [externalsearch]
 
+; Current externalsearch is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
+
 ; Path to a file containing a JSON-encoded array of key/value pairs
 ; %web_host% will be replaced with the web_host value from the forge's config
 engines_file = "$core/source_path/plugins/externalsearch/etc/engines.json"

Added: trunk/src/plugins/extratabs/etc/extratabs.ini
===================================================================
--- trunk/src/plugins/extratabs/etc/extratabs.ini	                        (rev 0)
+++ trunk/src/plugins/extratabs/etc/extratabs.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[extratabs]
+
+; Current extratabs is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/fckeditor/etc/fckeditor.ini
===================================================================
--- trunk/src/plugins/fckeditor/etc/fckeditor.ini	                        (rev 0)
+++ trunk/src/plugins/fckeditor/etc/fckeditor.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[fckeditor]
+
+; Current fckeditor is production ready.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = valid

Added: trunk/src/plugins/forumml/etc/forumml.ini
===================================================================
--- trunk/src/plugins/forumml/etc/forumml.ini	                        (rev 0)
+++ trunk/src/plugins/forumml/etc/forumml.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[forumml]
+
+; Current forumml is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/globalsearch/etc/globalsearch.ini
===================================================================
--- trunk/src/plugins/globalsearch/etc/globalsearch.ini	                        (rev 0)
+++ trunk/src/plugins/globalsearch/etc/globalsearch.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[globalsearch]
+
+; Current globalsearch is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/gravatar/etc/gravatar.ini
===================================================================
--- trunk/src/plugins/gravatar/etc/gravatar.ini	                        (rev 0)
+++ trunk/src/plugins/gravatar/etc/gravatar.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[gravatar]
+
+; Current gravatar is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/hudson/etc/hudson.ini
===================================================================
--- trunk/src/plugins/hudson/etc/hudson.ini	                        (rev 0)
+++ trunk/src/plugins/hudson/etc/hudson.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[hudson]
+
+; Current hudson is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/ldapextauth/etc/ldapextauth.ini
===================================================================
--- trunk/src/plugins/ldapextauth/etc/ldapextauth.ini	                        (rev 0)
+++ trunk/src/plugins/ldapextauth/etc/ldapextauth.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[ldapextauth]
+
+; Current ldapextauth is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/mailman/etc/mailman.ini
===================================================================
--- trunk/src/plugins/mailman/etc/mailman.ini	                        (rev 0)
+++ trunk/src/plugins/mailman/etc/mailman.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[mailman]
+
+; Current mailman is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Modified: trunk/src/plugins/mantis/etc/mantis.ini
===================================================================
--- trunk/src/plugins/mantis/etc/mantis.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/mantis/etc/mantis.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,5 +1,12 @@
 [mantis]
 
+; Current mantis is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
+
 server = Mantis
 db_host = localhost
 db_user = GForge

Modified: trunk/src/plugins/mantisbt/etc/mantisbt.ini
===================================================================
--- trunk/src/plugins/mantisbt/etc/mantisbt.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/mantisbt/etc/mantisbt.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,9 +1,11 @@
 [mantisbt]
 
-; current mantisbt is broken
-; broken means : only available with installation_environment = developpement
-; valid means : production ready
-plugin_status = broken
+; Current mantisbt is broken
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = "broken: under heavy rewrite. More info https://fusionforge.org/plugins/mediawiki/wiki/fusionforge/index.php/MantisBT"
 
 ; Configuration for SOAP API
 server_url = http://localhost/mantis

Modified: trunk/src/plugins/mediawiki/etc/mediawiki.ini
===================================================================
--- trunk/src/plugins/mediawiki/etc/mediawiki.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/mediawiki/etc/mediawiki.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,5 +1,12 @@
 [mediawiki]
 
+; Current mediawiki is production ready
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = valid
+
 ; Whether uploads are allowed on the mediawiki
 enable_uploads = false
 

Added: trunk/src/plugins/online_help/etc/online_help.ini
===================================================================
--- trunk/src/plugins/online_help/etc/online_help.ini	                        (rev 0)
+++ trunk/src/plugins/online_help/etc/online_help.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[online_help]
+
+; current online_help is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/oslc/etc/oslc.ini
===================================================================
--- trunk/src/plugins/oslc/etc/oslc.ini	                        (rev 0)
+++ trunk/src/plugins/oslc/etc/oslc.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[oslc]
+
+; Current oslc is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/projectlabels/etc/projectlabels.ini
===================================================================
--- trunk/src/plugins/projectlabels/etc/projectlabels.ini	                        (rev 0)
+++ trunk/src/plugins/projectlabels/etc/projectlabels.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[projectlabels]
+
+; Current projectlabels is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/projects_hierarchy/etc/projects_hierarchy.ini
===================================================================
--- trunk/src/plugins/projects_hierarchy/etc/projects_hierarchy.ini	                        (rev 0)
+++ trunk/src/plugins/projects_hierarchy/etc/projects_hierarchy.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[projects_hierarchy]
+
+; Current projects_hierarchy is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/quota_management/etc/quota_management.ini
===================================================================
--- trunk/src/plugins/quota_management/etc/quota_management.ini	                        (rev 0)
+++ trunk/src/plugins/quota_management/etc/quota_management.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[quota_management]
+
+; Current quota_management is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Modified: trunk/src/plugins/scmarch/etc/scmarch.ini
===================================================================
--- trunk/src/plugins/scmarch/etc/scmarch.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmarch/etc/scmarch.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [scmarch]
 
+; Current scmarch is production ready
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = valid
+
 default_server = "$core/web_host"
 repos_path = "$core/chroot/scmrepos/arch"

Modified: trunk/src/plugins/scmbzr/etc/scmbzr.ini
===================================================================
--- trunk/src/plugins/scmbzr/etc/scmbzr.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmbzr/etc/scmbzr.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [scmbzr]
 
+; Current scmbzr is production ready.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin  
+; is available in installation_environment = development only.
+plugin_status = valid
+
 default_server = "$core/web_host"
 repos_path = "$core/chroot/scmrepos/bzr"

Modified: trunk/src/plugins/scmccase/etc/scmccase.ini
===================================================================
--- trunk/src/plugins/scmccase/etc/scmccase.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmccase/etc/scmccase.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,5 +1,12 @@
 [scmccase]
 
+; Current scmccase is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
+
 default_server = "$core/web_host"
 this_server = "$core/web_host"
 tag_pattern = GROUPNAME_vob

Modified: trunk/src/plugins/scmcvs/etc/scmcvs.ini
===================================================================
--- trunk/src/plugins/scmcvs/etc/scmcvs.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmcvs/etc/scmcvs.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [scmcvs]
 
+; Current scmcvs is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
+
 default_server = "$core/web_host"
 repos_path = "$core/chroot/scmrepos/cvs"

Modified: trunk/src/plugins/scmdarcs/etc/scmdarcs.ini
===================================================================
--- trunk/src/plugins/scmdarcs/etc/scmdarcs.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmdarcs/etc/scmdarcs.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [scmdarcs]
 
+; Current scmdarcs is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
+
 default_server = "$core/web_host"
 repos_path = "$core/chroot/scmrepos/darcs"

Modified: trunk/src/plugins/scmgit/etc/scmgit.ini
===================================================================
--- trunk/src/plugins/scmgit/etc/scmgit.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmgit/etc/scmgit.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [scmgit]
 
+; Current scmgit is production ready.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin  
+; is available in installation_environment = development only.
+plugin_status = valid
+
 default_server = "$core/web_host"
 repos_path = "$core/chroot/scmrepos/git"

Modified: trunk/src/plugins/scmhg/etc/scmhg.ini
===================================================================
--- trunk/src/plugins/scmhg/etc/scmhg.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmhg/etc/scmhg.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,4 +1,11 @@
 [scmhg]
 
+; Current scmhg is production ready.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin  
+; is available in installation_environment = development only.
+plugin_status = valid
+
 default_server = "$core/web_host"
 repos_path = "$core/chroot/scmrepos/hg"

Modified: trunk/src/plugins/scmsvn/etc/scmsvn.ini
===================================================================
--- trunk/src/plugins/scmsvn/etc/scmsvn.ini	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/plugins/scmsvn/etc/scmsvn.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -1,5 +1,12 @@
 [scmsvn]
 
+; Current scmsvn is production ready.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = valid
+
 use_dav = yes
 use_ssl = "$core/use_ssl"
 use_ssh = no

Added: trunk/src/plugins/svncommitemail/etc/svncommitemail.ini
===================================================================
--- trunk/src/plugins/svncommitemail/etc/svncommitemail.ini	                        (rev 0)
+++ trunk/src/plugins/svncommitemail/etc/svncommitemail.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[svncommitemail]
+
+; Current svncommitemail is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Added: trunk/src/plugins/svntracker/etc/svntracker.ini
===================================================================
--- trunk/src/plugins/svntracker/etc/svntracker.ini	                        (rev 0)
+++ trunk/src/plugins/svntracker/etc/svntracker.ini	2010-12-05 14:15:31 UTC (rev 11706)
@@ -0,0 +1,8 @@
+[svntracker]
+
+; Current svntracker is to be validate by developers
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin 
+; is available in installation_environment = development only.
+plugin_status = 'to be validate by developers'
\ No newline at end of file

Modified: trunk/src/www/admin/pluginman.php
===================================================================
--- trunk/src/www/admin/pluginman.php	2010-12-05 12:14:11 UTC (rev 11705)
+++ trunk/src/www/admin/pluginman.php	2010-12-05 14:15:31 UTC (rev 11706)
@@ -83,9 +83,9 @@
 					$result = unlink(forge_get_config('config_path'). '/plugins/'.$pluginname); // the apache group or user should have write perms in forge_get_config('config_path')/plugins folder...
 					if (!$result) {
 						$feedback .= _('Success, config not deleted');
-					}			
+					}
 				}
-			}			
+			}
 		}
 	} else {
 
@@ -112,7 +112,7 @@
 					}
 				}
 			}
-				
+
 			// Create a symbolic links to plugins/<plugin>/etc/plugins/<plugin> (if directory exists).
 			if (is_dir(forge_get_config('plugins_path') . '/' . $pluginname . '/etc/plugins/' . $pluginname)) {
 				// The apache group or user should have write perms in /etc/gforge/plugins folder...
@@ -134,7 +134,7 @@
 						$db_init = 0;
 					}
 				}
-					
+
 				if ($db_init) {
 					$res = db_query_from_file($db_init);
 					
@@ -146,12 +146,10 @@
 					} else {
 						$error_msg .= _('Initialisation error<br />Database said: ').db_error();
 					}
-				}	
-				//we check for a php script	
+				}
+				//we check for a php script
 				if (is_file(forge_get_config('plugins_path') . '/' . $pluginname . '/script/' . $pluginname . '-init.php')) {
-					include(forge_get_config('plugins_path') . '/' . $pluginname . '/script/' . $pluginname . '-init.php');		
-				} else {
-					
+					include(forge_get_config('plugins_path') . '/' . $pluginname . '/script/' . $pluginname . '-init.php');
 				}
 			}
 		}
@@ -189,7 +187,7 @@
 		    _('Action'),
 		    _('Run Init Script?'),
 		    _('Users Using it'),
-				_('Projects Using it'),);
+		    _('Projects Using it'),);
 echo $HTML->listTableTop($title_arr);
 
 // Get the activated plugins.
@@ -211,12 +209,20 @@
 $has_init = array();
 if($handle = opendir(forge_get_config('plugins_path'))) {
 	while (($filename = readdir($handle)) !== false) {
-		if ($filename!='..' && $filename!='.' && $filename!=".svn" && $filename!="CVS" &&
+		if ($filename != '..' && $filename != '.' && $filename != ".svn" && $filename != "CVS" &&
 		    is_dir(forge_get_config('plugins_path').'/'.$filename) &&
 		    !in_array($filename, $plugins_disabled)) {
-
-			$filelist[] = $filename;
-			$has_init[$filename] = is_dir(forge_get_config('plugins_path').'/'.$filename.'/db');
+			$addPlugin = 1;
+			if (forge_get_config('plugin_status', $filename) !== 'valid') {
+				$addPlugin = 0;
+			}
+			if (forge_get_config('installation_environment') === 'development') {
+				$addPlugin = 1;
+			}
+			if ($addPlugin) {
+				$filelist[] = $filename;
+				$has_init[$filename] = is_dir(forge_get_config('plugins_path').'/'.$filename.'/db');
+			}
 		}
 	}
 	closedir($handle);
@@ -278,8 +284,9 @@
 		$groups = _("none");
 	}
 
+	$title = _('Current plugin status:'). ' ' .forge_get_config('plugin_status', $filename);
 	echo '<tr '. $HTML->boxGetAltRowStyle($j+1) .'>'.
-		'<td>'. $filename.'</td>'.
+		'<td title="'. $title .'" >'. $filename.'</td>'.
 		'<td class="'.$status.'" style="text-align:center">'. $msg .'</td>'.
 		'<td style="text-align:center;">'. $link .'</td>'.
 		'<td style="text-align:center;">'. $init .'</td>'.

Added: trunk/src/www/themes/funky/images/plugin_status_broken.png
===================================================================
(Binary files differ)


Property changes on: trunk/src/www/themes/funky/images/plugin_status_broken.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Added: trunk/src/www/themes/funky/images/plugin_status_valid.png
===================================================================
(Binary files differ)


Property changes on: trunk/src/www/themes/funky/images/plugin_status_valid.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Added: trunk/src/www/themes/gforge/images/plugin_status_broken.png
===================================================================
(Binary files differ)


Property changes on: trunk/src/www/themes/gforge/images/plugin_status_broken.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Added: trunk/src/www/themes/gforge/images/plugin_status_valid.png
===================================================================
(Binary files differ)


Property changes on: trunk/src/www/themes/gforge/images/plugin_status_valid.png
___________________________________________________________________
Added: svn:mime-type
   + image/png




More information about the Fusionforge-commits mailing list