Commit Graph

1652 Commits

Author SHA1 Message Date
Kienan Stewart 81d3105d2b
Merge branch 'master' into pu 2019-03-15 16:55:44 -04:00
Kienan Stewart 7dbe4b337c
Merge branch '341-order_enum_domain_mails' 2019-03-15 15:47:27 -04:00
Kienan Stewart 2a07927acc
Order enumerated mails for a domain by ascending alphabetic order
Fixes #341

When applying LIMIT X, Y the ordering before the limit and offset do
not seem to be guaranteed. For example, if you have a large number of
e-mail addresses, and you page between the same e-mail address can appear twice.

The case where this was happening there were 2-3 mail boxes and ~90 aliases.

I'm not sure if this tied somehow to the database version used, but making the
desired ordering explicit ensures that all mails will eventually be shown and
shouldn't be shown twice.
2019-03-15 15:44:36 -04:00
Kienan Stewart 3b46081292
Add password reset via one-time login link
Closes #102
2018-11-14 19:05:32 -05:00
Benjamin Sonntag 03e1786159 [fix] fix dmarc and spf not working 2018-10-25 17:33:21 +02:00
Benjamin Sonntag 5fb091660e [fix] error with dom lock in m_dom 2018-10-25 15:55:39 +02:00
Benjamin Sonntag 27f907ee99 [fix] (for 3.5) delete ALSO autoconf / autodiscover in cascade when del_mx_domain 2018-10-23 19:27:54 +02:00
Benjamin Sonntag ad6bb372ea [fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain 2018-10-23 19:23:14 +02:00
Benjamin Sonntag b50f028e0e [fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain 2018-10-23 19:21:22 +02:00
Benjamin Sonntag ca0ed3dd40 [fix] (for 3.5) fixing longstanding bug when we didn't deleted (or deleted too many) vhosts files in /var/lib/alternc/apache-vhost/. 2018-10-23 19:02:15 +02:00
alban ad17a8715b [fix] Translations : fix translations 2018-10-23 16:37:51 +02:00
alban abcc48b77d [fix] Translations : remove some fuzzy translations and fix #298 2018-10-23 16:35:04 +02:00
Kienan Stewart ad201fd4f2 Fix syntax error in bro_editor 2018-10-22 17:14:48 +02:00
Benjamin Sonntag da7b178743 Merge branch 'master' of github.com:AlternC/AlternC 2018-10-22 17:00:45 +02:00
Benjamin Sonntag e67d628e41 [fix] integration of PR-290 : Fix unit test errors 2018-10-22 17:00:38 +02:00
Kienan Stewart 8af6b0d1f6 Fix condition check for replacing the chainfile statement in vhost templates 2018-10-22 16:54:31 +02:00
Benjamin Sonntag b4aa7c3957 [fix] m_bind.php fixing reconfig instead of reload 2018-10-16 23:08:54 +02:00
Benjamin Sonntag 13564a9d73 [fix] m_lxc didn't work on new instead of ... 2018-10-16 23:04:46 +02:00
Kienan Stewart eb4b7242a4 Merge branch '292-sslcertificatechainfile_always_empty' into pu 2018-07-31 15:44:03 -04:00
Kienan Stewart 320cc8c5c5 Fix condition check for replacing the chainfile statement in vhost templates 2018-07-31 15:41:10 -04:00
Kienan Stewart 33008790a2 Merge branch '287-php_zone_regeneration_behaviour' into pu 2018-07-27 14:08:09 -04:00
Kienan Stewart e24d17288b Reload the zone after running the reload.d hooks for dns_reload_zone
This matches the existing behaviour of dns_regenerate in
functions_dns.sh, where dns_reload_zone is called before bind9 reload
is invoked for the domain.

A future improvement would be to add a new hook for modifying zone
files in save_zone() instead of doing it in a script in reload.d
2018-07-27 13:22:12 -04:00
Kienan Stewart d6d25e9ec6 Fix script invocation when scanning a directory
Since the directory was not preprended to the filenames, no scripts
could ever be called.
2018-07-27 13:09:33 -04:00
Benjamin Sonntag e118f31397 [fix] opendkim add and del are now idempotent 2018-07-18 11:02:50 +02:00
Benjamin Sonntag 0b0f08c739 removing unused code from m_dom, adding translation request for new domaines types 2018-07-17 18:47:49 +02:00
Benjamin Sonntag e09006b69e [fix] fix bad http/https/both switcher 2018-07-17 18:29:57 +02:00
Benjamin Sonntag 230d3ffdd8 [fix] missing global in apache conf 2018-07-17 18:25:14 +02:00
Benjamin Sonntag 5aeeac1c31 [fix] cancel button not canceling :/ 2018-07-17 18:20:06 +02:00
Benjamin Sonntag 1182cada25 [fix] now write ssl cert as ROOT, not as alterncpanel 2018-07-17 18:16:56 +02:00
Benjamin Sonntag 291812cead fixing dkim get entry function 2018-07-17 17:48:15 +02:00
Benjamin Sonntag e3d2b84418 [fix] reading multiline dkim key + fixing autodiscover zone having NULL name 2018-07-17 17:39:14 +02:00
Benjamin Sonntag 3bc65aed3f [fix] substitute variables AFTER mysql queries in bind zone file 2018-07-17 17:28:14 +02:00
Benjamin Sonntag 5c32a54edb [fix] French vs. English in template name :/ + fixing case issue making zone empty 2018-07-17 17:20:39 +02:00
Benjamin Sonntag e705f377b9 [fix] more bugs in update_domaines.php => not renaming vhosts_all.conf.new to vhosts_all.conf.new + ignoring deletion of DNS_ONLY sub_domaines entries 2018-07-17 17:11:15 +02:00
Benjamin Sonntag cdf07913da [fix] misc bugs in update_domaines.php, 2018-07-17 16:59:54 +02:00
Benjamin Sonntag dbfc59097b [fix] misc bugs in update_domaines.php, 2018-07-17 16:07:48 +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 36976cbf24 [fix] domislocked should be a global variable (...) since we may need it at php shutdown time :/ 2018-07-17 15:22:19 +02:00
Benjamin Sonntag f50f453707 [fix] missing global + proper shebang on upgrade script 2018-07-17 15:10:08 +02:00
Benjamin Sonntag b6a2f74326 [fix] fix misc bugs at alternc.install time 2018-07-17 15:02:32 +02:00
Kienan Stewart 9072ba5371 Merge branch '283-clearer_wording_for_subdomain_https_status' into pu 2018-07-12 10:43:18 -04:00
Kienan Stewart 4884ae92c5 Indicate unknown for the HTTPS state of a sub-domain only when the type has an https option 2018-07-12 10:42:58 -04:00
Kienan Stewart e42f165de9 Merge branch 'filebrowser-edit-syntax-error' into pu 2018-07-12 09:58:34 -04:00
Kienan Stewart 219f89eff1 Fix syntax error in bro_editor 2018-07-12 09:57:29 -04:00
Kienan Stewart fa2e40b16c Select default value for SSL type properly 2018-07-11 17:57:27 -04:00
Kienan Stewart 541ce25460 Match type more broadly for vhost when searching subdomains 2018-07-11 17:27:52 -04: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 ed7aaa3151 [enh] first version of class-and-hooks-based update_domains.php, includes ssl certficate mechanism 2018-07-08 13:01:35 +02:00
Benjamin Sonntag db916ace66 [fix] a bit of cleanup in m_dom AND the rewrite of WHOIS() function to be a 'smart' DIG NS instead 2018-07-04 18:39: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