Commit Graph

109 Commits

Author SHA1 Message Date
Jason
d6577f5d1a Add tests for TableSearchController, TableStructureController.
- Also fix a missing include in operations.lib.php

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-20 01:20:08 +08: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
c692ddbb66 Use DI in controllers and simplify directory structure
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-30 10:26:12 +08:00
Jason
452ccc58d3 Introduce dependency injection container
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-30 10:08:03 +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
Hugues Peccatte
3827e3e988 Make PHPcs happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-06-12 22:24:32 +02:00
Isaac Bennetch
cad0eda2c7 Merge pull request #1720 from devenbansod/rfe1594
RFE#1594: Use plain English descriptors instead of script names for Browse, SQL, Privileges, etc links
2015-06-12 15:13:34 -04: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
Jason
4ecdba9100 Refactoring tbl_indexes.lib.php & tbl_chart.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-08 21:54:27 +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
Hugues Peccatte
80ced5fe8f Fix PHPCS issues.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 18:37:49 +01:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Madhura Jayaratne
511c105222 bug #4432 Error while displaying chart at server level
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-05-28 14:05:40 +05:30
Michal ฤŒihaล™
6f076b34e5 Drop flashcanvas
Let's drop flashcanvas, which we use for rendering charts with MSIE 8
and older. I've tested it a bit and in none of the uses it works
properly, so it really does not work as a drop in replacement for native
browser support and it would probably need some adjustment in our code.

Also it is problematic from licensing point of view as we do not ship
source for it js/canvg/flashcanvas.swf.

Signed-off-by: Michal ฤŒihaล™ <mcihar@suse.cz>
2014-02-03 13:32:01 +01:00
Spun Nakandala
7178de4e4a added libraries/tbl_chart.lib.php and extracted methods to generate html content 2013-08-23 02:53:07 +05:30
Michal ฤŒihaล™
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
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
6b1f6ae046 Merge branch 'master' into DBI_naming_cleanUp
Conflicts:
	libraries/database_interface.lib.php
	libraries/db_table_exists.lib.php
	libraries/relation.lib.php
	libraries/rte/rte_triggers.lib.php
	libraries/schema/Dia_Relation_Schema.class.php
	libraries/schema/Visio_Relation_Schema.class.php
	tbl_addfield.php
2013-05-01 00:51:15 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Michal ฤŒihaล™
2fbb4cee0d Consistently include colon in strings to translate
In some languages this makes difference in translating, so it's better
to give translators full context.
2013-04-25 14:22:31 +02:00
Madhura Jayaratne
8254d3eaf6 Check whether operands are identical. Otherwise 0 makes the condition true 2013-03-25 21:03:52 +05:30
Madhura Jayaratne
1f8a8eb466 Fail fast if no numeric column was detected in the result set to plot. Allow drawing chart when only one column is present 2013-03-08 22:02:29 +05:30
Madhura Jayaratne
7596f8b382 If there is only on numeric column, select it despite it being chosen for the X-axis 2013-03-08 16:10:13 +05:30
Atul Pratap Singh
550f6b3ea4 Enable tooltip in display chart 2013-03-06 01:32:08 +05:30
Marc Delisle
dd04178c77 When referring to a table, we use the term "column" 2013-02-08 08:47:56 -05:00
Madhura Jayaratne
24275dd07e Coding style improvements 2013-01-27 21:42:17 +05:30
Atul Pratap Singh
effd5a3cce Show error messages when unable to display chart 2013-01-27 20:48:07 +05:30
Madhura Jayaratne
fe4d0c8f5d If the original query has a limit clause, an incorrect SQL was generated 2013-01-21 23:36:23 +05:30
Dieter Adriaenssens
87ebdb581b improve coding style : remove mixed php and html 2013-01-16 22:02:33 +01:00
Madhura Jayaratne
50865948fa Merge branch 'master' into charts
Conflicts:
	tbl_chart.php
2013-01-15 22:42:14 +05:30
Madhura Jayaratne
178919f6d6 More space needed due to increase of chart types 2013-01-15 22:36:28 +05:30
Madhura Jayaratne
e9a6fc1f47 Add spline charts back 2013-01-15 21:25:42 +05:30
Dieter Adriaenssens
42dc425c0b wrap long lines 2013-01-15 14:31:56 +01:00
Dieter Adriaenssens
b1431bae58 improve coding style : correct syntax with if-then-else statements 2013-01-15 14:29:16 +01:00
Madhura Jayaratne
34c676c1d1 Draw timeline charts with queries 2013-01-15 00:18:05 +05:30
Madhura Jayaratne
91df297bb6 Fix query charts with the new chart library. Replace spline chart(not supported by jqPlot) with area chart. 2013-01-14 20:16:57 +05:30
Atul Pratap Singh
fd83a468d5 Fix display chart 2012-12-20 03:13:15 +05:30
Rouslan Placella
501e3a9f2c Upgraded jquery and jquery-ui 2012-12-19 14:50:36 +00:00
Atul Pratap Singh
aa12956816 Fix bug #3571970 for master 2012-10-28 22:21:37 +05:30
Marc Delisle
a5d0fdad0e Fix merge conflicts 2012-09-08 07:59:06 -04:00
Marc Delisle
04698355e4 Resizer for Display chart 2012-09-08 07:12:21 -04:00
Marc Delisle
b1100e9fb7 Remove calling of highcharts 2012-09-07 13:01:54 -04:00
Marc Delisle
286c8a7dbb Initial porting to jqplot 2012-08-31 14:18:02 -04:00
Rouslan Placella
eb98110541 Dropped footer.inc.php 2012-06-11 14:06:04 +01:00