Commit Graph

2909 Commits

Author SHA1 Message Date
Kienan Stewart ea9ecfcd50 Merge branch '254-cannot_create_default_domains' into pu 2018-06-14 10:51:28 -04:00
Kienan Stewart ce80e3cdad Fix #254: Creating default domains for new members fails
A typo caused the check to see if domain delegation was allowed to
always fail.
2018-06-14 10:50:28 -04:00
Kienan Stewart e9da389e85 Merge branch '247_escape-mysql-passwords-at-install' into pu 2018-06-13 18:04:25 -04:00
Kienan Stewart 1b08ae2638 use string templating instead of sed for creating/updating mysql configuration during install 2018-06-13 18:02:10 -04:00
Kienan Stewart eca8d7ccdf Escape mysql passwords in alternc install 2018-06-13 18:01:43 -04:00
Kienan Stewart c300912d78 Merge branch '221_cannot_manage_subdomain' into pu 2018-06-12 21:17:05 -04:00
Kienan Stewart 9c1e7cccd0 Get sub_domain_id and status from get instead of post in dom_substatus
The submission is done through links with get parameters (see dom_edit.php)
2018-06-12 21:11:14 -04:00
Kienan Stewart bc676f8b50 Merge apache2 configuration from branch '230-rebase-to-stretch' into pu 2018-06-12 19:36:32 -04:00
Kienan Stewart ed3401404f Cherrypick apache2 configuration for jessie/stretch
Sourced from ea3371ae34
2018-06-12 19:35:14 -04:00
Kienan Stewart d5e07b6a67 Merge branch '245-fix_warning_when_setting_files_unwritable' into pu 2018-06-08 15:10:41 -04:00
Kienan Stewart 83d03b8ee7 Fix #245: Files default to unwritable when permissions are changed in the file browser 2018-06-08 15:10:26 -04:00
Kienan Stewart 44e3cb0833 Merge branch '243-fix_undefined_variable_domaine_name' into pu 2018-06-08 14:33:18 -04:00
Kienan Stewart f39e72d58a Fixes #243: Fix typo in domain_name variable 2018-06-08 14:32:01 -04:00
Kienan Stewart 325b913e24 Merge remote-tracking branch 'koumbit/stable-3.1' into pu 2018-06-07 13:22:42 -04:00
Benjamin Sonntag 71ed8bf5f4 [fix] wrong field name in account creation in MySQL 2018-06-05 08:41:59 +02:00
Benjamin Sonntag f5e525d8ad fixing badly indexed messages in awstats reporting 2018-05-22 16:57:04 +02:00
Kienan Stewart cfa43ac3d6 Merge branch '222-alternc_ssl_mysql_connect_not_found' into pu 2018-05-17 17:59:12 -04:00
Kienan Stewart 1c910f4448 Remove trailing spaces / tabs from quota_init 2018-05-17 17:58:38 -04:00
Kienan Stewart be8edc140d Include connection parameter when calling mysqli_query 2018-05-17 17:57:32 -04:00
Kienan Stewart 63305a1ef5 Merge branch 'broken-symlinks' into pu 2018-05-17 17:33:00 -04:00
Kienan Stewart 8acc5d833b Fix broken symlinks for ssl locales 2018-05-17 17:32:01 -04:00
Kienan Stewart 529bf3bd45 Merge branch '230-rebase-to-stretch' into pu 2018-05-17 15:22:17 -04:00
Kienan Stewart 29a213cc26 Change function calls from mysql_* to mysqli_*
Sourced from: https://raw.githubusercontent.com/soul9/AlternC/470ed9cd1535461c7a809ce6c8d55919b76f14a0/stretch/quota_init.diff

