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