Commit Graph

375 Commits

Author SHA1 Message Date
Benjamin Sonntag c2d8b317d0 fixing entirely the cron execution shell. This may fix a potential privilege escalation problem. 2014-11-25 14:36:20 +01:00
Benjamin Sonntag 919d68e880 fixing a nasty bug with rebuild_all_webconf (s/and/where/) that provoked roundcube install time bug 2014-10-02 14:13:56 +02:00
Benjamin Sonntag 154738e277 adapting alternc_fix_opendkim.php for SQUEEZE 2014-10-02 14:03:16 +02:00
Benjamin Sonntag 3ae25c759e Merge branch 'stable-3.1' of alternc.org:alternc into stable-3.1 2014-09-29 17:37:15 +02:00
Benjamin Sonntag 3487a95e2c fixing dovecot quotas, phpmyadmin special user, opendkim missing key at upgrade time 2014-09-29 17:37:13 +02:00
alban ad47f857cd [fix] chmod action 2014-09-29 17:06:56 +02:00
Benjamin Sonntag b0a5e23299 fixing Dovecot Quotas computing + removing duplicate code 2014-09-29 17:06:16 +02:00
Benjamin Sonntag 4b0f852845 fixing cron reporting, not doing report when nothing was spit out of the user's script 2014-09-29 16:14:28 +02:00
alban 7c597daa73 [fix] Missing chmod action 2014-09-09 14:52:56 +02:00
Benjamin Sonntag 58d16d47f9 setting user cron timeout to 3600 Sec (1H) + NOT RETRYING when using wget 2014-09-03 15:10:18 +02:00
Benjamin Sonntag 5a1f53760e removing 'not used anymore' 2014-06-25 16:06:48 +02:00
Benjamin Sonntag 30e8f0d53e rollback of update_domaines to 3.1 version 2014-06-25 15:56:59 +02:00
Alan Garcia 42b8988022 Qque suggestion sur update_quota_mail 2014-05-23 15:59:40 +00:00
Steven Mondji-Lerider a65afb62c3 Upating mailboxes quota fixing script to work with arguments 2014-05-23 15:21:26 +00:00
Antoine Beaupr�� fbb834c75e add script to create emails by hand from the commandline 2014-05-16 19:40:14 +00:00
Benjamin Sonntag 0e53499567 fixing NICE in delete_logs 2014-04-08 09:48:18 +02:00
Alan Garcia ac9e50ac33 Doc + cosmetics 2014-03-28 16:14:32 +00:00
Alan Garcia 62981ecfa5 Some cosmetics 2014-03-28 09:14:53 +00:00
Benjamin Sonntag 2fc7b3de97 more explicit messages in rebuild_all_webconf 2014-03-27 18:15:55 +01:00
Alan Garcia 17c3a03ec3 Shoot lxc stopexpired 2014-03-27 16:39:44 +00:00
Alan Garcia 8e93341cd3 Some cosmetics 2014-03-27 13:50:44 +00:00
Alan Garcia e63de8a403 Fix spoolsize pour le web 2014-03-27 11:16:31 +00:00
Alan Garcia 3f1b9e34c5 Another cometics 2014-03-26 18:16:13 +00:00
fufroma 7cd158c45c Suggested comments 2014-03-26 14:59:41 +01:00
Steven Mondji-Lerider d7e44f384f Fixing SQL queries on fix_quota_script 2014-03-18 15:48:39 +00:00
Steven Mondji-Lerider adaa1cbf78 Fixing SQL query 2014-03-17 15:44:47 +00:00
Steven Mondji-Lerider 84adcb658b Syntax errors 2014-03-17 15:13:28 +00:00
Alan Garcia eac0be49d2 Some cleanup 2014-03-17 13:45:36 +00:00
Steven Mondji-Lerider b758a5c083 Script to correct mailboxes sizes. 2014-03-13 14:56:34 +00:00
Alan Garcia b60f15d442 Premier jet de mise au propre de do_actions
Squidly, à toi les manettes ;)
2014-03-07 14:57:55 +00:00
Alan Garcia 237dc0e3a5 Fix error reporting 2014-03-07 12:50:48 +00:00
Alan Garcia 83733160e5 Bugfix do_actions, happy monkey was here ! 2014-03-07 12:48:16 +00:00
Alan Garcia 8f48dab27c Fix #1570 2014-02-27 17:06:57 +00:00
Alan Garcia 35f146eb39 Permet de forcer un regenerate des zones
Refait marcher le rebuild-all-webconf
2014-02-27 17:04:00 +00:00
Alan Garcia b04ea5c362 Update domain en PHP
NOrmalement, tout roule.
2014-02-27 16:43:11 +00:00
Alan Garcia 82e8c2e40c Bugfixe bind generation 2014-02-04 17:24:11 +00:00
Alan Garcia 77b22d46dd Support de dkim et de autoconfig/autodiscover
Reste la retrocompatibilité des hooks a faire
2014-02-04 16:14:01 +00:00
Alan Garcia 6726806d38 Generation de bind via PHP
Il me manque plus que 
* appels des hooks
* dkim, autodiscover et autoconfig
2014-02-04 10:16:15 +00:00
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