Changeset 2913


Ignore:
Timestamp:
03/28/11 10:04:18 (2 years ago)
Author:
benjamin
Message:
  • remember 'empty' value when the user answer empty value in templates
  • changelog
  • MX is a DNS field, not an IP field !
  • don't ask for mysql password if we already got it
  • code cleanup
  • added "secondary MX DNS entry" domain type
Location:
alternc/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/manual.po

    r2891 r2913  
    835835msgstr "Entrée DNS MX" 
    836836 
     837msgid "secondary MX DNS entry" 
     838msgstr "Entrée DNS MX secondaire" 
     839 
  • alternc/trunk/debian/alternc.postinst

    r2887 r2913  
    1414    var="$2" 
    1515    db_get "$question" 
    16     if [ ! -z "$RET" ]; then 
    17         grep -Eq "^ *$var=" $CONFIGFILE || echo "$var=" >> $CONFIGFILE 
    18         SED_SCRIPT="$SED_SCRIPT;s\\^ *$var=.*\\$var=\"$RET\"\\" 
    19     fi 
     16 
     17    grep -Eq "^ *$var=" $CONFIGFILE || echo "$var=" >> $CONFIGFILE 
     18    SED_SCRIPT="$SED_SCRIPT;s\\^ *$var=.*\\$var=\"$RET\"\\" 
    2019} 
    2120 
     
    146145        . /usr/share/alternc/install/mysql.sh 
    147146    fi 
    148  
    149 # We don't force seen or reset the data : this will allow preseeding 
    150 #    db_reset alternc/mysql/password || true 
    151 #    db_fset alternc/mysql/password "seen" "false" || true 
    152147 
    153148    if [ -e $CONFIGFILE ]; then 
  • alternc/trunk/debian/changelog

    r2877 r2913  
    33    * Web & DNS file generation rebuild from scratch 
    44    * Drop of apache 1 support 
    5     * Big changes in database schema (domaines, sub_domaines, *_standby) 
     5    * Big changes in database schema (domaines, sub_domaines, *_standby removal) 
    66  * Major changes 
    77    * Drop mass virtual hosting, now use full vhost 
    8     * Panel URL do not need anymore /admin/ (but you can still use it) 
     8    * Panel URL do not need anymore /admin/ (but you can still use it, we put a 301 redirect) 
     9    * JQuery is now used by AlternC (but not needed for any usual feature usage) 
    910  * New features 
    1011    * Domains type are dynamic, the administrator can create domaine type with his own apache template 
    1112    * Advanced DNS options (ipv6, cname, txt, mx) 
    12     * Possibility to create a temporary mail 
     13    * Possibility to create a temporary mail (not yet shown, need cron) 
     14    * Admin can connect to other account and go back to their own 
     15    * Language link is back inside the menu 
    1316  * Bugfixes 
    14     * Too many to be listed (we change the update_domaines.sh) 
     17    * Too many to be listed (we change the historic update_domaines.sh) 
    1518    * Dash compatibility 
    1619    * Use iana.org to have whois server list up to date 
    17      
     20    * Preseeding compatibility : don't ask for questions when already set 
     21 
    1822 -- Alan Garcia <fufroma@mailfr.com>  Fri, 11 Mar 2011 10:24:30 +0200 
    1923 
     
    2428    * Sanitizing of get/request/post parameters using getFields function. May allow alternc not to use register_globals some day ... 
    2529  * security: passwords are now MANDATORY in MySQL class (whoosh...) 
    26   * security: now using htmlspecialchars on every form default values ... yes it's 2010 ;)  
     30  * security: now using htmlspecialchars on every form default values ... yes it's 2010 ;) 
    2731  * i18n: charset is now variable depending on the current language 
    2832  * new features: 
     
    3337    * #1163: fix sqlbackup script call routine to retain backwards 
    3438      compatibility 
    35     * fix usage of ISO8859-15 charset (that may NOT be defined in locales...)  
     39    * fix usage of ISO8859-15 charset (that may NOT be defined in locales...) 
    3640      and add it to the correct url (%%fqdn_lettre%%...) 
    3741  * major changes: 
     
    4448    * send an email on new account creation. the actual email needs to be 
    4549      configured through the AlternC variables for this to work. 
    46     * added the password policy management module : you can choose which  
     50    * added the password policy management module : you can choose which 
    4751      password complexity you want to force for each place a password is required. 
    4852  * API changes 
     
    145149  * fix proftpd and saslauthd configuration for Etch (#1046, #1069) 
    146150  * fix .eu, .be, .name whois issue (#571) 
    147   * change apache log format to a working one (using host request), also fix awstats issues.  
     151  * change apache log format to a working one (using host request), also fix awstats issues. 
    148152  * fix modules manipulation rules (#1062) 
    149153  * try to support apache2, at least with the right dependencies 
     
    185189  * Fix mail accounts creation. Closes: #1003. 
    186190  * Fix a race condition in update_domains.sh which could allow users to 
    187     bypass openbasedir protection when creating domains. Reported by  
     191    bypass openbasedir protection when creating domains. Reported by 
    188192    Jerome Moinet. 
    189193 
     
    223227  * see https://dev.alternc.org/trac/alternc/milestone/0.9.4 for milestone 
    224228  * changelog at https://dev.alternc.org/trac/alternc/query?status=closed&milestone=0.9.4 
    225   However, this version contains mainly :  
     229  However, this version contains mainly : 
    226230  * Integration of Globenet patchs (replacement of do_domains.sh by update_domains.sh and others) 
    227231  * Changing mysql database creation from uid to login name 
     
    264268alternc (0.9.3.9-globenet8) unstable; urgency=low 
    265269 
    266   * Finally fix empty host handling in update_domains.sh.  
     270  * Finally fix empty host handling in update_domains.sh. 
    267271 
    268272 -- Lunar <lunar@anargeek.net>  Wed, 21 Sep 2005 23:45:06 +0200 
     
    372376 
    373377 -- Benjamin Sonntag <benjamin@alternc.org>  Tue, 27 Aug 2002 19:31:26 +0200 
    374  
    375  
    376  
    377          
  • alternc/trunk/install/mysql.sh

    r2169 r2913  
    4646# The grant all is the most important right needed in this script. 
    4747echo "Granting users..." 
    48 # cat <<EOF 
    49 # host: $host 
    50 # user: $user 
    51 # password: $password 
    52 # database: $database 
    53 # EOF 
    5448 
    5549MYSQL_CONFIG="/etc/alternc/my.cnf" 
  • alternc/trunk/install/mysql.sql

    r2891 r2913  
    498498('vhost','Locally hosted', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    499499('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false), 
    500 ('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, false), 
     500('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt,mx,mx2', false, true, false), 
    501501('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    502 ('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), 
     502('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt,mx,mx2',true, true, true ), 
    503503('cname', 'CNAME DNS entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), 
    504 ('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), 
    505 ('mx', 'MX DNS entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), 
    506 ('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, true) 
     504('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx,mx2',true, true, true), 
     505('mx', 'MX DNS entry', 'DOMAIN', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx,mx2',true, false, true), 
     506('mx2', 'secondary MX DNS entry', 'DOMAIN', '%SUB% IN MX 10 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx2',true, false, true), 
     507('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt,mx,mx2',true, false, true) 
    507508; 
  • alternc/trunk/install/upgrades/1.0.sql

    r2891 r2913  
    2323('vhost','Locally hosted', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    2424('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false), 
    25 ('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, false), 
     25('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt,mx,mx2', false, true, false), 
    2626('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    27 ('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), 
     27('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt,mx,mx2',true, true, true ), 
    2828('cname', 'CNAME DNS entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), 
    29 ('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), 
    30 ('mx', 'MX DNS entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), 
    31 ('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, true) 
     29('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx,mx2',true, true, true), 
     30('mx', 'MX DNS entry', 'DOMAIN', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx,mx2',true, false, true), 
     31('mx2', 'secondary MX DNS entry', 'DOMAIN', '%SUB% IN MX 10 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx2',true, false, true), 
     32('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt,mx,mx2',true, false, true) 
    3233; 
    3334 
Note: See TracChangeset for help on using the changeset viewer.