Alexis Lahouze
3621480392
Merged changesets 3085, 3087, 3088, 3089, 3091, 3099, 3100, 3101, 3102, 3103 from branch stable 1.0 to trunk.
2011-10-18 19:09:44 +00:00
Alan Garcia
26ad26bd90
Bind oubliait de se redemarrer lors d'ajout/suppression de zones
2011-10-18 18:25:47 +00:00
Alan Garcia
0ff2574ddd
Xals : a merger dans la 1
...
Pb quand on créé "toto.fr" alors qu'on a déjà créé "pouet.toto.fr"
2011-09-02 15:59:25 +00:00
Alexis Lahouze
6de665ceb5
Merge stable 1.0 into trunk.
2011-07-27 21:58:07 +00:00
Benjamin Sonntag
8485d8e20d
To be merge into trunk :
...
] : ]
3065:3070
3061:3063
3056:3059
3051:3055
From Stable-1.0
2011-06-17 10:32:21 +00:00
Alan Garcia
e41c217c99
Probleme de portée de variable : quand il y a un PIPE
...
la variable est dans un sous shell
Xals : A merger dans 1.0 apres validation de Vinci
2011-06-07 09:24:35 +00:00
Alan Garcia
0a4ab30d66
Merci de merger Xals :)
2011-06-04 09:40:00 +00:00
Alan Garcia
255f3d3096
Cron pour l'optimisation hebdomadaire de la bdd alternc (à merger par Xals)
2011-06-04 09:33:47 +00:00
domi
9197261a1f
correction du test "reload web" qui regenre le fichier de vhosts
2011-06-03 14:00:50 +00:00
Alexis Lahouze
a8b5a2c8a7
Fix nightly build.
2011-06-03 13:21:20 +00:00
Alan Garcia
025b6db399
Patch de "comment"
...
A merger avec 1.0 (xals ?)
2011-06-03 10:10:40 +00:00
Alan Garcia
19317ccbec
Ca fait marcher mpm-itk mais ca casse la génération du .deb
2011-05-22 19:18:43 +00:00
Alan Garcia
0a0f5bc77a
On continue mpm-itk
2011-05-22 17:23:59 +00:00
Alan Garcia
5b691210d0
ACL pour MPM-itk
2011-05-22 09:22:45 +00:00
Alan Garcia
254739664d
Allez, on attaque MPM-ITK
2011-05-17 16:36:01 +00:00
Alan Garcia
45131668bf
Premier jet refonte MX pour le "root" du domaine
2011-03-28 13:15:47 +00:00
Benjamin Sonntag
446ed8575d
Fixing error (strange one) with update_domains.sh : multiple domains are concatenated using \n instead of being separated in the for loop. TO BE UNDERSTOOD ...
2011-03-27 17:34:02 +00:00
Benjamin Sonntag
deb5498de4
c'est quoi ce 'env' ???
2011-03-27 14:59:21 +00:00
Alan Garcia
fbdcd0c117
Oups, j'ai oublié un debug
2011-03-19 09:08:18 +00:00
Alan Garcia
aeb01bef50
Correction d'un bug et mise en place d'une securitée sur les symlinks
2011-03-13 18:40:31 +00:00
Alan Garcia
4bfa5f898e
2011-03-11 17:33:40 +00:00
Alan Garcia
d76a108b97
Lock amélioré
2011-03-07 20:12:09 +00:00
Alan Garcia
a91f6d392f
Optimisation du reload
2011-03-07 10:15:38 +00:00
Alan Garcia
1530b8026b
Reload allégé
2011-03-07 10:09:20 +00:00
Alan Garcia
e0c1792d14
Ajout d'un "patch" pour quand on a pas activé les quota sur le disque.
2011-03-06 21:05:44 +00:00
Alan Garcia
e30f56e023
Dash nous cause des problemes.
...
Je force les scripts a utiliser bash quand il le faut
2011-03-06 20:43:51 +00:00
Alan Garcia
d6511ede23
Correction de bugs
...
Correction d'identations
2011-03-06 19:11:49 +00:00
Alan Garcia
4e0f98b93e
Vaguement :
...
- correction de qques identation (et surement rajout d'erreur)
- supression de apache 1 (c'est plus maintenu, on va pas s'étaler)
- suppression du mass vhosting
- corrections de bugs divers et varié
2011-03-06 18:06:27 +00:00
Alan Garcia
bfe5760262
< khalahan> car on peut normalement ajout une adresse mail wilcard
...
< khalahan> (sauf que ça ne crée pas le dossier non plus, mais c'est un autre problème)
Donc patch pour la création du dossier par sieur Khalahan
< khalahan> la partie avant _domaine.xxx devient facultative
2011-03-04 17:36:53 +00:00
Alan Garcia
548f41be4c
< khalahan> bonjour
...
< khalahan> un petit patch si jamais qq peut commit ici :
< khalahan> car on peut normalement ajout une adresse mail wilcard
< khalahan> (sauf que ça ne crée pas le dossier non plus, mais c'est un autre problème)
< khalahan> ça crée un dossier comme ça : /var/alternc/mail/_/_bitcoin-contact.org
< khalahan> enfin, ça devrait
< khalahan> ce patch répare les stats envoyées par mail par I/usr/lib/alternc/spoolsize.php
2011-03-04 17:09:35 +00:00
Alan Garcia
7d80d5b2d2
Closed #1239
2011-03-04 13:45:40 +00:00
Alan Garcia
2c399d101e
Raaa.
...
Bon, je pouvais pas l'inventer ça.
Fixe #1230
2011-02-04 16:33:41 +00:00
Alan Garcia
940b95fa2d
Bug delete
2011-02-03 12:41:58 +00:00
Alan Garcia
77e83a6ad3
Ajout des hooks pour la gestion du mass virtual hosting
2011-02-01 22:44:18 +00:00
Alan Garcia
46510d79e5
Patchs editions/suppression
2011-02-01 17:17:58 +00:00
Alan Garcia
052ac514d2
Je met le separateur en variable
2011-01-30 17:22:59 +00:00
Alan Garcia
0e81e371ce
Still
2011-01-30 12:59:48 +00:00
Alan Garcia
7c8332932a
Hop-la
2011-01-30 12:45:53 +00:00
Alan Garcia
dacbd14cf9
Update domains, l'aventure continue
2011-01-29 17:58:19 +00:00
Alan Garcia
5e8125a697
Modification/suppression/activation/desactivation conf web OK
2011-01-29 15:46:33 +00:00
Alan Garcia
527c0f3f0e
Conf web : CREATION ok
2011-01-29 15:12:26 +00:00
Alan Garcia
bb83fe83e4
Nouvelle gestion des DNS, complétement repensée
...
Nouvelle génération des formulaires
Nouvelle gestions des HOST disponible (dynamique)
Nouveau update_domains.sh
ToDo :
- finir de tester/mettre au propre les DNS
- intégrer la nouvelle gestion VHOST au reste
On y crois, on se bat !
2011-01-28 15:55:26 +00:00
Alan Garcia
365ac2c367
Draft proposition nouvelle gestion DNS
2011-01-26 17:18:56 +00:00
Alan Garcia
33041612ff
I said "F*cking UTF8"
2010-12-24 10:10:19 +00:00
Alan Garcia
930889bde5
Ajout de la possibilitée de commandes postinst (et implicitement preinst) ainsi que predelete
2010-12-23 23:25:47 +00:00
Alan Garcia
ccb02072fa
Correction de UTF8
...
Appel systématique du script spécifique si script spécifique il y a
2010-12-23 23:10:47 +00:00
Alan Garcia
1ef3654b66
F*cking utf8
2010-12-23 21:52:34 +00:00
Alan Garcia
4b7cba2a6a
Beta de refonte du vhosting, envoyé sur le SVN pour avoir une copie
2010-12-23 20:48:08 +00:00
Camille Lafitte
888685bcb6
Virtual Hosting updated (report from alternc-vhost)
...
* Provide a file by host typology
* a file to generic functions (enable/disable host)
* a generic directory to provide different host function
Evolution du systeme de création d'hôte
* Fournir un fichier par type de hote à créer (panel, webmail, redirection, ...)
* Un fichier generique pour les (des)activation
* Un repertoire dédié au differentes fonctions personnalisées
2010-12-19 18:42:42 +00:00
Alan Garcia
3343aa803a
Ajout de la possibilité d'avoir des CNAME, TXT dans les DNS.
...
Possibilitée d'avoir plusieurs entrée sur le même sous-domaine.
ToDo : Merci aux experts Alternc de regarder si j'ai mit les modifications de base dans le bon fichier (install/upgrades/1.0.sql)
2010-11-16 17:11:06 +00:00
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
Benjamin Sonntag
51abae4051
removing old styles + integrating mailman lists size spooling
2010-06-03 08:55:26 +00:00
Rémi
aa9a497002
correct type / account test
2010-06-02 13:32:19 +00:00
Benjamin Sonntag
031d21ac8c
adding truncate in spoolsize: don't remember deleted accounts
2010-05-11 18:54:28 +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
Antoine Beaupré
22e1b56bf1
don't fail if alternc_reload fails
2009-10-01 16:16:50 +00:00
Nahuel Angelinetti
0f03969b8a
Merging blue desktop to trunk.
2009-09-08 05:29:38 +00:00
Antoine Beaupré
8a3fd36f85
comments
2009-08-06 18:10:26 +00:00
Antoine Beaupré
7774f90153
always reload on localhost, we assume the master runs apache and bind
2009-08-06 18:04:20 +00:00
Antoine Beaupré
62ea0b69d6
fix path for alternc_reload
2009-08-04 20:24:53 +00:00
Antoine Beaupré
337ca00337
add the concept of slaves in alternc core. slaves now have an alternc account that gets created by the alternc-slave package that the master can use to restart apache and bind on the fly
2009-07-27 21:21:26 +00:00
Camille Lafitte
e1377289b7
Statistique brute compatible Apache2
...
* see #439 ,
* A verifier mais il semble que ce ticket peut \303\252tre ferm\303\251.
2009-04-03 10:06:57 +00:00
Nahuel Angelinetti
bb42e17a9c
Update the script to be compatible with new alternc version
...
Closes : #1044
2009-02-18 18:21:25 +00:00
Nahuel Angelinetti
9a71472424
Now redirects are "permanent" redirects(code 301)
...
the upgrade script should regenerate previously created redirects
References: 1165
2009-02-18 18:10:45 +00:00
mlutfy
1b83f2db42
on new account creation, create automatically www, stats and backups directories to help users keep their account clean
2009-01-28 20:38:11 +00:00
mlutfy
64b9ba845b
no trailing slash on tmp dirs otherwise apache generates an openbase_dir error
2009-01-16 16:32:39 +00:00
Antoine Beaupré
6d62007afe
be more resilient to errors
2008-11-09 23:15:19 +00:00
Antoine Beaupré
63c198ac6a
fix gzip switch
2008-10-21 23:46:39 +00:00
Antoine Beaupré
6d19544985
fix typo in last commit
...
See: #1163
2008-10-20 20:16:40 +00:00
Antoine Beaupré
c2000c82f3
fix sqlbackup call sequence by retaining backwards compatibilty with
...
previous script
Closes : #1163
2008-10-20 20:13:21 +00:00
Antoine Beaupré
3e0c650da0
call apache correctly after changing domains
2008-10-07 17:32:47 +00:00
Antoine Beaupré
a550bf6067
remove deprecated --all option, put add-locks and lock-tables back into the commandline
2008-07-10 21:54:02 +00:00
Antoine Beaupré
0fb997a962
make commandline actually work
2008-07-10 21:52:52 +00:00
Antoine Beaupré
c2039cf504
simplify commandline creation
2008-07-10 21:49:22 +00:00
Antoine Beaupré
0aebaa3c07
fix grammar
2008-07-10 21:41:03 +00:00
Antoine Beaupré
4706995038
port to 0.9.8: mysql information is not in local.sh anymore
2008-07-10 21:40:03 +00:00
Antoine Beaupré
a62b9109ed
add some of the sqlbackup options to the local.sh global configuration.
...
note that we discarded some suggestions options:
F_LOG: replaced with syslog
DAEMON: will be considered for inclusion later
VERBOSE/DEBUG: available through command line flags
TYPE_NAME_BACKUP and ALLOW_OVERWRITE_BACKUP are being renamed to
SQLBACKUP_TYPE and SQLBACKUP_OVERWRITE. this is to be more consistent
with the global configurations
See: #1081
2008-07-10 21:18:42 +00:00
Antoine Beaupré
2eb782a9f9
get rid of the F_LOG parameter and rely on syslog for logging if 'daemonized', do not source an extra config file
2008-07-10 21:03:15 +00:00
Antoine Beaupré
01f8197e3b
complete rewrite of the sqlbackup.sh script, will be reworked and audited before release
...
Closes : #1081
2008-07-10 20:59:25 +00:00
Antoine Beaupré
3cbd94f5f6
correctly declare functions, we were missing parenthesis
2008-04-24 16:10:27 +00:00
Antoine Beaupré
cf484070de
remove a bashism: don't use the function keyword to declare functions,
...
it's not POSIX.
Note that there might be some other bashisms around, but this is the
only one I am aware of now, so...
Closes : #1122
2008-04-24 15:35:33 +00:00
Antoine Beaupré
099ac1f32f
Properly specify the database to backup in the mysql dump script by
...
reverting a tiny part of [2117].
Closes : #1127
2008-04-24 15:17:07 +00:00
Antoine Beaupré
8aca1730ec
use absolute path for awk in trying to bring back quotas. See #1008
2008-04-15 21:31:06 +00:00
Antoine Beaupré
8b3cc89ab4
remove .cvsignore file
2008-04-15 15:08:02 +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é
7c467be6d5
don't add the openbasedir protection on webmail. Closes : #1080
2007-11-15 20:30:17 +00:00
Antoine Beaupré
a478703bb4
normalise the url given so that users redirecting to http://example.com don't have problems. Closes : #1079
2007-11-15 19:21:31 +00:00
Antoine Beaupré
74a3d9702a
silence 'zone reload queued' messages from newest bind from etch
2007-10-04 23:53:44 +00:00
Antoine Beaupré
33cad01397
use more standard mode 750 instead of 754
2007-09-09 21:00:21 +00:00
Antoine Beaupré
29812ce3dd
fix install modes for functions
2007-09-09 20:59:48 +00:00
Benjamin Sonntag
1ead7e1bbb
Fixing dns/nodns issue (a bug in update_domains) Fixes #772
2007-09-09 20:01:34 +00:00
Antoine Beaupré
9a4162f508
retirer la fonction dupliquee init_dom_letter, remplaceee par print_domain_letter. utiliser print_user_letter au lieu code custom
2007-09-09 18:35:15 +00:00
Antoine Beaupré
9afbeb6015
move functions from update_domains.sh into common functions
2007-09-09 18:21:57 +00:00
Antoine Beaupré
71ff7726dc
don't forget to add functions.sh
2007-09-09 18:18:53 +00:00
Antoine Beaupré
4b68e501bb
move functions to a common directory to avoid code duplication
2007-09-09 18:18:19 +00:00
Benjamin Sonntag
8a0cbf415d
url are now not / : Fixes #1054
2007-08-26 20:41:32 +00:00
Benjamin Sonntag
22fefe0407
correction des templates + modifs légères de dépendances pour lintian ...
2007-08-26 19:24:36 +00:00
Antoine Beaupré
675a357932
remove the size_db cache, it wasn't used in the code and is fully accessible from the PHP/MySQL API
2007-08-21 00:14:13 +00:00
Antoine Beaupré
7a0f1d57c4
use absolute path for df
...
Closes : #1048
2007-05-31 17:03:47 +00:00
Nahuel Angelinetti
27c70f2047
Comme php5 peut etre installé, nous utilisons le lien php qui pointe soit vers php5 soit vers php4 ( soit php6 ? ).
...
close : #1042
2007-04-18 16:55:34 +00:00