Commit Graph

425 Commits

Author SHA1 Message Date
cam.lafit ecfa105982 Provide a snakeoil certificate
* By default AlternC will use a snakeoil certificate
* Is set as default as 0 id to failback when no certificate provider can
set a certificate
2018-06-23 11:00:53 +02:00
Benjamin Sonntag 6007a3dea2 adding provider to certificates + fixing cert search function 2018-06-22 22:49:43 +02:00
azerttyu 29c200da8e [enh] Provide an insertion date
* When a certificate is added , we store his creation date
2018-06-22 18:37:08 +02:00
Benjamin Sonntag 5079aa2e03 [enh] change the name of some variables 2018-06-22 17:37:04 +02:00
azerttyu 2ca592aa8a [enh] Migrate https status on each sub domains
* Rename type vhost
* Clean duplicate vhost
* Apply certificate id on each sub domain
2018-06-22 17:35:51 +02:00
Benjamin Sonntag 09bb693480 [enh] adding HTTP/HTTPS/BOTH UI in the subdomain editor. 2018-06-22 16:31:23 +02:00
Benjamin Sonntag 7ec1d068c8 [enh] ssl start of implementation 2018-06-22 11:24:03 +02: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 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
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