Commit Graph

458 Commits

Author SHA1 Message Date
Benjamin Sonntag 3487a95e2c fixing dovecot quotas, phpmyadmin special user, opendkim missing key at upgrade time 2014-09-29 17:37:13 +02:00
Benjamin Sonntag 204cb56326 mysql accept no argument BEFORE --defaults-file 2014-07-04 16:17:07 +02:00
Benjamin Sonntag fe6b632b74 fixing upgrade from 3.0 / 3.1 / 3.2 2014-07-04 16:04:17 +02:00
Benjamin Sonntag 0fa8aa8fc6 fixing for real the upgrade path 2014-07-04 13:17:57 +02:00
Benjamin Sonntag c298cd4aaf fixing bug when installing (bad upgrade check) 2014-07-04 12:37:37 +02:00
Alan Garcia eeebb91e57 Migre les zones lors du changement de repertoire pour les zones bind
(lors du passage en AlternC 3.1 Debian-compliant)
2014-03-28 15:42:13 +00:00
Benjamin Sonntag e578e4a230 fixing upgrade of AltrnC from 1 or 3.0 2014-03-28 15:06:59 +01:00
Benjamin Sonntag db9d270de7 fixing alternc-awstats upgrade SQL error + fixing error in upgrade check for mysql 2014-03-28 14:56:49 +01:00
Benjamin Sonntag 48cee467fc fixing color + not calling fixperm everytime :) 2014-03-28 14:53:34 +01:00
Benjamin Sonntag 63f2b577ba fixing SUDO + adding 'upgrade' in alternc.install for alternc-mailman + adding COLOR in alternc.install and postinst 2014-03-28 11:39:22 +01:00
Alan Garcia 1ad994af8d File de la mechant dash 2014-03-27 17:39:28 +00:00
Alan Garcia d80398252e Infame retour de dash 2014-03-27 17:36:11 +00:00
Benjamin Sonntag b6462b87c7 merging mysql.sql from alan 2014-03-27 17:56:37 +01:00
Benjamin Sonntag 8c91b78634 reinserting DOPO.SH behavior in alternc.install 2014-03-27 17:47:45 +01:00
Alan Garcia 8dbec8e243 Enleve les derniere declaration de var de mysql.sql et les range dans config. 2014-03-27 16:40:30 +00:00
Benjamin Sonntag 406674da85 fixing upgrade check 2014-03-27 17:13:36 +01:00
Benjamin Sonntag 28924c7215 fixing error during install (missing ip.conf) 2014-03-27 17:13:20 +01:00
Benjamin Sonntag 0934e6b08f fixing upgrade check 2014-03-27 17:08:20 +01:00
Benjamin Sonntag 5f51c55072 fixing upgrade check 2014-03-27 17:06:51 +01:00
Benjamin Sonntag 9489d4f77c Merge branch 'master' of alternc.org:alternc 2014-03-27 16:56:17 +01:00
Benjamin Sonntag 566980a5a3 Updating language files from Transifex 2014-03-27 16:43:36 +01:00
Alan Garcia 5bf6c6875c Et encore... 2014-03-26 18:45:44 +00:00
Alan Garcia d9e24d9703 On retente le #1576 2014-03-26 18:24:36 +00:00
Alan Garcia c6aabb8cef Restart opendkim au lieu de reload
Should fix #1567
2014-03-26 18:13:45 +00:00
Alan Garcia 832735209c Tentative pour #1576 2014-03-26 17:59:45 +00:00
Benjamin Sonntag 34899f05e6 fixing catchall badly migrated in 3.0.1 2014-03-26 17:47:00 +01:00
Alan Garcia 12a511f3eb Partial fix of #1577 2014-03-20 13:28:45 +00:00
alban 7aa7aa7907 [fix] Removes mysql.sql UNIQUE index : +1000 bytes error 2014-03-19 11:43:01 +01:00
Steven Mondji-Lerider 3807a3de31 Forgot to deploy mymail2mail.cf 2014-03-07 14:24:45 +00:00
Alan Garcia 83733160e5 Bugfix do_actions, happy monkey was here ! 2014-03-07 12:48:16 +00:00
Alan Garcia dc6a7e8450 Fix #1495 2014-03-03 08:51:12 +00:00
Alan Garcia 399d1fd427 Fix #1557 2014-02-28 14:35:40 +00:00
Steven Mondji-Lerider 2c5c290f22 Correcting upgrade script to manage catch all aliases correctly 2014-01-31 14:33:47 +00:00
Alan Garcia ee832a9386 On peux stocker et éditer des tableau dans la table des variables ! Et meme qu'on peut mettre un label ! Yepee ! 2014-01-31 13:50:15 +00:00
Alan Garcia f81924c72c Bonne table variable lors de l'install
Corrige un bug dans variable_get
2014-01-21 16:52:39 +00:00
Alan Garcia 2b8b5e0f67 Nouvelle version pour manipulation et utilisation des variables.
Interface de visualiastion OK

