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
|
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 |
|
Aleksander Machniak
|
16ee6865ca
|
Fix cross-site scripting (XSS) vulnerability in handling of linkrefs in plain text messages
Thanks to Niraj Shivtarkar for the report.
|
2023-09-14 08:39:51 +02:00 |
|
Aleksander Machniak
|
e247209280
|
Fix various PHP 8.1 warnings (#8584)
|
2022-06-25 08:33:03 +02:00 |
|
Aleksander Machniak
|
f2688ba492
|
Use ?? operator where applicable
|
2021-09-21 19:12:06 +02:00 |
|
Aleksander Machniak
|
4b5e9c10f9
|
Fix handling of multiple link references with the same index in plain text message (#8021)
Second attempt that should work on all supported PHP versions
|
2021-04-25 10:57:17 +02:00 |
|
Aleksander Machniak
|
dc89e18a0f
|
Revert "Fix handling of multiple link references with the same index in plain text message (#8021)"
This reverts commit 2be7e1cb61.
The code used a PHP>=7.4 feature.
|
2021-04-25 09:15:05 +02:00 |
|
Aleksander Machniak
|
2be7e1cb61
|
Fix handling of multiple link references with the same index in plain text message (#8021)
|
2021-04-25 09:05:51 +02:00 |
|
Aleksander Machniak
|
39b3c0049e
|
Fix cross-site scripting (XSS) via HTML or Plain text messages with malicious content [CVE-2020-35730]
Credits to Alex Birnberg <birnbergalex@gmail.com>
|
2020-12-27 18:27:42 +01:00 |
|
Aleksander Machniak
|
f4ed1024dc
|
PHP8 fixes, CS fixes, short array syntax, tests
|
2020-12-02 20:15:00 +01:00 |
|
Aleksander Machniak
|
bde383d051
|
PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
|
2020-10-11 10:32:41 +02:00 |
|
Aleksander Machniak
|
a5c2b4360c
|
Fixes in context of undefined variables, and code style
|
2020-08-15 12:13:31 +02:00 |
|
Aleksander Machniak
|
3e2f076628
|
Fix bug in conversion of email addresses to mailto links in plain text messages (#7526)
|
2020-08-07 10:03:56 +02: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
|
e8ab3d96bd
|
Fix converting mail addresses with @www. into mailto links (#5197)
|
2016-04-12 11:53:04 +02:00 |
|
Aleksander Machniak
|
a03233ceba
|
CS fixes
|
2015-10-07 09:14:18 +02:00 |
|
Aleksander Machniak
|
df0b4f3437
|
Make sure an email address is valid when replacing it with mailto: link
|
2015-09-15 12:52:18 +02:00 |
|
Aleksander Machniak
|
a958748947
|
CS fixes
|
2015-06-07 15:26:33 +02:00 |
|
Aleksander Machniak
|
001d337b37
|
Fix handling unicode characters in links (#1489898)
|
2014-05-16 16:00:33 +02:00 |
|
Aleksander Machniak
|
d1abd8e339
|
Fix infinite loop in rcube_utils::mod_css_styles() after recent changes in rcube_string_replacer
|
2013-10-12 12:28:40 +02:00 |
|
Thomas Bruederli
|
c856b73c86
|
Minor improvements to linkref parser
|
2013-10-11 14:12:42 +02:00 |
|
Thomas Bruederli
|
e480ca00ba
|
Replace markdown-style [1] link indexes in plain text email bodies. [1]: http://daringfireball.net/projects/markdown/
|
2013-10-10 23:02:36 +02:00 |
|
Aleksander Machniak
|
0bac7b32de
|
Fix wrong handling of links with '|' character (#1489276)
|
2013-08-07 13:48:07 +02:00 |
|
Thomas Bruederli
|
cff07b5f76
|
Fix parsing of links with ... in URL (#1489192)
|
2013-07-25 22:14:59 +02:00 |
|
Aleksander Machniak
|
70229cbbfc
|
Fix incorrect handling of some specific links (#1489060)
|
2013-04-22 14:09:54 +02:00 |
|
Aleksander Machniak
|
1e32540839
|
Add rel="noreferrer" for links in displayed messages (#1484686)
|
2013-03-19 12:47:07 +01:00 |
|
Aleksander Machniak
|
16915ee2ad
|
Don't convert to link a text with < and > characters
|
2013-01-08 12:13:44 +01:00 |
|
Aleksander Machniak
|
0931a97c5f
|
Fix handling of parentheses in URLs
|
2012-12-23 15:09:56 +01:00 |
|
Aleksander Machniak
|
0d214498d0
|
CS fixes
|
2012-12-18 19:02:53 +01:00 |
|
Aleksander Machniak
|
d2534c63f2
|
Cleanup, remove file paths from doc
|
2012-12-18 09:07:00 +01:00 |
|
Thomas Bruederli
|
60226a75d8
|
Separate the very application-specific output classes from the Roundcube framework; add autoloader for rmail* classes
|
2012-11-27 12:13:33 +01:00 |
|
Thomas Bruederli
|
10da75f364
|
Move shortcut functions to framework class
|
2012-11-27 11:17:37 +01:00 |
|
Aleksander Machniak
|
ba6f21caeb
|
Framework files moved to lib/Roundcube
|
2012-11-21 19:52:03 +01:00 |
|