Commit Graph

162 Commits

Author SHA1 Message Date
Camille Lafitte 432f32d98a Fix about #337
* sql update was missing during backport action
* close #337
2023-11-02 18:48:35 +01:00
Nina f56809fd8a Append changes instead of overriding
close #428
2023-09-28 09:16:41 +02:00
Nina 7e05910237 Adding compatibility between url domain type and MX records
Fix indentation
cf #428
2023-09-28 09:15:52 +02:00
Kienan Stewart 20db4fceba Do not re-create sub_domaines unique key compte
New installations haven't had this unique key since 2014
(d9e24d9703) and only old
installations passing through 3.1.0~a would have had it
added.

Given that the unique key constraint was never dropped during
an AlternC upgrade, I think it should just be dropped here.

Re-creating is problematic when merged with other recent changes
because the length of both the key and column size are longer
than what MySQL/MariaDB support.
2023-09-28 09:04:31 +02:00
Kienan Stewart 8cabbc7e50 Fix SQL syntax error in 3.5.0.2.sql upgrade
Refs #435
2023-09-28 09:01:02 +02:00
Guillaume Est Une Palourde fc8ce3d487 Made it possible to update a subdomain from vhost https to vhost http 2023-09-27 18:09:37 +02:00
Kienan Stewart 4e4a2bd5bc Disable vhost SSL overload types for use in the interface, and set has_https_option for vhost 2023-08-21 13:21:35 +02:00
Benjamin Sonntag e06e2b3abd dkim domaine type is taking TXT as paramter 2018-07-17 18:21:25 +02:00
Benjamin Sonntag 7445439654 [enh] proper name for autodiscover + fix global in m_dom 2018-07-17 15:50:29 +02:00
Benjamin Sonntag f50f453707 [fix] missing global + proper shebang on upgrade script 2018-07-17 15:10:08 +02:00
Benjamin Sonntag 9b7332f354 [enh] adding DKIM and AUTODISCOVER management in SUB_DOMAINES, finishing BIND update_domains.php 2018-07-08 22:03:27 +02:00
Benjamin Sonntag 2ad744ecc7 [fix] replacing /var/run by /run everywhere we can (not everywhere: postfix chroot or old compatibility is maintained 2018-07-04 17:42:42 +02:00
Benjamin Sonntag a1ed5a4ad6 [fix] 3.4.10 and 3.4.11 where NOT executed during upgrades (sort -n :/ ) so we migrate those sql updates to 3.5.0.1.sql 2018-07-04 17:17:22 +02:00
Benjamin Sonntag 2695db49a2 [enh] preparing for the future : let's allow us to add \n into DNS entries, preparing for ... IPv6 \o/ 2018-06-25 16:48:12 +02:00
Benjamin Sonntag 7945034004 [fix] name of variable + fix of upgrade script 2018-06-24 19:05:59 +02:00
Benjamin Sonntag a4c488ae70 [enh] debian compliance work, almost no warning in lintian 2018-06-24 17:18:01 +02:00
Benjamin Sonntag bb3bd0b14c [enh] ssl : reload-certs for sysadmin + misc ssl fixes (including set_variables) 2018-06-24 17:04:55 +02:00
Benjamin Sonntag 5f72126420 [fix] ftp human name error 2018-06-24 16:50:52 +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 7ec1d068c8 [enh] ssl start of implementation 2018-06-22 11:24:03 +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 f5cb7ad3a6 adding DEFAULT for lastlogin, crashes on MariaDB 2017-12-12 19:50:48 +01: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 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
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 1c08a3e5a0 Changing MySQL / MariaDB engine to InnoDB, Fixes #121 2017-06-17 21:27:12 +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 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 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
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
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 f5b309aaca adding permanent fix for custom zones 2015-04-29 10:45:49 +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 6043b37151 fixing UPDATE_DOMAINES doing NOTHING because mailname_bounce 2014-10-02 14:26:23 +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