Commit Graph

47 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
8f943ae1c0 Move classes to PhpMyAdmin namespace
- Move Sanitize to PhpMyAdmin namespace
- Move SavedSearches to PhpMyAdmin namespace
- Move Scripts to PhpMyAdmin namespace
- Move ServerStatusData to PhpMyAdmin namespace
- Move Sql to PhpMyAdmin namespace
- Move StorageEngine to PhpMyAdmin namespace
- Move SubPartition to PhpMyAdmin namespace
- Move SysInfoLinux to PhpMyAdmin namespace
- Move SysInfoSunOS to PhpMyAdmin namespace
- Move SysInfoWINNT to PhpMyAdmin namespace
- Move SysInfo to PhpMyAdmin namespace
- Move SystemDatabase to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-07 01:46:08 -03:00
Maurício Meneghini Fauth
119563b7ea Move classes to PhpMyAdmin namespace
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 23:44:10 -03:00
Maurício Meneghini Fauth
54a15dbd9c Move classes to PhpMyAdmin namespace
- Move Logging to PhpMyAdmin namespace
- Move Menu to PhpMyAdmin namespace
- Move Message to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 13:30:04 -03:00
Maurício Meneghini Fauth
13c0f7bc3c Move classes to PhpMyAdmin namespace
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-28 21:17:18 -03:00
Maurício Meneghini Fauth
61b7d5dfd8 Move js/jquery to js/vendor/jquery
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 01:57:25 -03:00
Michal Čihař
fc9140c0c5 Remove _url_query attribute from DatabaseStructureController.php
It was used only in two locations and in both of them the different URL
query was constructed, so it's better to contruct new queries directly.

Fixes #13373

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 09:39:23 +02:00
Michal Čihař
8ea97c72a4 Fix url for table tracking
Issue #13354

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-07 10:05:46 +02:00
Maurício Meneghini Fauth
e330402b5b Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-03 00:52:22 -03:00
Michal Čihař
17c1e99ee4 Merge commit '8674361e46d990236306a9da43196cac653d3ecb' 2017-05-15 09:51:16 +02:00
Maurício Meneghini Fauth
0a80a0ce57 Refactor variable names in Twig templates
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-09 23:39:41 -03:00
Dan Ungureanu
4dd2226ef2 Redirect user to last page that has any tables to display.
Fixes #13241.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2017-05-09 23:29:06 +03:00
Michal Čihař
c36d0001f9 Use htmlspecialchars instead of urlencode
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-09 11:49:52 +02:00
Michal Čihař
cb691faf76 Do not try to sync favorite tables if configuration storage is not enabled
Fixes #13092

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 16:12:32 +01:00
Michal Čihař
33a7586f20 Fix typo in TokuDB check
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 14:02:32 +01:00
Michal Čihař
fa051ff3e8 Add basic support for TokuDB
This applies most of https://github.com/phpmyadmin/phpmyadmin/pull/12693
on top of current code base.

- offer correct operations on operations tab
- properly handle counting same as with InnoDB

Fixes #12693

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 13:55:17 +01:00
Michal Čihař
be4eaf5243 Merge branch 'master' into master-security 2017-01-21 16:46:12 +01:00
Michal Čihař
1d732ed4b0 Use consistent numeric format for table overhead
Using 4 digits is not really consistent with rest of the UI.

Basically this reverts 0f74231.

Fixes #12897

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-20 13:35:56 +01:00
Michal Čihař
3f4487f985 Merge branch 'master' into master-security 2016-12-21 11:11:25 +01:00
Michal Čihař
6a84202981 Use existing filtering template for table filtering
Issue #12838, #12069

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-21 10:22:35 +01:00
Michal Čihař
7157322719 Merge branch 'QA_4_6-security' into master-security 2016-12-08 11:01:43 +01:00
Michal Čihař
96b4f13e54 Quote table name for use in regexp
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-08 10:23:57 +01:00
Michal Čihař
308c9d7951 Simplify Response object handling
- always use use and short name
- avoid calling getInstance() several times in one script

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Michal Čihař
b56f101039 Remove is_ajax_request global
We already have the same information on Response object, so let's use it
from there.

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 17:54:34 +01:00
Patric Gustafsson
30262971c8 Remove odd CSS class logic from PHP and template
Odd CSS class is no longer needed, background coloring
is now done with CSS pseudo-class.

Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
2016-08-24 14:14:01 +03:00
Deven Bansod
7f80d3f78a Remove trailing whitespace
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-08-08 18:33:32 +05:30
Deven Bansod
315f7b3596 Add optional column 'Charset' on Database structure page
Fix #12162

Add an option to add a Column on Database structure page which shows the charset of each table/view

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-08-08 17:51:16 +05:30
Michal Čihař
3aa380a1e1 Merge branch 'QA_4_6' 2016-08-03 10:02:53 +02:00
Pavel Rochnyack
9d3da1b408 Fix replication status output in database tables list.
Issue is second part to #12416

Signed-off-by: Pavel Rochnyack <pavel2000@ngs.ru>
2016-08-01 03:37:20 +01:00
Michal Čihař
25ede08182 Merge branch 'QA_4_6' 2016-06-14 08:30:03 +02:00
Michal Čihař
79a34ff94c Calculate table size as integer
It should be big enough on 64-bit systems, so avoid rounding issues
which double calculations can bring.

Fixes #12303

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-14 08:28:26 +02:00
Michal Čihař
3e2029e750 Move MySQL charsets handling to the Charsets class
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-11 12:55:42 +02:00
Michal Čihař
e2deac4b22 Move getting collation to the DBI layer
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-11 11:42:29 +02:00
Michal Čihař
fdd6d3105d Merge branch 'QA_4_6' 2016-04-06 10:39:17 +02:00
Michal Čihař
96a2e3e35a Avoid using globals for things we have as class attribute
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:39:10 +02:00
Michal Čihař
412af774ba Avoid using superglobal
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:36:20 +02:00
Michal Čihař
d99c4f357d Merge branch 'QA_4_6' 2016-04-06 10:32:36 +02:00
Michal Čihař
e009217f43 Fix check for system schema
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:32:28 +02:00
Michal Čihař
298efcf139 Merge branch 'QA_4_6' 2016-04-06 10:19:37 +02:00
Michal Čihař
ec984877d8 Improve performance of database structure page
There is no need to get full list of tables twice, it's enough to do it
in the controller itself.

Fixes #12129

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:17:56 +02:00
Madhura Jayaratne
251cd5d071 Merge branch 'QA_4_6' 2016-03-16 22:22:04 +11:00
Madhura Jayaratne
902b41e86c Fix #12092 PHP Fatal error: Call to undefined function __()
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-16 22:20:30 +11:00
Durgesh
6650f7b07d Refactor text sanitization and javascript escaping, Issue #11989, #11988
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:45:19 +05:30
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Michal Čihař
20c74d2124 Consistent parameter type docs (number -> integer)
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-05 17:13:53 +01:00
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Michal Čihař
3da8853467 Merge branch 'QA_4_5' 2015-12-07 16:39:31 +01:00
Madhura Jayaratne
2fb291bbb0 Move packages for better organization
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-18 12:29:00 +11:00