From 2a23207af78aedea244543c8583f1f4f69ba30f1 Mon Sep 17 00:00:00 2001 From: kent1 Date: Wed, 16 Aug 2017 08:28:33 +0200 Subject: [PATCH 1/3] =?UTF-8?q?Une=20parenth=C3=A8se=20fermante=20manquant?= =?UTF-8?q?e=20dans=20la=20requ=C3=A8te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EmpĂȘchait la crĂ©ation du template roundcube-ssl fix #80 normalement --- ssl/alternc-ssl.install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/alternc-ssl.install.php b/ssl/alternc-ssl.install.php index cfb548e6..041eef80 100644 --- a/ssl/alternc-ssl.install.php +++ b/ssl/alternc-ssl.install.php @@ -38,7 +38,7 @@ if ($argv[1] == "before-reload") { $db->query("SELECT * FROM domaines_type WHERE name='roundcube';"); if ($db->next_record()) { $db->query("INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, enable, only_dns, need_dns, advanced ) VALUES - ('roundcube-ssl', 'HTTPS Roundcube Webmail', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'mx,mx2,defmx,defmx2,txt', 'ALL', 0, 0, 1;"); + ('roundcube-ssl', 'HTTPS Roundcube Webmail', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'mx,mx2,defmx,defmx2,txt', 'ALL', 0, 0, 1);"); } else { $db->query("DELETE FROM domaines_type WHERE name='roundcube-ssl';"); $db->query("UPDATE sub_domaines SET web_action='DELETE' WHERE type='roundcube-ssl';"); From 8bff706d94d5d05df4f7b86f1fabfabc763e90dc Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 21 Aug 2017 16:07:03 +0200 Subject: [PATCH 2/3] changing changelog to tell github bugs fixed --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 13e1f44b..4724e568 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ alternc (3.1.11) oldoldstable; urgency=low * enh adding X-Forwarded-Proto detection for SSL, not only HTTP_SSL from Apache * enh add a variable to enable IP check in the panel (broken), disabled by default * fix opendkim signing for mails submitted over the network + * fix a LOT of bugs from Github: #128 #69 #116 #123 #126 #134 #139 #156 #173 #138 + * fix more BUGS from Github: #178 #159 #155 #176 #161 #162 #164 #165 #166 #170 #175 #177 -- Benjamin Sonntag Wed, 7 Jun 2017 10:36:00 +0300 From 39947d4f1cc6157c623e3548443b04fb105b2281 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 6 Sep 2017 18:43:40 +0200 Subject: [PATCH 3/3] fixing the detection of conflicts in sub_domains --- bureau/class/m_dom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 5de82d43..1c01650a 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -1344,7 +1344,7 @@ class m_dom { $compatibility_lst = explode(",", $db->f('compatibility')); // Get the list of type of subdomains already here who have the same name - $db->query("select * from sub_domaines where sub= ? and domaine= ? and not id = ? and web_action != 'DELETE' and enabled not in ('DISABLED', 'DISABLE') ", array($sub, $dom, $sub_domain_id)); + $db->query("select * from sub_domaines where sub= ? and domaine= ? and not id = ? and web_action != 'DELETE' and enable not in ('DISABLED', 'DISABLE') ", array($sub, $dom, $sub_domain_id)); #$db->query("select * from sub_domaines where sub='$sub' and domaine='$dom';"); while ($db->next_record()) { // And if there is a domain with a incompatible type, return false