Commit Graph

458 Commits

Author SHA1 Message Date
Benjamin Sonntag dfb0329241 [fix] remove dl() and mysql_connect() check, since we now use PDO 2017-10-08 13:46:49 +02:00
Benjamin Sonntag 474bdbd4ae [fix] fixing mysql.sql for Stretch (compatible with previous version) 2017-10-08 13:43:57 +02:00
alban a92331b34e [fix] the alternc_user mysql user show be granted ALL on dovecot_quota 2017-10-08 11:40:58 +02:00
Benjamin Sonntag 945d9c14f8 Merge branch 'stable-3.1' of github.com:AlternC/AlternC into stable-3.1 2017-10-08 10:58:10 +02:00
Benjamin Sonntag 5e697346a2 [fix] fixing primary key issue on csrf 2017-10-08 10:57:50 +02:00
azerttyu 13c761f082 We must check a file not a directory
complete 3f9d2c2729
2017-10-08 10:47:44 +02:00
Benjamin Sonntag 594db5d8b5 [fix] fixing sql script 2017-10-08 10:37:11 +02:00
Benjamin Sonntag 590faa4708 [fix] permission not working, missing CHMOD in enum of actions 2017-10-07 19:02:22 +02:00
azerttyu 46635251ef Solve #139 : Allow standard phpmyadin connection on alternc-sql path
* Panel is run as alterncpanel and phpmyadmin configuration must be
readable by this user
2017-10-07 15:46:24 +02:00
Benjamin Sonntag 835cc00836 adding the removal of domain_type WEBMAIL in default_subdomain for upgrade 2017-10-07 15:15:36 +02:00
Benjamin Sonntag 7d6071197a [fix] fixing 3.4.8 sql script to remove ROUNDCUBE as a default 2017-10-06 16:32:01 +02:00
Benjamin Sonntag 21511e5385 Merging 'feature-message' into main stable branch. Thanks Quenenni ! 2017-10-06 16:02:25 +02:00
Benjamin Sonntag 9d23336e0c [fix] adding csrf table at INSTALL time, not only at UPGRADE time 2017-10-06 16:00:34 +02:00
quenenni 756993878b informations d'installation et mise à jour 2017-08-17 04:26:29 +02:00
Benjamin Sonntag 37c99da74c telling the user it can top fixperm while launching alternc.install, fixes #123 2017-08-14 10:58:50 +02:00
Benjamin Sonntag aaa5a68388 adding missing COMMITS in alternc.install between Jessie and Wheezy, fixes #161 2017-08-12 17:03:03 +02:00
Benjamin Sonntag a320c061fe replacing old url by new one with SSL-fr/en documentation, Fixes #142 2017-06-18 00:15:11 +02:00
Benjamin Sonntag 1c08a3e5a0 Changing MySQL / MariaDB engine to InnoDB, Fixes #121 2017-06-17 21:27:12 +02:00
Benjamin Sonntag fcf14400da emptying body_checks and header_checks => now considered harmful to email delivery 2017-06-07 14:24:33 +02:00
Benjamin Sonntag 6745f82bf6 [fix] Fixes #38 we don't ADD to a .sql in upgrades/ we create a new one for each new release 2016-08-27 14:42:29 +02:00
Benjamin Sonntag 5bae6babfb [FIX] proper links for alternc.ini and php. Fixes #49 2016-08-26 16:33:13 +02:00
Benjamin Sonntag ecbee5c127 [fix] switching every AlternC's tables to InnoDB. Fixes #96 2016-08-09 17:16:30 +02:00
Benjamin Sonntag 6043e9c3d7 [wip] securing *all* forms through CSRF management (requires a new table) 2016-05-20 14:21:47 +02:00
Benjamin Sonntag d9bdfaf1ac [wip] adding csrf form management, to be added everywhere 2016-05-19 17:04:49 +02:00
Benjamin Sonntag bb7d78a48b fixing rules + removing chown to alterncpanel 2016-05-18 14:56:35 +02:00
Benjamin Sonntag d79f83502b [security] fix of most ownership/accessmode issues, fixes possible root escalation 2016-05-17 15:51:33 +02:00
Benjamin Sonntag dd468785e5 adding TLD cc + co 2016-02-24 16:15:00 +01:00
Remi 604592eedd bug fixes in ACL, wildcard on vhost, and some sql bug 2016-02-22 15:52:55 +01:00
Dominique Rousseau b379d2cb34 ajout d'un alter table pour eviter les doublons dans default_subdomains - pas teste, pas sur que ca casse pas un truc - ( refs #1662 ) 2016-01-19 16:14:58 +01:00
Dominique Rousseau 7c0e7c953c fix de la creation de la table default_subdomains ( fixes #1662 ) 2016-01-19 16:14:03 +01:00
Benjamin Sonntag a5c71e4bfb adding Changelog + fixing schema by adding IF NOT EXISTS for table VARIABLE 2015-11-16 09:15:13 +01:00
Benjamin Sonntag 12a3650678 trying a better way of injecting schema file: mysql.sql can now be executed when we want, and YES, mysql.sh, launched at POSTINST, WILL CHANGE alternc_mail mysql user password 2015-11-16 08:50:38 +01:00
Benjamin Sonntag 3f8550802a trying a different install script for mysql.sh : skipping if already installed 2015-11-12 13:43:02 +01:00
Benjamin Sonntag 967aeeeb4f crating /etc/opendkim/TrustedHosts BEFORE searching in it 2015-11-05 18:08:30 +01:00
Benjamin Sonntag c0d656774e fixing #8: alternc.install -- add just a '/' 2015-09-25 17:53:55 +02:00
Benjamin Sonntag b71619c6f5 fixing some missing GLOBAL + issue with variables_set 2015-09-02 11:30:40 +02:00
Benjamin Sonntag b0b0fa408e adding experimental DMARC (relax) and SPF (relax) default support 2015-06-17 19:56:51 +02:00
Benjamin Sonntag f135d17e20 adding CHMOD to actions + fixing Permission bits not properly set 2015-06-16 15:35:14 +02:00
Benjamin Sonntag a406154fb7 CNAME doesn't allow *anything* else 2015-06-16 14:23:37 +02:00
Benjamin Sonntag 2062b1907e [fix] bug in mysql.sql => forgot one comma , to remove 2015-04-29 14:51:53 +02:00
Benjamin Sonntag 1fb006b41a fixing FTP/duplicated variable bug, thanks to jon_d 2015-04-29 14:25:03 +02:00
Benjamin Sonntag f5b309aaca adding permanent fix for custom zones 2015-04-29 10:45:49 +02:00
Benjamin Sonntag af687a61d8 adding permanent fix for custom zones 2015-04-29 10:45:40 +02:00
Benjamin Sonntag 615cadaa07 removing phpmyadmin apache conf 2015-04-20 20:38:58 +02:00
Benjamin Sonntag d82f87a366 ensure that values in sub_domaines are prefixed by / for hosting subdomains 2015-02-18 18:29:29 +01:00
Benjamin Sonntag ab0c1e6a51 [fix] touching opendkim files in alternc.instal to prevent failure at install time 2014-11-27 16:47:16 +01:00
Benjamin Sonntag 2014abb1e5 [ROLLBACK] rolling back the old way of working on variables. new using 'strata' is undocumented and not working 2014-11-27 15:30:49 +01:00
Benjamin Sonntag 6043b37151 fixing UPDATE_DOMAINES doing NOTHING because mailname_bounce 2014-10-02 14:26:23 +02:00
Benjamin Sonntag c1ee7928aa no need to fix unhosted dns at install time 2014-10-02 12:08:06 +02:00
Benjamin Sonntag dc367d62c9 adding a rollback of 3.3.0~a.sql in 3.4.0.sh, mainly on variable issues 2014-09-29 17:59:13 +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
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