Commit Graph

292 Commits

Author SHA1 Message Date
Aleksander Machniak
0675156ab2 Add dummy index.php 2025-02-09 14:27:22 +01:00
Aleksander Machniak
64df318a73 Add static files server (#9294)
Make use of public_html mandatory
2025-02-09 14:10:50 +01:00
Sandor Takacs
8386db483d Add --quiet parameter to hide updatecss.sh output (#9743) 2025-01-26 13:52:41 +01:00
Aleksander Machniak
c9c1a8fa2b Use locally installed npm deps 2024-06-08 14:33:33 +02:00
Michael Voříšek
bdd5de55b5 Rename composer.json.dist to composer.json (#9279)
* Rename composer.json.dist to composer.json
* fix update
2024-04-03 18:06:01 +02:00
Michael Voříšek
332c165d28 Fix some basic JS CS (#9328)
* fix "nonblock-statement-body-position" (fixed already)

* fix "comma-dangle"

* fix "no-regex-spaces"

* fix "new-parens"

* fix "object-curly-newline"

* fix "object-property-newline"

* fix "spaced-comment" semimanually

* fix "no-constant-condition" manually

* fix "unicorn/no-hex-escape"

* fix "unicorn/escape-case"

* fix "quote-props"

* fix "no-whitespace-before-property" - fix bug/typo

* fix "unicorn/empty-brace-spaces"

* fix "keyword-spacing"

* fix "dot-notation"

* fix "no-return-assign" manually

* fix "padding-line-between-statements"

* fix "key-spacing"

* fix "no-else-return" semimanually

* fix some "no-undef"

* fix case cs

* Revert "fix "padding-line-between-statements""

* improve switch/case format I.

* improve switch/case format II.

regex: (^ *(break|return).*)\n *(\n)

* fix safe "eqeqeq"

* fix "radix"

* fix v3.49.0 CS (static providers)

* fix "string_implicit_backslashes" in php files

* fix comments align

* fix test static providers

* fix stan

* disable "final_internal_class" rule
2024-02-06 08:28:19 +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
ff2d721680 Fix more CS whitespace (#9318)
* fix "no_useless_else" manually

* fix some "blank_line_before_statement"

* two manual changes

* Revert "fix some "blank_line_before_statement""

This reverts commit 2cc857c00e.

* fix some "blank_line_before_statement" using patched fixer (after "}" only)

* fix continue/break too
2024-01-25 19:17:29 +01:00
Michael Voříšek
4ee79b9e84 fix "explicit_string_variable" (#9315) 2024-01-22 08:05:59 +01:00
Michael Voříšek
54f4aa33f9 Fix CS - imports (#9316)
* fix Tests\Browser\TestCase imports

* fix remaining imports

* fix PHPUnit\Framework\TestCase imports

* import GuzzleHttp\Client

* fix remaining

* "php_unit_method_casing" is not todo

* fix "single_line_comment_spacing"

* fix 2nd commit done using older fixer
2024-01-21 19:13:31 +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
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
28c778b7a0 Modernize more CS III (#9270)
* fix "single_trait_insert_per_statement"

* fix "empty_loop_condition"

* fix "backtick_to_shell_exec"

* fix "phpdoc_to_comment"

* fix "no_empty_statement"

* fix "heredoc_to_nowdoc"

* fix "class_reference_name_casing"

* fix "align_multiline_comment"

* fix "heredoc_indentation"

* fix "constant_case"

* fix "single_line_comment_style"

* fix "no_null_property_initialization"

* fix "standardize_increment"

* fix "no_unneeded_control_parentheses"

* fix missing NL after "<?php"

* fix php in *.sh files too

* fix trailing spaces from all text files

* fix "explicit_indirect_variable"

* Revert "fix "align_multiline_comment""

This reverts commit 42e584f8e3.

* fix "align_multiline_comment" properly

* Revert "fix trailing spaces from all text files" - diff files only

* Revert "Revert "fix trailing spaces from all text files" - diff files only"

This reverts commit 2101c2a3a3.

* rm useless "setup-php" config
2023-12-18 07:46:51 +01:00
Aleksander Machniak
6ad98e7b1b Fix TinyMCE localization installation (#9266) 2023-12-14 12:29:44 +01:00
Aleksander Machniak
98ac6e02f5 Fix unneeded php command use in installto.sh and deluser.sh scripts (#9237) 2023-12-05 19:58:20 +01:00
Aleksander Machniak
57b161111f Fix bug where installto.sh/update.sh scripts were removing some essential options from the config file (#9051)
Plus small code improvements
2023-07-08 09:10:45 +02:00
Aleksander Machniak
cf2077c359 Don't print composer location when checking for it 2023-04-20 15:18:27 +02:00
Aleksander Machniak
bee513218a Migrate to Transifex API v3 2023-04-09 18:29:22 +02:00
Aleksander Machniak
822cdf915b Remove redundant code 2023-03-12 13:07:26 +01:00
Aleksander Machniak
43af3e0e58 Move get_host() from rcube_utils to rcmail_utils, de-duplicate 2023-03-05 18:33:57 +01:00
Aleksander Machniak
761710ab93 Code improvements 2023-03-05 17:57:55 +01:00
vladasko-g
852ffc6826 Add idenity management script (#8887) 2023-03-05 17:56:52 +01:00
Aleksander Machniak
ed73265c76 Create rcmail_install::unzip() and simplify code 2023-03-05 11:30:11 +01:00
Philip Weir
fe885b4d64 Support PHP Zip extension and 7z for jsdeps install (#8935)
* support PHP Zip extension for jsdeps install
* support 7z for jsdeps install
2023-03-05 09:09:07 +01:00
Thomas B
dec93dc1b7 Update vendor dir from installto.sh if untouched (#8642) (#8840)
* installto.sh checks for a marker indicating that composer was not run/used.
* update.sh tries to find and run composer
2023-01-05 21:30:51 +01:00
Aleksander Machniak
cb1951048c Fix regression in create_config()
On update some bool options might got changed values to false,
if not specified in the config.inc.php file.
2022-11-13 14:11:52 +01:00
Felix E
3053a1c5e4 Add public_html to list of updated directories (#8646) 2022-08-09 19:16:45 +02:00
Aleksander Machniak
22e3373493 Fix PHP warning in bin/updatedb.sh 2022-07-01 18:51:55 +02:00
Thomas B
fa7f6a749c Add option in initdb.sh to update schema if already exists (#8438)
This can be used by the Docker images where we don't know whether the configured database is already initialized or not.
2022-02-07 09:06:12 +01:00
Aleksander Machniak
893216cb29 Unified and simplified services connection options (#8310) 2021-12-07 15:07:54 +01:00
lexxai
316c448f72 Shrink css in plugins/jqueryui/themes (#8337) 2021-12-04 08:59:41 +01:00
Aleksander Machniak
48fbf110af SQLite: Use foreign keys, require SQLite >= 3.6.19 (#8159) 2021-10-03 12:10:14 +02:00
Aleksander Machniak
cb37d14c5c Support responses (snippets) in HTML format (#5315) 2021-08-28 19:17:19 +02:00
johndoh
0c863206f1 Replace Endroid QrCode with BaconQrCode (#8173) 2021-08-28 09:09:19 +02:00
Aleksander Machniak
d3143ddc40 Remove misleading notice message (#7544) 2021-07-17 08:52:56 +02:00
Aleksander Machniak
6cbd09613f Fix PHP warnings 2021-05-22 18:54:25 +02:00
Aleksander Machniak
9c0ce85d19 Secure the new CHANGELOG.md file and update installto.sh to sync it 2021-05-10 11:11:13 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
5ac44fd4ed PHPDoc fixes 2021-02-28 11:58:27 +01:00
Aleksander Machniak
5349b3fd25 Fix transifexpull.sh
`set -e` causes `return` in a function to stop the script. Remove it.

[skip ci]
2021-02-09 09:14:51 +01:00
Aleksander Machniak
4c49a3cb66 Use proper array key 2021-01-18 19:21:48 +01:00
Aleksander Machniak
b4b24f93df Fix some PHP8 warnings 2021-01-15 18:56:48 +01:00
Tom Sommer
4ba9c6f26e deluser.sh should exit with success (#7785) 2021-01-09 12:36:28 +01:00
Aleksander Machniak
577570402f cssshrink.sh: Replace yuicompressor with csso (#7804) 2021-01-01 11:18:01 +01:00
Aleksander Machniak
b379fbda5e jsshrink.sh: Replace google-closure-compiler with UglifyJS (#7804) 2021-01-01 11:17:25 +01:00
Aleksander Machniak
eb0d1becbf Add -g argument, update changelog 2020-12-28 19:42:26 +01:00
PhilW
e263aad68f get minifying tools from npm 2020-12-27 15:54:04 +00:00
johndoh
cfd4fa170f Fix a few PHP notices (#7791) 2020-12-19 19:36:58 +01:00