@see https://github.com/AlternC/AlternC/issues/222
2018-05-17 15:15:56 -04:00
azerttyu 177d76bd85 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-04-30 10:47:12 +02:00
Kienan Stewart 60ce1fd1df Use phpunit from composer download 2018-04-15 21:45:18 -04:00
Kienan Stewart 5597184a37 Fix error in composer call in before_sscript 2018-04-15 21:39:21 -04:00
Kienan Stewart 7b231d1635 Test changes to travis.yml 2018-04-15 21:37:37 -04:00
Kienan Stewart eb588cc0c3 Get phpunit/dbunit from composer for travis tests 2018-04-15 21:27:41 -04:00
Kienan Stewart 367b653d07 Some fixes to the PHPUnit tests 2018-04-15 21:23:24 -04:00
Kienan Stewart fce764a8ad Add php5.6 and php7.0 versions for tests 2018-04-15 20:12:50 -04:00
Kienan Stewart d24aabdafd Remove test references to the m_variables class 2018-04-15 20:10:27 -04:00
Kienan Stewart e3f760f1fc Update README for patching instructions 2018-04-15 12:46:58 -04:00
Kienan Stewart 6a2179691e Rename patch directories to reflect the distributions they patch towards 2018-04-15 12:42:26 -04:00
Kienan Stewart 83a4bad18e Re-roll patches to build for wheezy 2018-04-15 12:33:53 -04:00
Kienan Stewart a08cb2bbb2 Re-roll patches to build for jessie 2018-04-15 12:28:09 -04:00
Kienan Stewart ebb3471f04 Apply patches for jessie 2018-04-15 11:29:27 -04:00
Kienan Stewart 3ae6c0a5c2 Apply patches for wheezy 2018-04-15 11:26:58 -04:00
Kienan Stewart d6d9be4c6a Fix variable syntax in Makefile 2018-04-15 10:08:37 -04:00
Benjamin Sonntag 240a7738fc adding sync-unix-accounts.php, synchronize unix accounts with AlternC ones. not enabled by default, not even installed yet 2018-03-29 12:34:05 +02:00
Benjamin Sonntag 13144a162a fixing spoolsize to handle deleted DB 2018-02-28 17:32:52 +01:00
Benjamin Sonntag f392ad11a0 [fix] cron rolling curl call INSIDE the loop :/ 2018-02-28 10:39:55 +01:00
Benjamin Sonntag 24b37b2777 [fix] fixing utility scripts to use PDO instead of mysql_query (php7 compatibility for stretch) 2018-02-23 16:24:30 +01: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 7d35b9cb59 fixing db_del bug, thanks @Petit42 2018-02-12 14:57:11 +01:00
camlafit 64bcb12f8d
Merge pull request #218 from GuillaumeFromage/stable-3.1
Corriger le répertoire de validation des templates avant effacement
Use value set in local.sh and not an hardcoded path
2018-01-23 16:13:52 +01:00
Guillaume Barbe 7b5226363e Corrigé le répertoire de validation des templates avant effacement 2018-01-17 15:39:10 -05:00
camlafit 583df9a3ba
Merge pull request #211 from soul9/rouncube-ssl_domaintype_fix
typo prevented roundcube-ssl domaintype to be created
2018-01-12 10:03:09 +01:00
camlafit 309cb1991b
Merge pull request #213 from lelutin/protect_dir_error_messages
Protected dir creation error messages are not helpful.

Provide more informations about error creation
2018-01-09 15:47:48 +01:00
Gabriel Filion 32261e5871 Protected dir creation error messages are not helpful.
Current error messages that are shown and logged when a problem occurs
when creating htaccess and htpasswd files for a protected dir are really
not helpful.

The messages don't even mention which file caused the error.

Sometimes when the files can't be created, it's not because they're
already present, for example when there's a permission error.
Also we've already verified that they are absent with file_exists so
the current error message is not accurate at all!

To empower users, we need to give them more details about the error. For
that we want to show the error that the file creation logged itself.

Finally, we've already verified that the htacces file already exists, so
there's no point in using touch beforehand. We should just let fopen try
to create the file and report whatever went wrong if anything happens.
2017-12-29 11:56:03 -05:00
Benjamin Sonntag f5cb7ad3a6 adding DEFAULT for lastlogin, crashes on MariaDB 2017-12-12 19:50:48 +01:00