[Fusionforge-commits] FusionForge branch master updated. 6.0.4-1117-gaf5dd98

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Nov 2 23:35:55 CET 2016


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  af5dd9879edb8a0bf7e57535450f2937194915df (commit)
      from  ecd4113d45d5c663bfe1312926471248b0058ef3 (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=af5dd9879edb8a0bf7e57535450f2937194915df

commit af5dd9879edb8a0bf7e57535450f2937194915df
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Nov 2 23:35:16 2016 +0100

    coding style

diff --git a/src/www/soap/common/group.php b/src/www/soap/common/group.php
index 4713b59..ad5b39d 100644
--- a/src/www/soap/common/group.php
+++ b/src/www/soap/common/group.php
@@ -3,6 +3,7 @@
  * SOAP Group Include - this file contains wrapper functions for the SOAP interface
  *
  * Copyright 2004 (c) GForge, LLC
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -63,14 +64,14 @@ $server->wsdl->addComplexType(
 
 // Array of groups
 $server->wsdl->addComplexType(
-    'ArrayOfGroup',
-    'complexType',
-    'array',
-    '',
-    'SOAP-ENC:Array',
-    array(),
-    array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:Group[]')),
-    'tns:Group');
+	'ArrayOfGroup',
+	'complexType',
+	'array',
+	'',
+	'SOAP-ENC:Array',
+	array(),
+	array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:Group[]')),
+	'tns:Group');
 
 // [Yosu] Add The definition of a role object
 $server->wsdl->addComplexType(
@@ -96,177 +97,177 @@ $server->wsdl->addComplexType(
 
 //[Yosu] Array of roles
 $server->wsdl->addComplexType(
-    'ArrayOfRole',
-    'complexType',
-    'array',
-    '',
-    'SOAP-ENC:Array',
-    array(),
-    array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:Role[]')),
-    'tns:Role');
+	'ArrayOfRole',
+	'complexType',
+	'array',
+	'',
+	'SOAP-ENC:Array',
+	array(),
+	array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:Role[]')),
+	'tns:Role');
 
 //getGroups (id array)
 $server->register(
-    'getGroups',
-    array('session_ser'=>'xsd:string','group_ids'=>'tns:ArrayOfint'),
-    array('return'=>'tns:ArrayOfGroup'),
-    $uri,
-    $uri.'#getGroups','rpc','encoded'
+	'getGroups',
+	array('session_ser'=>'xsd:string','group_ids'=>'tns:ArrayOfint'),
+	array('return'=>'tns:ArrayOfGroup'),
+	$uri,
+	$uri.'#getGroups','rpc','encoded'
 );
 
 //getGroupsByName (unix_name array)
 $server->register(
-    'getGroupsByName',
-    array('session_ser'=>'xsd:string','group_names'=>'tns:ArrayOfstring'),
-    array('return'=>'tns:ArrayOfGroup'),
-    $uri,
-    $uri.'#getGroupsByName','rpc','encoded'
+	'getGroupsByName',
+	array('session_ser'=>'xsd:string','group_names'=>'tns:ArrayOfstring'),
+	array('return'=>'tns:ArrayOfGroup'),
+	$uri,
+	$uri.'#getGroupsByName','rpc','encoded'
 );
 
 //getPublicProjectNames ()
 $server->register(
-    'getPublicProjectNames',
-    array('session_ser'=>'xsd:string'),
-    array('return'=>'tns:ArrayOfstring'),
-    $uri,
-    $uri.'#getPublicProjectNames','rpc','encoded'
+	'getPublicProjectNames',
+	array('session_ser'=>'xsd:string'),
+	array('return'=>'tns:ArrayOfstring'),
+	$uri,
+	$uri.'#getPublicProjectNames','rpc','encoded'
 );
 
 // getGroupByStatus
 $server->register(
-    'getGroupByStatus',
-    array('session_ser'=>'xsd:string',
-	'status'=>'xsd:string'),
-    array('return'=>'tns:ArrayOfGroup'),
-    $uri,
-    $uri.'#getGroupByStatus','rpc','encoded'
+	'getGroupByStatus',
+	array('session_ser'=>'xsd:string',
+		'status'=>'xsd:string'),
+	array('return'=>'tns:ArrayOfGroup'),
+	$uri,
+	$uri.'#getGroupByStatus','rpc','encoded'
 );
 
 // approveGroup
 $server->register(
-    'approveGroup',
-    array('session_ser'=>'xsd:string',
-	'group_id'=>'xsd:int'),
-    array('return'=>'xsd:boolean'),
-    $uri,
-    $uri.'#approveGroup','rpc','encoded'
+	'approveGroup',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int'),
+	array('return'=>'xsd:boolean'),
+	$uri,
+	$uri.'#approveGroup','rpc','encoded'
 );
 
 //addGroup ($user, $group_name, $unix_name, $description, $purpose, $unix_box = 'shell1', $scm_box = 'cvs1', $is_public = 1, $send_mail = true, $built_from_template = 0)
 $server->register(
-    'addGroup',
-    array('session_ser'=>'xsd:string',
-	'group_name'=>'xsd:string',
-	'unix_name'=>'xsd:string',
-	'description'=>'xsd:string',
-	'purpose'=>'xsd:string',
-	'unix_box'=>'xsd:string',
-	'scm_box'=>'xsd:string',
-	'is_public'=>'xsd:int',
-	'send_mail'=>'xsd:boolean',
-	'built_from_template'=>'xsd:int'),
-    array('return'=>'xsd:boolean'),
-    $uri,
-    $uri.'#addGroup','rpc','encoded'
+	'addGroup',
+	array('session_ser'=>'xsd:string',
+		'group_name'=>'xsd:string',
+		'unix_name'=>'xsd:string',
+		'description'=>'xsd:string',
+		'purpose'=>'xsd:string',
+		'unix_box'=>'xsd:string',
+		'scm_box'=>'xsd:string',
+		'is_public'=>'xsd:int',
+		'send_mail'=>'xsd:boolean',
+		'built_from_template'=>'xsd:int'),
+	array('return'=>'xsd:boolean'),
+	$uri,
+	$uri.'#addGroup','rpc','encoded'
 );
 
 //updateGroup ($group_id, $is_public, $is_template, $status, $group_type, $unix_box, $http_domain, $scm_box)
 $server->register(
-    'updateGroup',
-    array('session_ser'=>'xsd:string',
-	'group_id'=>'xsd:int',
-	'is_public'=>'xsd:int',
-	'is_template'=>'xsd:int',
-	'status'=>'xsd:string',
-	'group_type'=>'xsd:string',
-	'unix_box'=>'xsd:string',
-	'http_domain'=>'xsd:string',
-	'scm_box'=>'xsd:string'),
-    array('return'=>'xsd:boolean'),
-    $uri,
-    $uri.'#updateGroup','rpc','encoded'
+	'updateGroup',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int',
+		'is_public'=>'xsd:int',
+		'is_template'=>'xsd:int',
+		'status'=>'xsd:string',
+		'group_type'=>'xsd:string',
+		'unix_box'=>'xsd:string',
+		'http_domain'=>'xsd:string',
+		'scm_box'=>'xsd:string'),
+	array('return'=>'xsd:boolean'),
+	$uri,
+	$uri.'#updateGroup','rpc','encoded'
 );
 
 //function updateGroup($session_ser, $group_id, $form_group_name, $form_homepage, $form_shortdesc, $use_mail, $use_survey, $use_forum, $use_pm,
 //	$use_scm, $use_news, $use_docman, $new_doc_address, $send_all_docs, $use_ftp, $use_tracker, $use_frs, $use_stats, $tags)
 $server->register(
-    'updateGroup2',
-    array('session_ser'=>'xsd:string',
-	'group_id'=>'xsd:int',
-        'form_group_name'=>'xsd:string',
-        'form_homepage'=>'xsd:string',
-        'form_shortdesc'=>'xsd:string',
-        'use_mail'=>'xsd:string',
-        'use_survey'=>'xsd:string',
-        'use_forum'=>'xsd:string',
-        'use_pm'=>'xsd:string',
-        'use_scm'=>'xsd:string',
-        'use_news'=>'xsd:string',
-        'use_docman'=>'xsd:string',
-        'new_doc_address'=>'xsd:string',
-        'send_all_docs'=>'xsd:string',
-        'use_ftp'=>'xsd:string',
-        'use_tracker'=>'xsd:string',
-        'use_frs'=>'xsd:string',
-        'use_stats'=>'xsd:string',
-        'tags'=>'xsd:string'),
-    array('return'=>'xsd:boolean'),
-    $uri,
-    $uri.'#updateGroup2','rpc','encoded'
+	'updateGroup2',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int',
+		'form_group_name'=>'xsd:string',
+		'form_homepage'=>'xsd:string',
+		'form_shortdesc'=>'xsd:string',
+		'use_mail'=>'xsd:string',
+		'use_survey'=>'xsd:string',
+		'use_forum'=>'xsd:string',
+		'use_pm'=>'xsd:string',
+		'use_scm'=>'xsd:string',
+		'use_news'=>'xsd:string',
+		'use_docman'=>'xsd:string',
+		'new_doc_address'=>'xsd:string',
+		'send_all_docs'=>'xsd:string',
+		'use_ftp'=>'xsd:string',
+		'use_tracker'=>'xsd:string',
+		'use_frs'=>'xsd:string',
+		'use_stats'=>'xsd:string',
+		'tags'=>'xsd:string'),
+	array('return'=>'xsd:boolean'),
+	$uri,
+	$uri.'#updateGroup2','rpc','encoded'
 );
 
 //deleteGroup ($group_id)
 $server->register(
-    'deleteGroup',
-    array('session_ser'=>'xsd:string',
-	'group_id'=>'xsd:int'),
-    array('return'=>'xsd:boolean'),
-    $uri,
-    $uri.'#deleteGroup','rpc','encoded'
+	'deleteGroup',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int'),
+	array('return'=>'xsd:boolean'),
+	$uri,
+	$uri.'#deleteGroup','rpc','encoded'
 );
 
 //[Yosu] addUserToGroup (session_ser, user_unix_name, group_id, role_id)
 $server->register(
-    'addUserToGroup',
-    array('session_ser'=>'xsd:string',
-	 'user_unix_name'=>'xsd:string',
-         'group_id'=>'xsd:int',
-         'role_id'=>'xsd:int'),
-    array('addUserToGroupResonse'=>'xsd:boolean'),
-    $uri,
-    $uri.'#addUserToGroup','rpc','encoded'
+	'addUserToGroup',
+	array('session_ser'=>'xsd:string',
+		'user_unix_name'=>'xsd:string',
+		'group_id'=>'xsd:int',
+		'role_id'=>'xsd:int'),
+	array('addUserToGroupResonse'=>'xsd:boolean'),
+	$uri,
+	$uri.'#addUserToGroup','rpc','encoded'
 );
 
 //[Yosu] removeUserFromGroup (session_ser, user_id, role_id)
 $server->register(
-    'removeUserFromGroup',
-    array('session_ser'=>'xsd:string',
-         'user_id'=>'xsd:string',
-         'role_id'=>'xsd:int'),
-    array('removeUserFromGroupResonse'=>'xsd:boolean'),
-    $uri,
-    $uri.'#removeUserFromGroup','rpc','encoded'
+	'removeUserFromGroup',
+	array('session_ser'=>'xsd:string',
+		'user_id'=>'xsd:string',
+		'role_id'=>'xsd:int'),
+	array('removeUserFromGroupResonse'=>'xsd:boolean'),
+	$uri,
+	$uri.'#removeUserFromGroup','rpc','encoded'
 );
 
 //[Yosu] getGroupRoles (session_ser, group_id)
 $server->register(
-    'getGroupRoles',
-    array('session_ser'=>'xsd:string',
-	 'group_id'=>'xsd:int'),
-    array('return'=>'tns:ArrayOfRole'),
-    $uri,
-    $uri.'#getGroupRoles','rpc','encoded'
+	'getGroupRoles',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int'),
+	array('return'=>'tns:ArrayOfRole'),
+	$uri,
+	$uri.'#getGroupRoles','rpc','encoded'
 );
 
 //[Yosu] getUserRolesForGroup (session_ser, group_id, user_id)
 $server->register(
-    'getUserRolesForGroup',
-    array('session_ser'=>'xsd:string',
-	 'group_id'=>'xsd:int',
-	 'user_id'=>'xsd:int'),
-    array('return'=>'tns:ArrayOfRole'),
-    $uri,
-    $uri.'#getUserRolesForGroup','rpc','encoded'
+	'getUserRolesForGroup',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int',
+		'user_id'=>'xsd:int'),
+	array('return'=>'tns:ArrayOfRole'),
+	$uri,
+	$uri.'#getUserRolesForGroup','rpc','encoded'
 );
 
 //[Yosu] addGroupRole ($session_ser, $group_id, $role_name, $project_read, $project_admin, $frs, $scm, $docman,
