Commit Graph

284 Commits

Author SHA1 Message Date
Camille Lafitte 6c5fe0e558 Remonter dans les templates Apache l'utilisateur Alternc
Remonter dans les templates le compte alternc, peut être utile pour cibler certains repertoire par compte 
* close #1483

Note complémentaire : commit réalisé directement via Git
2013-04-22 16:57:05 +00:00
Alan Garcia 2da11ebc2e VM "expiré" sont arrété 2013-04-22 14:45:45 +00:00
Steven Mondji-Lerider 4d8bb1d4de some fix 2013-04-22 08:06:48 +00:00
Alan Garcia a98688768a Trie entre alternc et alternc-lxc 2013-04-22 06:49:03 +00:00
François Serman 5991431b8a now handles exec correctly 2013-04-21 13:16:00 +00:00
François Serman 477c483ee6 bugfix 2013-04-21 10:24:24 +00:00
François Serman aaaf7f3f62 modified wrapper to handle alternc_lxc via xinetd 2013-04-21 10:14:55 +00:00
Steven Mondji-Lerider c19a7d3249 Some fix 2013-04-19 15:14:34 +00:00
Steven Mondji-Lerider 62003cb977 First draft of the script which will do performed actions on file (called by a cron)
May not work for the moment
2013-04-19 15:09:34 +00:00
Axel ROGER 31d077e328 Calcul des tailles des données utilisateurs après debianisation et separation des BDD alternc / BDD users
Première ébauche, idéalement il faudrait tout réécrire proprement (voir ticket #1487)
2013-04-18 13:09:08 +00:00
François Serman 83a6eae4bc Oops error message was not valid (still using : rather than |) 2013-04-12 22:21:57 +00:00
François Serman 90c6cf1d29 Added config for xinetd + mockup VM server
The mockup VM script returns either error (if random is odd) or 
success (if random is even).

The protocol is the following:
C: Action {Start, Stop, Monit} login pass uid
S: ( Error[^|]+ | ok ) | ip(:port)? | hostname
2013-04-12 22:03:28 +00:00
Axel ROGER f1cb6bf468 Don't log that we manually do update_domain if LOCK file doesn't exist 2013-03-21 13:55:51 +00:00
Alan Garcia 83619b221d Affiche la progression lors d'un fixperms 2013-03-04 17:53:51 +00:00
Alan Garcia 1471687da2 Un fichier temporaire pouvait rester dans /tmp après l'travail 2013-02-26 09:40:55 +00:00
Alan Garcia 29dac33896 Changement de "ou" le dns se fait reloader/reconfigurer.
Plus propre et mieux scindé.

Quand le DNS ou l'apache se fait reloader/reconfigurer, appel
en "hooks" des scripts qui sont dans /usr/lib/alternc/reload.d/
2013-02-21 09:54:35 +00:00
Alan Garcia 0ff730b603 Ajoute la variable blowfish dans le fichier de config de PhpMyAdmin 2013-02-20 14:41:55 +00:00
Steven Mondji-Lerider 88152b2eb8 Updating vhost template to use login@fqdn in the sendmail php_admin_value. Since postfix alias this address to the one in the member information 2013-02-19 14:59:53 +00:00
Steven Mondji-Lerider e3b0ad0c95 Templatizing apache envvars file to use AlternC environement variable in sendmail script. 2013-02-19 14:10:39 +00:00
Alan Garcia 35817cdb62 Lot de mini-bugfixes 2013-02-18 17:45:17 +00:00
Alan Garcia f11d61e14d rebuild all recahrge aussi les dns 2013-02-18 16:09:57 +00:00
Alan Garcia 1ce2db723d Attaque des vhost et du bind rangé à la Debian 2013-02-18 15:52:47 +00:00
Alan Garcia 98fad26579 Fix quelques probleme de deploiements 2013-02-18 15:28:17 +00:00
Alan Garcia 6f1dc40919 Le panel est rangé dans /usr/share/alternc/panel 2013-02-18 14:55:42 +00:00
Alan Garcia eb11bb790d Divers patchs
Le paquet se construit
2013-02-18 14:43:55 +00:00
Alan Garcia fcca1511c6 Modifs debian sur quelques scripts 2013-02-18 13:54:00 +00:00
Alan Garcia 9ec9177350 Mem del passe de perl à bash 2013-02-18 13:18:21 +00:00
Alan Garcia 1fe0e4594e Ca continue encore et encore 2013-02-18 13:11:25 +00:00
Alan Garcia 8d8fc9f4eb Raaa les -x 2013-02-08 16:27:05 +00:00
Benjamin Sonntag 6ff7e8f689 Lintian: executable-not-elf-or-script usr/lib/alternc/procmail_to_sieve.php 2013-02-08 14:48:28 +00:00
Axel ROGER ae478ba012 Bug qui empechait la suppression des mails 2013-02-08 13:59:42 +00:00
Axel ROGER ddb140d91e Debug pour le update_mail qui ne supprimait pas les mails ni les prefs 2013-02-08 13:48:57 +00:00
Benjamin Sonntag 80e96bc49f fixing upgrade, telling about procmail to sieve 2013-02-08 11:14:42 +00:00
Alan Garcia 9072c38153 La requete SQL pourri du siécle \o/
Shame on me !
2013-02-07 18:43:11 +00:00
Steven Mondji-Lerider 1e72ecb62a Removing useless call 2013-02-07 17:39:05 +00:00
Alan Garcia e695678a4c Pour #1350 2013-02-07 15:48:28 +00:00
Benjamin Sonntag 3050a14933 fixing build + fixing debian/changelog using dpkg-parsechangelog ;) + fixing more Lintian error + removing lintian override ... 2013-02-03 19:18:07 +00:00
Benjamin Sonntag 4aded69a06 Fixing Lintian reported bugs: debhelper-but-no-misc-depends, script-not-executable 2013-02-03 13:22:24 +00:00
Alan Garcia f325f3f5e1 Enleve le debug du quota et protege un peu mieux les variables 2013-01-31 10:54:12 +00:00
Alan Garcia 86c0939fa9 Should fix #1434 2013-01-31 08:44:33 +00:00
Alan Garcia bf9887cbde Filtre sur les fichiers à compresser
en partie Fix #1434
2013-01-31 08:40:57 +00:00
Alan Garcia a6949498cb Desktop TNG
Merci Manu !
2013-01-30 15:27:43 +00:00
Alan Garcia ddf9a38faf bugfix: little noobism 2013-01-30 14:53:38 +00:00
Alan Garcia 5bd3c9cc9a Some fix 2013-01-29 08:00:19 +00:00
Alan Garcia 26a4171139 J'enfreind la regle. Je rajoute une feature.
A tester et valider, mais maintenant on peux reloader update_domain en un clic ;)

