Michael Voříšek
f4272804d6
Rename test files for PHPUnit 10+ ( #9477 )
1 year ago
Aleksander Machniak
6c54254a2f
Fix folders hierarchy when special folders are subfolders of INBOX, with no personal namespace prefix ( #9452 )
1 year ago
Michael Voříšek
4ee79b9e84
fix "explicit_string_variable" ( #9315 )
2 years ago
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"
2 years ago
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>
2 years ago
Aleksander Machniak
ed146b68db
PHP8 fixes, CS fixes, short array syntax, tests
5 years ago
Aleksander Machniak
fb2c80eedb
Fix regression ( #7705 )
5 years ago
Aleksander Machniak
545a1569f1
Steps -> Actions refactoring ( #7688 )
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
5 years ago
Aleksander Machniak
1613f3ab4c
INSERT OR REPLACE implementation ( #6771 )
For now with support in postgres and mysql databases.
For now used in rcube_cache, rcube_imap_cache and enigma plugin
6 years ago
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
6 years ago
Aleksander Machniak
1058924e21
Move some framework classes to sub-directories
8 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Aleksander Machniak
7b924535fd
CS fixes
11 years ago
Aleksander Machniak
90f7aa9e39
Fix varius db_prefix issues ( #1489839 )
- Move DDL script execution code to rcube_db class(es).
- Improve prefix replacement code, so index names are also modified
11 years ago
Thomas Bruederli
120db629b0
Execute connection config queries on db handle direclty
12 years ago
Aleksander Machniak
d186405c00
Simplified db connection initialisation code
12 years ago
Aleksander Machniak
66407a75d1
Fix date format issues on MS SQL Server ( #1488918 )
12 years ago
Aleksander Machniak
aa44ce6e97
Add optional argument to now() for simple interval calculations on SQL-side
12 years ago
Aleksander Machniak
ec6a77bab2
Fix LIMIT/OFFSET queries handling on MS SQL Server ( #1488984 ) - require version 2005+
13 years ago
Aleksander Machniak
d2534c63f2
Cleanup, remove file paths from doc
13 years ago
Aleksander Machniak
ba6f21caeb
Framework files moved to lib/Roundcube
13 years ago
Aleksander Machniak
9ab34604d9
Define @package and @subpackage of Framework classes
13 years ago
Thomas Bruederli
88107d6cf5
Define public property 'db_provider' in pdo classes. That is used in various places, especially the installer
13 years ago
Aleksander Machniak
3d231c88fa
CS fixes
13 years ago
Aleksander Machniak
8c2375a074
More CS fixes and comments
13 years ago
Aleksander Machniak
5354c5dac7
Implemented LIMIT/OFFSET for SQL Server
13 years ago
Aleksander Machniak
0d94fd45f4
New database layer based on PHP PDO
13 years ago