Commit Graph

21664 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
c482cd47ef
Remove gridEditingConfig JS global
- Uses data attribute instead.
- Uses Bootstrap's tooltip instead of the jQuery plugin.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-14 23:19:29 -03:00
Maurício Meneghini Fauth
a0337bf220
Refactor JavaScriptMessagesController controller
- Removes the dependency of the cfg and theme PHP globals.
- Handles the errors when encoding the messages to JSON.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-14 18:09:57 -03:00
Maurício Meneghini Fauth
3443891886
Merge branch 'QA_5_2' 2022-02-12 11:54:12 -03:00
Maurício Meneghini Fauth
7b1dd0ea6c
Merge branch 'QA_5_1' into QA_5_2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-12 11:42:17 -03:00
Maurício Meneghini Fauth
d621eca13d
Merge pull request #17351 from kamil-tekiela/Remove-stripslashes
Drop stripslashes
2022-02-12 10:33:02 -03:00
William Desportes
0c890adb60
Fix #17287 - Sorting Database List on "Data" Column creates a PHP type error
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-11 22:24:45 +01:00
Maurício Meneghini Fauth
86eea3a730
Merge branch 'QA_5_2' 2022-02-11 15:22:51 -03:00
Maurício Meneghini Fauth
1b055dba90
Fix TypeError in the Tracker::handleQuery method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-11 14:50:22 -03:00
Maurício Meneghini Fauth
fb2a94c8bc
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-11 12:41:31 -03:00
Maurício Meneghini Fauth
d1b99c4a15 Fix merge conflicts
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-11 10:07:02 -03:00
Isaac Bennetch
316d3cc123 Fix merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2022-02-10 23:39:49 -05:00
Isaac Bennetch
5127b31144 Fix merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2022-02-10 23:38:23 -05:00
Isaac Bennetch
c19d053e1a Prepare for version 5.1.4-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2022-02-10 23:34:31 -05:00
Isaac Bennetch
5a4cd07b45 Prepare for version 5.1.3
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2022-02-10 23:09:52 -05:00
Maurício Meneghini Fauth
c04f85f2bb Fix path disclosure on misconfigured servers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-10 20:59:06 -06:00
Maurício Meneghini Fauth
65f13ed209
Merge branch 'QA_5_2' 2022-02-09 15:08:51 -03:00
Maurício Meneghini Fauth
1faab7119d
Fix bug when renaming tables with config storage enabled
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/17359

Introduced by https://github.com/phpmyadmin/phpmyadmin/pull/17256

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-09 13:58:35 -03:00
Maurício Meneghini Fauth
32d244db92
Merge branch 'QA_5_2' 2022-02-07 20:19:59 -03:00
Maurício Meneghini Fauth
c50f795e0e
Remove missing rte.js file
Fixes #17354.
Related to 89dba07132.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-07 20:17:06 -03:00
Kamil Tekiela
6e1221ce62 Drop stripslashes
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-02-07 18:07:27 +00:00
Maurício Meneghini Fauth
bc58521a17
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-07 13:55:53 -03:00
Maurício Meneghini Fauth
b59d46bc8d
Fix some Psalm errors after #17059 merge
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-07 13:44:53 -03:00
Philip Kroloq
8bd45c8ec0
fixed missing navigation buttons in view result tables
Signed-off-by: Philip Kroloq <kroloq@web.de>
(cherry picked from commit 09aaa10b33)
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-07 13:03:06 -03:00
Maurício Meneghini Fauth
b5096a42e5
Merge pull request #17059 from kroloq/fix-navigation-buttons-on-views
Fix #17055 - missing navigation buttons on views
2022-02-07 13:01:02 -03:00
William Desportes
a7b222db8a
Merge branch 'origin/QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-06 15:47:17 +01:00
William Desportes
65c9f49c1e
Merge branch 'QA_5_1' into QA_5_2
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-06 15:45:57 +01:00
William Desportes
cba530070f
Fix #17298 - Import of email-addresses from ods results in empty contents
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-06 14:19:01 +01:00
William Desportes
838ac24897
Fix #17344 - type error with values that are not strings in ODS sheets
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-06 14:18:47 +01:00
Kamil Tekiela
b5a6729886
Fix #17239 - Repeating headers are not working
Ref: 97810b3a21

