William Desportes
|
64c1b26bac
|
Use strict compare for booleans
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-06-22 17:41:54 +02:00 |
|
Maurício Meneghini Fauth
|
7ef47312db
|
Remove remaining calls to old DI container
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-06-17 15:02:08 -03:00 |
|
Hugues Peccatte
|
a395bd2823
|
Remove as much as possible the old DI system
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
|
2019-06-15 21:39:21 +02:00 |
|
Maurício Meneghini Fauth
|
e1f9ae00cd
|
Add a trailing comma in multi-line arrays
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-06-14 14:09:26 -03:00 |
|
Hugues Peccatte
|
9abd308837
|
Inject dependencies (#15271)
Inject dependencies instead of building them.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
|
2019-06-01 15:13:41 -03:00 |
|
Maurício Meneghini Fauth
|
f19ab9a0b0
|
Remove $pmaThemeImage global from ignored errors for PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-05-14 15:37:19 -03:00 |
|
Maurício Meneghini Fauth
|
82a03931d6
|
Remove $table global from ignored errors for PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-05-14 15:17:57 -03:00 |
|
Maurício Meneghini Fauth
|
45546661aa
|
Remove $db from ignore errors for PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-05-14 14:54:21 -03:00 |
|
William Desportes
|
42d36a75f2
|
Use exit; instead of exit(); because exit; is most common in codebase
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-05-11 00:53:57 +02:00 |
|
Maurício Meneghini Fauth
|
17195fbe72
|
Get $dbi from DIC instead of global in entry points
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-04-18 01:09:38 -03:00 |
|
Maurício Meneghini Fauth
|
be936acd3b
|
Add ChangeLog entry for #13424
Fix coding standard errors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-03-25 17:14:44 -03:00 |
|
amarjitsingh52922
|
dd88475656
|
Fix for #13424 Importing a CSV created tables named Table ##" (#14935)
Fix #13424 Importing a CSV created tables named "Table ##"
Signed-off-by: Amarjit Singh <amarjitsingh52922@gmail.com>
|
2019-03-25 16:49:16 -03:00 |
|
Hugues Peccatte
|
f1e140be05
|
Reduce nested ifs
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
|
2019-01-12 23:06:04 +01:00 |
|
Maurício Meneghini Fauth
|
23c3579804
|
Format array declarations
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2019-01-07 14:31:39 -02:00 |
|
Maurício Meneghini Fauth
|
4cee0cbc12
|
Adds space after not (!) and type cast
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2019-01-05 21:56:34 -02:00 |
|
Maurício Meneghini Fauth
|
38e5b12c1c
|
Define an absolute path to use for require statements
Fixes #6167
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-12-22 14:37:31 -02:00 |
|
Maurício Meneghini Fauth
|
76d8bfdafa
|
Merge branch 'QA_4_8'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-12-12 21:04:19 -02:00 |
|
William Desportes
|
cc2665121d
|
phpstan level 2 - fixes
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2018-11-25 13:57:57 +01:00 |
|
Maurício Meneghini Fauth
|
bf3e6c3a77
|
Retrieve parameters from $_POST in import
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-11-10 20:48:58 -02:00 |
|
William Desportes
|
3dce65d913
|
phpstan level 1 (#14472)
* level +1
* Install sami/sami globaly to avoid dependency clash
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2018-08-18 14:37:41 -03:00 |
|
Maurício Meneghini Fauth
|
285e38e931
|
Fix some PSR-2 coding standard errors
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-05-30 09:07:56 -03:00 |
|
Maurício Meneghini Fauth
|
b9c0463d96
|
Use short array syntax instead of long array syntax
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-05-30 01:42:21 -03:00 |
|
Maurício Meneghini Fauth
|
af148ad92b
|
Enable strict mode in PHP files
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-05-16 04:36:04 -03:00 |
|
Maurício Meneghini Fauth
|
1a82d6f0d2
|
Refactor PhpMyAdmin\Import static methods
Replaces static methods with instance methods.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-03-31 21:32:18 -03:00 |
|
Maurício Meneghini Fauth
|
c65e9c330e
|
Remove @ operator from ini_set()
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-03-01 22:36:35 -03:00 |
|
Maurício Meneghini Fauth
|
38767030ef
|
Remove @ operator from ini_get()
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-03-01 22:36:35 -03:00 |
|
Maurício Meneghini Fauth
|
0889b52c36
|
Replace static methods with instance methods
Replace PhpMyAdmin\Sql static methods with instance methods.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-02-27 17:39:16 -03:00 |
|
Michal Čihař
|
72f109a99c
|
Accept SQL query only from POST requests
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2017-12-14 10:34:45 +01:00 |
|
Maurício Meneghini Fauth
|
01fd301003
|
Use 'elseif' keyword istead of 'else if'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-12-04 13:31:25 -02:00 |
|
Michal Čihař
|
3b6a994dcd
|
Move collation connection setting to user preferences
It is now handled same way as other user settings.
Issue #11688
Issue #13466
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2017-11-29 14:16:31 +01:00 |
|
Maurício Meneghini Fauth
|
7f607e4737
|
Fix undefined variable notice in import.php
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-11-09 15:29:29 -02:00 |
|
Maurício Meneghini Fauth
|
7f137aa587
|
Replace globals with DI in PhpMyAdmin\Bookmark
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-11-04 15:14:56 -02:00 |
|
Michal Čihař
|
98964e2f59
|
Remove is_superuser superglobal
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2017-10-10 12:28:00 +02:00 |
|
Maurício Meneghini Fauth
|
700e081833
|
Refactor plugin_interface functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-09-12 17:36:39 -03:00 |
|
Maurício Meneghini Fauth
|
1354b45b12
|
Refactor parse_analyze function to static method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-09-12 16:51:21 -03:00 |
|
Maurício Meneghini Fauth
|
19e0199a36
|
Refactor import functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-09-04 22:35:55 -03:00 |
|
Maurício Meneghini Fauth
|
2631bcedba
|
Move plugins classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-07-20 11:50:12 -03:00 |
|
Michal Čihař
|
d15da74eda
|
Merge branch 'QA_4_7'
|
2017-07-18 12:00:02 +02:00 |
|
Michal Čihař
|
6e7c6aed7d
|
Avoid breakage if set_time_limit is disabled
Fixs #13468
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2017-07-18 11:57:59 +02:00 |
|
Maurício Meneghini Fauth
|
ca910e8de8
|
Move classes to PhpMyAdmin namespace
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-07-08 10:54:21 -03:00 |
|
Maurício Meneghini Fauth
|
8f943ae1c0
|
Move classes to PhpMyAdmin namespace
- Move Sanitize to PhpMyAdmin namespace
- Move SavedSearches to PhpMyAdmin namespace
- Move Scripts to PhpMyAdmin namespace
- Move ServerStatusData to PhpMyAdmin namespace
- Move Sql to PhpMyAdmin namespace
- Move StorageEngine to PhpMyAdmin namespace
- Move SubPartition to PhpMyAdmin namespace
- Move SysInfoLinux to PhpMyAdmin namespace
- Move SysInfoSunOS to PhpMyAdmin namespace
- Move SysInfoWINNT to PhpMyAdmin namespace
- Move SysInfo to PhpMyAdmin namespace
- Move SystemDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-07-07 01:46:08 -03:00 |
|
Maurício Meneghini Fauth
|
119563b7ea
|
Move classes to PhpMyAdmin namespace
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-06-30 23:44:10 -03:00 |
|
Maurício Meneghini Fauth
|
54a15dbd9c
|
Move classes to PhpMyAdmin namespace
- Move Logging to PhpMyAdmin namespace
- Move Menu to PhpMyAdmin namespace
- Move Message to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-06-30 13:30:04 -03:00 |
|
Maurício Meneghini Fauth
|
13c0f7bc3c
|
Move classes to PhpMyAdmin namespace
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-06-28 21:17:18 -03:00 |
|
Michal Čihař
|
d540e3a284
|
Merge branch 'QA_4_7'
|
2017-06-28 10:50:30 +02:00 |
|
Michal Čihař
|
58a6d50f6a
|
Rewrite URL constructing during import
- Share most of the code
- Correctly generate URL in corner cases
Fixes #13189
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2017-06-06 14:25:31 +02:00 |
|
Maurício Meneghini Fauth
|
e330402b5b
|
Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-06-03 00:52:22 -03:00 |
|
Maurício Meneghini Fauth
|
2124311e38
|
Refactor the sql functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2017-05-31 19:46:06 -03:00 |
|
Fenn-CS
|
297aec9ab1
|
Added definitions for result and message variable-update methods still missing
Fixes #12349
Signed-off-by: Fenn-CS <fenn25.fn@gmail.com>
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2017-03-21 09:46:57 +01:00 |
|
Michal Čihař
|
308c9d7951
|
Simplify Response object handling
- always use use and short name
- avoid calling getInstance() several times in one script
Signed-off-by: Michal Čihař <michal@cihar.com>
|
2016-12-07 18:17:59 +01:00 |
|