Commit Graph

483 Commits

Author SHA1 Message Date
alban 7a69abd660 [fix] alternc.install should have a --no-fixperms option + help + usage 2018-06-22 15:04:21 +02:00
Benjamin Sonntag 7ec1d068c8 [enh] ssl start of implementation 2018-06-22 11:24:03 +02:00
Kienan Stewart c83d986c34 Merge branch 'master' into pu 2018-06-21 14:57:20 -04:00
Kienan Stewart ab32ff9497 Merge branch 'stable-3.1' into pu 2018-06-21 14:16:23 -04:00
Benjamin Sonntag 976296c833 removing temporary diffs from squeeze 2018-06-21 18:17:29 +02:00
Benjamin Sonntag f48618d0e5 Merge remote-tracking branch 'origin/pr-235'
Fix #227: Use stronger password hashes #235
2018-06-21 17:44:53 +02:00
Benjamin Sonntag c88db87db3 Merge branch 'stable-3.1' 2018-06-21 17:36:34 +02:00
Benjamin Sonntag f930bde36d adding all patched from squeeze to wheezy then jessie. 2018-06-21 17:29:42 +02:00
cam.lafit c8d94d2a50 SSL massive backport
* Now we integrate all alternc-feature in native alternc
* Files are backported as waiting by alternc
* Some files was renammed or moved to follow alternc installation
process
2018-06-21 17:26:27 +02:00
Kienan Stewart cc184aa148 Merge branch '233-opendkim_broken_following_installation' into pu 2018-06-14 15:00:22 -04:00
Kienan Stewart d7836e3928 Fix sed invocation to it runs in-place 2018-06-14 15:00:09 -04:00
Kienan Stewart a4dcedeb5d Merge branch '233-opendkim_broken_following_installation' into pu 2018-06-14 14:14:44 -04:00
Kienan Stewart e040c3ad6a Generate opendkim configuration in stretch when alternc.install is run
The default configuration in stretch doesn't work very well and
needs a couple of tweaks. This will generate the service files and
make sure opendkim is run as the opendkim user instead of root.

The alternc opendkim.conf template is updated so that the connection
can be made locally through a socket.
2018-06-14 14:12:14 -04:00
Kienan Stewart 3f94e81e44 Merge branch '247_escape-mysql-passwords-at-install' into pu 2018-06-14 13:26:57 -04:00
Kienan Stewart 5a4f924088 Properly escape passwords in template sed script
Previous changes were made to the wrong place
2018-06-14 13:25:57 -04:00
Kienan Stewart e9da389e85 Merge branch '247_escape-mysql-passwords-at-install' into pu 2018-06-13 18:04:25 -04:00
Kienan Stewart 1b08ae2638 use string templating instead of sed for creating/updating mysql configuration during install 2018-06-13 18:02:10 -04:00
Kienan Stewart eca8d7ccdf Escape mysql passwords in alternc install 2018-06-13 18:01:43 -04:00
Kienan Stewart 88f3457191 Use sha512 crypt to store ftp password hashes 2018-04-16 22:46:05 -04:00
Kienan Stewart bbb3e7c0e3 Lengthen member's pass column to 255 characters 2018-04-15 18:25:58 -04:00
Kienan Stewart ebb3471f04 Apply patches for jessie 2018-04-15 11:29:27 -04:00
Kienan Stewart 3ae6c0a5c2 Apply patches for wheezy 2018-04-15 11:26:58 -04:00
Benjamin Sonntag 6d804d1a95 [fix] fixing lastlogin default value for mariadb (which is more strict...) 2018-02-23 16:12:59 +01:00
Benjamin Sonntag f5cb7ad3a6 adding DEFAULT for lastlogin, crashes on MariaDB 2017-12-12 19:50:48 +01:00
azerttyu 53c516a59d [fx] Update dbserver default following my.cnf value
In some case alternc/my.cnf can divege with values stored db_server.

my.cnf is authorative then we update db_server data in any case
2017-10-08 14:46:11 +02:00
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