Aleksander Machniak
9afeb0174e
Use PHPStan v2
2025-03-16 13:33:15 +01:00
Aleksander Machniak
64df318a73
Add static files server ( #9294 )
...
Make use of public_html mandatory
2025-02-09 14:10:50 +01:00
Philip Weir
3af7ba1b23
Installer: Show NOT OK if none of the database extensions is installed ( #9594 , #9604 )
2024-10-05 08:44:07 +02:00
Pablo Zmdl
599dcaaa0d
Re-introduce Ctype extension as dependency ( #9509 )
...
It is required by Bacon, the QR-encoding tool.
This partially reverts commit deba22aaa9 .
2024-06-19 18:04:16 +02:00
Aleksander Machniak
5ed3b29a0a
Code improvements
2024-03-16 21:30:10 +01: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
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
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
deba22aaa9
Bump version of masterminds/html5
...
ctype extension is not required anymore
2023-06-09 09:30:39 +02:00
Aleksander Machniak
019801a430
Removed support for MS SQL Server and Oracle ( #7854 )
2022-09-11 11:01:03 +02:00
Aleksander Machniak
2c0db244bc
Generate QR-code in svg format if there's xmlwriter extension installed
...
I think xmlwriter is more likely to be installed than imagick.
The size of the png and svg output is almost identical.
2021-08-28 09:29:03 +02:00
Aleksander Machniak
15f8643542
Remove redundant PHP version checks, bump min. version in the installer
2021-08-01 17:47:32 +02:00
Aleksander Machniak
d258f845ab
Fix PHP8 Fatal error: Uncaught ValueError: mb_convert_encoding() ( #7850 )
...
Also, bring back iconv() fallback, it supports much more charsets than mbstring.
2021-01-30 15:51:23 +01:00
Aleksander Machniak
12547ccf01
Require php-intl extension, get rid of Net_IDNA2, PHP8 fixes, short array syntax
...
Net_IDNA2 is not compatible, and Intl is a bundled ext since PHP 5.3.
Fixed some regressions.
2020-12-13 10:21:52 +01:00
Aleksander Machniak
1164d9e103
rcmail_utils::get_http_client() -> rcube::get_instance()->get_http_client()
2020-11-21 09:28:25 +01:00
johndoh
740fed3bdb
Update min PHP version in installer and remove from Travis ( #7629 )
...
* update min PHP version in installer
* remove php5.4 from travis config
2020-09-23 18:43:14 +02:00
Aleksander Machniak
bdeb0db6cb
Small code fixes
2020-08-21 08:19:27 +02:00
Aleksander Machniak
35c29be9b2
Remove use of ext-iconv
2020-05-03 18:33:20 +02:00
Aleksander Machniak
8471930652
Add 'filter' to required extensions
2019-12-01 09:52:10 +01:00
Aleksander Machniak
ffeebff3f9
Fix bug where Ctype extension wasn't required in Installer and INSTALL file ( #7049 )
2019-11-22 14:30:49 +01:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
bb9fa55f00
Add check for optional zip extension
2017-11-18 10:09:26 +01:00
Aleksander Machniak
b1a3d46f89
Fix bug where pink image was used instead of a thumbnail when image resize fails ( #5933 )
...
Note GD and Imagick in INSTALL file and optional installer checks.
2017-09-05 08:33:40 +02:00
Aleksander Machniak
c3fc072d97
Remove code related to magic_quotes_* and register_globals
...
...they do not exist in PHP 5.4 which we now require.
2016-07-29 13:34:50 +02:00
Aleksander Machniak
8447bae77c
Require Mbstring and OpenSSL extensions ( #1490415 ) - remove redundant code
2015-06-28 12:27:48 +02:00
Aleksander Machniak
f7427f151e
Get rid of Mail_mimeDecode package dependency ( #1490416 )
2015-06-27 15:05:17 +02:00
Aleksander Machniak
489409f30f
Fix Net_LDAP3 homepage location
2015-04-14 18:29:59 +02:00
Aleksander Machniak
6b7e06620d
Remove zend.ze1_compatibility_mode checks, it does not exist in PHP >= 5.3
2014-10-13 14:48:05 +02:00
Aleksander Machniak
000f6ee304
Merge branch 'oracle'
2014-09-22 09:38:21 +02:00
Aleksander Machniak
c2345747ac
Add Oracle driver check in Installer
2014-09-18 16:57:41 +02:00
Thomas Bruederli
b6f89a32d8
Make LDAP extension and Net_LDAP3 lib optional in installer check
2014-09-11 17:45:32 +02:00
Thomas Bruederli
a98a4f8bb5
Remove 3rd party libs from our repository and define the dependencies in composer.json-dist.
...
Also remove the ancient utf8 lib and replace it with 'Patchwork UTF-8 for PHP'.
For direct git checkouts, copy composer.json-dist into composer.json and run
`php composer.phar install` to install the dependencies.
2014-08-27 17:45:21 +02:00
Thomas Bruederli
eea11ecdde
Move rcube_installer class to include/rcmail_installer in order to remain accessible by the update script even if the installer directory was removed
2014-04-21 16:39:19 +02:00
Aleksander Machniak
8cc567c004
Drop support for PHP < 5.3.7
2014-03-22 12:56:49 +01:00
Aleksander Machniak
a5b79b15a8
Fix empty messages list when register_globals is enabled ( #1489157 )
2013-06-25 18:37:19 +02:00
Aleksander Machniak
7a7c25aeff
Fix so valid and set date.timezone is not required by installer checks ( #1489180 )
2013-06-21 12:40:26 +02:00
Aleksander Machniak
39b905b7a8
Canonize boolean ini_get() results ( #1489189 )
2013-06-20 15:08:10 +02:00
Aleksander Machniak
e7fa2ce56d
Fix so install do not fail when one of DB driver checks fails but other drivers exist ( #1489178 )
2013-06-18 13:54:26 +02:00
Aleksander Machniak
398c9d8869
Fix links to PHP PDO drivers manual
2013-04-17 17:34:29 +02:00
Thomas Bruederli
619c320c0e
Avoid direct execution of installer includes ( #1488895 )
2013-01-10 09:41:12 +01:00
Aleksander Machniak
7389966295
Add notes about new requirements of the new mysql database driver,
...
add check in installer (#1488875 )
2012-12-21 10:32:59 +01:00
Aleksander Machniak
c563c2cc26
Improved message for invalid date.timezone
2012-09-14 08:43:05 +02:00
Aleksander Machniak
c22a521df1
Move date.timezone check to 'required' block, add date.timezone value validation
2012-09-14 08:33:37 +02:00
Aleksander Machniak
de56ea1909
Merge branch 'pdo'
...
Conflicts:
CHANGELOG
2012-08-08 08:21:45 +02:00
Aleksander Machniak
2b21b97ef0
Use file_get_contents() to make code simpler and to fix possible infinite loop
2012-07-10 10:07:21 +02:00
Aleksander Machniak
398bff5925
Replace rcube_mdb2/PEAR::MDB2 with rcube_db
2012-06-19 11:33:23 +02:00