Commit Graph

70 Commits

Author SHA1 Message Date
Hugues Peccatte
ffc4422db7 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-19 20:33:21 +02:00
Madhura Jayaratne
bf22e3c492 Merge branch 'QA_4_5' 2015-10-08 19:15:35 +11:00
Madhura Jayaratne
5e7a8fac43 Fix #11546 "Visualize GIS data" seems to be broken
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-08 19:09:33 +11:00
Hugues Peccatte
17274d9a54 Move PMA/DI namespace to PMA\libraries\di.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-02 22:02:46 +02:00
Hugues Peccatte
edf0dfa179 Add missing 'use'.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 22:02:22 +02:00
Hugues Peccatte
5207ba43a7 Update controllers' namespace.
Move table controllers into 'table' folder.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:56:14 +02:00
Hugues Peccatte
7f8f34e89d Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +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
Hugues Peccatte
f54bbe7a70 Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 23:02:10 +02:00
Hugues Peccatte
567a628947 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 22:29:21 +02:00
Hugues Peccatte
2fe6ff4655 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-08-29 16:27:21 +02:00
Jason
3613f2b6bd Introduce the ResponseStub
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Hugues Peccatte
bf61709259 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-23 14:38:07 +02:00
Madhura Jayaratne
a281d9c70f Use spaces in place of tabs
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-17 14:32:55 +05:30
Atul Pratap Singh
ca61c3ace8 Achieve constructor injection usign the introduced DIC
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-06 12:49:19 +05:30
Jason
d1e2c58ee4 Test & fix TableGisVisualizationController
Also fix typos in controllers.

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-03 23:04:19 +08:00
Jason
104c68d681 Introduce Controllers for tbl related scripts
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-24 01:55:45 +08:00
Jason
c24e96f1a3 Optimize logic in tbl_gis_visualization.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:50:10 +08:00
Jason
cb771052c8 Finish refactoring tbl_*.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:14:27 +08:00
Deven Bansod
edad7fcb3c Replace script names as config options with plain english words
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-13 04:41:54 +05:30
Madhura Jayaratne
15cf89d290 Use camel case 2015-06-03 11:20:26 +05:30
Marc Delisle
4eccae5290 Merge pull request #1547 from znck/master
Remove unneeded closing tags
2015-03-26 07:56:45 -04: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
b2910e3a85 Pass values as parameters
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-06 11:54:57 +05:30
Madhura Jayaratne
806178eca2 Upgrade GIS visualization page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-05 17:26:54 +05:30
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Michal Čihař
ba544d4639 Correct spacing in function calls 2013-07-10 14:59:42 +02:00
Spun Nakandala
7e9d7a8c1e gis_visualization.lib.php renamed as tbl_gis_visualization.lib.php. PMA_getHtmlForGisVisualization, PMA_getHtmlForOptionsList methods added to the tbl_gis_visualization.lib.php 2013-06-24 20:10:54 +05:30
Madhura Jayaratne
5c9941ab6a Some more missing renamings 2013-05-26 07:31:17 +05:30
Kasun Chathuranga
2f0d55b708 PMA_DBI_get_fields_meta --> PMA_DBI_getFieldsMeta 2013-05-04 08:43:23 +05:30
Kasun Chathuranga
5bcc32999f PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc 2013-05-04 08:30:12 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Madhura Jayaratne
2ce7be7798 HTTPS will not see OpenStreetMaps due to CSP. So do not show the checkbox also 2013-04-14 23:38:30 +05:30
Dieter Adriaenssens
8c9d7c8009 fix typo 2013-04-01 22:53:41 +02:00
Dieter Adriaenssens
d83d4eb683 Merge branch 'QA_3_5'
Conflicts:
	ChangeLog
	tbl_gis_visualization.php
2013-04-01 22:50:40 +02:00
Dieter Adriaenssens
79089c9bc0 fix XSS reported by Janek Vind 2013-04-01 22:29:21 +02:00
Madhura Jayaratne
ffd2e5b46c Throw error if no sql query is set 2013-01-27 21:57:53 +05:30
Madhura Jayaratne
009a50ecb3 Fix exporting GIS visualization to various formats 2013-01-19 17:25:54 +05:30
Madhura Jayaratne
b8f3224be9 Use two separate forms for visualizing and downloading 2013-01-19 08:44:48 +05:30
Madhura Jayaratne
60e8358683 Improve layout 2013-01-18 23:23:23 +05:30
Madhura Jayaratne
a35ee30e8c Remove width and height settings. Size is automatically adjusted 2013-01-18 22:32:22 +05:30
Rouslan Placella
cf9b0d0027 Dropped includes for globally included JS files 2012-10-30 20:10:21 +00:00
Madhura Jayaratne
9d281ef330 Fix indentation 2012-09-05 23:03:51 +05:30
Michal Čihař
44d59e7636 Various coding style improvements 2012-09-04 15:51:02 +02:00
Madhura Jayaratne
9a47688dc6 Various coding style improvements 2012-07-29 19:25:52 +05:30
Rouslan Placella
eb98110541 Dropped footer.inc.php 2012-06-11 14:06:04 +01:00
Rouslan Placella
a054562100 PMA_Footer and PMA_Header no longer need to be singletons 2012-06-11 14:06:03 +01:00
Rouslan Placella
4a740376c8 Dropped header.inc.php in favor of the PMA_Header class 2012-06-11 14:06:02 +01:00
Dieter Adriaenssens
3a3da2987e add vim directive for indenting with spaces 2012-04-11 16:18:53 +02:00