Alan Garcia
							
						 
						
							 
							
							
							
							
								
							
							
								33cb13286b 
								
							 
						 
						
							
							
								
								Ajout de la gestion des sous-domaine IPv6  
							
							 
							
							... 
							
							
							
							ToDo: Pouvoir avoir un domaine simultanément IPv4 et IPv6 
							
						 
						
							2010-11-14 16:54:27 +00:00  
						
					 
				
					
						
							
							
								 
								Camille Lafitte
							
						 
						
							 
							
							
							
							
								
							
							
								406104b5ed 
								
							 
						 
						
							
							
								
								Gestion de hooks  
							
							 
							
							... 
							
							
							
							* Offrir des hooks/point d'entrée dans le code d'alternc
 * Un hook est fournit avec 2 arguments :
  * son nom
  * des data définies au cas par cas par le hook considéré
 * Tout plugin peut fournir un traitement appelé par un hook en mettant un fichier '''hooks/plugin.php''' et une fonction '''plugin_hook()'''
 * Exemple :
{{{
require_once('../class/hooks.php');
$hook = new hooks();
echo $hook->invoke('menu','');
}}}
 * Remarque :
  * Il n'y pas de gestion de cache
  * L'ordre d'éxécution est uniquement alphabétique 
							
						 
						
							2010-09-29 09:46:19 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								ba48c8bc4f 
								
							 
						 
						
							
							
								
								ajout support TLD .coop (oops, removed forgotten debug code)  
							
							 
							
							
							
						 
						
							2010-08-30 20:17:00 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								e2a3c45f1c 
								
							 
						 
						
							
							
								
								ajout support TLD .coop  
							
							 
							
							
							
						 
						
							2010-08-30 20:16:01 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								7f8bbe9885 
								
							 
						 
						
							
							
								
								session depended on magic_quotes = on ... it seems like it was the last part of the code which depend on magic_quotes. Fixes compatibility with PHP5.3 and IPv6 clients  
							
							 
							
							
							
						 
						
							2010-08-04 14:35:28 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								bced228b5e 
								
							 
						 
						
							
							
								
								alternc don't depend on magic_quotes ON (in fact it only depend on magic quotes for session management, which will be corrected in the next patch ...)  
							
							 
							
							
							
						 
						
							2010-08-04 14:33:28 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								2da495aa25 
								
							 
						 
						
							
							
								
								on autorise un mail invalide pour la creation d'un membre avec force=1, permet de mettre le panel sur un domaine non qualifie.  Closes   #591  
							
							 
							
							
							
						 
						
							2010-06-24 00:23:08 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								22935e9b68 
								
							 
						 
						
							
							
								
								fin de la correction du bug. See  #691  
							
							 
							
							
							
						 
						
							2010-06-24 00:17:20 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								6ddf9fe6d6 
								
							 
						 
						
							
							
								
								detecting access right problem in browser upload  
							
							 
							
							
							
						 
						
							2010-06-24 00:11:01 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								0cbb58153d 
								
							 
						 
						
							
							
								
								Lorsque l'on supprime un compte, on met les eventuels sous-comptes à lui comme createur = 2000  
							
							 
							
							
							
						 
						
							2010-06-23 23:33:58 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								05c422eaa8 
								
							 
						 
						
							
							
								
								On utilise set_time_limit(0) pour la suppression des gros comptes.  Closes   #1132  
							
							 
							
							
							
						 
						
							2010-06-23 23:29:42 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								784081f9d9 
								
							 
						 
						
							
							
								
								We prevent creating a CATCHALL On the PANEL URL.  Fixes   #1150  
							
							 
							
							
							
						 
						
							2010-06-23 23:19:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chantal Bernard-Putz
							
						 
						
							 
							
							
							
							
								
							
							
								4bf0345088 
								
							 
						 
						
							
							
								
								We add the subdomains in sub_domaines_standby when we set the dns to ON.  Fixes   #517  
							
							 
							
							
							
						 
						
							2010-06-23 22:16:10 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								fa67c7f53e 
								
							 
						 
						
							
							
								
								styling raw stats +  
							
							 
							
							
							
						 
						
							2010-06-02 21:39:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chantal Bernard-Putz
							
						 
						
							 
							
							
							
							
								
							
							
								e3680ecc32 
								
							 
						 
						
							
							
								
								Traduction manquante dans la protection d'un répertoire  
							
							 
							
							
							
						 
						
							2010-05-24 11:40:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chantal Bernard-Putz
							
						 
						
							 
							
							
							
							
								
							
							
								7643b87534 
								
							 
						 
						
							
							
								
								modifs liste des admins, debut d'ergo pour cette partie  
							
							 
							
							
							
						 
						
							2010-04-29 10:27:09 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								b7ca3dc22e 
								
							 
						 
						
							
							
								
								suite GROS upgrade ergo, homogeneisation et glossaire ... MySQL cette fois-ci...  
							
							 
							
							
							
						 
						
							2010-04-29 10:07:15 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								d36c4f6baa 
								
							 
						 
						
							
							
								
								dans l'edition des domaines, on a maintenant des formulaires PROPRES ... et l'adresse IP n'est pas preremplie desormais (ca me pourrissait la vie ce truc de xxx.xxx.xxx.xxx)  
							
							 
							
							
							
						 
						
							2010-04-29 08:31:15 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								93663de951 
								
							 
						 
						
							
							
								
								suite des modifications majeures pour 1.0 : glossaire, ergonomie etc.  
							
							 
							
							
							
						 
						
							2010-04-28 19:28:36 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								023e2a6ab0 
								
							 
						 
						
							
							
								
								adding a variable 'subadmin_restriction' who determine how the account list may be accessed by admin account who are not uid=2000  
							
							 
							
							
							
						 
						
							2010-04-11 13:39:24 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								e79702c344 
								
							 
						 
						
							
							
								
								1.0RC1 dans changelog + debug fonction checkalldom  
							
							 
							
							
							
						 
						
							2010-04-11 08:41:08 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								c378f051b8 
								
							 
						 
						
							
							
								
								CSS / ERGONOMICS suite (et pas fin)  
							
							 
							
							
							
						 
						
							2010-04-06 20:29:08 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								54dfb206b7 
								
							 
						 
						
							
							
								
								adding the check dig in the domain list feature  
							
							 
							
							
							
						 
						
							2010-04-02 16:40:37 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								18022b34fb 
								
							 
						 
						
							
							
								
								adding slave domain management  
							
							 
							
							
							
						 
						
							2010-03-04 16:16:13 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								929f1808ba 
								
							 
						 
						
							
							
								
								ergo: on  ne cree plus les dossiers stats et backups, inutiles, et on pointe les nouveaux domaines dans <nom court sans - ni . du domaine>  
							
							 
							
							
							
						 
						
							2010-03-04 15:10:05 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								4a87e43bf8 
								
							 
						 
						
							
							
								
								password policy enforcment for alternc accounts password change  
							
							 
							
							
							
						 
						
							2010-02-01 22:13:31 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								bc0e7cdfcc 
								
							 
						 
						
							
							
								
								ticket 1217: when creating new accounts, select max(uid)+1, not first uid available (otherwise some new accounts may get access to non-deleted info from old deleted accounts). Patch by Patrick @ Koumbit.  
							
							 
							
							
							
						 
						
							2010-01-15 01:40:24 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								1deeb6d899 
								
							 
						 
						
							
							
								
								adding 'connect as' link in the domain list, (I craved for ... and today I remembered I have commit right ;) ), and removed a _parent target in another link  
							
							 
							
							
							
						 
						
							2009-12-08 08:47:13 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								6a1e676c59 
								
							 
						 
						
							
							
								
								Fixes   #1107  : downloading a folder works indeed ! but yes, we had a file naming issue (zip or tar.bz2 were in fact zip or tar.bz2, but they were still named .tar.gz...)  
							
							 
							
							
							
						 
						
							2009-12-01 00:10:03 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								761809aea5 
								
							 
						 
						
							
							
								
								Fixes   #1201 , we are now not allowed to finish an email address by .  
							
							 
							
							
							
						 
						
							2009-12-01 00:06:23 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								00f6ca70d3 
								
							 
						 
						
							
							
								
								Fixes   #1186  : We trim spaces when adding or editing email addresses (and aliases too)  
							
							 
							
							
							
						 
						
							2009-11-30 23:53:36 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								a6a71eb04b 
								
							 
						 
						
							
							
								
								Fixed   #1174  : we check the length of mysql login everywhere. + english comments and misc code cleanup (hook functions at the end of the class)  
							
							 
							
							
							
						 
						
							2009-11-30 23:48:48 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								a5ef76622e 
								
							 
						 
						
							
							
								
								Adding Password Policy management to AlternC \!  
							
							 
							
							
							
						 
						
							2009-11-30 06:01:34 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								161a04cebb 
								
							 
						 
						
							
							
								
								translating comments of m_hta.php to english + misc fopen() checks  
							
							 
							
							
							
						 
						
							2009-11-30 05:02:53 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								889fdd3881 
								
							 
						 
						
							
							
								
								avertissement sur la gestion des uid lors de la creation de compte  
							
							 
							
							
							
						 
						
							2009-10-06 17:10:46 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								51fb49a25c 
								
							 
						 
						
							
							
								
								ajout support domaines .im (isle of man)  
							
							 
							
							
							
						 
						
							2009-09-25 16:12:05 +00:00  
						
					 
				
					
						
							
							
								 
								Nahuel Angelinetti
							
						 
						
							 
							
							
							
							
								
							
							
								0f03969b8a 
								
							 
						 
						
							
							
								
								Merging blue desktop to trunk.  
							
							 
							
							
							
						 
						
							2009-09-08 05:29:38 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								c13e438840 
								
							 
						 
						
							
							
								
								alternc_add_mx_domain: fixed incorrect SQL insert statement (merci Patrick)  
							
							 
							
							
							
						 
						
							2009-09-02 02:21:52 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								049042dd87 
								
							 
						 
						
							
							
								
								insert the owner of mail domains when creating  
							
							 
							
							... 
							
							
							
							this isn't a complete fix because we do not fix existing tables
