Maurício Meneghini Fauth
|
5950693fb3
|
Fix possible undefined globals
Related to https://github.com/phpmyadmin/phpmyadmin/pull/17427.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-10 18:05:21 -03:00 |
|
Maurício Meneghini Fauth
|
1438cb211e
|
Replace global keyword with $GLOBALS
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-07 17:31:11 -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
|
fa5c684f27
|
Replace the master/slave terminology
Replaces master with primary and slave with replica.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-18 14:26:56 -03:00 |
|
Maurício Meneghini Fauth
|
3e0856c77b
|
Remove useless string concatenations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-27 21:40:22 -03:00 |
|
Maurício Meneghini Fauth
|
f00d70cccb
|
Remove useless whitespaces
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-15 17:05:40 -03:00 |
|
Maurício Meneghini Fauth
|
3531775b7c
|
Add type declarations to the controllers contructors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-11 17:32:22 -03:00 |
|
Maurício Meneghini Fauth
|
83091680cc
|
Extract actions from controllers to new controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-10 17:55:05 -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
|
a2ed4dfe68
|
Make controllers callable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-08-30 13:16:29 -03:00 |
|
Maurício Meneghini Fauth
|
04d3c83559
|
Fix some errors found by PHPStan/Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-08-05 16:09:08 -03:00 |
|
Maurício Meneghini Fauth
|
1835ebb4fc
|
Replace mb_strpos !== false with str_contains
See: https://wiki.php.net/rfc/str_contains#case-insensitivity_and_multibyte_strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-10 13:43:40 -03:00 |
|
Maurício Meneghini Fauth
|
27a5792976
|
Add PhpMyAdmin\Http\ServerRequest class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-04 15:48:23 -03:00 |
|
Maurício Meneghini Fauth
|
6f894e7ea7
|
Add support for PSR-7 request objects in controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-03 18:54:42 -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
|
1c084de30b
|
Fix coding standard errors
Related to 62f142c9fa.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-03 16:50:33 -03:00 |
|
Maurício Meneghini Fauth
|
8d0c2a339c
|
Move both operands of an assignment to the same line
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-20 22:35:21 -03:00 |
|
William Desportes
|
b92476b0cd
|
Extract some logic out of ProcessesController::getList() into a function
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-04-20 22:37:00 +02:00 |
|
Maurício Meneghini Fauth
|
90778eecf7
|
Upgrade phpmyadmin/coding-standard to 3.0.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-19 02:20:46 -03:00 |
|
William Desportes
|
676a9cea3d
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-31 13:20:05 +02:00 |
|
William Desportes
|
aa0c22959d
|
Fix PHP warnings on the server status data not set
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-31 00:44:34 +02:00 |
|
Maurício Meneghini Fauth
|
91bd0df2e5
|
Rename $err_url global to $errorUrl
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-24 19:39:28 -03:00 |
|
William Desportes
|
7bd3ec6b35
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-06 21:25:54 +01:00 |
|
Maurício Meneghini Fauth
|
d83abf63e7
|
Use PSR-12 for control structures spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 15:27:03 -03:00 |
|
Maurício Meneghini Fauth
|
0b8edc5bde
|
Use PSR-12 for namespace use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 14:18:35 -03:00 |
|
Markus Staab
|
11943fd0d2
|
translation: mention the correct mysql setting in 'Opened_tables' explanaition
|
2021-02-27 07:47:06 +01:00 |
|
Maurício Meneghini Fauth
|
1e5fbd57fc
|
Create Twig\AssetExtension and image Twig function
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-01-28 16:09:17 -03:00 |
|
Maurício Meneghini Fauth
|
dbaa031971
|
Remove jquery.sortableTable.js from js/vendor dir
It is not a vendor file, but a internal file.
Added by commit 1c6a388ca0.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-12-08 21:37:11 -03:00 |
|
Maurício Meneghini Fauth
|
6b81080127
|
Remove Common::server method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-11-02 18:48:23 -03:00 |
|
Maurício Meneghini Fauth
|
a83ec78ebf
|
Make DatabaseInterface::isUserType method private
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-24 00:40:03 -03:00 |
|
Maurício Meneghini Fauth
|
db3da81056
|
Remove some useless comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-13 19:56:56 -03:00 |
|
Maurício Meneghini Fauth
|
4badaca6d3
|
Remove DBI dep from Server\Status\AbstractController
Moves the DatabaseInterface class dependency to the classes that use it.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-12 11:15:43 -03:00 |
|
Maurício Meneghini Fauth
|
e6ec9df84e
|
Remove DBI dep from Controllers/AbstractController
Moves the DatabaseInterface class dependency to the classes that use it.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-11 22:48:44 -03:00 |
|
Maurício Meneghini Fauth
|
e66be179ca
|
Use camel case naming for class members
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-05 10:37:07 -03:00 |
|
Maurício Meneghini Fauth
|
cd862d4f00
|
Remove replication_info global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-12 09:04:44 -03:00 |
|
Maurício Meneghini Fauth
|
952e2f9ee8
|
Remove replication_types PHP global
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-08 15:54:02 -03:00 |
|
Maurício Meneghini Fauth
|
ceac762e09
|
Remove pmaThemePath and pmaThemeImage PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-02 10:57:57 -03:00 |
|
Maurício Meneghini Fauth
|
1dccc10493
|
Extract method for adding script files
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-12 16:58:33 -03:00 |
|
Maurício Meneghini Fauth
|
f4582e083e
|
Use early exit when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-27 00:35:24 -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
|
9b7c4931d3
|
Add AbstractController::render method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-04-16 20:15:42 -03:00 |
|
William Desportes
|
a612229b99
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-04-14 23:42:06 +02:00 |
|
long76
|
bde460019c
|
fix #16078 - get unix timestamp for monitor
Signed-off-by: Gleb Borkov <long76.git@mail.ru>
|
2020-04-14 21:40:29 +02:00 |
|
Maurício Meneghini Fauth
|
e656f341ef
|
Redesign the server status advisor page
Uses an accordion instead of a table to show the issues.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-03-13 02:56:16 -03:00 |
|
Maurício Meneghini Fauth
|
a63dbfb051
|
Move SysInfo classes to the Server\SysInfo namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-02-16 17:22:44 -03:00 |
|
Maurício Meneghini Fauth
|
8029ea9875
|
Move request handling from routes to controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-02-12 15:00:02 -03:00 |
|
Maurício Meneghini Fauth
|
f5c970639c
|
Move response handling from routes to controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-02-12 14:59:42 -03:00 |
|
Maurício Meneghini Fauth
|
206199105e
|
Remove useless return type annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 13:03:29 -03:00 |
|
Maurício Meneghini Fauth
|
676f48349a
|
Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 22:13:36 -03:00 |
|