Commit Graph

3158 Commits

Author SHA1 Message Date
Km 5e9fadd315
Merge pull request #329 from Koumbit/matomo_integration_fixes
Matomo integration fixes
2019-07-12 22:54:17 +02:00
Km 3744b0242a
Merge pull request #325 from tuxayo/patch-1
[fix] apache2 template: typo and rephrase comment
2019-07-12 21:37:06 +02:00
Km d770c70218
Merge branch 'master' into patch-1 2019-07-12 21:36:34 +02:00
Km db471afa79
Merge pull request #343 from Koumbit/336_domaine_deletions_stuck
Fix domain deletion query
2019-07-12 21:35:45 +02:00
Km 200f103adf
Merge pull request #347 from Koumbit/335_phpmyadmin_sso_broken
Fixes #335: Fix PHPMyAdmin Single-signon errors
2019-07-12 21:33:15 +02:00
Km ab73c9d6f9
Merge pull request #371 from Koumbit/370-import_cert_fails
Fixes #370: Fix insert query failure during import_cert
2019-07-12 21:27:03 +02:00
Kienan Stewart bb6d5c6863
Fix insert query failure during import_cert
The sslcsr is just set to an empty string so that the query works properly.
Without it, queries fail since sslcsr does not have a default value set.

Improved the detail of the messages logged during the failure of that query as well.
2019-07-12 14:46:36 -04:00
Kienan Stewart 53570e236a
Enter default db_server information before templating
Refs #335
2019-05-15 17:46:15 -04:00
Kienan Stewart caae003c60
Merge remote-tracking branch 'upstream/master' into 335_phpmyadmin_sso_broken 2019-05-14 12:19:39 -04:00
Kienan Stewart f3207ec2f1
Override owner and group for phpmyadmin lib files
Refs #335
2019-05-14 12:15:23 -04:00
Kienan Stewart 82c87c43e0
Increase blowfish secret length from 24 to 32
Refs #335
2019-05-14 12:15:00 -04:00
Kienan Stewart 70184caa3a
Return an error when attempting to connect to PHPMyAdmin with no DBs
Refs #335
2019-05-14 12:14:25 -04:00
Kienan Stewart f6860ed2be
Use pma_sso script to connect PhpMyAdmin from admin menu
Refs #335
2019-05-14 12:13:44 -04:00
Km 845a6b7f72
Merge pull request #340 from soul9/allowmultiview
Allow override of MultiViews option in .htaccess
Required by some service as NextCloud, Prestashop, ....
2019-05-14 07:53:41 +02:00
Kienan Stewart 39dba8188b
Fix domain deletion query
Fixes #336
2019-05-13 17:28:05 -04:00
Kienan Stewart 753c27a9cf
Fix typo in query to update domain type
Fixes #339
2019-05-13 17:12:05 -04:00
Kienan Stewart 1dbe646724
Filter generated bind configuration by current domain
Fixes #339
2019-05-13 16:40:27 -04:00
John Soros ade7a3f29f allow override of MultiViews option in .htaccess also for vhosts hosted using http and http+https 2019-05-13 19:54:25 +01:00
kienanstewart 1c3e9d7d65
Merge branch 'master' into patch-1 2019-05-10 19:05:12 -04:00
John Soros 7e0e74375f allow override of MultiViews option in .htaccess 2019-05-05 03:47:13 +02:00
Km 1ca9dcf406
Merge pull request #331 from Koumbit/328-fix_duplicate_dns_entries
Do not add bind entries for sub domaines marked for deletion
2019-04-24 07:20:05 +02:00
Kienan Stewart d299462439
Fix typo in table alias causing zone data queries to fail 2019-04-23 12:16:31 -04:00
Kienan Stewart e6c042331d
Do not add bind entries for sub domaines marked for deletion
Fixes #328
2019-04-12 16:38:07 -04:00
Kienan Stewart 0956906e98
Request unlimited number of a sites from matomo
By default, matomo applies a limit of 100 results to all API endpoints
that return an array. By passing filter_limit -1 all results can be
fetched in a single call for the site lists.

Ref: https://developer.matomo.org/api-reference/reporting-api
2019-04-05 13:48:03 -04:00
Kienan Stewart 5a62d13843
Store the proper hash of a matomo user's password 2019-04-05 13:47:53 -04:00
tuxayo 1fc21039f5
[fix] apache2 template: typo and rephrase comment
"on hosting" seemed a francism
2019-03-23 11:15:56 +01: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
alban 7a6d800e21 [fix] apache2.conf should Satisfy Any by default 2018-10-26 16:43:58 +02:00
Benjamin Sonntag f5933a181b Merge branch 'master' of github.com:AlternC/AlternC 2018-10-25 17:33:28 +02:00
Benjamin Sonntag 03e1786159 [fix] fix dmarc and spf not working 2018-10-25 17:33:21 +02:00
alban a3627a5f35 [fix] + fixperms should have a -h option and colors 2018-10-25 17:30:50 +02:00
alban 6a4ee2dc3b [fix] fixperms should have a -h option and colors 2018-10-25 17:27:16 +02:00
Benjamin Sonntag 654edab277 [fix]  simplify restart of services for apache2 2018-10-25 16:47:52 +02:00
Benjamin Sonntag fa1fae9af7 [fix] adding mysql-server or mariadb-server in dependencies 2018-10-25 16:47:39 +02:00
Benjamin Sonntag 74cbc88fc1 [fix] adding lsb-release dependency 2018-10-25 16:15:29 +02:00
Benjamin Sonntag f5d153c161 [fix] removing apache_logformat from tar 2018-10-25 16:14:45 +02:00
Benjamin Sonntag 5fb091660e [fix] error with dom lock in m_dom 2018-10-25 15:55:39 +02:00
Benjamin Sonntag 6ee74b5b03 [fix] adding variables.php for SPF and DKIM patch. 2018-10-25 15:55:21 +02:00
Benjamin Sonntag 15ec54d41c [fix] adding SYSTEMD detection in alternc.install to run opendkim properly 2018-10-25 15:50:26 +02:00
Benjamin Sonntag 7e8d5487e3 [fix] (for 3.5) adding has https option for autodiscover type 2018-10-25 15:38:06 +02:00
Kienan Stewart 4371bb59d5 Fix sed invocation to it runs in-place 2018-10-25 14:59:33 +02:00
Kienan Stewart 5a5fc801f8 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-10-25 14:59:33 +02:00
azerttyu 6ae5e22c31 Revert "adding sync-unix-accounts.php, synchronize unix accounts with AlternC ones. not enabled by default, not even installed yet"
* We revert this commit as it's provided by an AlternC plugin
* Report to https://github.com/alternc/alternc-nss to get more informations

Note : This reverts commit 240a7738fc.
2018-10-25 14:59:33 +02:00
Benjamin Sonntag c03648006f adding sync-unix-accounts.php, synchronize unix accounts with AlternC ones. not enabled by default, not even installed yet 2018-10-25 14:59:33 +02:00
Benjamin Sonntag 8c6dcadca0 [fix] fixing default_spf_value and default_dmarc_value NOT being initialized at runtime. Do it at alternc.instal time. 2018-10-25 14:58:18 +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