diff --git a/src/www/soap/common/user.php b/src/www/soap/common/user.php
index dd7f008..0418896 100644
--- a/src/www/soap/common/user.php
+++ b/src/www/soap/common/user.php
@@ -3,7 +3,7 @@
  * SOAP User Include - this file contains wrapper functions for the SOAP interface
  *
  * Copyright 2004 (c) GForge, LLC
- * http://gforge.org
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -51,50 +51,50 @@ $server->wsdl->addComplexType(
 
 // Array of users
 $server->wsdl->addComplexType(
-    'ArrayOfUser',
-    'complexType',
-    'array',
-    '',
-    'SOAP-ENC:Array',
-    array(),
-    array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:User[]')),
-    'tns:User');
+	'ArrayOfUser',
+	'complexType',
+	'array',
+	'',
+	'SOAP-ENC:Array',
+	array(),
+	array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:User[]')),
+	'tns:User');
 
 //getUsers (id array)
 $server->register(
-    'getUsers',
-    array('session_ser'=>'string','user_ids'=>'tns:ArrayOfint'),
-    array('userResponse'=>'tns:ArrayOfUser'),
-    $uri,
-    $uri.'#getUsers','rpc','encoded'
+	'getUsers',
+	array('session_ser'=>'string','user_ids'=>'tns:ArrayOfint'),
+	array('userResponse'=>'tns:ArrayOfUser'),
+	$uri,
+	$uri.'#getUsers','rpc','encoded'
 );
 
 //getActiveUsers ()
 $server->register(
-    'getActiveUsers',
-    array('session_ser'=>'string'),
-    array('userResponse'=>'tns:ArrayOfUser'),
-    $uri,
-    $uri.'#getActiveUsers','rpc','encoded'
+	'getActiveUsers',
+	array('session_ser'=>'string'),
+	array('userResponse'=>'tns:ArrayOfUser'),
+	$uri,
+	$uri.'#getActiveUsers','rpc','encoded'
 );
 
 //[Yosu] getGroupUsers (session_ser, group_id)
 $server->register(
-    'getGroupUsers',
-    array('session_ser'=>'xsd:string',
-	 'group_id'=>'xsd:int'),
-    array('return'=>'tns:ArrayOfUser'),
-    $uri,
-    $uri.'#getGroupUsers','rpc','encoded'
+	'getGroupUsers',
+	array('session_ser'=>'xsd:string',
+		'group_id'=>'xsd:int'),
+	array('return'=>'tns:ArrayOfUser'),
+	$uri,
+	$uri.'#getGroupUsers','rpc','encoded'
 );
 
 //getUsersByName (unix_name array)
 $server->register(
-    'getUsersByName',
-    array('session_ser'=>'string','user_ids'=>'tns:ArrayOfstring'),
-    array('userResponse'=>'tns:ArrayOfUser'),
-    $uri,
-    $uri.'#getUsersByName','rpc','encoded'
+	'getUsersByName',
+	array('session_ser'=>'string','user_ids'=>'tns:ArrayOfstring'),
+	array('userResponse'=>'tns:ArrayOfUser'),
+	$uri,
+	$uri.'#getUsersByName','rpc','encoded'
 );
 
 //addUser (unix_name,firstname,lastname,password1,password2,email,
