Commit Graph

458 Commits

Author SHA1 Message Date
Alan Garcia f23cd145d9 Templating postfix/postconf OK 2013-02-18 18:20:12 +00:00
Alan Garcia 5134362254 Lot de bugfixes pour Debian Compliance 2013-02-18 18:09:43 +00:00
Alan Garcia 35817cdb62 Lot de mini-bugfixes 2013-02-18 17:45:17 +00:00
Steven Mondji-Lerider dd070fd43e Template for apache_logformat.conf 2013-02-18 17:22:28 +00:00
Steven Mondji-Lerider 227698b83d Templatising postfix.cf for the maildir_base variable + moving it to the postfix directory 2013-02-18 16:31:51 +00:00
Steven Mondji-Lerider d09618eab6 adding the new call to templatized file apache2.conf 2013-02-18 16:07:58 +00:00
Alan Garcia efb98fbb70 Hop-là 2013-02-18 16:03:55 +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 5582e8314b Creations des sous-répertoires mails passent du rules vers le alternc.install 2013-02-18 14:00:25 +00:00
Alan Garcia 1fe0e4594e Ca continue encore et encore 2013-02-18 13:11:25 +00:00
Steven Mondji-Lerider c850a2cff5 Replacing echo call by ls before calling sort 2013-02-18 11:45:17 +00:00
Steven Mondji-Lerider c9529d3e42 Updating upgrade scripts names to make sure they are executed in the correct order 2013-02-18 11:16:07 +00:00
Steven Mondji-Lerider 796dc19771 Oops that never worked.. i don't even remember why i tried this 2013-02-11 17:06:51 +00:00
Steven Mondji-Lerider c2a3c48a73 bugfixing upgrade checking script to sort by file extentions 2013-02-11 10:41:06 +00:00
Benjamin Sonntag e03e6f7313 fixing upgrade script 2013-02-08 15:50:37 +00:00
Benjamin Sonntag e171f30eb2 alternc.install in english 2013-02-08 13:05:54 +00:00
Alan Garcia b33fcf78db Bug de upgrade check 2013-02-08 11:20:04 +00:00
Benjamin Sonntag 80e96bc49f fixing upgrade, telling about procmail to sieve 2013-02-08 11:14:42 +00:00
Alan Garcia 999612142f Ajoute le nl_NL 2013-02-08 10:53:13 +00:00
Alan Garcia b6fe519ace Oups, manquait un morceau pour gérer les domaines hyper long 2013-02-06 15:22:34 +00:00
Steven Mondji-Lerider 516f1082c0 sh builtin echo command doesn't understand -e option: replaced with /bin/echo 2013-01-30 17:32:58 +00:00
Alan Garcia 77bc119213 En fait, pas besoin de /etc/incron.allow 2013-01-29 07:08:32 +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
Alan Garcia 07d6b8d7a9 Gere les domaines jusqu'a 255 caractères (tld compris).
Indentation du CSS

