Kamil Tekiela
f8111a7a7e
Replace inline static with class static ( #18490 )
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-26 16:00:51 -03:00
ru-asdx
62a2b7fa34
Replace superglobals with serverrequest in ReplaceController ( #18501 )
...
* Replace superglobals with serverrequest in ReplaceController
Signed-off-by: Evgeny Skorlov <eugene@skorlov.name>
* fixes
Signed-off-by: Evgeny Skorlov <eugene@skorlov.name>
---------
Signed-off-by: Evgeny Skorlov <eugene@skorlov.name>
2023-06-26 14:48:40 -03:00
Sakis bal
8e3615eca8
fix: table columns with names of ' or "" or `` could not be dropped ( #18506 )
...
* fix: table columns with names of ' or "" or `` could not be dropped
Unsafe javascript string was passed to the currColumnName var. By using
escapeJsString from /modules/functions/escape.ts the unsafe string becomes
a safe string and the rest of the code runs as expected. fixes issue #18448
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
* fix: added an extra space below and added a signoff additionally
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
---------
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
2023-06-25 16:53:07 -03:00
phpMyAdmin bot
170cc40ed6
Update po files
...
[ci skip]
Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2023-06-25 00:23:41 +00:00
Maurício Meneghini Fauth
826b1c7aaf
Replace system monitor setting popup with a collapse button
...
Also replace settings links with buttons.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-19 21:31:21 -03:00
Maurício Meneghini Fauth
ddbc1afd28
Replace system monitor tab links with buttons
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-19 21:28:34 -03:00
Maurício Meneghini Fauth
7196073b00
Merge branch 'QA_5_2'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-19 21:16:27 -03:00
Maurício Meneghini Fauth
506175861a
Fix error when changing the chart columns in the monitor page
...
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/18159
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-19 21:09:40 -03:00
Yevhen Bronza
445ad1df66
Translated using Weblate (Ukrainian)
...
Currently translated at 99.8% (3422 of 3427 strings)
[ci skip]
Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/uk/
Signed-off-by: Yevhen Bronza <zhenya.bronza@gmail.com>
2023-06-19 20:48:49 +02:00
Maurício Meneghini Fauth
a019334cf1
Merge pull request #18508 from MauricioFauth/profiling-chart
...
Replace jqPlot with Chart.js for the profiling chart
2023-06-17 23:57:43 -03:00
Maurício Meneghini Fauth
6cda25211e
Replace jqPlot with Chart.js for the profiling chart
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 23:44:04 -03:00
phpMyAdmin bot
f22985ab15
Update po files
...
[ci skip]
Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2023-06-18 00:21:57 +00:00
Maurício Meneghini Fauth
c72bf239d7
Replace .text-muted with .text-body-secondary
...
The CSS class .text-muted is deprecated and will be replaced by
.text-body-secondary.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 17:09:41 -03:00
Maurício Meneghini Fauth
6427b1b931
Merge branch 'QA_5_2'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 16:54:34 -03:00
Maurício Meneghini Fauth
00768c0efd
Upgrade JavaScript dependencies
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 16:32:27 -03:00
Maurício Meneghini Fauth
5f7499abb0
Fix profiling chart not loading when profiling is activated
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 15:26:19 -03:00
Sakis bal
be3223ad1f
fix: empty html options need to have a label ( #18503 )
...
* fix: empty html options need to have a label
empty options are errors in html validators and they need
to have at least a label to be correct. By adding a label
we solve the problem with the validator while keeping the
code functionallity the same. Related to #12747
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
* Update templates/config/form_display/input.twig
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
---------
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 14:37:50 -03:00
Maurício Meneghini Fauth
af6f448842
Remove JS media type from HTML script tags
...
The type attribute is unnecessary for JavaScript resources.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-16 20:39:27 -03:00
Maurício Meneghini Fauth
b25924c819
Merge pull request #18502 from MauricioFauth/select-all-arrow-image
...
Fix select all arrow image dark color issue with Bootstrap theme
2023-06-16 20:15:47 -03:00
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
EGuillemot
e6bbb848a3
Translated using Weblate (French)
...
Currently translated at 100.0% (3427 of 3427 strings)
[ci skip]
Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/fr/
Signed-off-by: EGuillemot <Elouen.Guillemot@gmail.com>
2023-06-09 01:49:26 +02: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