igned-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-02-06 01:37:22 +01:00
William Desportes
c5dba46ca4
fix a coding standard unsolvable case
Moving the return line did not help, so I removed it

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-04 18:42:33 +01:00
William Desportes
29ff729981
Fix #17288 - "First day of calendar" has no effect
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-04 18:28:01 +01:00
William Desportes
1262c30084
Ref #17288 - fix importing settings that are saved in the browser
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-04 16:46:24 +01:00
Maurício Meneghini Fauth
d8b5811b82
Merge pull request #17338 from mauriciofauth/display-parts-vo
Create the `PhpMyAdmin\Display\DisplayParts` class
2022-02-04 09:14:20 -03:00
Maurício Meneghini Fauth
10d09f4876
Merge branch 'QA_5_2'
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-03 18:11:54 -03:00
Maurício Meneghini Fauth
f911458b71
Fix CSS class name conflict in navigation tree
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-03 18:09:21 -03:00
Maurício Meneghini Fauth
dca5b1b893
Create the DisplayParts class
Replaces the displayParts array with the DisplayParts object.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-03 14:42:09 -03:00
William Desportes
db2f6e636d
Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-03 14:00:15 +01:00
William Desportes
4bea65e29a
Merge branch 'QA_5_1' into QA_5_2
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-03 13:47:51 +01:00
William Desportes
3bd3ee074c
Fix #17315 - Unsupported operand types in Results.php
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-03 13:40:20 +01:00
William Desportes
fdf5fb6271
Fix #17331 - MariaDB has no support for "disabled_storage_engines"
Fixes: #17331

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-02-03 01:31:53 +01:00
Maurício Meneghini Fauth
5a34a3bb04
Remove db and table properties from controllers
Replaces them with their respective globals.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-02 14:48:43 -03:00
Shucon Tech
c3889257cf
Replace Change Password dialog to modal (#17116)
* Replace Change Password dialog to modal

Signed-off-by: Saksham Gupta <shucontech@gmail.com>

* Bootstrap modal class

Signed-off-by: Saksham Gupta <shucontech@gmail.com>

* Fix failing tests

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>

Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-30 18:10:20 -03:00
Maurício Meneghini Fauth
5e7410a930
Improve Error message stacktrace style
Fixes #17326

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-29 16:55:44 -03:00
Shucon Tech
745c39bf9c
Replace function Confirm dialog with modal (#17115)
* Replace function Confirm dialog with modal

Signed-off-by: Saksham Gupta <shucontech@gmail.com>

* Fix failing tests

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>

Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-28 21:54:14 -03:00
Maurício Meneghini Fauth
87f8ece01d
Deprecate the db and table properties from controllers
The database and table parameters should be got from the server request
or from the respective globals.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-28 20:51:03 -03:00
Maurício Meneghini Fauth
d4d146ff4f
Merge pull request #17289 from ozturkmtn/Extract-html-to-twig
Add libraries/classes/error::getDisplay() function twig file.
2022-01-28 17:54:48 -03:00
Maurício Meneghini Fauth
8529de4d88
Merge pull request #17303 from kamil-tekiela/Remove-globals
Remove globals
2022-01-28 16:47:16 -03:00
Maurício Meneghini Fauth
a8d514a350
Remove db and table globals from DbTableExists class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-28 16:43:48 -03:00
Maurício Meneghini Fauth
265e807929
Fix broken pagination links in the navigation sidebar
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-27 17:38:27 -03:00
Kamil Tekiela
50f3222047 Remove usage of mb_strlen
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-01-27 11:47:44 +00:00