See: #1187  
							
						 
						
							2009-08-04 18:51:31 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								83efd6f0ad 
								
							 
						 
						
							
							
								
								Properly cleanup the size_mail table when removing mails  
							
							 
							
							... 
							
							
							
							Closes : #1196  
							
						 
						
							2009-08-04 18:37:14 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								9d9caa80da 
								
							 
						 
						
							
							
								
								resolv  #1199 , checkfqdn should allow subdomains of one char, such as a.foo.net  
							
							 
							
							
							
						 
						
							2009-04-02 18:33:20 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								721a7b6e81 
								
							 
						 
						
							
							
								
								allow to copy a file, say default.settings.php, to settings.php, by specifying only a relative path (ex: current directory), and not require to always browse to the current directory  
							
							 
							
							
							
						 
						
							2009-04-02 16:00:05 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								a2a64c8ce5 
								
							 
						 
						
							
							
								
								order database display by database name  
							
							 
							
							
							
						 
						
							2009-03-30 20:00:03 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								2037ee4841 
								
							 
						 
						
							
							
								
								fix a 'already exist' error when creating a database containing an hyphen (-)  
							
							 
							
							
							
						 
						
							2009-03-30 09:39:46 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								a2c2828473 
								
							 
						 
						
							
							
								
								allow to display size of directories (disabled by default)  
							
							 
							
							
							
						 
						
							2009-03-27 04:45:48 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								910146365e 
								
							 
						 
						
							
							
								
								ne pas permettre de creer un utilisateur mysql de plus de 16 chars (il y avait une erreur de validation dans le code). solves  #1203  
							
							 
							
							
							
						 
						
							2009-03-24 21:02:33 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								ced52717dd 
								
							 
						 
						
							
							
								
								small API change: do not include the db size in get_db_list(), which improves performance on big databases  
							
							 
							
							
							
						 
						
							2009-02-27 00:31:59 +00:00  
						
					 
				
					
						
							
							
								 
								Nahuel Angelinetti
							
						 
						
							 
							
							
							
							
								
							
							
								433d89504d 
								
							 
						 
						
							
							
								
								fixing a typo error  
							
							 
							
							
							
						 
						
							2009-02-17 21:27:09 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								0fab59676c 
								
							 
						 
						
							
							
								
								correction typo  
							
							 
							
							
							
						 
						
							2009-02-06 15:32:28 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								f22ecfa0bc 
								
							 
						 
						
							
							
								
								sort domain list (for email) alphabetically, since users with 30+ domains go nuts  
							
							 
							
							
							
						 
						
							2009-02-06 15:22:37 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								132f5a4523 
								
							 
						 
						
							
							
								
								sort domain list alphabetically, since users with 30+ domains go nuts  
							
							 
							
							
							
						 
						
							2009-02-06 14:49:50 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								f9604fbef2 
								
							 
						 
						
							
							
								
								documentation de la fonction get_creator_list  
							
							 
							
							
							
						 
						
							2009-02-03 21:00:00 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								1825dcac69 
								
							 
						 
						
							
							
								
								get_creator_list: if there are no reseller accounts, return an empty array, avoids php warning and need for useless checks afterwards  
							
							 
							
							
							
						 
						
							2009-02-03 20:58:04 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								f813e844ef 
								
							 
						 
						
							
							
								
								put the user and parent account in the email subject  
							
							 
							
							
							
						 
						
							2009-01-29 01:30:42 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								d09637d0ce 
								
							 
						 
						
							
							
								
								send email on new account creation  
							
							 
							
							
							
						 
						
							2009-01-29 00:54:52 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								a7034d7779 
								
							 
						 
						
							
							
								
								add notes field to members  
							
							 
							
							
							
						 
						
							2009-01-29 00:40:49 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								a3f3a6ba43 
								
							 
						 
						
							
							
								
								when a user adds a new domain to her account, point the domain to /www/example.net/ instead of just /. The directories are created if necessary.  
							
							 
							
							
							
						 
						
							2009-01-28 22:12:01 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								6651482290 
								
							 
						 
						
							
							
								
								ajout fonction API ->get_user_root() et ->get_userid_root()  pour obtenir le chemin complet vers la racine d'un compte utilisateur.  
							
							 
							
							
							
						 
						
							2009-01-28 22:08:54 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								1b9ed23260 
								
							 
						 
						
							
							
								
								limit account/member listing to those created by a specific reseller  
							
							 
							
							
							
						 
						
							2009-01-28 20:02:01 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								4701274c2e 
								
							 
						 
						
							
							
								
								in list of alternc accounts, show who is the creator/reseller that created the account  
							
							 
							
							
							
						 
						
							2009-01-28 19:17:56 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								35255a9b87 
								
							 
						 
						
							
							
								
								support domains .cc and .re  
							
							 
							
							
							
						 
						
							2009-01-26 21:07:41 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								74cec77279 
								
							 
						 
						
							
							
								
								use the official name of the whois nic server  
							
							 
							
							
							
						 
						
							2008-10-21 19:37:25 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								e1a1aee4f5 
								
							 
						 
						
							
							
								
								utilise whois.crsnic.net (comme le client whois de debian) au lieu de rs.internic.net, qui ne répond plus, pour vérifier les .com et .net  
							
							 
							
							
							
						 
						
							2008-09-03 15:31:18 +00:00  
						
					 
				
					
						
							
							
								 
								Nahuel Angelinetti
							
						 
						
							 
							
							
							
							
								
							
							
								e7311521aa 
								
							 
						 
						
							
							
								
								Rajout de l'ip du client dans les logs du bureau pour savoir qui a fait quoi lorsqu'il y a un problÚme.  
							
							 
							
							
							
						 
						
							2008-08-18 08:17:37 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								388ba077f6 
								
							 
						 
						
							
							
								
								remove '-' from the list of authorized characters, it's too buggy for production.  
							
							 
							
							... 
							
							
							
							Closes : #708  
							
						 
						
							2008-07-10 20:51:05 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								eda30563e3 
								
							 
						 
						
							
							
								
								return the error directly if it's not an array  
							
							 
							
							
							
						 
						
							2008-07-10 20:48:04 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								5f689df89c 
								
							 
						 
						
							
							
								
								Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /var/alternc/bureau/class/m_err.php on line 99 CORRIGE  
							
							 
							
							
							
						 
						
							2008-06-26 09:19:06 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								c20775231e 
								
							 
						 
						
							
							
								
								.ca WHOIS replies change and are now like .ws. Thanks CIRA!  
							
							 
							
							... 
							
							
							
							Reported by: Claude Girard 
							
						 
						
							2008-06-18 23:48:04 +00:00  
						
					 
				
					
						
							
							
								 
								mlutfy
							
						 
						
							 
							
							
							
							
								
							
							
								eabfd5d1c9 
								
							 
						 
						
							
							
								
								Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs), quoique, voir aussi le bug  #1129  
							
							 
							
							
							
						 
						
							2008-04-30 03:34:57 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								a2f598a593 
								
							 
						 
						
							
							
								
								correct usage of array_unshift  
							
							 
							
							
							
						 
						
							2008-04-24 18:23:55 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								a843e1200d 
								
							 
						 
						
							
							
								
								partially revert last change: stick to printf, but still allow  
							
							 
							
							... 
							
							
							
							variable number of arguments in error handlers
