Changeset 302

Show
Ignore:
Timestamp:
02/06/07 23:06:35 (2 years ago)
Author:
rats
Message:

- ENGINE:

  • changed MySQL Backup

- LANGUAGES:

  • added Ukrainian
  • added missings strings to Dutch and French

- SETUP:

  • added setup reset script
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r300 r302  
    11VHCS 2.4.8 ω Omega Changelog 
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    3  _________________________________________________________________ 
    4 / @TODO:                                                     
    5 |       - FastCGI:                                                 
    6 |               * Copy files on update                                         
    7 |               * apache: check if stats are working with FastCGI       
    8 |                                                                                       
    9 |               * Fixed path default-vhcs php.ini                               
    10 |           * Fixed name php.ini fot fcgi and other                    |             
    11 |                                                                                       
    12 |       - AWStats:                                                                     
    13 |               * apache: set statsdir if awstats is enabled           
    14 |               * gui: disable stats-alias in client menu                       
    15 \_________________________________________________________________
     3 ___________________________________________________________________ 
     4/ @TODO:                                                                                                                      \ 
     5|       - FastCGI:                                                                                                             
     6|               * Copy files on update                                                                         
     7|               * apache: check if stats are working with FastCGI                      
     8|                                                                                                                                      
     9|               * Fixed path default-vhcs php.ini                                                      
     10|              * Fixed name php.ini fot fcgi and other                                         | 
     11|                                                                                                                                      
     12|       - AWStats:                                                                                                             
     13|               * apache: set statsdir if awstats is enabled                           
     14|               * gui: disable stats-alias in client menu                                      
     15\___________________________________________________________________
    1616 
    17172007-02-06 Laurent DECLERCQ 
     
    1919                        - Edit "httpd.conf" and "vhcs2.base.tpl" 
    2020                        => added Handler "default-vhcs" (for vhcs working) 
    21   
     21 
     222007-02-06 Benedikt Heintel 
     23        - ENGINE: 
     24                changed MySQL Backup 
     25        - LANGUAGES: 
     26                added Ukrainian 
     27                added missings strings to Dutch and French 
     28        - SETUP: 
     29                added setup reset script 
     30 
    22312007-02-05 Benedikt Heintel 
    2332        - GUI: 
     
    3140                added "a2enmod rewirte" for nativ mod_rewrite support 
    3241 
     42 
     432007-02-05 Benedikt Heintel 
     44        - GUI: 
     45                multilingual support changed (tables have less columns, languages are stored UTF-8) 
     46                lostpassword improvements 
     47        - LANGUAGES: 
     48                added message string 
     49                all languages in UTF-8 
     50                => Chinese, Thai and Russian have to be re-translated! 
     51        - SETUP: 
     52                added "a2enmod rewrite" for nativ mod_rewrite support 
     53 
    33542007-02-05 Laurent DECLERCQ 
    3455        - CONFIGS: 
    3556                Changed <IfModule mod_php.c> 
    36             Report wget-hack prevention 
     57                       Report wget-hack prevention 
    3758        - DOCS: 
    3859                Fixed name "fedora" 
     
    564585 
    5655862006-08-22 Carsten Schoene 
    566     - GUI: 
     587       - GUI: 
    567588                * updated phpmyadmin to 2.8.2.3 
    568589                * fix default value for $newprops in function reseller_limits_check 
     
    770791        - GUI: 
    771792                * Fixed: Change password of first admin user didn't work, because setup uses an initial crypt password. 
    772                         To be backward compatible, both will be checked. New password will be a md5 password. 
     793                                To be backward compatible, both will be checked. New password will be a md5 password. 
    773794 
    7747952006-05-27 Benedikt Heintel 
     
    872893                                 use following in my.cnf instead: 
    873894                                 default-character-set   = latin1 
    874                                  default-collation       = latin1_german1_ci 
     895                                 default-collation        = latin1_german1_ci 
    875896                * Added: helper script to install OpenBSD packages 
    876897                * Fixed: paths to vhcs2_daemon/vhcs2_network init scripts in OpenBSD vhcs2.conf 
     
    16511672                -User related variables for the custom menus (expl. {uid} for user id) 
    16521673 
    1653 DB Changes:    New tables => "orders" and "orders_settings" => needed for the purchasing modul 
     1674DB Changes:    New tables => "orders" and "orders_settings" => needed for the purchasing modul 
    16541675 
    16551676                CREATE TABLE `orders` ( 
  • trunk/engine/backup/vhcs2-backup-all

    r288 r302  
    252252                # 
    253253                # User Database Backup 
     254                # 
     255 
     256                if(! -d $dmn_backup_dir) { 
     257                        $rs = make_dir($dmn_backup_dir, $domain_uid, $domain_gid, 0770); 
     258 
     259                        return $rs if ($rs != 0); 
     260                } 
     261 
     262                # 
     263                # User Database Backup 
    254264                # Vorgehensweise - zu der Domain die entsprechenden Datenbanken aus der VHCS-DB auslesen 
    255265                # MYSQLDUMP mit den Datenbanken durchführen und die Ausgabe in das Backup-Verzeichnis umleiten 
    256266                # 
    257267 
    258         $sql="select * from sql_database where domain_id=$dmn_id"; 
     268        $sql="SELECT sqld_id, sqld_name FROM sql_database WHERE domain_id=$dmn_id"; 
    259269                ($rs,my $rdata3) = doSQL($sql); 
    260270 
    261271                foreach(@$rdata3) { 
    262                         my $db_name=@$_[2]; 
    263272                        my $db_id=@$_[0]; 
    264                         $sql = "select * from sql_user where sqld_id=$db_id"; 
     273                        my $db_name=@$_[1]; 
     274                        $sql = "SELECT * FROM sqlu_name, sqlu_pass WHERE sqld_id=$db_id LIMIT 1"; 
    265275                        ($rs,my $rdata2) = doSQL($sql); 
    266276                        my $dbuser = ""; 
     
    268278 
    269279                        foreach(@$rdata2) { 
    270                                 $dbuser = @$_[2]; 
    271                                 $dbpass = @$_[3]; 
     280                                $dbuser = @$_[0]; 
     281                                $dbpass = @$_[1]; 
    272282                        } 
    273  
    274                         my $db_backup_file = "$dmn_backup_dir/$db_name.sql"; 
    275                         my $db_backupcmd = "mysqldump --add-drop-table -u$dbuser -p$dbpass $db_name >$db_backup_file"; 
    276                         $rs = sys_command($db_backupcmd); 
    277  
    278                         return $rs if ($rs != 0); 
    279  
    280                         $rs = setfmode("$db_backup_file", $domain_uid, $domain_gid, 0660); 
     283                        if ($dbuser && $dbpass) { 
     284                                my $db_backup_file = "$dmn_backup_dir/$db_name.sql"; 
     285                                my $db_backupcmd = "mysqldump --add-drop-table -u$dbuser -p$dbpass $db_name >$db_backup_file"; 
     286                                $rs = sys_command($db_backupcmd); 
     287 
     288                                return $rs if ($rs != 0); 
     289 
     290                                $rs = setfmode("$db_backup_file", $domain_uid, $domain_gid, 0660); 
     291 
     292                                return $rs if ($rs != 0); 
     293                        } 
     294                } 
     295 
     296                $rs = sys_command($backup_cmd); 
     297 
     298                # do not return if backup throws an error, or other domains will not be backuped 
     299                if ($rs == 0) { 
     300 
     301                        $rs = sys_command("$cmd_rm -rf $dmn_dir/$backup_filename.log"); 
    281302 
    282303                        return $rs if ($rs != 0); 
    283304                } 
    284305 
    285                 # 
    286                 # User Database Backup 
    287                 # 
    288  
    289                 if(! -d $dmn_backup_dir) { 
    290                         $rs = make_dir($dmn_backup_dir, $domain_uid, $domain_gid, 0770); 
    291  
    292                         return $rs if ($rs != 0); 
    293                 } 
    294  
    295                 $rs = sys_command($backup_cmd); 
    296  
    297                 # do not return if backup throws an error, or other domains will not be backuped 
    298                 if ($rs == 0) { 
    299  
    300                         $rs = sys_command("$cmd_rm -rf $dmn_dir/$backup_filename.log"); 
    301  
    302                         return $rs if ($rs != 0); 
    303                 } 
    304  
    305306                $rs = sys_command("$cmd_rm -rf $dmn_backup_dir/$dmn_name-*"); 
    306307 
  • trunk/language-files/dutch/vhcs2.4.8-dutch

    r293 r302  
    476476Lostpw email setup = E-mail 
    477477Lostpw link = Link 
    478 Activation E-Mail = 
    479 Password E-Mail = 
     478Activation E-Mail = Activatie E-mail 
     479Password E-Mail = Paswoord E-mail 
    480480Low = Laag 
    481481minutes = minuten 
     
    622622Password = Wachtwoord 
    623623Password data = Wachtwoord informatie 
    624 Password data includes not permitted signs! = 
     624Password data includes not permitted signs! = Het paswoord bevat niet toegestane tekens! 
    625625Password data is missing! = Wachtwoord informatie is onvindbaar 
    626626Password generate = Wachtwoord aanmaken 
     
    728728Retry = Probeer opnieuw 
    729729Return to previous menu = Keer terug naar vorig menu 
    730 Routine maintenance!</b><br><br>VHCS is not available for system changes<br><br>Pleas contact your hosting service provider for more information<br><br>We apologize for any inconvenience and thank you for understanding = 
     730Routine maintenance!</b><br><br>VHCS is not available for system changes<br><br>Pleas contact your hosting service provider for more information<br><br>We apologize for any inconvenience and thank you for understanding = Routine Onderhoud!</b><br><br>VHCS is niet toegankelijk voor systeem aanpassingen<br><br>Neem voor meer informatie contact op met uw hosting service provider<br><br>Wij verontschuldigen ons voor het ongemak en danken u voor uw begrip 
    731731seconds = seconden 
    732732S = Status 
  • trunk/language-files/french/vhcs2.4.8-french

    r293 r302  
    476476Lostpw email setup = Lostpwd configuration d'email 
    477477Lostpw link = Lostpw lien 
    478 Activation E-Mail = 
    479 Password E-Mail = 
     478Activation E-Mail = Activation par Email 
     479Password E-Mail = Mot de passe par Email 
    480480Low = Faible 
    481481minutes = minutes 
     
    549549Message was sent. = Le message a été envoyé! 
    550550Messages = Messages 
    551 Messages translated =  
     551Messages translated = Messages traduits 
    552552Minute(s): = Minute(s): 
    553553Missing or incorrect data input! = Les données entrées sont manquantes ou incorrectes!