Commit Graph

119561 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
45e1128122 Move gettext calls to advisory rules files
Removes the need of the AdvisoryRulesCommand.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-31 15:37:46 -03:00
Maurício Meneghini Fauth
51ae4fad22 Remove advisory rules file parser
Uses a PHP array instead of parsing a TXT file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-31 15:37:46 -03:00
Maurício Meneghini Fauth
5d5f149dd8
Merge pull request #16322 from mauriciofauth/tbl-maint-pages
Create dedicated pages for table maintenance actions
2020-08-31 15:11:59 -03:00
Mingun
1b221bcbce
Translated using Weblate (Russian)
Currently translated at 99.8% (3304 of 3309 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/ru/
Signed-off-by: Mingun <Alexander_Sergey@mail.ru>
2020-08-31 17:34:41 +02:00
Kozioł Marcin
cf62988e1d
Translated using Weblate (Polish)
Currently translated at 97.2% (3262 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pl/
Signed-off-by: Kozioł Marcin <koziol.martin@gmail.com>
2020-08-30 21:38:21 +02:00
ssantos
759b8eb3c7
Translated using Weblate (Portuguese)
Currently translated at 100.0% (3334 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/pt/
Signed-off-by: ssantos <ssantos@web.de>
2020-08-30 21:38:20 +02:00
ssantos
f912f86774
Translated using Weblate (Portuguese)
Currently translated at 100.0% (3355 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt/
Signed-off-by: ssantos <ssantos@web.de>
2020-08-30 21:38:19 +02:00
Kozioł Marcin
4d9677814f
Translated using Weblate (Polish)
Currently translated at 99.6% (3323 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/pl/
Signed-off-by: Kozioł Marcin <koziol.martin@gmail.com>
2020-08-30 21:38:19 +02:00
ssantos
c4d44f2f25
Translated using Weblate (Portuguese)
Currently translated at 100.0% (3309 of 3309 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/pt/
Signed-off-by: ssantos <ssantos@web.de>
2020-08-30 21:36:44 +02:00
Kozioł Marcin
4e0031e4a5
Translated using Weblate (Polish)
Currently translated at 99.3% (3287 of 3309 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/pl/
Signed-off-by: Kozioł Marcin <koziol.martin@gmail.com>
2020-08-30 21:36:41 +02:00
Maurício Meneghini Fauth
d82d598ec7 Improve table maintenance pages
Replaces tables with list group cards.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 19:37:09 -03:00
Maurício Meneghini Fauth
bade581161 Check if multi table maintenance is disabled
Checks if $cfg['DisableMultiTableMaintenance'] is true.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 16:07:35 -03:00
Maurício Meneghini Fauth
7936909dbd Move Operations::getMaintenanceActions to the view
Uses Table\MaintenanceController to handle the maintenance actions in
the table operations page.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 15:25:14 -03:00
Maurício Meneghini Fauth
3b02872cd3 Create the Table\Maintenance class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 00:35:13 -03:00
Maurício Meneghini Fauth
46f28b42c9 Extract the Table\MaintenanceController class
Extracts the table maintenance action methods from
the Database\StructureController class to the
new Table\MaintenanceController class and adjust templates
and routes names.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 23:33:43 -03:00
Maurício Meneghini Fauth
620cb0a705 Create a dedicated page for Repair Table
Instead of only showing the query results.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 22:38:24 -03:00
Maurício Meneghini Fauth
98a1943b35 Create a dedicated page for Optimize Table
Instead of only showing the query results.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 22:26:19 -03:00
Maurício Meneghini Fauth
c1ad98f83d Create a dedicated page for Checksum Table
Instead of only showings the query results.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 21:59:48 -03:00
Maurício Meneghini Fauth
5c06dede81 Create a dedicated page for Analyze Table
Instead of only showing the query results.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 21:12:12 -03:00
Maurício Meneghini Fauth
c112bfd6d6 Create a new page for Check Table
Instead of only showing the query results.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 14:22:22 -03:00
Maurício Meneghini Fauth
94b3fea4a7 Update PHPstan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-26 17:25:51 -03:00
Maurício Meneghini Fauth
03d8314bba Create the PhpMyAdmin\Profiling class
Extracts Profiling related methods to the Profiling class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-26 16:02:30 -03:00
Maurício Meneghini Fauth
3e71690a0b Extract profiling methods from Sql::executeTheQuery
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-25 22:00:55 -03:00
Maurício Meneghini Fauth
919a25a849 Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-25 20:57:57 -03:00
Maurício Meneghini Fauth
622241c15f Fix profiling table not incrementing calls
Fixes #16318

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-25 20:54:45 -03:00
Maurício Meneghini Fauth
e7e9bd770f Remove the Sql::getHtmlForProfilingChart method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-25 20:31:15 -03:00
Maurício Meneghini Fauth
99abf3ab3c Remove the Sql::getHtmlForSetColumn method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-24 22:59:17 -03:00
Maurício Meneghini Fauth
dd8eb261f8 Remove the Sql::getHtmlForBookmark method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-24 20:47:33 -03:00
Maurício Meneghini Fauth
dfb9a4191e Update PHPStan baseline
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-24 20:44:13 -03:00
Maurício Meneghini Fauth
84516434c0 Fix ESLint CS error
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-23 21:32:29 -03:00
Maurício Meneghini Fauth
ccbcc08c25 Fix some PHPStan errors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-23 20:36:44 -03:00
Maurício Meneghini Fauth
7966f5bde5
Merge pull request #16311 from nikkolai14/remove-inline-js
Remove inline js
2020-08-21 21:29:37 -03:00
Maurício Meneghini Fauth
3a5ad0a011 Extract HTML from query results operations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-21 20:53:09 -03:00
Monsta
705958e1d0
Translated using Weblate (Indonesian)
Currently translated at 78.5% (2635 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/id/
Signed-off-by: Monsta <discordgg5@gmail.com>
2020-08-21 14:50:23 +02:00
dingo thirteen
3212b91136
Translated using Weblate (Dutch)
Currently translated at 100.0% (3334 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/nl/
Signed-off-by: dingo thirteen <dingo13@d404.nl>
2020-08-21 00:36:08 +02:00
dingo thirteen
50a93b81b7
Translated using Weblate (Dutch)
Currently translated at 100.0% (3355 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/nl/
Signed-off-by: dingo thirteen <dingo13@d404.nl>
2020-08-21 00:36:08 +02:00
dingo thirteen
cb39be5f83
Translated using Weblate (Dutch)
Currently translated at 100.0% (3309 of 3309 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/nl/
Signed-off-by: dingo thirteen <dingo13@d404.nl>
2020-08-21 00:36:00 +02:00
Maurício Meneghini Fauth
f6215b6f7a Extract HTML from Sql::getQueryResponseForNoResultsReturned
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-20 17:27:09 -03:00
Nikkolai Fernandez
8b99d174c2
Removed inline onclick js
Signed-off-by: Nikkolai Fernandez <nikkolaifernandez14@gmail.com>
2020-08-20 20:54:10 +02:00
Maurício Meneghini Fauth
55c5c80d37 Rename Display\ImportAjax class
Renames to Import\Ajax.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-20 12:07:54 -03:00
Maurício Meneghini Fauth
fa67657b1a Remove Display\Import class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-20 00:21:26 -03:00
Nikkolai Fernandez
aa8c4a773c
Remove inline js (#16308)
* Removed inline onclick javascript

Signed-off-by: Nikkolai Fernandez <nikkolaifernandez14@gmail.com>
2020-08-19 12:52:36 -03:00
Annlix
7712fc2fc2
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3334 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/zh_Hans/
Signed-off-by: Annlix <Annlix@outlook.com>
2020-08-19 07:38:51 +02:00
Maurício Meneghini Fauth
28436399dd Extract exit from Display\Import class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-19 02:28:02 -03:00
Maurício Meneghini Fauth
65b79af29e Refactor Plugins::getPlugins method
Replaces parameters with explicit methods.
 - Plugins::getExport
 - Plugins::getImport
 - Plugins::getSchema

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-19 01:40:27 -03:00
Domen
1154921319
Translated using Weblate (Slovenian)
Currently translated at 100.0% (3355 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/sl/
Signed-off-by: Domen <mitenem@outlook.com>
2020-08-19 05:33:56 +02:00
Olivier Humbert
d1d768b06a
Translated using Weblate (French)
Currently translated at 100.0% (3355 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fr/
Signed-off-by: Olivier Humbert <trebmuh@tuxfamily.org>
2020-08-19 05:33:56 +02:00
Eduardo Addad de Oliveira
05f13f56f3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3355 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt_BR/
Signed-off-by: Eduardo Addad de Oliveira <duduaddad@gmail.com>
2020-08-19 05:33:55 +02:00
Burak Yavuz
eb9fbb84ce
Translated using Weblate (Turkish)
Currently translated at 100.0% (3355 of 3355 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/
Signed-off-by: Burak Yavuz <hitowerdigit@hotmail.com>
2020-08-19 05:33:55 +02:00
Maurício Meneghini Fauth
578d70e9de Remove import_handle global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-18 20:45:33 -03:00