Commit Graph

3159 Commits

Author SHA1 Message Date
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
Dominique Rousseau 41278cc72a correct wrong owner for roundcube temp_dir /var/lib/roundcube/temp 2018-05-14 10:03:08 +02:00
Steven Mondji-Lerider 0385a933f7 Fixes : #1480
(cherry picked from commit af974c7b83)
2018-05-14 09:59:36 +02: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 88f3457191 Use sha512 crypt to store ftp password hashes 2018-04-16 22:46:05 -04:00
Kienan Stewart 56cbd2f8b4 Move the sha512 crypt hash into it's own function 2018-04-16 22:35:41 -04:00
Kienan Stewart 294397e10f Merge branch 'issue-227-dovecot_password' into issue-227-password_hashes 2018-04-16 22:27:19 -04:00
Kienan Stewart 00c1d55406 Generate SHA512-CRYPT hashes for e-mail addresses 2018-04-16 21:02:45 -04:00
Kienan Stewart a609984d39 Fix invocations of password_hash() 2018-04-15 22:00:16 -04: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 971e38778f Update stored password hash on user login.
If an md5 hash is stored, a new hash will be calculated and stored.
2018-04-15 19:03:57 -04:00
Kienan Stewart b5382bb13b Replace _password_verify with password_verify
PHP's password_verify function does know how to recognize md5 hashes: a custom
check is not necessary.
2018-04-15 19:02:32 -04:00
Kienan Stewart 6084650181 Use PHP's built-in password hashing and verification for user accounts 2018-04-15 18:26:41 -04:00
Kienan Stewart bbb3e7c0e3 Lengthen member's pass column to 255 characters 2018-04-15 18:25:58 -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
Kienan Stewart 3647151c67 Fix #225: call fetchAll on PDO statement 2018-03-09 12:59:26 -05: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
Jonathan Demmerlé a70a3735d0
Merge pull request #1 from Welmoc/Welmoc-patch-css
New style.css based on bootstrap
2018-01-16 14:17:51 +01: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
Jonathan Demmerlé 9f57ebd4cf
New style.css based on bootstrap
All the style.css file replaced to look like bootstrap without any dependances.
2017-12-29 18:56:27 +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