Commit Graph

141 Commits

Author SHA1 Message Date
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
Marc Delisle
1be4fc7a99 Refactor duplicated code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2016-01-01 12:00:46 -05:00
Hugues Peccatte
58b10807c8 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Jason
fb2fb18dcd Fixes issue #11399.
- Also some changes were made to prevent same kind of bug from occuring again

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-21 07:23:27 -04:00
Jason
6636153071 Resolve conflicts from upstream
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +08:00
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Madhura Jayaratne
a43c9b2df0 Activate/deactivate tracking with a single parameter
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-23 08:45:33 +05:30
Madhura Jayaratne
52da3b8084 Use table sorting for tracking tables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 10:19:57 +05:30
Madhura Jayaratne
e125a7711e Merge branch 'QA_4_3'
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-04 12:44:03 +05:30
Madhura Jayaratne
4e3cb71a4c bug #4745 Tracking does not handle views properly
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-04 12:38:43 +05:30
Madhura Jayaratne
80c0ba810a Allow deleting individual versions of tracking data
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-26 17:57:33 +05:30
Madhura Jayaratne
3b2f62d3c2 Tracking improvements. Implements rfe #1562
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-25 17:31:53 +05:30
Madhura Jayaratne
cca5f55a4d Do not advertise on every table level page that tracking is active
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-25 10:47:38 +05:30
Madhura Jayaratne
0fda8293f4 Merge branch 'QA_4_2' into QA_4_3 2014-11-25 09:15:08 +05:30
Madhura Jayaratne
8607de61e0 bug #4605 Unseen messages in tracking
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-25 09:01:35 +05:30
Marc Delisle
4314444675 Refactor duplicate code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-27 12:42:55 -04:00
Madhura Jayaratne
ca16959719 Remove trailing white spaces 2013-10-20 10:21:34 +05:30
Marc Delisle
7f40c41efe Remove misleading comment 2013-08-22 06:53:44 -04:00
Spun Nakandala
2d83d84c0e added tbl_tracking.lib.php and extracted methods from tbl_tracking.php 2013-08-22 10:22:40 +05:30
xmujay
ea1f6f3750 refactor PMA_getHtmlForSqlQueryForm and fix code style 2013-08-20 21:36:58 +08:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
2711010c05 Use new truncating code 2013-08-06 12:30:53 +02:00
Michal Čihař
99af0cbc7e Remove unused parameter from PMA_Util::formatSql
We no longer need parsed SQL here.
2013-08-06 12:24:28 +02:00
Michal Čihař
959644445d PMA_Util::formatSql now requires unparsed query as well
In most cases we just need to output it as is, formatting is done in
javascript.
2013-08-06 12:04:14 +02:00
Michal Čihař
3063535532 Merge remote-tracking branch 'origin/QA_4_0'
Conflicts:
	tbl_tracking.php
2013-08-05 10:02:09 +02:00
Michal Čihař
3a6d29f183 Use PMA_generate_common_url for URL parameters 2013-08-05 10:00:39 +02:00
FliegenKLATSCH
bebe981371 Version-Parameter fixed
Single Tracking-Entries couldn't be deleted because of missing Version in the Delete-Link.
2013-08-05 09:58:17 +02:00
FliegenKLATSCH
511d8ec920 Version-Parameter fixed
Single Tracking-Entries couldn't be deleted because of missing Version in the Delete-Link.
2013-08-04 18:20:48 +02:00
Michal Čihař
a5f572e132 Factor out text showing detection as well 2013-07-30 15:07:44 +02:00
Michal Čihař
6c3099cae1 Remove double ; 2013-07-30 13:42:31 +02:00
Michal Čihař
bebba32337 Merge remote-tracking branch 'origin/QA_4_0'
Conflicts:
	libraries/config.values.php
	libraries/sql_query_form.lib.php
	server_binlog.php
	server_databases.php
	tbl_structure.php
	test/classes/PMA_DisplayResults_test.php
2013-06-24 10:41:54 +02:00
Marc Delisle
d4d5a03766 Bug #3960 NavigationBarIconic config not honored 2013-06-21 10:00:41 -04:00
Madhura Jayaratne
1edbc2cd3d Fix indentation, remove extra space 2013-06-19 13:00:04 +05:30
Madhura Jayaratne
472a6239a4 Rename PMA_filter_tracking -> PMA_filterTracking 2013-06-19 12:51:33 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Kasun Chathuranga
556bcb9f9d PMA_DBI_num_rows --> PMA_DBI_numRows 2013-05-04 08:39:43 +05:30
Kasun Chathuranga
d454b41564 PMA_DBI_data_seek --> PMA_DBI_dataSeek 2013-05-04 08:31:47 +05:30
Kasun Chathuranga
2a2eac9b53 PMA_DBI_fetch_array --> PMA_DBI_fetchArray 2013-05-04 08:28:57 +05:30
Madhura Jayaratne
ae0125b013 Closing parenthesis of a multi-line IF statement must be on a new line 2013-04-12 21:54:03 +05:30
Marc Delisle
72eaf6d338 Fix merge conflicts 2012-12-12 15:04:55 -05:00
Rouslan Placella
fbb920c2d1 Fixed submission of table tracking forms 2012-10-30 20:07:02 +00:00
Michal Čihař
536ebb21aa Fix typo 2012-09-19 20:03:06 +02:00
Michal Čihař
7474e4635e Wrap some long lines 2012-09-19 14:14:33 +02:00
Michal Čihař
9fddc8a725 Simplify code 2012-09-19 14:14:33 +02:00
Michal Čihař
d5f7a90703 Replace mixed html and php with php 2012-09-19 14:14:33 +02:00
Chanaka Indrajith
e6894be57f Renamed ->method() with PMA_Util::method() 2012-09-16 14:35:45 +05:30
Chanaka Indrajith
0829709064 Remove variable 2012-09-16 14:31:22 +05:30
Madhura Jayaratne
2095bc3211 Wrap some long lines 2012-09-05 22:13:55 +05:30
Dieter Adriaenssens
163dba1143 fix coding style 2012-09-02 21:02:51 +02:00