Quelques FIX de css, pour gérer les domaines très long et/ou les valeurs de sous domaine très longue
2013-01-28 17:05:53 +00:00
Steven Mondji-Lerider f020b9cf9d Bugfixing ( for the 32134th time ) quotas getting and setting scripts: tested with local and nfs driven quotas. 2013-01-25 16:39:39 +00:00
Axel ROGER a87d30c7a7 2013-01-24 10:27:42 +00:00
Axel ROGER 61964b3821 Updating dovecot quota's syncing scripts 2013-01-24 10:11:30 +00:00
Steven Mondji-Lerider 479c715e72 Updating dovecot quota's synching scripts 2013-01-23 19:26:42 +00:00
Steven Mondji-Lerider 06bc5abf34 Adding a script to resync maildirs quotas used by dovecot with AlternC 3 2013-01-23 13:47:52 +00:00
Axel ROGER b7705819ce Bug corrigé: argument nice mal défini 2013-01-23 08:41:38 +00:00
Axel ROGER 5abb1c0625 Bug corrigé: argument nice mal défini 2013-01-23 08:37:23 +00:00
Alan Garcia f0da4bc5fe Soyons moderne ! Allons chasser de l'orcs ! 2013-01-21 17:16:46 +00:00
Steven Mondji-Lerider d10c673dd8 Bugfixing quota_get for LVM partition ( again ) need testing 2012-12-12 16:06:14 +00:00
Axel ROGER db5ab09a81 bash is now called explicitly 2012-12-04 11:09:22 +00:00
Steven Mondji-Lerider a80eb63f4f removing useless call 2012-11-30 16:43:41 +00:00
Benjamin Sonntag e1bf767288 Patch to remove any dependency on perl-suid. AlternC now uses sudo for all those former setuid scripts 2012-11-27 21:32:43 +00:00
Steven Mondji-Lerider a2eae62f3e Bugfixing quotas bash scripts if quotas package not installed 2012-11-07 16:42:57 +00:00
Alan Garcia 3cd65a99d6 Oubli pour le script de log login dovecot 2012-10-18 15:27:06 +00:00
Axel ROGER b0cf83c8ea Bugfix: refresh_dns flag file was never removed by slavedns called... 2012-10-18 10:08:17 +00:00
Alan Garcia 91e2920bb8 Fixes #1322 2012-10-17 14:14:57 +00:00
Alan Garcia 70b74ee19f Fixes #1328 2012-10-17 11:54:42 +00:00
Alan Garcia 97fd2dfdf6 Qques modifs sur les crons 2012-10-16 14:31:56 +00:00
Alan Garcia c0c0858989 Evite de stocker les 1000 premiers compte dans le même repertoire de
conf apache (merci Remi)
2012-10-16 07:41:03 +00:00
Axel ROGER c76d1916ce Courier to dovecot indexes files' migration script called when upgrade required.
This script is installed in /usr/lib/alternc/
(perl script provided by wiki.dovecot.com)
2012-10-15 15:14:43 +00:00
Alan Garcia 38e16fe624 Auto création du répertoire de conf manuelle de Apache
(le but est d'inciter l'admin à ranger ses morceaux "perso" a un seul endroit)
2012-10-15 14:45:05 +00:00
Alan Garcia cedce69efe Changement du chemin de stockage de la conf apache.
Au lieu de stocker dans /var/alternc/apache-vhost/a/admin/www.machin.conf
On stock dans /var/alternc/apache-vhost/2/2000/www.machin.conf

