Commit Graph

3044 Commits

Author SHA1 Message Date
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 f39e72d58a Fixes #243: Fix typo in domain_name variable 2018-06-08 14:32:01 -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 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 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 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 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
azerttyu 407d8b91da Don't raise a blocking error
* With deprecate error class, it's only a warning, not a error.

Should solve #210
2017-11-19 15:09:04 +01:00
John Soros 001b5b521b typo prevented roundcube-ssl domaintype to be created 2017-11-18 23:27:33 +01:00
azerttyu 6acc2c99df If we add certificate we also remove
* complete #207
2017-11-06 17:09:03 +01:00
azerttyu 1ec4ff28d6 Don't continue if we have found all dot in host name
* close #207
2017-11-06 17:05:57 +01:00
azerttyu 317bf8739c Go to next offset
* We must search next dot after the previous
* cf #207
2017-11-06 17:05:49 +01:00
Benjamin Sonntag b69ffcf53d [release] 3.x.11 of AlternC 2017-11-06 15:05:45 +01:00
camlafit 87a8fb0096
Type on code
Fix #206
2017-10-31 10:45:30 +01:00
Benjamin Sonntag 4fd853c6ae [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-12 17:54:48 +02:00
Benjamin Sonntag 90c7fd21c8 [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-11 11:58:04 +02:00
Benjamin Sonntag 4dcb60b4e7 [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-09 20:56:03 +02:00
Benjamin Sonntag 9a6ea8b5bf [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-08 19:53:03 +02:00
Benjamin Sonntag 5b7622ce90 [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-08 19:31:34 +02:00
Benjamin Sonntag 18888645a9 Merge branch 'stable-3.1' of github.com:AlternC/AlternC into stable-3.1 2017-10-08 16:39:40 +02:00
Benjamin Sonntag 0dc7adf03c fixing using ip instead of ifconfig for IP addr detection at debhelper time 2017-10-08 16:39:28 +02:00
azerttyu 864e5daee7 [enh] Notify dns hook when any change is done to any domain
* When a domain is updated, added or removed we notify wich domain is
concerned
2017-10-08 16:26:56 +02:00