we don't want to switch to strtr as ->raise() is used everywhere
without arrays... 
							
						 
						
							2008-04-24 18:17:43 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								fc9c612c21 
								
							 
						 
						
							
							
								
								use strtr instead of printf to expand variables in translated strings  
							
							 
							
							... 
							
							
							
							this means that the error arguments are now passed as an associative
array.
exemple:
$err->raise("foo", "error message: %error", array('%error' => "blah")); 
							
						 
						
							2008-04-24 18:07:11 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								15f9312e72 
								
							 
						 
						
							
							
								
								doc update of error handler  
							
							 
							
							
							
						 
						
							2008-04-24 17:56:04 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								d5a4c72e4a 
								
							 
						 
						
							
							
								
								Major redesign of the MySQL backend interface to fix a security issue.  
							
							 
							
							... 
							
							
							
							See: #318 .
As of now, the MySQL configuration used everywhere by AlternC is not
stored in the main configuration file (/etc/alternc/local.sh) but in a
MySQL configuration file in /etc/alternc/my.cnf, which enables us to
call mysql without exposing the password on the commandline.
The changes here are quite invasive but will allow us to factor out
the MySQL configuration better. See #364 .
This includes a partial rewrite of the mysql.sh logic, which is now ran
from the postinst script (and not alternc.install) which will allow us
to actually change the MySQL root user properly. See #601 .
This commit was tested like this:
 * clean install on etch (working)
 * upgrade from a clean 0.9.7 (working) 
							
						 
						
							2008-04-13 04:35:19 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								131b6a7f5e 
								
							 
						 
						
							
							
								
								cosmetic change: better alignment in variable decl.  
							
							 
							
							
							
						 
						
							2008-04-12 21:07:16 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								ee87f3bbb8 
								
							 
						 
						
							
							
								
								fix indentation  
							
							 
							
							
							
						 
						
							2008-04-12 20:01:07 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								c8f477c3ec 
								
							 
						 
						
							
							
								
								crude implementation of permission change in the file browser  
							
							 
							
							... 
							
							
							
							Contributed by: Mathieu Lutfy
