Commit Graph

126841 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
0b1a743fa0
Fix select all arrow image dark color issue with Bootstrap theme
Replaces RTL images with CSS transformation.

- Fixes https://github.com/phpmyadmin/phpmyadmin/issues/18368

Co-authored-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-16 18:28:22 -03:00
Maurício Meneghini Fauth
59d17854f0
Fix form input color issues on the Settings page
Related to https://github.com/phpmyadmin/phpmyadmin/issues/18368.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-16 16:52:23 -03:00
Maurício Meneghini Fauth
ff2141cb18
Merge pull request #18500 from MauricioFauth/application-class-di
Extract some dependencies from the Application class
2023-06-16 16:16:35 -03:00
Maurício Meneghini Fauth
f6e74de251
Extract some dependencies from the Application class
- Extracts the ErrorHandler, Config and Template dependencies from the
  Application class.
- Loads HTTP ServerRequest object after loading the user config.
- Requires a Config object for the Template class.
- Disables Twig's cache if an exception is thrown before loading the
  user config. This way a possible different cache directory will not be
  used.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-16 15:55:20 -03:00
Maurício Meneghini Fauth
ec4706f659
Fix codemirror colors for the Bootstrap theme
Remove Metro and Pmahomme codemirror colors as they were not used.

Related to https://github.com/phpmyadmin/phpmyadmin/issues/18368.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-14 19:41:35 -03:00
Maurício Meneghini Fauth
d63a16cb27
Fix DB designer dark mode colors for Bootstrap theme
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-14 17:16:47 -03:00
Maurício Meneghini Fauth
1d0dd3e5d7
Fix nav search clause clear button color for dark mode
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-14 10:12:09 -03:00
Maurício Meneghini Fauth
e0011b28ae
Fix move table columns dark color issues for Bootstrap theme
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-14 10:05:07 -03:00
Maurício Meneghini Fauth
c6f04fbedc
Fix results table header with transparent background
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-14 09:55:29 -03:00
Maurício Meneghini Fauth
1b7fbb9806
Merge pull request #18496 from MauricioFauth/common-class
Rename the Common class to Application
2023-06-14 09:04:51 -03:00
Maurício Meneghini Fauth
78e446e073
Merge pull request #18461 from kamil-tekiela/Globals-in-Manage
Globals in ManageController
2023-06-13 22:22:40 -03:00
Maurício Meneghini Fauth
b50b80da02
Fix Table\StructureControllerTest failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-13 22:07:44 -03:00
Maurício Meneghini Fauth
951c965d6e
Change Application static methods to instance methods
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-13 16:36:31 -03:00
Maurício Meneghini Fauth
1aa8221276
Rename the Common class to Application
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-13 14:40:21 -03:00
Maurício Meneghini Fauth
1fbfe2e1e2
Fix jQuery UI dialog dark color issues for Bootstrap theme
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-12 22:15:49 -03:00
Maurício Meneghini Fauth
29118bbcd8
Fix Console dark color issues for Bootstrap theme
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-12 21:48:44 -03:00
William Desportes
8468c104af
Merge #18489 - Remove $cookiePath
Pull-request: #18489

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-06-13 00:17:27 +02:00
Maurício Meneghini Fauth
73356a20af
Merge pull request #18494 from MauricioFauth/pma-fieldset-removal
Remove .pma-fieldset and related CSS classes
2023-06-11 20:10:52 -03:00
Maurício Meneghini Fauth
de58d27326
Remove .pma-fieldset and related CSS classes
Replaces most of them with the Bootstrap card component.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-11 00:37:39 -03:00
phpMyAdmin bot
5937beaa60 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2023-06-11 00:21:59 +00:00
Maurício Meneghini Fauth
2b72074089
Remove .pma-fieldset CSS class from database/structure templates
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-10 14:29:35 -03:00
Maurício Meneghini Fauth
fa8931e88c
Merge pull request #18491 from kamil-tekiela/USE_UTF_STRINGS
Remove USE_UTF_STRINGS
2023-06-09 19:32:57 -03:00
Maurício Meneghini Fauth
e138c43419
Refactor UtilTest::testBackquoteForbidenWords() test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-09 19:30:29 -03:00
Maurício Meneghini Fauth
5cfd801177
Fix UtilTest::testBackquoteForbidenWords() failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-09 18:51:09 -03:00
Maurício Meneghini Fauth
d1c2c6e07d
Fix error reported by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-09 18:38:25 -03:00
Maurício Meneghini Fauth
e963d6610d
Fix Tests\TableTest::testGetColumns() failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-09 16:56:59 -03:00
Maurício Meneghini Fauth
a52667ee28
Merge pull request #18488 from kamil-tekiela/Add-never-type
Add never return type
2023-06-09 16:13:33 -03:00
Maurício Meneghini Fauth
bea5211660
Add basic unit test for BrowseForeignersController class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-09 15:56:09 -03:00
Kamil Tekiela
c6ddb1e3a1 Remove USE_UTF_STRINGS
https://github.com/phpmyadmin/sql-parser/pull/471

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-06-07 23:49:57 +01:00
Kamil Tekiela
ed46bcb755 Remove $cookiePath
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-06-07 22:52:55 +01:00
Kamil Tekiela
079892b49e Add never return type
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-06-07 21:35:05 +01:00
Maurício Meneghini Fauth
70ff7dcd6b
Improve return type of Sql::getDetailedProfilingStats()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 16:01:10 -03:00
Maurício Meneghini Fauth
b38b011a48
Improve type declaration of Sql::getDetailedProfilingStats()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 16:01:10 -03:00
Maurício Meneghini Fauth
caf13bd4b7
Change profiling section to use Bootstrap's card
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 16:01:10 -03:00
Maurício Meneghini Fauth
827d8de28f
Bump sql-parser version to 6.0.x-dev
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 15:49:07 -03:00
Maurício Meneghini Fauth
8687c58db2
Replace SqlParser\Context::$MODE with getMode() and setMode()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 15:24:34 -03:00
Maurício Meneghini Fauth
dbb0ad4a66
Merge pull request #18486 from MauricioFauth/phpunit-attributes
Replace PHPUnit annotations with attributes
2023-06-07 12:40:23 -03:00
Maurício Meneghini Fauth
3f2c53ef1d
Replace PHPUnit annotations with attributes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 11:44:01 -03:00
Maurício Meneghini Fauth
4fc73229c7
Merge pull request #18485 from MauricioFauth/exit-wrapper
Add a wrapper around the `exit` language construct
2023-06-07 07:37:13 -03:00
Maurício Meneghini Fauth
22c6a2f9d8
Add a wrapper around the exit language construct
Creates the PhpMyAdmin\ResponseRenderer::callExit() method as a wrapper
to the exit language construct. That makes the tests more correct as the
method will always stop the code execution.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-06 21:54:07 -03:00
Maurício Meneghini Fauth
1b2138b502
Fix invalid PHPUnit covers annotation
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-06 21:53:19 -03:00
Maurício Meneghini Fauth
a4940d79ec
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-06 14:46:01 -03:00
Maurício Meneghini Fauth
6243459b74
Bump sql-parser version to 5.8.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-06 14:07:06 -03:00
Maurício Meneghini Fauth
25dd2fb236
Merge pull request #18384 from kamil-tekiela/GisPolygon-shapes
Gis polygon shapes
2023-06-06 11:44:09 -03:00
Maurício Meneghini Fauth
9481236388
Merge pull request #18460 from kamil-tekiela/Globals-in-Status
Remove unused globals
2023-06-05 12:50:55 -03:00
Kamil Tekiela
15bfd74c75 Move ScaleData to Ds namespace
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-06-05 12:41:23 +01:00
Kamil Tekiela
ea616f6d8a Add Gis Value Objects
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-06-05 12:41:23 +01:00
Kamil Tekiela
2400dde8c1 Add array shapes in GisPolygon
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-06-05 12:34:00 +01:00
phpMyAdmin bot
23c536099d Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2023-06-04 00:22:51 +00:00
Maurício Meneghini Fauth
7b88ab16af
Fix a case where a fatal error message was not displayed
A fatal error message was not displayed when the ResponseRenderer object
already had some HTML, because the output buffer is only displayed when
there is no HTML.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-03 17:01:51 -03:00