Commit Graph

34 Commits

Author SHA1 Message Date
Philip Weir
ccede1f272 Update links in comments and config to https where available (#9759) 2025-01-26 13:34:57 +01:00
Michael Voříšek
1e360999b2 Use composer autoloader for bundled plugins testing (#9412)
* use fixed "roundcube/plugin-installer"

* Use composer autoloader for plugins testing

* cherrypick remaining from 9241 related with testing

* minor legacy autoload improvements
2024-04-11 18:28:46 +02:00
Aleksander Machniak
e1925c47a4 Code improvements 2024-04-07 11:27:01 +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
6a53a1d853 Fix CS (whitespace, visibility) (#9297)
* Fix "method_argument_space"

* Fix "control_structure_continuation_position"

* Fix "new_with_parentheses"

* Fix "blank_line_before_statement"

* Fix "visibility_required"

* Fix some "array_indentation"

* Fix some "array_indentation" - unify all "rcube::raise_error" calls

* rm useless eslint ignores and add rules counts

* sort eslint ignores

* fix eslint ignores grammar

* Revert "Fix "blank_line_before_statement""

* fix CS 3.46.0
2024-01-04 14:26:35 +01:00
Michael Voříšek
e7d7e62146 Modernize more basic CS II (#9254)
* fix "integer_literal_case"

* fix "phpdoc_separation"

* fix "phpdoc_var_without_name"

* fix "operator_linebreak"

* fix "no_alias_language_construct_call"

* fix "list_syntax"

* fix "concat_space"

* fix "array_syntax"

* fix "binary_operator_spaces"

* fix "binary_operator_spaces" relaxed

* fix "phpdoc_types_order"

* fix "phpdoc_trim"

* fix "native_type_declaration_casing"

* fix "method_chaining_indentation"

* fix "phpdoc_no_package"

* fix "elseif"

* fix PHP CS Fixer config itself too

* fix "native_type_declaration_casing"
2023-12-17 13:14:45 +01:00
Aleksander Machniak
53801e5fdc Password: Remove some deprecated algorithms and replacement variables 2021-09-25 15:33:20 +02:00
Aleksander Machniak
14a94cf0d7 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-09 21:11:46 +01:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
0751c1c8eb Password: De-duplicate ldap drivers code 2019-03-09 18:24:01 +01:00
buborh
4f400ab7aa password plugin ldap driver: use full %login as %name/%n when no @ in username. (#5902) 2017-08-19 07:51:58 +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
Oliver Ney
5f2df36879 Fix ldap connection use after release in password plugin 2016-04-23 00:39:34 +02:00
Aleksander Machniak
3cc6ec573d Make password encryption algorithms available for all drivers (#1490134)
...via password::hash_password() method and password_algorithm option.
Add %P and %O macros for password_query in favor of %c, %d, %n and %q.
2015-05-27 13:37:10 +02:00
Thomas Bruederli
e2fb340289 Remove obsolete mt_srand() calls 2015-03-12 09:59:47 +01:00
Aleksander Machniak
b59b72cc30 Fix "Non-static method PEAR::isError() should not be called statically" errors (#1490281) 2015-02-26 18:04:03 +01:00
Aleksander Machniak
ef29ac4339 Fix generation of Blowfish-based password hashes (#1490184)
Added password_blowfish_cost config option.
2014-12-09 18:39:55 +01:00
Aleksander Machniak
d26e94ae94 Small CS fixes after PR merge 2014-10-18 14:50:10 +02:00
Lorenzo Perone
84296e1b93 fix indent to match style in ldap.php (tabs to spaces) 2014-10-16 16:47:35 +02:00
Lorenzo Perone
3e3fcd4d27 Password Plugin / LDAP Driver:
- adds support for (optional) multiple userPassword values for compatibility with more authentication shemes
- adds support for CRAM-MD5 scheme as implemented by doveadm pw (credits: see header of plugins/password/helpers/dovecot_hmacmd5.php)
2014-10-14 23:22:46 +02:00
Aleksander Machniak
78bee8b8b6 Fix regression in SHAA password generation in ldap driver of password plugin (#1490094) 2014-10-10 10:25:52 +02:00
Aleksander Machniak
d1c8d7fc25 Support hashing algorithms without mhash() and even hash() extension (#1490076) 2014-09-28 19:03:08 +02:00
Aleksander Machniak
4baf96a4ca Added license headers to driver files, CS fixes 2014-09-08 09:50:59 +02:00
Aleksander Machniak
7706df99f0 Allow anonymous LDAP searches 2014-06-24 12:03:17 +02:00
Aleksander Machniak
393c868e8e Substitute variables in 'password_ldap_search_base' value 2013-11-08 08:19:11 +01:00
Aleksander Machniak
19884ec5d2 Code improvements, remove code duplication 2013-09-23 12:53:58 +02:00
Aleksander Machniak
6776d31cee Add new password encodage ('ad') in ldap password drivers (#1489349) 2013-09-23 12:40:25 +02:00
Aleksander Machniak
61be822d62 Remove deprecated functions (from bc.php file) usage in plugins 2013-01-18 15:24:49 +01:00
Aleksander Machniak
d6938bd1ea CS fixes, mostly tabs to spaces conversion 2012-12-17 14:38:59 +01:00
thomascube
48e9c14ebd Move plugins repository into roundcubemail root folder; svn:externals are not defined anymore 2012-03-31 12:25:48 +00:00
till
63a3dc5fde moved plugins 2010-03-20 14:20:01 +00:00
alecpl
7b865083e7 - Password/LDAP: support %name, %domain in userdn (#1486055) 2009-08-24 19:18:47 +00:00
alecpl
793e24885b - Password plugin: added ldap_force_replace option (#1486014) 2009-07-31 06:36:39 +00:00
alecpl
c8a1e6eb63 - Password plugin: added LDAP driver 2009-06-26 08:31:14 +00:00