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
|
2643be3eaa
|
Fix single quotes CS (#9283)
* Fix "single_quote"
* fix "escape_implicit_backslashes"
* fix typo from f363481c
* fix single quotes in JS
* fix some minor JS CS
* fix CS v3.45.0
|
2023-12-31 16:36:55 +01:00 |
|
Michael Voříšek
|
3e458fa5fd
|
Refer native constants unambiguously (#9275)
* Fix "native_constant_invocation" CS
* "self_accessor" was fixed in 9269 PR
* "php_unit_strict" was fixed in 9268 PR
|
2023-12-23 17:02:19 +01:00 |
|
Michael Voříšek
|
28c778b7a0
|
Modernize more CS III (#9270)
* fix "single_trait_insert_per_statement"
* fix "empty_loop_condition"
* fix "backtick_to_shell_exec"
* fix "phpdoc_to_comment"
* fix "no_empty_statement"
* fix "heredoc_to_nowdoc"
* fix "class_reference_name_casing"
* fix "align_multiline_comment"
* fix "heredoc_indentation"
* fix "constant_case"
* fix "single_line_comment_style"
* fix "no_null_property_initialization"
* fix "standardize_increment"
* fix "no_unneeded_control_parentheses"
* fix missing NL after "<?php"
* fix php in *.sh files too
* fix trailing spaces from all text files
* fix "explicit_indirect_variable"
* Revert "fix "align_multiline_comment""
This reverts commit 42e584f8e3.
* fix "align_multiline_comment" properly
* Revert "fix trailing spaces from all text files" - diff files only
* Revert "Revert "fix trailing spaces from all text files" - diff files only"
This reverts commit 2101c2a3a3.
* rm useless "setup-php" config
|
2023-12-18 07:46:51 +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 |
|
Michael Voříšek
|
ca8b17d191
|
Modernize more basic CS (#9258)
* fix "yoda_style"
* fix "is_null"
* rm useless rule ignores
* add full "PhpCsFixer:risky" ruleset
* fix "implode_call"
* fix "no_alias_functions"
* fix "array_push"
* fix "long_to_shorthand_operator"
* fix "ternary_to_elvis_operator"
* fix "logical_operators"
* fix "fopen_flags"
* rename "returns" phpdoc tags to "return"
* fix "php_unit_construct"
* fix "function_to_constant"
* fix "php_unit_data_provider_return_type"
* fix "php_unit_set_up_tear_down_visibility"
* some safe "string_length_to_empty"
* fix "phpdoc_align"
* fix "phpdoc_no_alias_tag"
* fix "trailing_comma_in_multiline"
---------
Co-authored-by: Aleksander Machniak <alec@alec.pl>
|
2023-12-17 09:51:11 +01:00 |
|
Michael Voříšek
|
a8707ae220
|
Fix and assert basic CS using CI (#9246)
* Assert CS using CI
* fix "single_blank_line_at_eof"
* fix "statement_indentation"
* fix "switch_case_semicolon_to_colon"
* fix "control_structure_braces"
* fix "statement_indentation"
* fix "no_whitespace_in_blank_line"
* fix "no_trailing_whitespace_in_comment"
* fix "no_trailing_whitespace"
* fix "single_space_around_construct"
* fix "spaces_inside_parentheses"
* fix "ternary_operator_spaces"
* fix "trim_array_spaces"
* fix "whitespace_after_comma_in_array"
* fix "cast_spaces"
* fix "unary_operator_spaces"
* fix "no_trailing_comma_in_singleline"
* fix "ordered_imports"
* fix "no_unused_imports"
* Check composer.json format
* fix CI job name
* file header comments are not phpdoc
* fix "phpdoc_indent"
* fix "braces_position"
* fix "phpdoc_types"
* fix "no_blank_lines_after_class_opening"
* fix "no_multiple_statements_per_line"
* fix "multiline_comment_opening_closing"
* fix "single_line_empty_body"
* fix "non_printable_character"
* fix "phpdoc_trim_consecutive_blank_line_separation"
* fix "include"
* fix "no_mixed_echo_print"
---------
Co-authored-by: Aleksander Machniak <alec@alec.pl>
|
2023-12-16 15:37:43 +01:00 |
|
Michael Voříšek
|
5425d1a84a
|
Fix invalid phpdocs (#9252)
* fix missing return type in phpdoc
* fix "phpdoc_scalar"
* Fix phpdoc variable names typos
* fix wrong phpdoc tags
|
2023-12-10 16:20:50 +01:00 |
|
Aleksander Machniak
|
f4ed1024dc
|
PHP8 fixes, CS fixes, short array syntax, tests
|
2020-12-02 20:15:00 +01:00 |
|
Aleksander Machniak
|
66ca4f0f72
|
CS fixes, PHP8 fixes, short array syntax, tests
|
2020-11-30 14:03:11 +01:00 |
|
Aleksander Machniak
|
1afa46d28d
|
PHPDoc and CS fixes
|
2019-08-25 14:15:09 +02:00 |
|
Aleksander Machniak
|
57c67db029
|
Remove year(s) from copyright headers + some cleanup
|
2019-04-16 10:42:45 +02:00 |
|
Aleksander Machniak
|
a35699637d
|
Fix PHP error when using Net_LDAP3 from master
get_entry() method signature has changed. We don't really needed
that override in rcube_ldap_generic, so it's now removed.
|
2019-04-02 12:35:25 +02:00 |
|
Stuart Henderson
|
98349c19f6
|
Fix typo LOG_EMERGE (#6566)
|
2018-12-22 08:22:27 +01:00 |
|
ka7
|
9a35768c26
|
spelling fixes (#5690)
|
2017-03-12 12:14:19 +01:00 |
|
Aleksander Machniak
|
a99e479cb4
|
Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity (#5544)
|
2016-12-01 08:46:15 +01:00 |
|
Aleksander Machniak
|
1b39d9a6c7
|
PHP7: Fixed some E_WARNING errors that previously were E_STRICT
|
2015-08-08 09:32:24 +02:00 |
|
Aleksander Machniak
|
a958748947
|
CS fixes
|
2015-06-07 15:26:33 +02:00 |
|
Thomas Bruederli
|
36ee2c8427
|
Improve LDAP search by ignoring words order in fuzzy substring matching mode
|
2015-03-03 14:53:02 +01:00 |
|
Thomas Bruederli
|
83eeec6c06
|
Add utility function to compose a full-text-like LDAP search filter
|
2015-03-03 12:53:18 +01:00 |
|
Thomas Bruederli
|
028734b25c
|
Make LDAP errors available to the application
|
2014-08-18 17:21:03 +02:00 |
|
Aleksander Machniak
|
d8b26e40f9
|
Overwrite Net_LDAP3's normalize_entry() method to behave as the old one
|
2014-08-06 11:46:22 +02:00 |
|
Jeroen van Meeuwen (Kolab Systems)
|
6ac9395fbd
|
Use Net_LDAP3
|
2014-08-02 16:46:29 +02:00 |
|
Aleksander Machniak
|
f67d372449
|
Fix "PHP Fatal error: Cannot break/continue 1 level" when ldap_start_tls() fails
|
2014-06-10 11:57:05 +02:00 |
|
Thomas Bruederli
|
1a5d981a44
|
Fix debug output
|
2014-05-22 18:01:06 +02:00 |
|
Aleksander Machniak
|
d519008498
|
Add configurable LDAP_OPT_DEREF option (#1489864) - patch from Stuart C. Naifeh
|
2014-05-12 12:13:24 +02:00 |
|
Thomas Bruederli
|
3980579602
|
Avoid useless connection attempts if host is empty
|
2014-03-11 09:12:08 +01:00 |
|
Thomas Bruederli
|
774deaded1
|
Don't EVER log passwords
|
2014-02-03 15:34:55 +01:00 |
|
Aleksander Machniak
|
a4bc6ea24d
|
Handle nicely situation when normalize_entry is executed on already normalized entry
|
2013-09-26 11:44:54 +02:00 |
|
Aleksander Machniak
|
858af70656
|
CS fixes
|
2013-06-19 11:04:31 +02:00 |
|
Aleksander Machniak
|
fae90da582
|
Fix debug setting in ldap classes
|
2013-06-19 09:11:06 +02:00 |
|
Aleksander Machniak
|
c9ed4bfa7a
|
CS fixes
|
2013-06-18 18:21:17 +02:00 |
|
Aleksander Machniak
|
c64beed6bb
|
Unify LDAP debug messages
|
2013-06-18 18:10:04 +02:00 |
|
Aleksander Machniak
|
3ebda8c7d8
|
Ignore ldap_search warnings (like in the old code)
|
2013-06-18 15:44:08 +02:00 |
|
Thomas Bruederli
|
4500b2f79b
|
Consolidate quote_string() method usage; don't add additional filter if required field is already in search query
|
2013-06-18 14:33:11 +02:00 |
|
Thomas Bruederli
|
03c73fa1c5
|
Also use VLV for filter prefix matches
|
2013-03-13 11:49:34 +01:00 |
|
Thomas Bruederli
|
807c3d0d97
|
Optimmize memory usage by only fetching the necessary attributes used for contacts listing
|
2013-02-14 11:58:28 +01:00 |
|
Thomas Bruederli
|
772b732068
|
Fix autocompletion search with VLV support
|
2013-02-13 18:02:55 +01:00 |
|
Thomas Bruederli
|
f924f5f0aa
|
Improve group members listing + fix VLV index usage
|
2013-02-13 16:57:16 +01:00 |
|
Thomas Bruederli
|
004f866f20
|
Prepare for VLV auto-detection (requries 'config_root_dn' config option)
|
2013-02-13 13:58:55 +01:00 |
|
Thomas Bruederli
|
203323ba85
|
Refactored the LDAP address book into a generic LDAP wrapper class and an address book implementation (as already started in the devel-ldap-refactoring branch)
|
2013-02-13 12:27:51 +01:00 |
|