Permet de résoudre le probleme de non suppression de conf apache à la 
suppression d'un membre

TODO : le backporter en 1.0.4 une fois validé.
2012-10-15 14:20:38 +00:00
Axel ROGER c823c37fde Oubli d'une variable path à mettre entre "" 2012-10-15 10:34:23 +00:00
Axel ROGER 3320706583 Quotes added to directory vars (MUST ALWAYS BE IN QUOTES!) 2012-10-15 09:59:21 +00:00
Axel ROGER 3bca427fe8 deleting part put in prod 2012-10-15 09:24:31 +00:00
Steven Mondji-Lerider 8c090ab9e1 modifying vhost template creation to add the membre mail address to the template for sendmail to use it as the return path for mail sent via php 2012-10-15 09:07:00 +00:00
Axel ROGER 1fdf90d5de :-) 2012-10-15 08:32:50 +00:00
Steven Mondji-Lerider d29dcbb78d updating wrappers to create or delete mailman addresses + updating quota to not account for mailman generated addresses 2012-10-08 13:07:24 +00:00
Steven Mondji-Lerider d23f2035c1 bugfix fixperms (files with spaces) + adding a call in alternc.install 2012-09-27 10:05:25 +00:00
Steven Mondji-Lerider fd3f4cef8b Changing Postfix policy script to bash to remove python dep warning 2012-09-04 07:41:17 +00:00
Benjamin Sonntag 4a096f265c Squirrelmail CAN'T BE CONFIGURED THROUGH A PROXY, so that configuration is currently commented out. We need to find a way to run the webmail on another web host than the panel one, that's all. No other solution found. So, next step for alternc-squirrelmail is to propose a vhost from the panel index WHEN ADMIN has a 'squirrelmail' type vhost ... 2012-08-26 19:59:12 +00:00
Benjamin Sonntag 6e2a1196cc adding a THIRD Debian Package : alternc-squirrelmail: configures squirrelmail + avelsieve + changepass. BIG change also in alternc.install : uses /usr/lib/alternc/install.d/ with run-parts. Also adding /etc/alternc/apache-panel.d/ for apache2 instructions ONLY in panel vhosts. TO BE TESTED 2012-08-26 17:20:10 +00:00
Alan Garcia 18898953ae Adieu table size_mail, deprecated grace à dovecot 2012-08-26 16:54:21 +00:00
Alan Garcia 265a9a3f5e Adieu stats2.
Avec l'arrivé de vlogger, les stats sont directement rangé pour chaque user.
Stats2 est remplacé par Logs
2012-08-26 16:30:55 +00:00
Benjamin Sonntag 01efac2f2a better name for update_mails lock file 2012-08-26 14:36:06 +00:00
Alan Garcia 31936d58bb Patch de 1.0.3 porté sur la 1.1 2012-08-26 11:02:46 +00:00
Alan Garcia d5a94efb17 Clean de postfix-add-policy 2012-08-26 10:32:45 +00:00
Alan Garcia 305e17db5a Oubli dans le renommage de mail_deletion 2012-08-26 09:42:22 +00:00
Alan Garcia 02c53d3cf0 Renomme de mail deletion 2012-08-26 09:26:04 +00:00
Alan Garcia 3dc608d307 Oook 2012-08-25 14:06:32 +00:00
Alan Garcia 92965e64bd Mail deletion 2012-08-25 13:24:11 +00:00
Benjamin Sonntag 6ba876f10c adding quota-warning for dovecot + fixing dovecot conf 2012-08-25 11:29:36 +00:00
Alan Garcia 1c23ff759a Lock sur mail deletion 2012-08-25 10:41:25 +00:00
Alan Garcia f2ff02c557 Delete mailbox 2012-08-25 10:35:23 +00:00
Benjamin Sonntag c0ad932536 fixperms auto-recreate html folders if needed 2012-08-25 09:52:03 +00:00
Alan Garcia 7ce6291039 Changement "qui" lance les crons des logs
Nice sur les cron de logs
2012-08-24 15:09:57 +00:00
Axel ROGER 30a2d3cbd9 Bugfix: create 'aws' quota in table 'quotas' 2012-08-24 14:41:16 +00:00
Benjamin Sonntag 7552a87677 fix fixperms return code again 2012-08-24 09:06:19 +00:00
Benjamin Sonntag 94290b09f9 fixing fixperms so that 'read' never exit with !=0 (crashing the -e in postinst) 2012-08-24 08:51:00 +00:00
Alan Garcia 020b144ed1 Fix #1286 2012-08-22 09:06:40 +00:00
Alan Garcia 825bdddc51 Active les mails de cron 2012-08-22 07:42:17 +00:00
Steven Mondji-Lerider 687e461324 Ajout classe de logs 2012-08-21 18:25:56 +00:00
Steven Mondji-Lerider c07d7fbac4 Bugfixes gestions des droits 2012-06-26 08:08:49 +00:00
Steven Mondji-Lerider 7371bcd553 Bugfixing panel + petite correction makefile 2012-06-25 07:59:29 +00:00
Steven Mondji-Lerider 2d2fef0363 Modification script gestion ACLS + classe browser 2012-06-19 15:29:15 +00:00