TODO: 
  * php -> interface de modification
  * sql -> finir migration (strata des truc presents)
  * sql -> faire installation
2014-01-21 12:57:18 +00:00
Alan Garcia dc1a2b697d Corrige les valeurs par default de compatibilite pour les types de domaine 2014-01-17 14:21:00 +00:00
Alan Garcia a5f1b500c4 Et si je faisait AVEC ma modif... 2013-11-06 09:41:56 +00:00
Alban Crommer 1a9d69b702 Corrige la vue alis_view pour des problemes de perfs 2013-11-06 09:28:06 +00:00
alban 907f021352 Oops 2013-10-18 14:17:53 +00:00
alban 763507aa65 On rebuild tout à la fin de alternc.install, pas en cours d'upgrade 2013-10-18 13:54:07 +00:00
Benjamin Sonntag bf7e3604bc removing -x 2013-10-18 13:47:22 +00:00
Benjamin Sonntag 013c6e739b [fix] language, again 2013-10-18 09:12:08 +00:00
Steven Mondji-Lerider e9c44fe621 Uniformizing sql action table and calls 2013-10-18 09:04:18 +00:00
Benjamin Sonntag 9e04ff4d81 fixing upgrade in 3.0.0~4 for /var/run 2013-10-18 08:01:34 +00:00
Alan Garcia 9c9ad3cc68 Fix pour la creation d'utilisateur 2013-10-17 09:07:56 +00:00
Alan Garcia b3061deb6d Au cas ou /var/run/alternc soit manquant (normalement créé au boot) 2013-10-17 08:42:11 +00:00
Alan Garcia 5c2275f035 Gros sed pour dégager les unbreakable space 2013-09-25 09:50:53 +00:00
Alan Garcia 03692e4a16 Fix incron launch 2013-09-12 12:20:58 +00:00
Alan Garcia 2902601157 Fix #1066
Permet de locker tout les jobs
2013-09-12 09:28:31 +00:00
Alan Garcia 7110788a98 Ajout d'une ligne explicative 2013-09-12 08:53:16 +00:00
Steven Mondji-Lerider 217c69c25f little default acl fix in altern.install 2013-09-03 08:30:50 +00:00
Steven Mondji-Lerider d7e6e8cbe5 Modified acl setting. NEEDS TESTING 2013-08-22 14:18:17 +00:00
Benjamin Sonntag e2152c2634 adding opendkim support, to be tested 2013-08-22 07:29:25 +00:00
Steven Mondji-Lerider 60b2fd2ac3 Bugfixing html folder permission upon installation 2013-08-12 12:47:31 +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 e48bed562e fixes #1498 2013-07-31 11:40:30 +00:00
Nahuel Angelinetti 7034a45f61 Ajout des alter tables de la table sub_domaines
Il manque la colonne id, nécessaire à update_domaines et autres.
2013-07-24 14:49:23 +00:00
domi 1a7ffdfcce ajout d'un champ zonettl sur les domaines 2013-07-03 12:13:08 +00:00
Benjamin Sonntag 628845dc26 fixing dovecot SSL in Squeeze 2013-06-14 14:41:27 +00:00
Alan Garcia 364a97265a Fix #1500 2013-06-13 12:10:58 +00:00
Steven Mondji-Lerider 048a1948de Reverting alternc.install to squeeze 2013-06-13 10:56:24 +00:00
Alan Garcia 308452585a Il manquait le champ ENABLED dans la table ftpuser à l'installation 2013-06-11 15:50:47 +00:00
Benjamin Sonntag 9f75b07373 adding dopo to alternc.install to compile MO files 2013-05-29 15:05:41 +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
Benjamin Sonntag b6991be784 pushing fixes for ACL / QUOTA in postinst + Postfix unused directives + fixing DBSERVER initialisation innewone 2013-05-27 13:45:59 +00:00
Alan Garcia 76e23d1aef La table action est la bienvenue dans les upgrades 2013-05-17 16:05:39 +00:00
Steven Mondji-Lerider 60ec88174e Implementing fixfile for action class 2013-05-14 08:24:17 +00:00
Steven Mondji-Lerider 659deeedd4 Bugfixing alias_view on upgrades ( cf Ticket #1489 ) 2013-05-02 08:12:24 +00:00
Steven Mondji-Lerider e4436b6f49 In alternc 3.1 the mail [a..z] folders are created in alternc.install ( so we need to set their perms there ) 2013-04-24 14:34:54 +00:00
Steven Mondji-Lerider 85c97da157 Adding reseting job + getting current job +perms fixing to action class possibilities 2013-04-23 16:08:56 +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
Camille Lafitte f5a7741649 Ne pas associer tous les membres au mail alterncpanel, seul l'admin suffit
* Fixes #1489
À noter la solution retenue est celle de cibler spéciquement le compte admin d'uid 2000, ainsi on évite de prendre en compte des membres qui aurait été créé directement en base ou bien via un plugin
2013-04-22 16:33:06 +00:00
François Serman 189bb53170 modified mysql scheme for vm_history 2013-04-21 15:02:08 +00:00
François Serman db6bf24171 added table for VM requests 2013-04-21 09:27:59 +00:00
Steven Mondji-Lerider cde57cbc86 adding action table to mysql.sql 2013-04-19 15:39:24 +00:00
Antoine Beaupré 5242542e35 skip yet another step in slave mode 2013-04-02 20:43:38 +00:00
Antoine Beaupré 7ee6c29403 make slaves work again: add missing depends, detect version properly and add missing group 2013-04-02 20:34:02 +00:00
Steven Mondji-Lerider ad5ee05b8b dding an alias for alterncpanel mails to the admin account mail address fix: 1471 2013-03-29 13:02:24 +00:00
Steven Mondji-Lerider 1f9b9c6276 Updating alternc.install to check the ssl cert file 2013-03-08 11:26:04 +00:00
Steven Mondji-Lerider 0783ee2c72 Bugfixing update_check.sh to make sur the version number is well formed. closes #1470 2013-03-06 09:23:09 +00:00
Alan Garcia cb45b20034 Plus besoin de déployer les templates de bind dans /etc/bind depuis la 1.0 2013-03-05 13:49:20 +00:00
Alan Garcia c4f5b70cc7 Manquait un morceau de ménage sur le fichier de tests des ACLs 2013-03-03 11:57:57 +00:00
Alan Garcia a981feac88 A merger avec stable 3.0 pour les fichiers 1.0.1.php et 3.0.1.php
Quand on upgrade directement en 3.1, le panel change de répertoire, il faut pouvoir gérer les deux.
2013-03-03 11:51:23 +00:00
Alan Garcia 52cda8789e SSO avec PhpMyAdmin sans cookie, avec le SSO officiel
PhpMyAdmin sait gérer X serveurs MySQL

Le SSO depuis le panel permet de se loguer sur le bon serveur de l'utilisateur

Tentative de login sur le serveur SSO renvoie sur le meme form, mais avec le serveur suivant
2013-03-01 10:31:23 +00:00
Steven Mondji-Lerider 11bb8920aa Updating with new panel path 2013-03-01 08:46:13 +00:00
Alan Garcia 89920d549f Permet d'activer/désactiver un compte FTP
Fix #1421
2013-03-01 07:52:50 +00:00
Alan Garcia ca5fbbf501 Partial fix of #1466
A merger avec branche stable 3.0
2013-02-27 08:18:32 +00:00
Steven Mondji-Lerider 47dfb1ba01 a mistake in one of the parameters 2013-02-26 17:03:42 +00:00
Steven Mondji-Lerider bd7f49b380 adding the new db_server parameter when creating admin user 2013-02-26 16:55:37 +00:00
Steven Mondji-Lerider ed5886cb1e bugfixing : Populating the db_servers table while dbusers table is empty did not work. 2013-02-26 11:11:11 +00:00
Steven Mondji-Lerider 80c5b3fdb1 chowning aquota.group file is not possible or allowed 2013-02-25 15:56:40 +00:00
Alan Garcia 4a7144e257 Oups, manquait la déclaration des db_servers lors d'une install 2013-02-25 15:15:37 +00:00
Steven Mondji-Lerider 4cb08b34d7 boulet time 2013-02-25 09:13:18 +00:00
Steven Mondji-Lerider 70bf73c154 Applying changeset r4112 to trunk + adding a second script for adding phpmyadmin user for the upgrades that failed to add it. 2013-02-25 08:59:48 +00:00
Alan Garcia 770ccb5fb6 On peut maintenant avoir plusieurs serveurs MySQL pour les utilisateurs sur le même AlternC 2013-02-21 08:05:38 +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 4c78bd8126 The envvars template was not installed in the right place 2013-02-20 09:36:39 +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
Steven Mondji-Lerider 42307ffc2b Fixing permissions of update_domains.log 2013-02-19 08:56:47 +00:00
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