Commit Graph

74 Commits

Author SHA1 Message Date
Aleksander Machniak
d02f2e0b55 Remove version number from index.php 2025-02-09 14:21:05 +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
ccede1f272 Update links in comments and config to https where available (#9759) 2025-01-26 13:34:57 +01:00
Stefan
3cff118366 Remove year numbers in user visible places (#9603)
To not have to update it every year or getting it wrong as in 1.6.8 I proposed to use the server year as copyright end year. During pull request, @alecpl suggested siply removing the years alltogether as they don't provide much value.

Co-authored-by: stefan-muc <roundcube-git_24@green-sparklet.de>
2024-09-18 13:51:22 +02:00
Aleksander Machniak
5ed3b29a0a Code improvements 2024-03-16 21:30:10 +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
b5637067eb Bound upper PHP version in composer.json (#9298)
* bound upper PHP version

* improve/replace all relative includes
2024-01-02 13:33:50 +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
a20445fcc5 Fix potential HTTP protocol version mismatch (#8982) 2023-05-07 16:37:17 +02:00
Aleksander Machniak
01e42cfe57 Fix bug where config creation in Installer did ignore options in the form (#8634) 2022-07-31 12:41:05 +02:00
Aleksander Machniak
49cf2286d2 Fix PHP8 warning 2022-07-14 07:48:39 +02:00
Aleksander Machniak
42f9cdceba Master is 1.7-git 2022-06-23 19:02:23 +02:00
Aleksander Machniak
b4fd75d6c1 Master is 1.6-git now 2021-07-25 09:08:20 +02:00
Aleksander Machniak
a0fbcf3816 Bump copyright year
[skip ci]
2021-01-02 13:46:06 +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
9f1d185c44 Master is 1.5-git now 2019-10-27 09:45:15 +01:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
fd373aa0e2 Fix PHP 7.2 warning on undefined constant RCMAIL_VERSION 2017-11-18 15:46:06 +01:00
Aleksander Machniak
5101cfc67a Bump version to 1.4-git 2017-05-15 11:34:43 +02:00
JohnDoh
dd714b33a8 replace old trac links (#5514) 2016-11-13 19:15:00 +01:00
Aleksander Machniak
e85cfa6281 Don't use bc.php anymore, this time in the Installer 2016-10-06 21:08:20 +02:00
Aleksander Machniak
9634169647 Bump version number to 1.3-beta 2016-05-02 14:37:39 +02:00
Aleksander Machniak
74ce01efc7 Q() -> rcube::Q() 2015-10-23 08:02:57 +02:00
Aleksander Machniak
f8f91aa1ba Installer: Add button to save generated config file in system temp directory (#1488149) 2015-08-26 19:39:19 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
3779b67a9c Set version number to 1.2-git 2015-02-16 11:22:13 +01:00
Thomas Bruederli
2f8b1036da Bump version and copyright year 2015-02-07 18:33:24 +01:00
Aleksander Machniak
0ea079d604 dirname(__FILE__) -> __DIR__ 2014-10-13 14:41:55 +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
bcedf05d19 s/$rcmail_config/$config/ also for plugins configuration 2013-08-20 19:23:59 +02:00
Thomas Bruederli
dee0aff85a Avoid fatal errors if session support is missing; This shall be displayed in the first step 2013-06-29 10:49:11 +02:00
Thomas Bruederli
9bacb2cd3f Prepare config migration:
- Show warning in installer and hints how to migrate
- Let update.sh create the new config file if legacy config is detected
- Provide a sample config file for manual configuration
- Define a list of options which always should be written to local config
2013-06-28 22:27:59 +02:00
Aleksander Machniak
461a30d771 Merge config files (#1487311).
Now we have defaults.inc.php and config.inc.php.
Renamed $rcmail_config to $config. Old naming and old files are supported
for backward compatibility.
2013-06-14 12:09:08 +02:00
Aleksander Machniak
b2064d5fc0 Remove program/ dir from installer include path 2013-01-04 09:43:25 +01:00
Thomas Bruederli
5926684aab Unify path schema in global constants: paths always end with a /. Keep RCMAIL_CONFIG_DIR for backwards compatibility 2012-11-25 17:57:39 +01:00
Thomas Bruederli
dc088e25c2 Fix installer to work with the new framework architecture 2012-11-25 17:49:42 +01:00
Aleksander Machniak
041c93ce0b Removed $Id$ 2012-05-22 12:31:37 +02:00
Aleksander Machniak
5fed074a45 Always use 1 step as a fallback (#1488490) 2012-05-22 08:38:43 +02:00
Brian Ronald
b546b0dcfd Also, the license comments 2012-05-09 10:34:48 +01:00
alecpl
d13f3293ea - Add RCMAIL_CHARSET definition for Installer (#1488436) 2012-04-18 10:56:08 +00:00
alecpl
1aceb9cec8 - Framework refactoring (I hope it's the last one):
rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils
  renamed main.inc into rcube_bc.inc
2012-04-16 11:02:21 +00:00
alecpl
0c259682f6 - Merge devel-framework branch, resolved conflicts 2012-04-13 08:52:02 +00:00
thomascube
c04b23adfd - replace claim in Roundcube logo
- require support_url config option in installer
2012-04-04 14:59:16 +00:00
thomascube
7fe3811c65 Changed license to GNU GPLv3+ with exceptions for skins and plugins 2012-01-18 11:10:46 +00:00
thomascube
43486922fa Improve error reporting in installer 2011-08-31 13:36:27 +00:00
alecpl
403f0bf771 - Fix default_port option handling in Installer when config.inc.php file exists (#1487925) 2011-05-19 10:06:46 +00:00