Commit Graph

269 Commits

Author SHA1 Message Date
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