Commit Graph

33 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
c0eb02d7d3
Extract ColumnsDefinition construction from controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-03-02 18:59:27 -03:00
Maurício Meneghini Fauth
81cfa99df4
Move Advisor class to PhpMyAdmin\Advisory namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-24 13:16:19 -03:00
Maurício Meneghini Fauth
58ed5bfa9e
Extract Simulate DML action from ImportController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 18:37:15 -03:00
Maurício Meneghini Fauth
aaee7961c1
Remove Template dependency from Relation class
Related to 2299a62e49.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-17 12:09:14 -03:00
Maurício Meneghini Fauth
c411121fd8
Move Relation classes into the ConfigStorage namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-17 12:09:13 -03:00
Maurício Meneghini Fauth
00cb1b3668
Extract IndexesController::doSaveData method
Creates the Table\Indexes class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-11 14:38:44 -03:00
Maurício Meneghini Fauth
38fda677bd
Extract Processes class from ProcessesController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-10 15:52:48 -03:00
Maurício Meneghini Fauth
78c266d98f
Move partition classes to the Partitioning namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-21 14:01:25 -03:00
Maurício Meneghini Fauth
f7fc4177af
Add support for account locking
- https://dev.mysql.com/doc/refman/en/account-locking.html
- https://mariadb.com/kb/en/account-locking/

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-21 00:55:33 -03:00
Maurício Meneghini Fauth
9adaa912e1
Rename Response class to ResponseRenderer
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-30 12:35:22 -03:00
Maurício Meneghini Fauth
674bf8f97c
Remove db, table and dbi globals from Tracking class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-05-26 16:40:05 -03:00
Maurício Meneghini Fauth
4273634c17
Extract getActiveAuthPlugins method to Plugins class
Extracts the getActiveAuthPlugins method from the
PhpMyAdmin\Server\Privileges class to the PhpMyAdmin\Server\Plugins
class, rename it to getAuthentication and adds tests.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-04-14 16:07:40 -03:00
Maurício Meneghini Fauth
7e23436533
Add Twig\FlashMessagesExtension class
Adds the flash() Twig function that return all flash messages.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-20 18:51:36 -03:00
Maurício Meneghini Fauth
6f4a1c8ab5
Remove some config global in favor of DI
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-08 19:58:01 -03:00
Maurício Meneghini Fauth
f8df25487f
Create check table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 21:09:32 -03:00
Maurício Meneghini Fauth
1849be34b3 Fix container services named parameters
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-22 20:29:28 -03:00
Maurício Meneghini Fauth
ea163ffcae Move CentralColumns to the Database namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-30 10:14:22 -03:00
Maurício Meneghini Fauth
c57dda7315 Use DI for Sql class constructor
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-05 15:31:39 -03:00
Maurício Meneghini Fauth
3b02872cd3 Create the Table\Maintenance class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 00:35:13 -03:00
Maurício Meneghini Fauth
7483499096 Change array formatting in services files
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-05 00:42:23 -03:00
Maurício Meneghini Fauth
6cf316bde8 Use DI for Export\Options class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-04 15:43:06 -03:00
Maurício Meneghini Fauth
75397c913d Refactor Display\Export class
- Uses template inheritance for the export templates.
- Renames Display\Export to Export\Options.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-03 23:56:20 -03:00
Maurício Meneghini Fauth
ea1713081c Create Export\TemplateModel class
Extracts the database calls from the controller to the model.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-19 15:01:55 -03:00
Maurício Meneghini Fauth
0612f0ce98 Remove the PhpMyAdmin\Di\Migration class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-06-26 00:58:36 -03:00
Maurício Meneghini Fauth
3ae05c785d Use short list syntax and single line arrays
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-26 03:32:59 -03:00
Maurício Meneghini Fauth
3baad2eb1c Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-25 22:42:37 -03:00
Maurício Meneghini Fauth
4a0bce1d53 Extract db structure bulk actions from mult_submits
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-04-22 23:13:35 -03:00
Maurício Meneghini Fauth
603c357d05 Refactor Database\EventsController::index method
Moves Database\Events::main into index method.
Uses DI for Events instance.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-04-16 19:38:50 -03:00
William Desportes
d8f114524a
#16007 - improve services file
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-08 00:16:01 +01:00
William Desportes
0202927cdd
Fix #16021 - Remove @ in alias names
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-08 00:15:12 +01:00
Maurício Meneghini Fauth
71f8a04c69 Use DI for the MultSubmits class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-03-07 17:55:29 -03:00
William Desportes
0ab8d35af3
Ref #16005 - Transform plain strings to ::class names
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-05 20:22:15 +01:00
William Desportes
ae182cddb5
Ref #16005 - Move services loader to a php array
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-04 08:44:12 +01:00