Should fix #1428
2013-01-28 15:05:00 +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
Steven Mondji-Lerider daf7e5b71f Moving the upgrade processes before the database update since operations wanted to take place before the sql collumns and tables are actually up to date with the new version 2013-01-22 14:36:37 +00:00
Axel ROGER 90875a4cca alternc.install ne deployait pas le master.cf de postfix version alternc 2013-01-22 09:06:13 +00:00
Steven Mondji-Lerider 249f24658e Modifying mysql.sh add support of installation on a remote sql server 2013-01-09 15:18:27 +00:00
Antoine Beaupré 5ccb3558b9 cosmetic: reorder 2013-01-08 20:44:17 +00:00
Antoine Beaupré a8fe50ccff skip last steps of alternc.install on slaves
otherwise they explode in pain (for example by creating an admin user,
changing permissions on the NFS or trying to access the master
database with the wrong database schema in mind, all fun stuff)
2013-01-08 20:33:28 +00:00
Benjamin Sonntag d775f6f5e6 fixin MySQL script for MySQL 5.5 compatibility, Timestamps 2012-11-28 07:10:34 +00:00
Benjamin Sonntag 1dbd6cf68d fixing MySQL scripts to be compatible with MySQL 5.5 (see https://dev.mysql.com/doc/refman/5.0/en/create-table.html VERSUS https://dev.mysql.com/doc/refman/5.5/en/create-table.html : ENGINE = versus ENGINE|TYPE = 2012-11-28 07:07:17 +00:00
Steven Mondji-Lerider 449bd834a8 Avoiding a useless fork from sed 2012-11-09 13:43:34 +00:00
Steven Mondji-Lerider 4cab24857d Fix #1372 2012-11-09 13:21:55 +00:00
Alan Garcia 5787678d66 Droits sur bureau.log moins laxistes 2012-11-08 19:33:31 +00:00
Steven Mondji-Lerider c8e553840b Fix #1365 creating bureau.log 2012-11-08 16:13:18 +00:00
Alan Garcia ddae3d2e97 Correction dans mysql.sql 2012-10-31 12:45:14 +00:00
Benjamin Sonntag 84a730d3c1 fixing language display in menu 2012-10-31 11:42:32 +00:00
Axel ROGER 8ef3efbede I forgot to create unicity on table default_subdomaines. 2012-10-17 12:55:24 +00:00
Axel ROGER f7b4037649 Correction du bug qui créait des doublons pour la table default_subdomaines 2012-10-17 12:37:48 +00:00
Alan Garcia 1be16853e7 Pb avec les redir web installé par default
Eclaircissement sur comment doit être noté une redir web
2012-10-17 12:15:34 +00:00
Benjamin Sonntag 373157ebc8 sed script of alternc.install now have a fixed name + squirrelmail-install script is using the template system to handle /etc/squirrelmail/alternc-changepass.conf. 2012-10-16 13:50:44 +00:00
Alan Garcia de4ff858c2 Typo SQL et correction d'un champ texte 2012-10-16 11:58:36 +00:00
Alan Garcia 5c7653670d Newone.php applique les quotas de manière standart. 2012-10-16 09:30:58 +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 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
Steven Mondji-Lerider 65a321b6cc bugfixing postfix conf templates expension 2012-10-15 09:08:55 +00:00
Steven Mondji-Lerider 35cf90434e bugfix, forgot to remove a print_r 2012-10-11 11:58:12 +00:00
Steven Mondji-Lerider 4bbb484d00 updating sql migration script to handle the escaped wildcard 2012-10-11 10:55:11 +00:00
Steven Mondji-Lerider 77f4133722 updating sql migration script to handle the escaped wildcard 2012-10-11 10:52:37 +00:00
Steven Mondji-Lerider b62242e60f adding new configuration file in alternc.install for mailman integration. 2012-10-08 16:22:27 +00:00
Steven Mondji-Lerider 0189f5b095 adding a backup of the main database in alternc.install 2012-10-01 13:37:59 +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 5cf807eddb bugfixing 2012-09-26 12:22:10 +00:00
Steven Mondji-Lerider 9fb6c3a1c1 Modification to make the upgrade from 1.0 to 1.1 work 2012-09-26 09:41:41 +00:00
domi 4d8b159b41 ajout de quelques forbidden domains et de quelques gtld 2012-09-19 16:14:17 +00:00
Steven Mondji-Lerider 8d7c7690c8 Editing mistake 2012-09-04 08:35:05 +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
Alexis Lahouze 591ba86425 Added mail data migration. 2012-09-01 09:13:28 +00:00
Alan Garcia a3ea861b98 Les sous domaines créé automatiquement à l'ajout d'un domaine sont maintenant dynamique.
Il manque l'interface web pour gérer ça.

BUG : la création du répertoire ne se fait pas. Message d'erreur affiché en gros.
Trouvé un peut-etre bug dans le checkuserpath de function.php, ajouté un FIXME
2012-08-27 19:23:23 +00:00
Axel ROGER f2349194e6 Adding Apache2 to the reload services part 2012-08-27 12:36:47 +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
Alan Garcia 1faef827b6 Quotas en un seul hooks. Avec normalement du cache. 2012-08-26 16:11:53 +00:00
Benjamin Sonntag 1487b02a73 removing mailman table 2012-08-26 14:07:18 +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
Alexis Lahouze f0185462fe Fixed accents. 2012-08-25 11:11:53 +00:00
Alan Garcia d085129685 Les vues dovecot tiennent compte de address.enabled 2012-08-25 11:01:56 +00:00
Alexis Lahouze f433b0d984 Fixed comment. 2012-08-25 10:51:34 +00:00
Alexis Lahouze dbfcac73e9 Homogenized comments. 2012-08-25 10:36:47 +00:00
Alexis Lahouze 06a2eb679c Updated license header. 2012-08-25 10:29:18 +00:00
François Serman 6669a07434 Modified database for piwik: added an uniq index to user, and a piwik_sites table 2012-08-24 15:05:22 +00:00
Alan Garcia 85d4bc5723 enum au lieu de varchar 2012-08-24 14:52:24 +00:00
François Serman f1c6786989 Added one of two tables required for piwik feature for upgrade 2012-08-24 13:45:37 +00:00
Benjamin Sonntag 7b6a087b98 adding mail_action for mailbox deletion cron 2012-08-24 13:43:57 +00:00
François Serman f0d7e8d57c Added one of the two required tables for piwik feature 2012-08-24 13:41:07 +00:00
Benjamin Sonntag 5a6a7008b0 commit 1/3: new email class, + a few new fields in email model 2012-08-23 18:36:35 +00:00
Alan Garcia 96103487b9 Authorise tout le monde a lire /etc/mailname 2012-08-22 15:17:11 +00:00
Benjamin Sonntag 876d422778 removing dopo.sh call, and compiling .mo at packaging time. 2012-08-21 15:32:31 +00:00
Steven Mondji-Lerider 391bb4a50d Continuing on sql modification for consistency + Bugfixes 2012-08-14 09:44:43 +00:00
Steven Mondji-Lerider 5bf955c998 Commit de modification simplification de gestion du SQL 2012-08-10 17:18:34 +00:00
Steven Mondji-Lerider de0bff335b Bugfix oublie de ma part pour la création de la vue alias_view 2012-08-10 17:15:45 +00:00
Steven Mondji-Lerider 1886010400 Bugfixes gérération vue alias_view 2012-08-06 14:12:35 +00:00
Steven Mondji-Lerider b7314e97e8 Ajout d'une vue SQL alias_view pour gérer les alias de mail plus simplement 2012-08-06 09:22:13 +00:00
Steven Mondji-Lerider c07d7fbac4 Bugfixes gestions des droits 2012-06-26 08:08:49 +00:00
Steven Mondji-Lerider 383f1a291d Bugfixes pour la gestion des quotas diques 2012-06-12 17:14:16 +00:00
Steven Mondji-Lerider a465a09e49 Correction template pour postfix + bugfixes des classes de gestion des mails 2012-05-11 15:40:06 +00:00
Steven Mondji-Lerider 7c08903376 Ajout configuration squirrelmail + bugfixes pour postfix 2012-05-09 16:31:58 +00:00
Steven Mondji-Lerider b26cb694b9 Correction template dovecot + configuration d'installation 2012-05-04 08:57:23 +00:00
Steven Mondji-Lerider 4ed5bd918f bugfix+correction droits templatisation 2012-05-03 13:46:04 +00:00
Steven Mondji-Lerider 854719a110 full templating of postfix and dovecot + little bugfixes 2012-05-02 13:03:48 +00:00
Steven Mondji-Lerider 9bdae49cea Mise à jour pour la génération du paquet alternc, pour tout ce qui est mail.
Gros changement : comme discuté sur la ML, alternc.install n'est plus lancé automatiquement lors de l'installation, l'utilisateur doit le lancer manuellement
pour finir l'installation.

Changements significatifs :
 - l'installation génére et applique les template dovecot et postfix
 - un utilisateur MySQL dédié est maintenant créé pour postfix et dovecot (mail_user).
 - ajout d'un utilisateur systeme pour dovecot pour le mail delivery
2012-04-24 15:51:47 +00:00
Steven Mondji-Lerider f402a5fcc0 Dev in progress 2012-04-16 14:21:10 +00:00
Steven Mondji-Lerider 3417461db0 still bugfixing 2012-04-13 16:06:57 +00:00
Steven Mondji-Lerider f83cfb7493 Templating dovecot+Postifx + Bugfix 2012-04-13 09:57:28 +00:00
Steven Mondji-Lerider ae54c20591 Bugfix divers et varié 2012-04-12 14:06:47 +00:00
Alan Garcia ff6c9ff625 Commit "bourrin", beaucoup de choses.
- Nouvelle interface de mail, elle n'est pas terminée mais est bien avancée
 - Beaucoup de correction php (notice)
 - Premier jet de la gestion de tache planifiées (cron)
 - Ajout d'un mode de debug pour l'admin

Reste en ToDo :
 - pas mal de fixme dans le code
 - corriger le schema de base pour les mails (Squidly a tout ce qu'il faut, il faut qu'il le commit)
 - configuration Dovecot et Postfix a commiter (pareil, Squidly à tout, plukacommiter) 
 - suppression de mail
 - et beaucoup de debug...

Maintenant que le gros est commité, attendez-vous à beaucoup de petit commit.
2012-04-06 10:10:36 +00:00
Alexis Lahouze 3621480392 Merged changesets 3085, 3087, 3088, 3089, 3091, 3099, 3100, 3101, 3102, 3103 from branch stable 1.0 to trunk. 2011-10-18 19:09:44 +00:00
Alexis Lahouze 119c002cae Updated domaines table to add a technical id. 2011-06-19 10:12:59 +00:00
Benjamin Sonntag 8485d8e20d To be merge into trunk :
]  :  ]
3065:3070
3061:3063
3056:3059
3051:3055