@@ -102,86 +102,86 @@ $server->register(
 	//theme_id,unix_box='shell',address='',address2='',phone='',fax='',
 	//title='',ccode='US',send_mail)
 $server->register(
-    'addUser',
-    array('unix_name'=>'xsd:string','firstname'=>'xsd:string',
-	'lastname'=>'xsd:string','password1'=>'xsd:string',
-	'password2'=>'xsd:string','email'=>'xsd:string',
-	'mail_site'=>'xsd:string','mail_va'=>'xsd:string',
-	'language_id'=>'xsd:int','timezone'=>'xsd:string',
-	'jabber_address'=>'xsd:string','jabber_only'=>'xsd:int',
-	'theme_id'=>'xsd:int','unix_box'=>'xsd:string',
-	'address'=>'xsd:string','address2'=>'xsd:string',
-	'phone'=>'xsd:string','fax'=>'xsd:string',
-	'title'=>'xsd:string','ccode'=>'xsd:string'),
-    array('addUserResonse'=>'xsd:int'),
-    $uri,
-    $uri.'#addUser','rpc','encoded'
+	'addUser',
+	array('unix_name'=>'xsd:string','firstname'=>'xsd:string',
+		'lastname'=>'xsd:string','password1'=>'xsd:string',
+		'password2'=>'xsd:string','email'=>'xsd:string',
+		'mail_site'=>'xsd:string','mail_va'=>'xsd:string',
+		'language_id'=>'xsd:int','timezone'=>'xsd:string',
+		'jabber_address'=>'xsd:string','jabber_only'=>'xsd:int',
+		'theme_id'=>'xsd:int','unix_box'=>'xsd:string',
+		'address'=>'xsd:string','address2'=>'xsd:string',
+		'phone'=>'xsd:string','fax'=>'xsd:string',
+		'title'=>'xsd:string','ccode'=>'xsd:string'),
+	array('addUserResonse'=>'xsd:int'),
+	$uri,
+	$uri.'#addUser','rpc','encoded'
 );
 
 //updateUser  (session_ser,user_id,firstname,lastname,language_id,timezone,mail_site,mail_va,use_ratings,dummy1,dummy2,theme_id,address,address2,phone,fax,title,ccode)
 $server->register(
-    'updateUser',
-    array('session_ser'=>'xsd:string',
-	'user_id'=>'xsd:string',
-	'firstname'=>'xsd:string',
-	'lastname'=>'xsd:string',
-	'language_id'=>'xsd:int',
-	'timezone'=>'xsd:string',
-	'mail_site'=>'xsd:string',
-	'mail_va'=>'xsd:string',
-	'use_ratings'=>'xsd:string',
-	'jabber_address'=>'xsd:string',
-	'jabber_only'=>'xsd:int',
-	'theme_id'=>'xsd:int',
-	'address'=>'xsd:string',
-	'address2'=>'xsd:string',
-	'phone'=>'xsd:string',
-	'fax'=>'xsd:string',
-	'title'=>'xsd:string',
-	'ccode'=>'xsd:string'),
-    array('updateUserResonse'=>'xsd:int'),
-    $uri,
-    $uri.'#updateUser','rpc','encoded'
+	'updateUser',
+	array('session_ser'=>'xsd:string',
+		'user_id'=>'xsd:string',
+		'firstname'=>'xsd:string',
+		'lastname'=>'xsd:string',
+		'language_id'=>'xsd:int',
+		'timezone'=>'xsd:string',
+		'mail_site'=>'xsd:string',
+		'mail_va'=>'xsd:string',
+		'use_ratings'=>'xsd:string',
+		'jabber_address'=>'xsd:string',
+		'jabber_only'=>'xsd:int',
+		'theme_id'=>'xsd:int',
+		'address'=>'xsd:string',
+		'address2'=>'xsd:string',
+		'phone'=>'xsd:string',
+		'fax'=>'xsd:string',
+		'title'=>'xsd:string',
+		'ccode'=>'xsd:string'),
+	array('updateUserResonse'=>'xsd:int'),
+	$uri,
+	$uri.'#updateUser','rpc','encoded'
 );
 
 //deleteUser  (session_ser,user_id)
 $server->register(
-    'deleteUser',
-    array('session_ser'=>'xsd:string','user_id'=>'xsd:string'),
-    array('deleteUserResonse'=>'xsd:boolean'),
-    $uri,
-    $uri.'#deleteUser','rpc','encoded'
+	'deleteUser',
+	array('session_ser'=>'xsd:string','user_id'=>'xsd:string'),
+	array('deleteUserResonse'=>'xsd:boolean'),
+	$uri,
+	$uri.'#deleteUser','rpc','encoded'
 );
 
 //changeStatus  (session_ser,user_id,status)
 $server->register(
-    'changeStatus',
-    array('session_ser'=>'xsd:string',
-	'user_id'=>'xsd:string',
-	'status'=>'xsd:string'),
-    array('changeStatusResonse'=>'xsd:boolean'),
-    $uri,
-    $uri.'#changeStatus','rpc','encoded'
+	'changeStatus',
+	array('session_ser'=>'xsd:string',
+		'user_id'=>'xsd:string',
+		'status'=>'xsd:string'),
+	array('changeStatusResonse'=>'xsd:boolean'),
+	$uri,
+	$uri.'#changeStatus','rpc','encoded'
 );
 
 //changePassword  (session_ser,user_id,password)
 $server->register(
-    'changePassword',
-    array('session_ser'=>'xsd:string',
-	'user_id'=>'xsd:string',
-	'password'=>'xsd:string'),
-    array('changePasswordResonse'=>'xsd:boolean'),
-    $uri,
-    $uri.'#changePassword','rpc','encoded'
+	'changePassword',
+	array('session_ser'=>'xsd:string',
+		'user_id'=>'xsd:string',
+		'password'=>'xsd:string'),
+	array('changePasswordResonse'=>'xsd:boolean'),
+	$uri,
+	$uri.'#changePassword','rpc','encoded'
 );
 
 //getGroups (id array)
 $server->register(
-    'userGetGroups',
-    array('session_ser'=>'string','user_id'=>'xsd:int'),
-    array('groupResponse'=>'tns:ArrayOfGroup'),
-    $uri,
-    $uri.'#userGetGroups','rpc','encoded'
+	'userGetGroups',
+	array('session_ser'=>'string','user_id'=>'xsd:int'),
+	array('groupResponse'=>'tns:ArrayOfGroup'),
+	$uri,
+	$uri.'#userGetGroups','rpc','encoded'
 );
 
 //get user objects for array of user_ids
diff --git a/src/www/soap/docman/docman.php b/src/www/soap/docman/docman.php
index 42932e0..fa500a9 100644
--- a/src/www/soap/docman/docman.php
+++ b/src/www/soap/docman/docman.php
@@ -573,8 +573,8 @@ function getDocumentGroup($session_ser,$group_id,$doc_group) {
 	}
 
 	$documentGroup=array('doc_group_id'=>$dg->getID(),
-									'parent_doc_group'=>$dg->getParentID(),
-									'groupname'=>$dg->getName());
+				'parent_doc_group'=>$dg->getParentID(),
+				'groupname'=>$dg->getName());
 
 	return $documentGroup;
 }
