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
|
93946f4ca7
|
Fix "self_accessor" PHP CS Fixer rule (#9269)
|
2023-12-17 09:44:43 +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
|
e69cd1b5a6
|
Fix extra leading newlines in plain text converted from HTML (#8973)
|
2023-04-09 12:06:50 +02:00 |
|
Aleksander Machniak
|
78b3049ce5
|
Fix PHPDoc
|
2022-02-18 19:19:07 +01:00 |
|
Aleksander Machniak
|
67d3b0fe63
|
Update changelog, code cleanup
|
2021-08-04 10:51:08 +02:00 |
|
Nico Antkowiak
|
12c7ea581d
|
Add option to control links handling behavior on html to text conversion (#6485)
Co-authored-by: NAN <antkowiak@dionera.com>
|
2021-08-04 10:37:14 +02:00 |
|
Aleksander Machniak
|
0d4a395464
|
Fix PHP 8.1 deprecation warnings
|
2021-07-31 07:53:14 +02:00 |
|
Aleksander Machniak
|
a832a6943e
|
Fix converting >1MB of HTML content into plain text (#8137)
|
2021-07-16 12:37:44 +02:00 |
|
Josh Soref
|
203f456620
|
Spelling (#8001)
|
2021-04-18 08:43:18 +02:00 |
|
Aleksander Machniak
|
066faa1485
|
CS fixes, short array syntax, PHP8 fixes, tests
also fixed listing of table columns on SQLite database
|
2020-11-28 10:06:41 +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
|
66fab8cdb2
|
CS fixes, Avoid usused variables, fixed minor bugs
|
2019-10-05 19:44:39 +02:00 |
|
Aleksander Machniak
|
7c8ce07e8c
|
Fix bug where bold/strong text was converted to upper-case on html-to-text conversion (6758)
|
2019-05-19 08:12:50 +02:00 |
|
Aleksander Machniak
|
57c67db029
|
Remove year(s) from copyright headers + some cleanup
|
2019-04-16 10:42:45 +02:00 |
|
Aleksander Machniak
|
73ea8f94d0
|
Use htmlspecialchars() with charset argument, simplify some code
|
2018-04-03 15:29:59 +02:00 |
|
Aleksander Machniak
|
21e7d873ce
|
Fix so links over images are not removed in plain text signatures converted from HTML (#4473)
|
2017-06-29 09:15:08 +02:00 |
|
ka7
|
9a35768c26
|
spelling fixes (#5690)
|
2017-03-12 12:14:19 +01:00 |
|
Aleksander Machniak
|
184de7735c
|
CS fixes (mostly phpdoc)
|
2016-08-18 08:50:59 +02:00 |
|
Aleksander Machniak
|
d91bad5975
|
Fix handling of blockquote tags with mixed case on html2text conversion (#5363)
|
2016-07-21 16:47:47 +02:00 |
|
Demis Palma
|
411bd3fe82
|
Fixed wrong encoding in currency symbols
|
2016-07-08 22:43:37 +01:00 |
|
Aleksander Machniak
|
e2e56261b9
|
Fix handling of long script/style tags when converting to text
|
2016-04-13 13:08:43 +02:00 |
|
Aleksander Machniak
|
91dc7fabbc
|
Small improvements in HTML to text conversion.
Better handling of <body> and trailing spaces, and </p><div> or <br><div>.
|
2015-10-15 12:23:23 +02:00 |
|
Aleksander Machniak
|
25c8fe4eeb
|
Fix handling of non-break spaces in html to text conversion (#1490436)
|
2015-06-17 14:03:13 +02:00 |
|
Aleksander Machniak
|
ff40683404
|
Fix so links with href == content aren't added to links list on html to text conversion (#1490434)
|
2015-06-17 09:30:44 +02:00 |
|
Aleksander Machniak
|
a958748947
|
CS fixes
|
2015-06-07 15:26:33 +02:00 |
|
Aleksander Machniak
|
53cbebf8ad
|
Fix handling spaces after <br> on html2text conversion
|
2015-04-09 10:11:00 +02:00 |
|
Aleksander Machniak
|
7b924535fd
|
CS fixes
|
2015-01-03 13:59:07 +01:00 |
|
Aleksander Machniak
|
efc470f0ac
|
Merge branch 'dev-text2html'
Conflicts:
program/js/app.js
Fix handling magic_quotes in rcube_text2html and rcube_html2text - move
stripslashes from these classes to action files
|
2014-05-17 09:27:17 +02:00 |
|
Thomas Bruederli
|
0ee6328098
|
Replace entities when converting to text
|
2014-04-01 15:05:19 +02:00 |
|
Thomas Bruederli
|
eecd9ce0f9
|
Fix infinite loop when converting invalid html to plaintext (#1489566)
|
2014-02-04 10:23:08 +01:00 |
|
Aleksander Machniak
|
27a620c012
|
Fix typo in method name
|
2013-10-21 11:34:41 +02:00 |
|
Aleksander Machniak
|
ff6de99ae4
|
Some micro-optimizations
|
2013-10-13 16:12:43 +02:00 |
|
Thomas Bruederli
|
737b629c6f
|
Bring back lost text braking width adjustment when quoting blockquote parts
|
2013-01-28 20:54:03 +01:00 |
|
Thomas Bruederli
|
bb6f4b2b5d
|
Refactored blockquote quotion routine in html2text conversion: it now correctly converts multiple and/or nested blockquotes
|
2013-01-25 23:46:34 +01:00 |
|
Aleksander Machniak
|
66afd70b75
|
Framework'ize html2text class
|
2012-12-26 12:14:34 +01:00 |
|