Alan Garcia
9b70409b4d
Un poil plus de cache sur la generation de conf bind en PHP
2014-01-31 13:51:28 +00:00
Alan Garcia
fe9612061e
Premier jet de la regénération bind en php
2014-01-30 17:36:16 +00:00
Alan Garcia
bcf298ad77
Desactive l'ancienne version de function hosting
2014-01-30 17:33:25 +00:00
Alan Garcia
9210deb971
Test if DKIM generated file exist
2014-01-16 10:18:51 +00:00
Alan Garcia
5ca62b0a42
Fix r4592
2014-01-10 13:35:41 +00:00
Alan Garcia
c318efda56
Update the database when we generate the apache conf
2014-01-09 15:00:11 +00:00
Alan Garcia
79023396cf
Corrige r3865 qui était bugué
2014-01-08 11:54:27 +00:00
Alan Garcia
7d50c398c7
Améliore la génération de la conf apache
...
* hooks
* retrocompatibilité
2014-01-03 09:30:35 +00:00
Alan Garcia
7c349f887f
Active le nouveau generateur de conf apache.
...
Ne pas (encore) utiliser en prod.
2014-01-02 16:36:13 +00:00
Alan Garcia
bb9f8b111f
Premier jet pour generation de la conf apache (update_domains -> function_hosting) en php
2014-01-02 15:17:40 +00:00
Alan Garcia
1af6839834
Fix #1563
...
Merci !
2013-12-26 13:36:27 +00:00
Steven Mondji-Lerider
cf1d016f41
Je viens de le tester sur du nfs et du fs local mais suis sur que je vais encore devoir le changer dans 2 semaines.. encore...
2013-12-12 17:21:24 +00:00
Alan Garcia
9e01789940
Un truc zarb entre do_action et inotify les faisait tourner en boucle.
...
Ce patch semble corriger cela.
2013-12-11 14:54:14 +00:00
Alan Garcia
e3cdec5f4e
Permet de désactiver fixperms "proprement", avec un fichier de
...
«lock». Utile pour les maj de grosse install
2013-10-21 13:21:24 +00:00
Alan Garcia
61985f79f0
Lance le fixperm en triant par login
...
ToDo : backporter en 3.1 stable
2013-10-21 13:12:46 +00:00
alban
3c63d64496
Passage n prod
2013-10-18 13:40:43 +00:00
alban
348a91066f
I heard you liked fixes, so I send a fix to fix fixdir
...
But no fox here.
2013-10-18 13:30:51 +00:00
Steven Mondji-Lerider
4475d675e4
Setting permission to 777 in fixperms script
2013-10-18 12:41:44 +00:00
Alan Garcia
f12bbd53d2
Rollback de r4494
2013-10-17 14:13:26 +00:00
Alan Garcia
2eb73fcd47
Partial fix of #1525
2013-10-17 12:26:13 +00:00
Alan Garcia
5c2275f035
Gros sed pour dégager les unbreakable space
2013-09-25 09:50:53 +00:00
Alan Garcia
2902601157
Fix #1066
...
Permet de locker tout les jobs
2013-09-12 09:28:31 +00:00
Steven Mondji-Lerider
d7e6e8cbe5
Modified acl setting. NEEDS TESTING
2013-08-22 14:18:17 +00:00
Benjamin Sonntag
b49d4a79a7
fixing alternc.install diff + removing domain in opendkim in functions_dns
2013-08-22 08:35:50 +00:00
Benjamin Sonntag
e2152c2634
adding opendkim support, to be tested
2013-08-22 07:29:25 +00:00
Benjamin Sonntag
6229f1b15d
fixing english in update_domains + adding ;;; END ALTERNC AUTOGENERATE on zone files if they are not here yet.
2013-08-22 06:13:33 +00:00
Alan Garcia
1e672f042b
Si on CTRL+C fixperms, ca propose de pas retourner d'erreur.
...
Pratique lors des upgrades
2013-08-19 08:58:15 +00:00
Steven Mondji-Lerider
1ca1a6a248
cleaning sthe cript a little
2013-08-14 13:16:34 +00:00
Steven Mondji-Lerider
4104c8292c
Bugfixing action class rights setting upon member creation.
2013-08-08 15:56:09 +00:00
Steven Mondji-Lerider
bb83c728d4
Removing Hard quota limit. Because we are nice guys ! :)
2013-08-07 15:09:15 +00:00
Steven Mondji-Lerider
79f56b4913
Adding a get_uid_by_path to function.sh used by fixperms to crrect files and directories. I don't know if hte method is correct.. NEED CHECKING
2013-08-07 14:56:47 +00:00
Steven Mondji-Lerider
9a6c334178
Make the cron script silent if there is nothing to do
2013-07-31 11:43:35 +00:00
Alan Garcia
46669dddf7
Mail autodetect pour thunderbird
2013-07-22 16:37:44 +00:00
Alan Garcia
e357951246
Hook de reload DNS avant le rndc reload
2013-07-22 13:49:40 +00:00
Benjamin Sonntag
6ef178cf67
CONFIG_FILE is USED by dovecot, use ALTERNC_* INSTEAD
2013-07-09 22:06:53 +00:00
domi
df28b20d83
utilise le TTL de la zone dans le template bind
2013-07-04 08:26:19 +00:00
Alan Garcia
b142df090d
Simplification et bugfix sur update_domain, dans le cas ou on modifiait deux entrée pour un meme sous domaine
2013-07-02 15:30:36 +00:00
Alan Garcia
d05a7cf8da
Ajout d'une sécurité pour éviter la génération de conf apache avec un uid/gid == 0
2013-06-24 14:25:40 +00:00
Benjamin Sonntag
f1a84b6e53
- fixing DOVECOT SSL certificate path and manage it in alternc.install.
...
- fix UPGRADE path from 3.0 to 3.1 using ALTERNC_LOC old variable in /etc/alternc/local.sh
- Pre-depends on ACL instead of Depends, allow the alternc.config acl script check to work
- update_domains was using /usr/bin/alternc_reload, now migrated to /usr/lib/alternc/
2013-05-28 04:58:01 +00:00
Alan Garcia
d18998c205
Corrige le commit 4290 foireux
2013-05-17 13:58:35 +00:00
Alan Garcia
ca4c8d63dd
Fix duplicated lines in r4332
2013-05-13 11:58:06 +00:00
Steven Mondji-Lerider
05c3e9ce5e
Bugfixing quotas scirpt to source local.sh
2013-05-13 10:18:28 +00:00
Steven Mondji-Lerider
7f16d7819a
No need to SU, fixperms.sh will always be exec by root
2013-04-26 15:38:28 +00:00
Steven Mondji-Lerider
13142812db
FIXFILE now implemented
2013-04-26 15:01:49 +00:00
Steven Mondji-Lerider
38a68377a4
Send mail on error now works
2013-04-26 09:53:48 +00:00
Steven Mondji-Lerider
9cc9e7589a
Fixes
2013-04-26 08:11:59 +00:00
Steven Mondji-Lerider
e9e8cb47bb
Updating action class + updating fix(we have to change this name)perm.sh script + adding the script do_actions to cron entries
2013-04-25 13:05:27 +00:00
Steven Mondji-Lerider
b3df1b0b2a
Configuring use of do_action.php by incron ( same way as update_domains.sh )
2013-04-24 14:33:49 +00:00
Steven Mondji-Lerider
7b5d6e4cf7
Some fixes, and FIXDIR action type now supported
2013-04-24 10:00:54 +00:00
Benjamin Sonntag
b3c19b3a9b
DEBIAN COMPLIANCE big commit : fixes almost all lintian issues + complete rewrite of debian/rules (now mostly in Makefile at the root of source code) + start using POD2MAN for man pages + remove some old unused and broken tools
2013-04-23 15:11:00 +00:00
Steven Mondji-Lerider
d3958786e5
Debug function deactivated
2013-04-23 15:00:23 +00:00
Steven Mondji-Lerider
c06c1cf344
Improving the script with new checks, debug prints and gestion of failed scripts
2013-04-23 13:32:37 +00:00
Steven Mondji-Lerider
e1cb980a3e
Noobfixes
2013-04-23 08:06:44 +00:00
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