diff --git a/src/www/soap/index.php b/src/www/soap/index.php
index 67e5648..029b6e3 100644
--- a/src/www/soap/index.php
+++ b/src/www/soap/index.php
@@ -4,7 +4,7 @@
  *
  * Previous Copyright FusionForge Team
  * Copyright 2016, Franck Villaume - TrivialDev
- * http://gforge.org
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
diff --git a/src/www/soap/pm/pm.php b/src/www/soap/pm/pm.php
index 6a40e87..5c705cb 100644
--- a/src/www/soap/pm/pm.php
+++ b/src/www/soap/pm/pm.php
@@ -4,7 +4,7 @@
  *
  * Copyright 2004 (c) GForge, LLC
  * Copyright (C) 2012 Alain Peyrat - Alcatel-Lucent
- * http://gforge.org
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -598,7 +598,7 @@ function projecttasks_to_soap($pt_arr) {
 			$dependent_on_tmp = $pt_arr[$i]->getDependentOn();
 			foreach ($dependent_on_tmp as $dependent_on_id => $link_type) {
 				$dependent_on[] = array("task_id" => $dependent_on_id,
-										"link_type" => $link_type);
+							"link_type" => $link_type);
 			}
 
 			//build the assigned_to array
@@ -606,8 +606,8 @@ function projecttasks_to_soap($pt_arr) {
 			$assigned_ids = $pt_arr[$i]->getAssignedTo();
 			foreach ($assigned_ids as $assigned_id) {
 				$assigned_to[] = array("user_id" => $assigned_id,
-										"percent_effort" => 0		// TODO: This should be implemented
-									);
+							"percent_effort" => 0		// TODO: This should be implemented
+							);
 			}
 
 			$sort_id = $pt_arr[$i]->getExternalID();
