Commit Graph

379 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
ac4bfaebe7
Remove some custom CSS utilities
Uses Bootstrap equivalents.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-26 20:05:03 -03:00
Maurício Meneghini Fauth
d3c31fabd4
Remove some custom CSS utilities
Uses Bootstrap equivalents.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-23 19:06:38 -03:00
Maurício Meneghini Fauth
6408b7179a
Fix renamed Bootstrap 5 classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-21 15:28:39 -03: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
cb842fd079
Fix some errors found by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-14 14:44:05 -03:00
William Desportes
bc45a05dcd
Typo fixes in the JS codebase with VS code "code spell checker"
And coding standard issues from pull-request #16364
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-11-12 23:27:57 +01:00
William Desportes
35c83341c0
Merge #16364 - Fix #16095 - Leading space not shown in a CHAR column when browsing table
Issue: #16095
Pull-request: #16364
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-11-12 22:36:07 +01:00
William Desportes
16f81e47ea
Fix #16473 - be sure to send a string to htmlspecialchars
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-11-10 14:39:18 +01:00
Petr Duda
2c7b7046e2
Fix #16095 - Leading space not shown in a CHAR column
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-11-02 09:28:04 +01:00
Maurício Meneghini Fauth
db3da81056 Remove some useless comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-13 19:56:56 -03:00
Maurício Meneghini Fauth
ac9bccf67d Replace $GLOBALS['dbi'] with global $dbi
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-11 09:24:21 -03:00
Maurício Meneghini Fauth
405b6277e7 Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-10 14:16:25 -03:00
Isaac Bennetch
014f769718 Fix more merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2020-10-09 22:19:46 -04:00
Maurício Meneghini Fauth
e66be179ca Use camel case naming for class members
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-05 10:37:07 -03:00
Maurício Meneghini Fauth
bb32ba6d9c Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-04 12:31:43 -03:00
Maurício Meneghini Fauth
3c21cf1853 Remove url_query PHP global
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-08 13:32:25 -03:00
Maurício Meneghini Fauth
ceac762e09 Remove pmaThemePath and pmaThemeImage PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-02 10:57:57 -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
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
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
Maurício Meneghini Fauth
f8311db8b1 Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-16 18:48:17 -03:00
Maurício Meneghini Fauth
375dd644cd
Merge pull request #16277 from rajat315315/Fix-16086
fix shifting of headers using position:sticky
2020-08-16 12:45:56 -03:00
Maurício Meneghini Fauth
75397c913d Refactor Display\Export class
- Uses template inheritance for the export templates.
- Renames Display\Export to Export\Options.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-03 23:56:20 -03:00
Maurício Meneghini Fauth
4cbf018db3 Merge Display\Export::getDisplay templates
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-03 18:21:53 -03:00
Maurício Meneghini Fauth
3a84b184b3 Extract HTML from Display\Export::getDisplay
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-03 16:47:04 -03:00
Maurício Meneghini Fauth
d9dc188592 Merge templates for Display\Export::getHtmlForOptions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-31 20:30:21 -03:00
Maurício Meneghini Fauth
af9877436d Merge templates from Display\Export::getHtmlForOptionsOutput
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-30 17:29:41 -03:00
Maurício Meneghini Fauth
0e3a82bd86 Remove Display\Error class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-29 23:08:29 -03:00
Maurício Meneghini Fauth
65c93872f0 Remove Display\GitRevision class
Move display method to Git class

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-29 22:50:49 -03:00
Maurício Meneghini Fauth
d0716e9d31 Remove Display\CreateTable::getHtml
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-29 21:49:55 -03:00
Maurício Meneghini Fauth
c92663adbb Move ChangePassword::getHtml to Server\Privileges class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-29 19:12:35 -03:00
Maurício Meneghini Fauth
904d8f99c6 Merge Display\ChangePassword template files
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-29 17:57:55 -03:00
Rajat Jain
50f31ab8e2 fix shifting of headers using Polyfill Stickyfill
Signed-off-by: Rajat Jain <rajatjain.ix@gmail.com>
2020-07-27 13:58:53 +05:30
William Desportes
7331688a09
Use strict === on constants of Results class
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-23 16:49:44 +02:00
William Desportes
c45137af04
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-23 16:49:30 +02:00
William Desportes
38c09bcee9
Fallback on empty string for #16146 if session_max_rows is not set
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-23 16:15:27 +02:00
William Desportes
54efb1e2d4
Merge #16275 - Fix #16146 - sorting does not keep the number of rows selector
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-23 15:40:12 +02:00
Rajat Jain
1d37565118
Fix #16146 - sorting changes number_of_rows
Signed-off-by: Rajat Jain <rajatjain.ix@gmail.com>
2020-07-23 15:26:53 +02:00
Maurício Meneghini Fauth
2358b9c4f9 Fix missing property type hints
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-22 21:42:22 -03:00
William Desportes
e97d82061d
Coding standard fixes after #14340
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-22 17:52:51 +02:00
William Desportes
5fcac2fa9d
Merge #15365 - #14340 - Add a button on Export Page to show SQL Query
Pull-request: #15365
Fixes: #14340
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-22 17:37:45 +02:00
Maurício Meneghini Fauth
3f01cd8c13 Remove Message::display method
Related to https://github.com/phpmyadmin/phpmyadmin/issues/16258.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-20 19:43:46 -03:00
Maurício Meneghini Fauth
ea1713081c Create Export\TemplateModel class
Extracts the database calls from the controller to the model.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-19 15:01:55 -03:00
Maurício Meneghini Fauth
7b958b874f Create ExportTemplateController class
Extracts export templates handling from Display\Export class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-17 16:27:37 -03:00
Maurício Meneghini Fauth
0d7aab823c Remove __get and __set magic methods from Results
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-11 02:25:18 -03:00
Maurício Meneghini Fauth
971a773cc7 Make Sql::isJustBrowsing method static
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-10 23:25:34 -03:00
Maurício Meneghini Fauth
3b285ff17e Use identical operator for non-empty strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-10 18:06:29 -03:00
Kartik Kathuria
454d293e50
Button on Export Page to show SQL Query
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
2020-07-07 15:09:10 +02:00