Commit Graph

115795 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
9321e5cd2e Remove old DI container in tbl_export.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-15 20:44:28 -03:00
Maurício Meneghini Fauth
04f3340b97 Remove old DI container in tbl_change.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-15 20:37:53 -03:00
Maurício Meneghini Fauth
a922b1114f
Merge pull request #15279 from Tithugues/feature/get_rid_of_old_container
Remove old DI container from various files
2019-06-15 19:58:11 -03:00
Hugues Peccatte
39c439f08d Fix phpstan errors
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:45:51 +02:00
Hugues Peccatte
1b5131863f Get rid of old container in DatabaseInterface
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
f5b858c8da Remove Di\Container in tbl_relation.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
c46ddb8b16 Remove Di\Container in tbl_operations.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
454eb60fbb Remove Di\Container in tbl_indexes.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
1c710ee4e0 Remove Di\Container in tbl_gis_visualization.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
8de3080d45 Remove Di\Container in tbl_get_field.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
c301248ccd Remove Di\Container in tbl_structure.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
f1349666bd Define correctly the Table\StructureController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
127c4831d8 Define correctly the Table\SqlController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
97faeb4420 Define correctly the Table\RelationController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
553e3615c0 Define correctly the Table\IndexesController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
92bf62d474 Define correctly the GisVisualizationController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
7e909f759f Define correctly the Database\SqlController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
65833928fa Add CheckUserPrivileges as a service
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
c68bedaa9e Add missing variables
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
8dc906e923 Define correctly the Database\StructureController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
ac5a95ca84 Define correctly the SearchController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
5c790458a2 Remove old Container in tbl_create.php
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
87f5f45e8e Define correctly the ChartController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
72237fee89 Define correctly the DataDictionaryController parameters
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
6c613edfb2 Manage CentralColumns class as a service
Define correctly the CentralColumnsController parameters

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
71520ed222 Continue to remove pMA Container
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
df847d7121 Remove useless 'use'
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
e060b82ff1 Initialize use of DI parameters for GLOBALS variables
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:39:21 +02: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
f96c41f1ab Move Template dependency as a parameter in LanguageManager
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-14 16:10:05 -03:00
Maurício Meneghini Fauth
553b188e15 Replace $this:: with static:: for static properties
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-14 14:47:43 -03:00
Maurício Meneghini Fauth
487f2fc1a4 Replace static::BASE_PATH with self::BASE_PATH in Template
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-14 14:21:55 -03: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
Maurício Meneghini Fauth
34541f565c Fix undefined index when using favorite tables
Fixes #15330

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-13 22:51:21 -03:00
Maurício Meneghini Fauth
c9129e9bd8 Remove unnecessary string concatenation
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 17:47:33 -03:00
Maurício Meneghini Fauth
0feae32056 Rename Sanitize::sanitize to Sanitize::sanitizeMessage
...to avoid the PHP 4 constructor format

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 15:21:48 -03:00
Maurício Meneghini Fauth
0bb9955aad Remove unneeded constructor in ListAbstract class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 15:08:13 -03:00
Maurício Meneghini Fauth
c049dfa7a6 Replace alias functions with their respective functions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 14:49:47 -03:00
Maurício Meneghini Fauth
2906fb0e26 Replace sizeof function alias with count
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 13:48:59 -03:00
Maurício Meneghini Fauth
c8f84fc748 Replace is_null with identical comparison with null
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 13:28:22 -03:00
Maurício Meneghini Fauth
a2629a9967 Force facebook/webdriver 1.6
facebook/webdriver 1.7.0 is throwing an exception.

https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/544537080#L564

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 00:49:18 -03:00
Maurício Meneghini Fauth
7be0f6bfae Reference class names in use statements
Sort use statements

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 00:14:26 -03:00
Maurício Meneghini Fauth
a6e53e2022 Replace get_class($this) and __CLASS__
with static::class and class name

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-11 22:54:10 -03:00
Maurício Meneghini Fauth
990f801123 Use camel case names in Navigation classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-11 20:55:34 -03:00
Maurício Meneghini Fauth
9102b98ede Fix broken tests with PHPUnit 8.2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-08 16:43:55 -03:00
Maurício Meneghini Fauth
f51806bcfa Merge branch 'QA_4_9'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-08 15:24:21 -03:00
Maurício Meneghini Fauth
338cfb31cc Add ChangeLog entry for #15313
Add support for Twig 2

[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-08 15:22:03 -03:00
Maurício Meneghini Fauth
665e385fac
Merge pull request #15313 from mauriciofauth/twig2-4.9
Add support for Twig 2
2019-06-08 15:20:42 -03:00
Maurício Meneghini Fauth
3f0ef0f288 Add support for Twig 2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-08 14:40:27 -03:00
Maurício Meneghini Fauth
efe77cdf06 Rename js/tbl_*.js to js/table/*.js
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-07 04:09:05 -03:00