diff --git a/src/www/soap/reporting/timeentry.php b/src/www/soap/reporting/timeentry.php
index 92d0141..4bf8ee1 100644
--- a/src/www/soap/reporting/timeentry.php
+++ b/src/www/soap/reporting/timeentry.php
@@ -1,9 +1,9 @@
 <?php
-
 /**
  * SOAP Tracker Include - this file contains wrapper functions for the SOAP interface
  *
  * Copyright 2005 Tony Bibbs <tony at geeklog.net>
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -26,17 +26,17 @@ require_once $gfcommon.'reporting/TimeEntry.class.php';
 
 //addTimeEntry
 $server->register(
-        'addTimeEntry',
-        array(
-                'session_ser'=>'xsd:string',
-                'projectTaskId'=>'xsd:int',
-                'week'=>'xsd:int',
-                'daysAdjust'=>'xsd:int',
-                'timeCode'=>'xsd:int',
-                'hours'=>'xsd:float'
-        ),
-        array('addTimeEntryResponse'=>'xsd:int'),
-        $uri,$uri.'#addTimeEntry','rpc','encoded'
+	'addTimeEntry',
+	array(
+		'session_ser'=>'xsd:string',
+		'projectTaskId'=>'xsd:int',
+		'week'=>'xsd:int',
+		'daysAdjust'=>'xsd:int',
+		'timeCode'=>'xsd:int',
+		'hours'=>'xsd:float'
+	),
+	array('addTimeEntryResponse'=>'xsd:int'),
+	$uri,$uri.'#addTimeEntry','rpc','encoded'
 );
 
 //
@@ -45,9 +45,9 @@ $server->register(
 
 function addTimeEntry($session_ser, $projectTaskId, $week, $daysAdjust, $timeCode, $hours)
 {
-        continue_session($session_ser);
+	continue_session($session_ser);
 
-        $teObj = new TimeEntry();
+	$teObj = new TimeEntry();
 	error_log("addTimeEntry ($projectTaskId, $week, $daysAdjust, $timeCode, $hours)");
-        return $teObj->create($projectTaskId, $week, $daysAdjust, $timeCode, $hours);
+	return $teObj->create($projectTaskId, $week, $daysAdjust, $timeCode, $hours);
 }
diff --git a/src/www/soap/scm/scm.php b/src/www/soap/scm/scm.php
index c90d615..416f512 100644
--- a/src/www/soap/scm/scm.php
+++ b/src/www/soap/scm/scm.php
@@ -3,7 +3,7 @@
  * SOAP SCM Include - this file contains wrapper functions for the SOAP interface
  *
  * Copyright 2004 (c) GForge, LLC
- * http://gforge.org
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
diff --git a/src/www/soap/tracker/query.php b/src/www/soap/tracker/query.php
index 4196a9c..5b4bb9c 100644
--- a/src/www/soap/tracker/query.php
+++ b/src/www/soap/tracker/query.php
@@ -3,7 +3,7 @@
  * SOAP Tracker Include - this file contains wrapper functions for the tracker query interface
  *
  * Copyright 2004 (c) GForge, LLC
- * http://gforge.org
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -148,9 +148,9 @@ function queries_to_soap($queries) {
 				// $value may be a int. We wrap it in an array.
 				if (!is_array($values)) $values = array($values);
 				$extra_fields[] = array(
-									"extra_field_id"	=> $extra_field_id,
-									"values"			=> $values
-									);
+							"extra_field_id"	=> $extra_field_id,
+							"values"			=> $values
+							);
 			}
 
 			$assignee = $artifactQuery->getAssignee();
@@ -165,19 +165,19 @@ function queries_to_soap($queries) {
 			}
 
 			$result[] = array(
-						"artifact_query_id"	=> $artifactQuery->getID(),
-						"name"		=> $artifactQuery->getName(),
-						"fields"	=> array(
-										"sortcol"	=> $artifactQuery->getSortCol(),
-										"sortord"	=> $artifactQuery->getSortOrd(),
-										"moddaterange"	=> $artifactQuery->getModDateRange(),
-										"assignee"	=> $assignee,
-										"status"	=> $artifactQuery->getStatus(),
-										"extra_fields"	=> $extra_fields,
-										"opendaterange"	=> $artifactQuery->getOpenDateRange(),
-										"closedaterange"	=> $artifactQuery->getCloseDateRange()
-										),
-						);
+					"artifact_query_id"	=> $artifactQuery->getID(),
+					"name"		=> $artifactQuery->getName(),
+					"fields"	=> array(
+								"sortcol"	=> $artifactQuery->getSortCol(),
+								"sortord"	=> $artifactQuery->getSortOrd(),
+								"moddaterange"	=> $artifactQuery->getModDateRange(),
+								"assignee"	=> $assignee,
+								"status"	=> $artifactQuery->getStatus(),
+								"extra_fields"	=> $extra_fields,
+								"opendaterange"	=> $artifactQuery->getOpenDateRange(),
+								"closedaterange"	=> $artifactQuery->getCloseDateRange()
+								),
+					);
 		}
 	}
 
diff --git a/src/www/soap/tracker/tracker.php b/src/www/soap/tracker/tracker.php
index cb15629..67afba6 100644
--- a/src/www/soap/tracker/tracker.php
+++ b/src/www/soap/tracker/tracker.php
@@ -5,7 +5,7 @@
  * Copyright 2004 (c) GForge, LLC
  * Copyright (C) 2011 Alain Peyrat - Alcatel-Lucent
  * Copyright 2016, Franck Villaume - TrivialDev
- * http://gforge.org
+ * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the

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

Summary of changes:
 src/www/soap/common/group.php        | 255 ++++++++++++++++++-----------------
 src/www/soap/common/user.php         | 180 ++++++++++++-------------
 src/www/soap/docman/docman.php       |   4 +-
 src/www/soap/index.php               |   2 +-
 src/www/soap/pm/pm.php               |   8 +-
 src/www/soap/reporting/timeentry.php |  30 ++---
 src/www/soap/scm/scm.php             |   2 +-
 src/www/soap/tracker/query.php       |  34 ++---
 src/www/soap/tracker/tracker.php     |   2 +-
 9 files changed, 259 insertions(+), 258 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list