Sponsored by: Koumbit 
							
						 
						
							2008-04-10 18:40:08 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								c192607d51 
								
							 
						 
						
							
							
								
								fix archive extraction:  
							
							 
							
							... 
							
							
							
							* call with the proper path
* remove the quotes from the calls, they're already there
* make ExtractFile non-recursive
* force unzip extraction to overwrite existing files 
							
						 
						
							2008-03-14 03:08:14 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								eaefa56fb9 
								
							 
						 
						
							
							
								
								improve error handling in extraction code, add is_extractable functionality  
							
							 
							
							
							
						 
						
							2008-01-22 04:12:24 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								de54a15ca0 
								
							 
						 
						
							
							
								
								more factorization in error messages: make errstr() work with our new messaging system  
							
							 
							
							
							
						 
						
							2008-01-22 04:11:00 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								d63da16fcc 
								
							 
						 
						
							
							
								
								don't translate mimetypes in m_bro::mime(). revert hooking tarball extraction from the last commit  
							
							 
							
							
							
						 
						
							2008-01-22 03:39:01 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								97d65aadb3 
								
							 
						 
						
							
							
								
								make UploadFile() return the uploaded path  
							
							 
							
							... 
							
							
							
							make ExtractFile extract in the same directory as the archive by default 
							
						 
						
							2008-01-22 03:23:26 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								7ecbf6d263 
								
							 
						 
						
							
							
								
								use move_uploaded_file to get uploaded files instead of copy (svn diff), as recommended in the php manual, see  http://php.net/move_uploaded_file  
							
							 
							
							
							
						 
						
							2008-01-22 03:13:54 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								ca5137fc7b 
								
							 
						 
						
							
							
								
								reorder CopyFile API so that it works like MoveFile (ie. support multiple files  
							
							 
							
							
							
						 
						
							2008-01-22 03:08:10 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								57cf564a80 
								
							 
						 
						
							
							
								
								remove recursive mkdir code  
							
							 
							
							... 
							
							
							
							place the escapeshellarg() calls properly
print the cp error on failure
assume the target parent directory 
							
						 
						
							2008-01-22 02:30:23 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								ed74b4debc 
								
							 
						 
						
							
							
								
								remove write tests: cp will fail all by itself, no need to test  
							
							 
							
							
							
						 
						
							2008-01-22 02:27:22 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								48871eb7d4 
								
							 
						 
						
							
							
								
								use escapeshellarg() properly and in both functions.  
							
							 
							
							
							
						 
						
							2008-01-22 02:24:59 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								3de628ccb2 
								
							 
						 
						
							
							
								
								adaptation du code de copie de fichier:  
							
							 
							
							... 
							
							
							
							* desactiver le code de copie par http:// pour l'instant
 * utilise escapeshellarg() au lieu de addslashes() pour echapper les arguments
 * utiliser le bon systeme de message d'erreurs
 * ajouter -p a l'appel de cp 
							
						 
						
							2008-01-22 02:19:54 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								6160112864 
								
							 
						 
						
							
							
								
								allow arbitrary errors in m_err instead of just error codes. errors are translated before display  
							
							 
							
							
							
						 
						
							2008-01-22 02:17:01 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								6787f26a12 
								
							 
						 
						
							
							
								
								various fixes to the imported functions:  
							
							 
							
							... 
							
							
							
							* respect our function naming convention
 * remove unrar code as I do not trust it for now
 * use convertabsolute() instead of addslashes() to sanitize the paths
See #1043 . 
							
						 
						
							2008-01-22 01:36:39 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								593fdc17db 
								
							 
						 
						
							
							
								
								add the code provided from an anonymous user for recursive copy and decompress functions in the browser. Will be audited and corrected to hook properly in the browser  
							
							 
							
							... 
							
							
							
							See #1043 . 
							
						 
						
							2008-01-22 01:21:36 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								44182f2f19 
								
							 
						 
						
							
							
								
								add a alternc_del_session() hook that removes the phpMyAdmin cookie on logout  
							
							 
							
							... 
							
							
							
							Closes : #1082  
							
						 
						
							2008-01-21 18:50:55 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								dcd3687701 
								
							 
						 
						
							
							
								
								stricter pattern matching in local.sh so that comments are not considered  
							
							 
							
							
							
						 
						
							2007-12-12 22:28:29 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								ec8692ca09 
								
							 
						 
						
							
							
								
								try to fix bug  #1075 : don't use ****** as a special password  
							
							 
							
							
							
						 
						
							2007-10-26 04:44:53 +00:00  
						
					 
				
					
						
							
							
								 
								Antoine Beaupré
							
						 
						
							 
							
							
							
							
								
							
							
								ed96566057 
								
							 
						 
						
							
							
								
								fix a longstanding issue in AlternC: don't show translation links for  
							
							 
							
							... 
							
							
							
							which AlternC is not translated
this is done by checking if the locales/LANG directory exists, so it's
not foolproof, but it's better than simply checking if the locale is
configured (which is still done).
a bit of code refactoring was done while i'm here 
							
						 
						
							2007-10-05 18:07:02 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Sonntag
							
						 
						
							 
							
							
							
							
								
							
							
								329ac8627c 
								
							 
						 
						
							
							
								
								Correcting m_dom error : cannot add '' empty subdomain  
							
							 
							
							
							
						 
						
							2007-09-25 15:13:57 +00:00  
						
					 
				
					
						
							
							
								 
								Nahuel Angelinetti
							
						 
						
							 
							
							
							
							
								
							
							
								1d2d3da1d3 
								
							 
						 
						
							
							
								
								petit erreur de synthaxe  
							
							 
							
							
							
						 
						
							2007-09-11 22:11:22 +00:00  
						
					 
				
					
						
							
							
								 
								Camille Lafitte
							
						 
						
							 
							
							
							
							
								
							
							
								3b749e368d 
								
							 
						 
						
							
							
								
								revert des commit [1944], [1939], [1933], [1925] : nouveau bureau.  
							
							 
							
							... 
							
							
							
							On recommencera mais en patchant la branche /franck-desktop 
							
						 
						
							2007-09-09 21:55:18 +00:00  
						
					 
				
					
						
							
							
								 
								Camille Lafitte
							
						 
						
							 
							
							
							
							
								
							
							
								e2272fb4e3 
								
							 
						 
						
							
							
								
								cf commit [1808]  
							
							 
							
							
							
						 
						
							2007-09-09 21:09:10 +00:00  
						
					 
				
					
						
							
							
								 
								Camille Lafitte
							
						 
						
							 
							
							
							
							
								
							
							
								8d7c15e924 
								
							 
						 
						
							
							
								
								edition de checkid  
							
							 
							
							... 
							
							
							
							cf commit [1806],[1804] 
							
						 
						
							2007-09-09 20:49:56 +00:00