Commit Graph

93 Commits

Author SHA1 Message Date
Aleksander Machniak
fa1f3bd852 Add notes about not all password strength drivers supporting score up to 5 (#9751) 2025-01-26 15:04:17 +01:00
Michael Voříšek
b5a3fd646b Fix "Implicit array creation" in plugin config files (#9406)
* fix phpstan "Implicit array creation" in plugin config files
* update minimal "roundcube/plugin-installer" version
2024-04-07 12:00:03 +02:00
Michael Voříšek
d18406a8bd Fix binary operator spaces CS (#9330)
* align_single_space_minimal for assign

* assign operators grouping is not supported by PHP CS Fixer

* binary_operator_spaces = single_space

* fix anonymous function on single line

* align comments manually
2024-02-02 07:53:34 +01:00
Michael Voříšek
54f4aa33f9 Fix CS - imports (#9316)
* fix Tests\Browser\TestCase imports

* fix remaining imports

* fix PHPUnit\Framework\TestCase imports

* import GuzzleHttp\Client

* fix remaining

* "php_unit_method_casing" is not todo

* fix "single_line_comment_spacing"

* fix 2nd commit done using older fixer
2024-01-21 19:13:31 +01:00
Michael Voříšek
b1a0067e5d Fix more CS (#9303)
* fix "class_attributes_separation"

* fix "ternary_to_null_coalescing"

* fix "no_extra_blank_lines"

* fix "php_unit_data_provider_name" - use snake_case

* fix remaining "function data_" manually

* move "php_unit_test_case_static_method_calls" to a better place in cnf

* fix 3.47.1 CS
2024-01-20 08:22:32 +01:00
Aleksander Machniak
77ae91f213 CS fixes in .php.dist files 2023-12-17 12:02:14 +01:00
Matwey V. Kornilov
7d13b337db Some minor improvements for password plugin (#8402)
* plugins/password/ldap_simple: Allow LDAP access using LDAP URI

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>

* plugins/password/ldap_simple: Allow LDAP SASL binding when search user DN

This may be particularly useful when UNIX socket connection is used,
or TLS certificate-based authentication is performed.

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>

* plugins/password/ldap_simple: Allow LDAP SASL bind for admin

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>

---------

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
2023-05-28 10:38:02 +02:00
Aleksander Machniak
66f6169774 Update changelog for (#8525), CS fixes 2022-08-15 10:22:16 +02:00
Aleksander Machniak
3cfbae2d2a Password: Remove references to %c variable that has been removed before (#8633) 2022-07-30 08:37:35 +02:00
TheFirstGoodmaN
d9ec5be68d Add ssha256 password algo (#8479) 2022-03-20 10:52:15 +01:00
Aleksander Machniak
94930dc68c hash-default algorithm was removed 2021-11-06 10:18:30 +01:00
Aleksander Machniak
e294b93d36 Update changelog and CS fixes 2021-11-06 09:18:57 +01:00
Lukáš Matula
4c347f0e24 Mailcow driver for password plugin (#8291) 2021-11-06 09:15:37 +01:00
Aleksander Machniak
ed4dc2139d Password: Remove password_blowfish_cost option, in favor of password_algorithm_options 2021-09-25 15:35:29 +02:00
Aleksander Machniak
53801e5fdc Password: Remove some deprecated algorithms and replacement variables 2021-09-25 15:33:20 +02:00
Aleksander Machniak
ee74fe806e Password: Add support for passwords based on PHP's password_hash() function (#7724)
i.e. Bcrypt, Argon2i, Argon2id
2021-09-25 15:18:59 +02:00
Aleksander Machniak
b4b50b87b3 Password: Set password_minimum_length to 8 by default (#8003) 2021-04-18 10:49:44 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
ca523bd7fa Remove hostnet.de specific code 2021-01-16 15:42:58 +01:00
Aleksander Machniak
a49b47b864 Merge branch 'password-httpapi-plugin' of https://github.com/davidc/roundcubemail into davidc-password-httpapi-plugin 2021-01-16 10:11:21 +01:00
Aleksander Machniak
c8ed7c7388 Document miab driver, rename some config options 2021-01-16 09:57:54 +01:00
Aleksander Machniak
5356700325 Merge branch 'tinycp-driver' of https://github.com/rimendoz86/roundcubemail into rimendoz86-tinycp-driver 2021-01-16 09:44:39 +01:00
Aleksander Machniak
ded37ff97c Introduce password_http_client config option 2021-01-16 09:06:28 +01:00
Alexey Shtokalo
925b11dbbe Added password driver for Mail-in-a-Box 2021-01-10 23:53:21 +03:00
Aleksander Machniak
9b01776ef0 Password: Removed old 'cpanel' driver, 'cpanel_webmail' driver renamed to 'cpanel' (#7780) 2021-01-02 19:18:20 +01:00
Aleksander Machniak
14a94cf0d7 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-09 21:11:46 +01:00
Evili del Rio
38ffc55bc8 Correct documentation of password_login_exceptions parameter (#7523)
Signed-off-by: Evili del Rio <evili.del.rio@gmail.com>
2020-07-30 15:00:39 +02:00
Ricardo Mendoza
b0d2a2e7fb 1.1 2020-07-23 20:42:54 -07:00
David Croft
48da92765f Add httpapi password change driver to connect to generic HTTP/HTTPS APIs 2020-06-16 23:36:16 +01:00
Aleksander Machniak
a269e7c106 Fix misleading comment 2019-11-12 19:09:43 +01:00
Johannes Prösl
4644e3404f Adding ssha512 password_algorithm (#6805)
* Added SSHA512 method to the hash_password function

Basically a copy of the ssha method this case is compatible with the dovecot ssha512 settings so there is no doveadm needed alongside with roundcube to update ssha512 passwords.
2019-06-24 10:28:53 +02:00
Peter Kubica
51abe31f1a ldap_exop - fix issue #4992 2019-03-05 10:44:37 +01:00
Aleksander Machniak
9babe138af Password: Change API for password checking
... for simpler implementation of strength indicator in future.

Also simplified configuration by removing password_check_strength and
adding password_minimum_score.
2018-11-11 09:02:50 +01:00
PhilW
1bf6dc3de8 Password: add Zxcvbn strength driver 2018-10-07 09:58:29 +01:00
PhilW
00946f1f57 give password plugin drivers more power
Allow password drivers more control over the entire password changeing
processes not just the save action. Allow them to perform old/new
password comparisons and also password strength checking.

*) allow password drivers override default password comparisons (eg
   new is not same as current) #6473
*) allow password drivers override default strength checks (eg allow
   for 'not the same as last x passwords')
*) allow separate password saving and strength drivers for use of
   strength checking services eg HaveIBeenPwned.com #5040
*) allow drivers to define password strength rules displayed to the
   user
*) rename password_require_nonalpha config option to
   password_check_strength to reflect new strength checking
   possibilities (added backwards compatibility)
2018-10-07 07:50:42 +01:00
Aleksander Machniak
85046cdea4 Cleanup modoboa driver 2018-09-03 13:25:01 +02:00
Aleksander Machniak
60922dc3d5 Password: Added password_username_format option (#5766) 2018-04-23 19:01:35 +02:00
Aleksander Machniak
148ccda88a Password: Support host variables in password_db_dsn option (#5955) 2017-09-15 19:07:26 +02:00
Aleksander Machniak
982d211ec0 Update changelog, CS fixes 2017-05-19 20:04:08 +02:00
ElpyDE
73db885647 Virtualmin driver for password plugin now uses virtualmin to ask for the domain 2017-05-11 18:52:40 +02:00
Torkel Bjørnson-Langen
3bbe218b83 Password plugin: Added missing default values (#5726)
* Added correct default values for password plugin (ldap backends only)
* Sync default values in config.inc.php.dist with code.
2017-04-18 10:17:18 +02:00
Aleksander Machniak
6ba41836b6 Revert "extend plugin password to avoid sudo (use ssh instead calling chpasswd) (#5654)"
This reverts commit 938dd4670b.
2017-04-11 08:53:34 +02:00
Kay Marquardt
938dd4670b extend plugin password to avoid sudo (use ssh instead calling chpasswd) (#5654)
Use proc_open() instead of popen() to catch error messages from called wrapper.
Create new wrapper chpass-wrapper-expect.py
2017-04-10 13:38:16 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Maikel
adbc9b1889 Add cPanel Webmail driver (#5549)
This driver does not use an admin account. It uses the user's account to
authenticate at the Webmail API. It uses the recommended UAPI and does
not rely on third-party classes.
2016-12-07 18:18:31 +01:00
Paolo Asperti
815b79df7f Added replacement variables support in password_pop_host (#5539)
Use rcube_utils::parse_host() on a hostname
2016-12-01 09:01:39 +01:00
Raoul Bhatia
c5a16e72d7 password: Add missing quote in password_ldap_ppolicy_uri in config.inc.php.dist (#5507)
This was introduced in 5322e91825
2016-11-11 18:26:32 +01:00
Aleksander Machniak
7f4ab8c14a Merge pull request #5364 from ZiBiS/master
Password: LDAP PPolicy driver
2016-10-10 16:17:17 +02:00
Zbigniew Szmyd
06956572ec Change parameters names to the standard. 2016-10-10 11:27:41 +02:00
Aleksander Machniak
4e26cd7691 Merge branch 'master' of https://github.com/NETLINK/roundcubemail into NETLINK-master 2016-10-01 08:00:56 +02:00