William Desportes
0c5aa81c78
Inject the error report modal and avoid sending depending on SendErrorReports
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-03-15 18:22:30 +01:00
William Desportes
0b440f2652
Ref #16651 - Fix and improve the chart checking for int columns
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-03-15 01:30:35 +01:00
William Desportes
c71c11e787
Remove an exit by moving out the preview SQL code on table create add field
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-03-11 21:09:46 +01:00
Maurício Meneghini Fauth
15d6b45a15
Remove jQuery Fullscreen plugin dependency
...
Uses the Fullscreen API instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-03-11 14:10:55 -03:00
Maurício Meneghini Fauth
207901e992
Remove the js/src/microhistory.js file
...
There is no need for the MicroHistory anymore now that the History
API is available in all supported browsers.
Also removes the jQuery hashchange plugin.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-03-10 17:06:21 -03:00
Maurício Meneghini Fauth
33d711215d
Remove the PMA_VERSION constant
...
Uses the PhpMyAdmin\Version::VERSION constant instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-03-08 22:22:55 -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
7e33d227f5
Rename the PMA_Config global variable to config
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-03-08 15:03:12 -03:00
Maurício Meneghini Fauth
2c2127b369
Rename PMA_Theme global variable to theme
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-03-07 15:15:27 -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
William Desportes
7aabad9b7a
Move queries from Operations class to the Query\Generator class
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-03-06 02:11:25 +01:00
William Desportes
b5263d44c8
Replace PMA_MAJOR_VERSION by Version::SERIES
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-03-05 21:22:42 +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
William Desportes
c5155ecae9
Refactor field flags to use an object an not strpos
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-24 23:56:33 +01:00
William Desportes
7e42b5a7a3
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-19 01:13:50 +01:00
William Desportes
6be33c4eb6
Ref #16666 - Ref #16424 - Adjust the index like the zoom controller
...
Even if this is not needed, better that it is the same in the 2 controllers
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-19 00:42:01 +01:00
William Desportes
4df8cd0b3c
Merge #16666 - Fix #16424 - Numerical search in table and zoom
...
Pull-request: #16666
Fixes : #16424
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-19 00:27:50 +01:00
Saksham Gupta
4da866ed94
Fix #16424 - Numerical search in table and zoom
...
Signed-off-by: Saksham Gupta <shucon01@gmail.com >
Fixes #16667
Signed-off-by: Saksham Gupta <shucon01@gmail.com >
Add comment and change variable name
Signed-off-by: Saksham Gupta <shucon01@gmail.com >
2021-02-19 00:33:10 +05:30
William Desportes
0c4595bc04
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-17 16:35:57 +01:00
William Desportes
0a1dd4cf00
Fix a coding standard mistake
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-17 13:24:47 +01:00
William Desportes
4fb7646aad
Fix #16657 - load database/qbe.js at all times
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-17 03:22:32 +01:00
Maurício Meneghini Fauth
17dfe02004
Merge branch 'QA_5_1'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-02-11 23:00:27 -03:00
William Desportes
4d4acee8a0
Fix missing message on upload message request after failure creates a warning
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-12 00:12:02 +01:00
William Desportes
9f5e09d0c2
Fix go back URL after import not using the right separator
...
And update a regex to validate URLs
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-02-12 00:12:02 +01:00
Maurício Meneghini Fauth
7994eb3ac6
Fix some errors found by Psalm
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-02-10 17:12:11 -03:00
Maurício Meneghini Fauth
12d662baa3
Replace themes preview popup with a modal
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-02-04 23:21:31 -03:00
William Desportes
2acea7d4c0
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-01-31 01:39:50 +01:00
William Desportes
0a1d09b282
Add tests for #16595 - underscore structure edit
...
I removed the escape because it is already escaped afterwards.
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-01-31 01:25:34 +01:00
Maurício Meneghini Fauth
17a01d9d9d
Extract the HTML from ThemeManager::getHtmlSelectBox
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-28 22:34:01 -03:00
William Desportes
15b5c892af
Merge #16317 - Fix #16191 - Hint for Newline added on quick edit
...
[ci skip]
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-01-28 22:34:02 +01:00
Olumide Olugbemiro
5ea8a2db5c
Fix #16191 - Hint for Newline added on quick edit
...
Co-authored-by: William Desportes <williamdes@wdes.fr >
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-01-28 22:20:27 +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
5194b81e27
Check if PMA_Theme is instanceof Theme
...
Instead of checking if is not null.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-27 12:11:36 -03:00
William Desportes
011faf3808
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-01-24 00:59:36 +01:00
William Desportes
ed36df4116
Fix "Uncaught TypeError: Argument 1 passed to PhpMyAdmin\Core::downloadHeader()"
...
Fatal error: Uncaught TypeError: Argument 1 passed to PhpMyAdmin\Core::downloadHeader() must be of the type string, null given,
called in libraries/classes/Controllers/TransformationWrapperController.php on line 171 and defined in
libraries/classes/Core.php:617 Stack trace: #0
libraries/classes/Controllers/TransformationWrapperController.php(171): PhpMyAdmin\Core::downloadHeader(NULL, 'application/oct...') #1
libraries/classes/Routing.php(92): PhpMyAdmin\Controllers\TransformationWrapperController->index(Array) #2
index.php(18): PhpMyAdmin\Routing::callControllerForRoute('/transformation...', Object(FastRoute\Dispatcher\GroupCountBased), Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #3 {main} thrown in
libraries/classes/Core.php on line 617
Signed-off-by: William Desportes <williamdes@wdes.fr >
2021-01-23 00:03:55 +01:00
Florian Schirmer
fec6d65d96
Fix BLOB JPG preview thumbnail
...
Signed-off-by: Florian Schirmer <jolt@tuxbox.org >
2021-01-22 23:43:50 +01:00
Maurício Meneghini Fauth
c2bec44e23
Fix an error found by PHPStan
...
Cherry-pick: 89b09159d0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-13 23:06:14 +01:00
Maurício Meneghini Fauth
4f574e53c3
Replace error report jquery-ui's dialog with a modal
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-12 17:28:23 -03:00
Maurício Meneghini Fauth
d570ad5a38
Replace db structure bulk action dialog with a modal
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-12 14:50:59 -03:00
Maurício Meneghini Fauth
54afeca51a
Replace jQuery UI dialog with Bootstrap's modal
...
Replaces "make consistent with central list" confirmation dialog written
with jQuery UI with Bootstrap's modal component.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-12 14:41:53 -03:00
Maurício Meneghini Fauth
a1d1ab85cb
Split rte.js into routines.js, triggers.js and events.js
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-11 17:02:50 -03:00
Maurício Meneghini Fauth
89dba07132
Remove rte.js dependency from navigation.js
...
Only loads the rte.js file for the RTE pages.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-10 12:43:12 -03:00
Maurício Meneghini Fauth
89b09159d0
Fix an error found by PHPStan
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-06 16:59:04 -03:00
Maurício Meneghini Fauth
53f5247811
Merge FormDisplay::getDisplay templates
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-05 19:25:21 -03:00
Maurício Meneghini Fauth
d042998f6a
Remove FormDisplayTemplate dep from Setup\ConfigController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-04 14:04:32 -03:00
Maurício Meneghini Fauth
1911ac6289
Remove Config\FormDisplay dep from Setup\HomeController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-03 22:38:27 -03:00
Maurício Meneghini Fauth
65dd7e8278
Wrap settings tabs with Bootstrap's cards
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-01-02 18:51:11 -03:00
William Desportes
0605f38d9a
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr >
2020-12-31 23:31:51 +01:00