From Stable-1.0
2011-06-17 10:32:21 +00:00
Alan Garcia 391ef496d0 Dovecot avance (un peu) 2011-06-15 21:58:26 +00:00
Alexis Lahouze f8ac16f0be Merge changeset 3048 from branch stable 1.0 to trunk. 2011-06-06 13:33:18 +00:00
Alexis Lahouze 60ab97c883 Merged changesets 2970, 2972, 2984, 2986, 2987 and 2988 from branch stable 1.0 to trunk. 2011-06-04 14:28:57 +00:00
Alan Garcia 2015f21029 Tchô courier 2011-06-04 14:19:10 +00:00
Alexis Lahouze a32762b444 Merged changesets 2976 and 2979 from branch stable 1.0 to trunk. 2011-06-04 09:39:15 +00:00
Alexis Lahouze ae04e40a50 Changed mail addresses model. 2011-06-04 09:33:04 +00:00
Alexis Lahouze d60b68b1ba Merge changeset 2973 from branch/stable-1.0 to trunk. 2011-06-04 08:59:12 +00:00
Alan Garcia d79a1a821d Je préfére mourir que de m'installer sur un truc sans ACL ! 2011-05-23 16:17:52 +00:00
Alan Garcia 19317ccbec Ca fait marcher mpm-itk mais ca casse la génération du .deb 2011-05-22 19:18:43 +00:00
Alan Garcia 0a0f5bc77a On continue mpm-itk 2011-05-22 17:23:59 +00:00
Alan Garcia 5b691210d0 ACL pour MPM-itk 2011-05-22 09:22:45 +00:00
Alan Garcia 86985b6a27 Regenerate apacheconf when upgrading 2011-05-18 07:10:46 +00:00
Alan Garcia 9c85bac55b My name is Diot, Idiot. 2011-05-17 14:33:35 +00:00
Alan Garcia db6b3b0d3a Debut des restrictions sur IP 2011-04-27 15:44:19 +00:00
Alan Garcia 45131668bf Premier jet refonte MX pour le "root" du domaine 2011-03-28 13:15:47 +00:00
Benjamin Sonntag 90c77142b4 - remember 'empty' value when the user answer empty value in templates
- changelog 
- MX is a DNS field, not an IP field !
- don't ask for mysql password if we already got it
- code cleanup  
- added "secondary MX DNS entry" domain type
2011-03-28 08:04:18 +00:00
Benjamin Sonntag 7ee9291e61 fixing apache module loading at install time 2011-03-28 06:38:24 +00:00
Benjamin Sonntag 3f67f06c06 terminologie pour les types de domaine : correction. Traduction ok pour les types par defaut ... 2011-03-27 13:21:09 +00:00
Benjamin Sonntag 0edb3c4e37 trying to fix #460 by launching update domaines set dns_action='update'; at alternc.install ends 2011-03-27 11:23:28 +00:00
Alan Garcia b09a6c1c4f Bug sur les entrées MX 2011-03-17 08:16:12 +00:00
Alexis Lahouze d43f7fdf9d Update postfix destination to add AlternC desktop FQDN when it's not present.\nCloses #1215 2011-03-13 14:37:37 +00:00
Alan Garcia dcff7e616c Des morceaux de Apache1 qui restaient 2011-03-07 08:31:46 +00:00
Alan Garcia 4e0f98b93e Vaguement :
- correction de qques identation (et surement rajout d'erreur)
 - supression de apache 1 (c'est plus maintenu, on va pas s'étaler)
 - suppression du mass vhosting
 - corrections de bugs divers et varié
2011-03-06 18:06:27 +00:00
Alan Garcia 9533121a53 Deux choses :
- premier jet de "on degage le mass virtual hosting"
 - modification des types de domaine pour avoir des domaines avancé
 - modification des types de domaines pour avoir des domaines visible "que" par les admins
2011-03-06 15:03:51 +00:00
Alan Garcia 33e70e138a Quand on change le FQDN, utile de recreer les liens symbolique 2011-03-04 13:05:55 +00:00
Alan Garcia d5783b5c57 Corrige un bug
Ajoute le "retour en arriere" lorsqu'on usurpe un compte utilisateur.
2011-03-04 12:29:37 +00:00
Alan Garcia b17ab07b99 Dans les script debian, faut du DASH ou du SH, pas du bash...
Toutefois, j'ai quand même rajouté la dependance bash a alternc (besoin pour update_domaines)

Normalement, maintenant ca s'installe sous squeeze.
2011-02-28 16:43:03 +00:00
Alan Garcia e155c6c531 Hop 2011-02-28 15:27:31 +00:00
Benjamin Sonntag 4fe2ea6ab2 fixing the mysql upgrade script 2011-02-09 09:09:14 +00:00
Benjamin Sonntag de17ba91db Script SQL initial CASSE, correction 2011-02-04 15:55:49 +00:00
Alan Garcia 1d28411a65 Infos de migrations massvirtual hosting => virtual hosting 2011-02-01 22:50:58 +00:00
Alan Garcia 77e83a6ad3 Ajout des hooks pour la gestion du mass virtual hosting 2011-02-01 22:44:18 +00:00
Alan Garcia b9d8daab9b Edition de sous-domaines 2011-02-01 13:06:40 +00:00
Alan Garcia cee931e448 MAJ de mysql.sql 2011-01-30 17:40:56 +00:00
Alan Garcia dacbd14cf9 Update domains, l'aventure continue 2011-01-29 17:58:19 +00:00
Alan Garcia 5e8125a697 Modification/suppression/activation/desactivation conf web OK 2011-01-29 15:46:33 +00:00
Alan Garcia 527c0f3f0e Conf web : CREATION ok 2011-01-29 15:12:26 +00:00
Alan Garcia 9b2b1b120a Draft de levée d'erreur DNS et Web 2011-01-28 17:44:17 +00:00
Alan Garcia bb83fe83e4 Nouvelle gestion des DNS, complétement repensée
Nouvelle génération des formulaires
Nouvelle gestions des HOST disponible (dynamique)
Nouveau update_domains.sh

ToDo : 
 - finir de tester/mettre au propre les DNS
 - intégrer la nouvelle gestion VHOST au reste

On y crois, on se bat !
2011-01-28 15:55:26 +00:00
Alan Garcia 0b5ee28489 Suite draft precedent 2011-01-26 17:24:34 +00:00
Alan Garcia 48ddeb9fbf Ok. Toujours le bug 1173, je pensais pas que Alternc voulait ça. Owned 2010-12-20 17:15:34 +00:00
Alan Garcia c37c069317 Typo stupide de Fufroma 2010-12-20 17:04:06 +00:00
Alan Garcia ff029755d5 Ferme le ticket #1173 2010-12-20 16:56:37 +00:00
Alan Garcia 4fd0c76dd2 Vieux bug : activation de mod_rewrite a l'installation 2010-12-20 16:50:08 +00:00
Alan Garcia 20d4b3fb52 Ajout de la notion de temporaire sur les mails
("May be broken" comme qui dirait, ya eu pas mal de patch entretemps
2010-12-20 15:04:19 +00:00
Camille Lafitte a55106e0e5 Le type des domaines passent en chaine de caracteres
* Permettre de nommer clairement les types independamment d'un ordre numerique non g\303\251rable depuis un plugin
2010-12-19 18:42:36 +00:00
Benjamin Sonntag 9fb4e1a884 changing initial mysql dump to fix IPv6 bug + create policy table + create subadmin_restriction variable 2010-11-18 09:18:21 +00:00
Alan Garcia 9f980cec02 Modification de la creation de la DB pour les install neuve pour le patch r2784 2010-11-17 19:33:57 +00:00
Alan Garcia 3343aa803a Ajout de la possibilité d'avoir des CNAME, TXT dans les DNS.
Possibilitée d'avoir plusieurs entrée sur le même sous-domaine.
ToDo : Merci aux experts Alternc de regarder si j'ai mit les modifications de base dans le bon fichier (install/upgrades/1.0.sql)
2010-11-16 17:11:06 +00:00
Benjamin Sonntag 7f8bbe9885 session depended on magic_quotes = on ... it seems like it was the last part of the code which depend on magic_quotes. Fixes compatibility with PHP5.3 and IPv6 clients 2010-08-04 14:35:28 +00:00
Camille Lafitte 6aa65b8408 Permettre la creation du compte admin
Dans certains cas php5 prend le nom de fonction pour une constante et se perd (b_b)
''' PHP Notice:  Use of undefined constant mysql_connect - assumed 'mysql_connect' in /usr/share/alternc/install/newone.php on line 33'''
2010-07-29 14:37:37 +00:00
Benjamin Sonntag 2da495aa25 on autorise un mail invalide pour la creation d'un membre avec force=1, permet de mettre le panel sur un domaine non qualifie. Closes #591 2010-06-24 00:23:08 +00:00
Benjamin Sonntag 20bf38d89f moving creation of /var/backups/alternc/etc-installed.tar.gz far below, to prevent improper apache/proftpd config file change afterwards 2010-06-03 10:32:12 +00:00
Benjamin Sonntag 51abae4051 removing old styles + integrating mailman lists size spooling 2010-06-03 08:55:26 +00:00
Benjamin Sonntag 44765c5dae adding the variable for subadmin restriction 2010-04-19 10:03:51 +00:00
Benjamin Sonntag 20a7bb01c4 reverting a badly made patch 2010-03-04 14:32:02 +00:00
Benjamin Sonntag 7d711eabcf alternc.install proftpd module tls management 2010-03-04 14:23:38 +00:00
Benjamin Sonntag 98c27aae57 adding changelog + CREATE TABLE for password policy management features 2009-11-30 06:11:27 +00:00
Nahuel Angelinetti 0f03969b8a Merging blue desktop to trunk. 2009-09-08 05:29:38 +00:00
Antoine Beaupré 165aa0052d do not overwrite named.conf
we still overwrite named.conf.options and that is where we do our
includes. that seems to be relatively acceptable upstream as they mark
only named.conf as a conffile.

See: #1025
2009-08-04 19:43:10 +00:00
Benjamin Sonntag 6b6cbf5b63 add ` everywhere on sql upgrades scripts 2009-04-22 18:50:55 +00:00
Nahuel Angelinetti 136ae243e8 make an upgrade script for 0.9.10 to fix an old mail redirect problem
Closes: #673
2009-02-18 18:01:34 +00:00
Nahuel Angelinetti 99d319dce5 Update of debian/control for Debian lenny(5.0) compatibility
Update of alternc.install to use force-reload, reload seems to no more be used
2009-02-17 21:20:23 +00:00
Antoine Beaupré daf93a81f2 fix usage instructions 2009-01-29 01:09:40 +00:00
Antoine Beaupré d09637d0ce send email on new account creation 2009-01-29 00:54:52 +00:00
Antoine Beaupré a7034d7779 add notes field to members 2009-01-29 00:40:49 +00:00
Antoine Beaupré d5a5a929a6 move sessions to a shared /var/alternc/sessions 2008-10-31 17:55:06 +00:00
Antoine Beaupré f47b431596 configure alternc-slave as a primary MX for the main server
this aims to resolve a lot of mail problems we are having on our deployment at Koumbit
2008-10-23 18:37:40 +00:00
Antoine Beaupré 2363fe5b47 fix apache restart sequence so they don't get restarted twice and only if necessary 2008-10-07 20:14:15 +00:00
Antoine Beaupré 7e8e9b1d6c put the listen directive in the apache2-ssl config 2008-10-07 18:39:44 +00:00
Antoine Beaupré b1a6bcf43e create a apache2-specific SSL configuration file 2008-10-07 18:34:02 +00:00
Antoine Beaupré c39d6991bf configure SSL properly, that is, only if a certificate is provided 2008-10-07 18:28:39 +00:00
Antoine Beaupré 72328a9f4b configure SSL on apache2 2008-10-07 18:00:06 +00:00
Antoine Beaupré 57b53fe31b disable the default site in apache2 since it obstructs our configuration 2008-10-07 17:23:09 +00:00
Antoine Beaupré 0184e3c641 move the apache config code into alternc.install
this makes sure that apache is properly restarted after install and factors code out of the two postinst files
2008-10-07 17:21:18 +00:00
Antoine Beaupré 4df0af8571 call mysql properly in upgrade_check so that upgrade scripts are called properly
Closes: #1078
2008-10-07 16:49:05 +00:00
Antoine Beaupré d7ad37bc9e restart the proper apache in locale regeneration script 2008-10-07 16:10:59 +00:00
Antoine Beaupré 3bcb5159f9 stop overwriting named.conf
starting this release, only named.conf.options will be replaced (as we
need to modify the options {} block and can't just add another one). We
still install a named.conf, a fresh version from Lenny this time, so
that we get a clean start.

Also get rid of the bind_internal parameter that is not really used or
recommended, as it allows for authoritative nameservers to also serve
recursive queries (which is bad practice).

See: #1025
Closes: #1104
2008-10-06 23:58:04 +00:00
Antoine Beaupré e6c66c2d8a remove 2GB quota limitation
Closes: #1129
2008-10-06 23:27:17 +00:00
Antoine Beaupré 9a79f43537 fix parameter expansion in postconf
See: #1029
2008-10-06 22:48:58 +00:00
Antoine Beaupré ca6dfe5d83 don't warn on main.cf configuration changes 2008-10-06 22:21:37 +00:00
Antoine Beaupré 704bc022ec explicitely backup main.cf configuration even though we don't replace
it totally

See: #1029
2008-10-06 22:20:48 +00:00
Antoine Beaupré 77ddb5002f do not override Postfix's main.cf: instead, we use a /etc/alternc/postfix.cf to hold our configuration changes and apply that on postinst.
Closes: #1029
2008-10-06 22:12:41 +00:00
Antoine Beaupré cdb3a1e281 remove alternc/mynetwork debconf parameter, stop overriding it in
postfix

also split the config prompts between slave and non-slave package

See: #1029
2008-10-06 21:13:11 +00:00
Antoine Beaupré 66da56d2df always run tar in C locale so that grep works properly 2008-10-04 18:54:03 +00:00
Antoine Beaupré 0de778c41c move basedirprot call to postinst also 2008-10-04 16:50:14 +00:00
Antoine Beaupré 270c7a6e37 move /var/alternc-specific commands from alternc.install to postinst 2008-10-04 16:48:30 +00:00
Antoine Beaupré 8f43b19340 security precaution: leave the my.cnf readable only to the webserver. we're protected by the openbasedir 2008-07-10 21:37:29 +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é 30057bba56 add a [mysql] block to our my.cnf that contains the database= settings
so that mysqldump and other utilities using this file don't get a
warning.

Note that we do not convert existing configuration so that
milestone:0.9.8 installs will have to be manually patched to remove
the warning on mysqldump.

See #1127 and ["Errata_0.9.8"].
2008-04-24 15:24:41 +00:00
Antoine Beaupré 115fe16dbf use the proper variable for database user replacement. Closes: #1124 2008-04-17 23:04:26 +00:00
Antoine Beaupré c92074b1e6 document that mysql.sh needs MYSQL_CLIENT 2008-04-15 15:07:14 +00:00
Antoine Beaupré 7cfa0db5ed fix mysql.cnf regexp for a last time, i hope 2008-04-14 03:22:10 +00:00
Antoine Beaupré becf621bb4 fix quoting again 2008-04-14 03:14:25 +00:00
Antoine Beaupré 21f2254a00 be more verbose in template expansion 2008-04-14 03:10:58 +00:00
Antoine Beaupré 6bedb59def last minute fix: fix template instantiation for mysql passwords 2008-04-14 03:01:13 +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é 73b7746f58 add missing configuration that wasn't ran properly when installing, since initrep.sh was removed from the installation at some point. remove initrep.sh altogether since it's not required anymore. Closes: #1109. 2008-04-10 19:30:59 +00:00
Antoine Beaupré 21935b9c57 attempt to fix bug #1109 by explicitely creating the sasl directory 2008-04-10 18:52:23 +00:00
Antoine Beaupré e8caebb01f add trivial code to display an RSS feed on the home page of users, feed can be changed in the variables panel 2008-02-01 23:03:53 +00:00
Antoine Beaupré 62cd8a201b fix typo 2007-12-12 22:16:17 +00:00
Antoine Beaupré a035c95f98 reverting part of [1994]: keep on calling apache restart properly 2007-10-05 15:46:24 +00:00
Pierre Gilles Mialon 75e2f1cba1 Another fix to allow alternc to consider the php5 in an apache2 environnement
AlternC isn't ready to be install in an apache2 only environnement 

- proftd depend on apache-ssl
- the link are built by the deb package and if /etc/apache(-ssl)/conf.d didn't exist the installation failed ...
2007-10-05 14:46:40 +00:00
Pierre Gilles Mialon 03038d18dd Suppress an usueless restart of apache in dopo.sh
This chek is althought apache 1.3 dependent.

Modify the check before enabling the modules for apache2. Now it show be possible to perform an aptitude install apache2 php5 alternc ... 

I hope :)
2007-10-05 14:31:05 +00:00
Antoine Beaupré 4381c97bdb use dpkg-statoverride instead of hardcoding config, because it will be replaced on saslauthd restarts. See: #1069. Closes: #684 2007-10-02 17:37:47 +00:00
Antoine Beaupré 217662a8a1 fix ownership of saslauthd directory. Closes: #1069 2007-10-02 17:34:09 +00:00
Benjamin Sonntag 251cb7db6d restart with stop/start instead of restart (...) apache AND apache2 (test) 2007-09-27 08:29:11 +00:00
Benjamin Sonntag df3b3b0769 ensure that php variable is correctly expanded 2007-09-27 08:18:50 +00:00
Antoine Beaupré 6d36e8722f fix php call. Closes: #1064 2007-09-11 21:55:55 +00:00
Antoine Beaupré 4be66099c0 try to rely on the actual .so presence instead of the package for libapache-mod-php* 2007-09-09 20:48:42 +00:00
Antoine Beaupré 06fe7d5e98 remove useless test -x for init.d services, invoke-rc.d takes care of that 2007-09-09 20:32:16 +00:00
Antoine Beaupré 233397e37a try to reload apache2 too, install symlinks for apache2 if available 2007-09-09 20:31:35 +00:00
Antoine Beaupré 1908e3bf27 fix stupid typo in regexp
See: #1062
2007-09-09 19:37:08 +00:00
Antoine Beaupré d6cbfcb1ce first attempt at making alternc apache2-compatible
revert to manual configuration of modules.conf since apache-modconf doesn't really work
move apache-ssl to recommends since it has no equivalent in the apache2 world
2007-09-09 19:17:45 +00:00
Antoine Beaupré a563a4fdc4 add missing functions include 2007-09-09 18:56:31 +00:00
Antoine Beaupré dc8c4de66b re-establish apache-modconf as means of enabling vhost_alias and php modules, don't talk to ucf
Closes: #1062
2007-09-07 19:38:02 +00:00
Antoine Beaupré 556cf1c5bb instead of assuming that SHOW TABLES; gives us GRANT privileges, simply try to GRANT with our multiple techniques
Fixes: #1060
2007-08-27 16:33:31 +00:00
Benjamin Sonntag f8fbb858a5 force the restart of apache & apache-ssl : Fixes #1000 2007-08-26 20:44:53 +00:00
Benjamin Sonntag 3695904d0d regenerating locale in another way 2007-08-26 19:34:17 +00:00
Benjamin Sonntag cefd4f7f25 regenerating locales if needed, so that languages works ... 2007-08-26 19:14:51 +00:00
Benjamin Sonntag 3064ac14ed we must restart services : apache and apache-ssl have to much modifications to be only reloaded ... 2007-08-26 19:05:22 +00:00
Benjamin Sonntag acf7ae05d3 debugging alternc.install apache modconf 2007-08-26 19:01:52 +00:00
Benjamin Sonntag 41f20a8dcc adding /usr/lib/cgi-bin as the auth folder for awstats.pl \! 2007-08-26 18:33:40 +00:00
Benjamin Sonntag 7e24dd2e59 debugging alternc.install apache modconf 2007-08-26 18:07:28 +00:00
Benjamin Sonntag 70e33d5231 debugging alternc.install apache modconf 2007-08-26 17:41:14 +00:00
Benjamin Sonntag 73e1c87b0a apache modules manual install 2007-08-23 17:14:17 +00:00
Benjamin Sonntag 65ce0863af suivi du conseil d'anarcat dans #1013 2007-08-23 08:25:45 +00:00
Benjamin Sonntag 5f59a52a6f Now we use MYSQL_HOST in mysql.sh. Should work with remote mysqld. Updates #1013 (to be tested though) 2007-08-23 08:24:15 +00:00
Benjamin Sonntag e05aece60e We configure postfix even when main.cf don't exist. Fixes #1009 2007-08-23 08:01:01 +00:00
Benjamin Sonntag e8299927e9 Fixing etch ftp configuration, Fixes #1046 2007-08-22 22:32:12 +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é 37b2219bbf create the size_* tables properly
Closes: 1057
2007-08-20 23:49:42 +00:00
Benjamin Sonntag b960b55851 enable apache module also 2007-05-31 20:40:16 +00:00
Benjamin Sonntag 051ce2dc61 it's override_php, not override.php ... 2007-05-31 17:15:04 +00:00
Benjamin Sonntag 2a93b7e227 Loading Apache vhost module thanks to apache-modconf, and not manually in /etc/alternc/apache.conf : The module is now loaded at the right place.
Fix the bug with apache aliases (/admin/sql, /webmail)
2007-05-11 08:12:43 +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é 9245031133 use reload instead of force-reload since the latter doesn't seem to
work with apache
2006-11-28 03:40:44 +00:00
Antoine Beaupré 4404569e2b My stab at #563: stop overwriting php.ini.
Most parameters different from the factory default are now set for the
whole /var/alternc, apart from those very notable exceptions, which
are not set by Alternc anymore:

 * precision = 12 ; The number of significant digits displayed in floating point numbers.
 * y2k_compliance = On ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
 * safe_mode_allowed_env_vars = PHP_,LANG,LC_
 * highlight.*
 * max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
 * log_errors_max_len = 1024 ; Do not log repeated messages. Repeated errors must occur in same file on same
 * ignore_repeated_errors = Off ; line until ignore_repeated_source is set true. * ignore_repeated_source = Off
 * report_memleaks = On
 * warn_plus_overloading = Off
 * register_globals = On ; enfin!
 * default_charset = "iso-8859-1" (see #381)
 * upload_max_filesize = 5M ; left to admin's discretion
 * default_socket_timeout = 60
 * mysql.*
 * pgsql.*
 * sybase.*
 * dbx.*
 * session.*
 * mssql.*
 * extension=mysql.so ; we assume the php-mysql packages does this properly

The cgi/ subdir was never really changed, afaict.
2006-11-27 23:52:50 +00:00
Antoine Beaupré 173e86a3c0 retirer httpd.conf de l'installation d'alternc, les symlinks devraient maintenant suffire. testing obligatoire. see #562 2006-07-08 09:22:58 +00:00
Nahuel Angelinetti 30587b8345 Corrections des quotas par default pour mysql_users
Closes: #670
2006-06-28 23:10:29 +00:00
Benjamin Sonntag d8da5e93ec new translations + secondarymx management 2006-05-22 09:03:51 +00:00
Benjamin Sonntag ae1af23a4b Ajout du script fixperms.sh qui permet de remettre à plat les permissions et proprietaires des fichiers. Ref #416 2006-05-16 18:20:14 +00:00
Benjamin Sonntag e1b905c76a changing mysql.sh for install/upgrade time so that it work with mysql5 debian version also (debian-sys-maint with limited rights) 2006-05-12 09:42:59 +00:00
Benjamin Sonntag 2969280afa on ne prends pas en compte les gid / uid / mode differs lors du diff des fichiers de conf 2006-05-04 09:03:31 +00:00
Rémi 2cc511a79e suivi des instructions disponibles ici :
http://alternc.org/marchives/dev/2005-November/001800.html
pour ajouter les éléments nécessaires au bon démarrage de saslauthd
2006-05-01 13:37:34 +00:00
Rémi c3b37f5ecb modif structure base initiale pour encryptage des mots de passe 2006-05-01 13:19:03 +00:00