Commit Graph

27 Commits

Author SHA1 Message Date
Michael Voříšek
6a5f9ee7ce Add override method attributes (#9272) 2024-06-02 15:57:56 +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
4ee79b9e84 fix "explicit_string_variable" (#9315) 2024-01-22 08:05:59 +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
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
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
Aleksander Machniak
7a269a2b84 Replace get_input_value() with get_input_string() where appropriate 2021-09-13 19:31:49 +02:00
Jens Spanier
dbb5920b77 new_user_dialog: Use the identity_update hook (#8023) 2021-05-06 12:06:17 +02:00
Aleksander Machniak
8cf8a47381 new_user_identity: Make sure email_list includes the main user email (#7085) 2021-02-21 10:20:52 +01:00
Aleksander Machniak
14a94cf0d7 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-09 21:11:46 +01:00
Aleksander Machniak
f9a5d03e5a Fix bug where new_user_dialog email check could have been circumvented by deleting / abandoning session (#5929) 2018-04-16 17:15:26 +02:00
Aleksander Machniak
d99f2e0569 Elastic skin support for new_user_dialog
Small refactoring, removed newuserdialog.css.
2017-09-28 21:46:13 +02:00
Aleksander Machniak
391d0d2039 Remove "@version @package_version@" 2016-11-01 18:26:47 +01:00
Aleksander Machniak
2c30feece1 Fix conflict in new_user_dialog and password_force_new_user settings (#5275) 2016-06-12 13:13:34 +02:00
Aleksander Machniak
d5038ee5d9 CS fixes 2014-04-28 14:21:32 +02:00
Aleksander Machniak
2581c87e65 Fix identities_level=4 handling in new_user_dialog plugin (#1489840) 2014-04-28 14:13:09 +02:00
Aleksander Machniak
e58f3d8c2b Validate e-mail address in new_user_dialog (#1486498), use AJAX for form submission,
don't reload the page after successful form submission
2013-05-09 10:05:25 +02:00
Aleksander Machniak
2964fb573d Fix handling of identities_level=4 2013-04-16 09:46:39 +02:00
Aleksander Machniak
61be822d62 Remove deprecated functions (from bc.php file) usage in plugins 2013-01-18 15:24:49 +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
929a508d80 - Improve performance by avoiding unnecessary updates to the session table (#1486325) 2010-03-01 19:04:34 +00:00
alecpl
fb915a744e - add to 'login' task 2010-02-15 06:57:47 +00:00
alecpl
b590cb5fe3 - fix if check 2009-09-09 06:28:44 +00:00
thomascube
a183b76946 Finish new-user-dialog plugin with localizatized texts 2009-07-10 15:14:07 +00:00
thomascube
5edb5b6634 Create plugin to present identities settings dialog to new users 2009-07-09 08:18:35 +00:00