Commit Graph

433 Commits

Author SHA1 Message Date
Kienan Stewart 9f6d2a6173 Merge branch 'master' into pu 2018-06-22 13:20:38 -04:00
alban 7a69abd660 [fix] alternc.install should have a --no-fixperms option + help + usage 2018-06-22 15:04:21 +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