Commit Graph

119992 Commits

Author SHA1 Message Date
William Desportes
8fddd36d75
Ref #16467 - fetch page name in a safer way
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-07 01:31:47 +01:00
William Desportes
70320f256b
Fix a "PHP Fatal error: Uncaught TypeError: rawurlencode" using sakila database
NOTICE: PHP message: PHP Fatal error:  Uncaught TypeError: rawurlencode(): Argument #1 ($string) must be of type string, int given in libraries/classes/Database/Designer/Common.php:141
Stack trace:
#0 libraries/classes/Database/Designer/Common.php(141): rawurlencode(1)
#1 libraries/classes/Controllers/Database/DesignerController.php(203): PhpMyAdmin\Database\Designer\Common->getScriptContr(Array)
#2 libraries/classes/Routing.php(92): PhpMyAdmin\Controllers\Database\DesignerController->index(Array)
#3 index.php(18): PhpMyAdmin\Routing::callControllerForRoute('/database/desig...', Object(FastRoute\Dispatcher\GroupCountBased), Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#4 {main}
  thrown in libraries/classes/Database/Designer/Common.p...

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-07 01:20:53 +01:00
William Desportes
e25f2ec999
Fix a "PHP Fatal error: Uncaught TypeError: ucfirst()"
NOTICE: PHP message: PHP Fatal error:  Uncaught TypeError: ucfirst(): Argument #1 ($str) must be of type string, null given in libraries/classes/Plugins/Schema/Pdf/Pdf.php:308
Stack trace:
#0 libraries/classes/Plugins/Schema/Pdf/Pdf.php(308): ucfirst(NULL)
#1 vendor/tecnickcom/tcpdf/tcpdf.php(3560): PhpMyAdmin\Plugins\Schema\Pdf\Pdf->Header()
#2 vendor/tecnickcom/tcpdf/tcpdf.php(3227): TCPDF->setHeader()
#3 vendor/tecnickcom/tcpdf/tcpdf.php(3139): TCPDF->startPage('L', '', false)
#4 libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php(524): TCPDF->AddPage('L')
#5 libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php(161): PhpMyAdmin\Plugins\Schema\Pdf\PdfRelationSchema->dataDictionaryDoc(Array)
#6 /...

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-07 01:16:26 +01:00
William Desportes
dfce335134
Some text code improvements
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-07 01:03:03 +01:00
Maurício Meneghini Fauth
3c6955fed5
Move tables export to Database\ExportController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-06 14:08:36 -03:00
Maurício Meneghini Fauth
82d166da69
Fix ReplicationGuiTest broken test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-05 13:35:49 -03:00
Maurício Meneghini Fauth
b4ba6512f1
Update PHPStan and Psalm baselines
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-05 13:35:03 -03:00
Maurício Meneghini Fauth
3c4f906381
Merge pull request #16514 from levxyca/replication-card
Convert server replication fildset to bootstrap card
2020-12-03 15:27:28 -03:00
Leticia Caroline Leonardo
e8008a224f Convert server replication fildset to bootstrap card
Signed-off-by: Leticia Caroline Leonardo <leticiacaroline-123@hotmail.com>
2020-12-03 15:20:45 -03:00
Alfredo Vierna
ec2b4b4a8e
Translated using Weblate (Spanish)
Currently translated at 95.2% (3203 of 3363 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/es/
Signed-off-by: Alfredo Vierna <p4p4p1tuf0@gmail.com>
2020-12-02 16:29:03 +01:00
Maurício Meneghini Fauth
cc173e191d
Use Bootstrap's table for table browse page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:59:51 -03:00
Maurício Meneghini Fauth
6b334131fe
Merge pull request #16491 from mauriciofauth/table-bootstrap
Convert tables CSS to the Bootstrap table style
2020-11-30 23:50:00 -03:00
Maurício Meneghini Fauth
fa982f3cdc
Use Bootstrap's table for table tracking page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:45:31 -03:00
Maurício Meneghini Fauth
42931c235a
Use Bootstrap's table for table privileges page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:38:41 -03:00
Maurício Meneghini Fauth
78f17058b2
Use Bootstrap's table for table zoom search page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:32:28 -03:00
Maurício Meneghini Fauth
2d7678d4b2
Use Bootstrap's table for table search page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:24:39 -03:00
Maurício Meneghini Fauth
a86b8622ba
Use Bootstrap's table for table relation page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:20:32 -03:00
Maurício Meneghini Fauth
6627ff7e14
Use Bootstrap's table for table structure page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:09:20 -03:00
Maurício Meneghini Fauth
532c1eee83
Use Bootstrap's table for db central columns page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:49 -03:00
Maurício Meneghini Fauth
b7d9f13d8a
Use Bootstrap's table for db tracking page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:49 -03:00
Maurício Meneghini Fauth
c698be7a70
Use Bootstrap's table for db triggers page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:49 -03:00
Maurício Meneghini Fauth
ca679a66b9
Use Bootstrap's table for db events page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:48 -03:00
Maurício Meneghini Fauth
5bad0f74af
Use Bootstrap's table for db routines page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:48 -03:00
Maurício Meneghini Fauth
088c9e5874
Use Bootstrap's table for db privileges page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:48 -03:00
Maurício Meneghini Fauth
8b46daefcd
Use Bootstrap's table for db qbe page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:47 -03:00
Maurício Meneghini Fauth
8fab4a7bfb
Use Bootstrap's table for the db structure page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:47 -03:00
Maurício Meneghini Fauth
6d9ae185f9
Use Bootstrap's tables for server plugins page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:47 -03:00
Maurício Meneghini Fauth
36c1eaa93c
Use Bootstrap's table style for server/engines pages
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:46 -03:00
Maurício Meneghini Fauth
2dc3cee415
Use Bootstrap's table style for server/collations page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:46 -03:00
Maurício Meneghini Fauth
9115f1ba7c
Use Bootstrap tables for server variables page tables
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:46 -03:00
Maurício Meneghini Fauth
c86e1c15e2
Use Bootstrap's table style for User Accounts page tables
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:45 -03:00
Maurício Meneghini Fauth
6f61678391
Convert tables of server status pages to Bootstrap style
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:45 -03:00
Maurício Meneghini Fauth
43131cfe57
Convert server status tables to Bootstrap style
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:04:44 -03:00
Maurício Meneghini Fauth
acd214c9b7
Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:58:18 -03:00
Maurício Meneghini Fauth
0ed9c23c1e
Fix uncaught TypeError when editing partitioning
When the partition has subpartitions.
https://github.com/phpmyadmin/phpmyadmin/issues/14494

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:50:18 -03:00
Maurício Meneghini Fauth
767f83a2d4
Merge pull request #16508 from mauriciofauth/partitions-table
Create Table\PartitionController class
2020-11-30 22:40:17 -03:00
Maurício Meneghini Fauth
3a25c96543
Create truncate table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:36:05 -03:00
Maurício Meneghini Fauth
f419ce4f2e
Create repair table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:32:34 -03:00
Maurício Meneghini Fauth
905f48184f
Create rebuild table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:29:01 -03:00
Maurício Meneghini Fauth
42cf71d8aa
Create optimize table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:22:19 -03:00
Maurício Meneghini Fauth
0c38913c15
Create drop table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:16:46 -03:00
Maurício Meneghini Fauth
b64be69dd8
Create analyze table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 21:29:27 -03:00
Maurício Meneghini Fauth
f8df25487f
Create check table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 21:09:32 -03:00
Maurício Meneghini Fauth
73f21d6950
Extract drop partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 15:01:41 -03:00
Maurício Meneghini Fauth
194c8372cc
Extract truncate partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 17:02:03 -03:00
Maurício Meneghini Fauth
1d4dea8e47
Extract repair partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 16:44:32 -03:00
Maurício Meneghini Fauth
1c0218aff7
Extract rebuild partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 16:12:34 -03:00
Maurício Meneghini Fauth
5577d9ecb7
Extract optimize partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 15:26:37 -03:00
Maurício Meneghini Fauth
6e4a9e82a0
Extract check partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 14:20:38 -03:00
Maurício Meneghini Fauth
aeac7177da
Extract analyze partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 12:21:21 -03:00