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
Antoine Beaupré
aba66668b4
skip non-existent directories so that misconfigured backups don't break other user's backups
2007-04-06 18:02:22 +00:00
Antoine Beaupré
005d6379c2
Fix a race condition in update_domaines.sh that could allow users to
...
bypass open_basedir protections when creating domains. Reported by
jerome.
This required changing basedir_prot's behavior so that it creates the
protection even if the symlink doesn't exist, which might create extra
files that are not necessary, but "better be safe than sorry". We
could also fix this in a subsequent release.
2007-01-12 23:03:33 +00:00
Rémi
3b3341f6dd
modification de l'appel systeme à chown, en appel au chown builtin
2007-01-04 16:12:21 +00:00
Antoine Beaupré
de174073c2
fix typo in last commit: it the dot that forbidden on start
2006-11-29 04:07:20 +00:00
Antoine Beaupré
354e38675b
remove quotemeta everywhere, and make sure variables are safe before using them. Closes : #1003
2006-11-29 04:02:41 +00:00
Antoine Beaupré
7be721c3ff
faire que wc marche aussi avec le chemin absolu
2006-11-28 02:20:50 +00:00
Antoine Beaupré
6e63ed701b
use same regexp for allowed usernames as in the php code
...
(m_admin::add_mem())
do not quote_meta in shell command, since all variables are now
considered safe
see #998
see #427
2006-11-28 00:56:51 +00:00
Antoine Beaupré
c6109e63ea
use absolute path otherwise this fails on install, see #998
2006-11-28 00:49:12 +00:00
Antoine Beaupré
7b9d3e8007
change proper ip even if modifying TLD, closes : #661
2006-06-23 04:05:39 +00:00
Antoine Beaupré
26f5de3d51
ne plus créer les sous-domaines par défaut a la creation d'un domaine dans update_domaines, m_dom.php:add_domain() s'en charge déjà. Closes : #719
2006-06-23 03:12:26 +00:00
Nahuel Angelinetti
8c6c5124af
Demande du all pour le make install supprimé car nous n'avons plus rien à compiler
...
References: #704
2006-05-29 18:16:11 +00:00
Antoine Beaupré
d7f9155db1
rendre apachectl silencieux, autrement on voit des messages à chaque invocation
2006-05-17 18:28:38 +00:00
Benjamin Sonntag
ae1af23a4b
Ajout du script fixperms.sh qui permet de remettre à plat les permissions et proprietaires des fichiers. Ref #416
2006-05-16 18:20:14 +00:00
Benjamin Sonntag
f4c3ad85e0
ajout des perl suid scripts (desole, j'avais oublie...)
2006-05-12 11:17:23 +00:00
Benjamin Sonntag
da63874904
Remplacement des scripts C setuid par des scripts perl, AlternC is now arch indep \!
2006-05-11 10:52:23 +00:00
Benjamin Sonntag
4935954567
plantage de sqlbackup du fait des 'mv' qui peuvent echouer et du set -e
2006-05-04 16:59:18 +00:00
Benjamin Sonntag
80c65668a9
plantage de sqlbackup du fait des 'mv' qui peuvent echouer et du set -e
2006-05-04 16:42:14 +00:00
Benjamin Sonntag
ec89f13dfc
quota_edit.sh now computes DATA_PART as quota_get.sh does. Closes #651
2006-05-04 01:53:08 +00:00
Rémi
b249ce75f9
do not forget to commit your final work in order to not have a broken version in the repository
2006-05-01 08:16:12 +00:00
Rémi
b814ec769f
ajout du nom du shell pour le script
2006-05-01 08:11:38 +00:00
Benjamin Sonntag
4e444d92e0
Adding spoolsize to cache the size of web / mail / db contents, Closes 569
2006-04-26 14:26:21 +00:00
Pierre Gilles Mialon
6ca8255f49
AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2
2006-04-26 12:28:53 +00:00