Commit Graph

46 Commits

Author SHA1 Message Date
Atul Pratap Singh
6866e39ac0 Simply if else logic
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-02-14 00:15:05 +05:30
Marc Delisle
762d7572cb Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-13 10:38:40 -05:00
Atul Pratap Singh
fc257c9904 Rename configuration option as ShowDatabasesNavigationAsTree with default true
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-27 11:31:03 +05:30
Atul Pratap Singh
cf3c433a9d Fix failing tests
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-27 10:42:24 +05:30
Atul Pratap Singh
2b79586343 Modify the configuration option ShowNavigationAsTree to NavigationDatabasesSelector
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-24 19:18:46 +05:30
Atul Pratap Singh
7d60c8c6f9 more js linkages for db-specific tree with select box
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-23 22:53:41 +05:30
Atul Pratap Singh
4fa06442c5 Render tables tree on selecting a database using select box
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-18 02:34:02 +05:30
Atul Pratap Singh
b295b6442c Render a database select in existing Node engine
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-18 01:59:27 +05:30
Atul Pratap Singh
12f584f1f7 Some rearrangements, prepare to add support for old style navigation
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-16 04:32:20 +05:30
Hugues Peccatte
fd7f02f929 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:33:41 +01:00
Ann + J.M
b1a7039ae3 Convert PMA_URL_getCommon calls to new style
Rewritten tests need validation
Signed-Off-By: Ann + J.M. <phpMyAdmin@ZweiSteinSoft.de>
2014-10-18 19:42:29 +02:00
Marc Delisle
fc7ee2089b Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-03 20:10:08 -04:00
minhaz
162d762824 Drag n drop import, feature request 1522
Signed-off-by: A V Minhaz <minhazav@gmail.com>
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-02 06:38:45 -04:00
Marc Delisle
9f37c3ddd7 Fix merge conflits
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-20 12:44:51 -04:00
Ann + J.M
d4f754c937 Fix XSS in Hide navigation items feature
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-06-19 12:57:59 +02:00
Michal ฤŒihaล™
725073709c Use token directly for session
There is no need to have intermediate global variable to store the token
once we have it in the session data.

Signed-off-by: Michal ฤŒihaล™ <michal@cihar.com>
2014-05-10 11:23:33 +02:00
Hugues Peccatte
1f09a22281 Fix PHPDoc. 2013-11-08 22:41:05 +01:00
Marc Delisle
bb923e6fb4 Fix typo 2013-10-03 11:25:09 -04:00
Marc Delisle
93cb28b1aa New icons for hide/show tables in navi 2013-09-28 07:13:41 -04:00
Kasun Chathuranga
3b7aaf59e6 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin into unitTesting3 2013-08-15 11:52:59 +05:30
Kasun Chathuranga
1edf192cc6 Unit tests for navigationhiding 2013-08-13 15:02:30 +05:30
Michal ฤŒihaล™
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Kasun Chathuranga
04c2e88d67 Change tables name from 'navigation' to 'navigationhiding' 2013-07-25 21:26:23 +05:30
Kasun Chathuranga
1ae59ad063 Merge branch 'hideTables' of github.com:kasunchathuranga/phpmyadmin into hideTables
Conflicts:
	libraries/navigation/Nodes/Node_Database.class.php
	libraries/relation.lib.php
2013-07-25 07:08:04 +05:30
Kasun Chathuranga
dd39bdd717 Use 'show' instead of 'unhide' in messages and method comments 2013-07-25 06:52:29 +05:30
Kasun Chathuranga
a715441a07 Escape navigation tree item names 2013-07-23 09:47:55 +05:30
Kasun Chathuranga
ab50075e1c Style improvements to the unhide nav items dialog 2013-07-22 09:11:17 +05:30
Kasun Chathuranga
56b5c8e294 Extend navigation tree item hiding to functions. procedures, events and views 2013-07-22 08:18:21 +05:30
Kasun Chathuranga
1282a3877f Add a dialog to unhide hidden navigation tree items 2013-07-21 14:46:16 +05:30
Rouslan Placella
483dab2feb phpcs fixes 2012-10-30 20:24:01 +00:00
Rouslan Placella
1191cab2e8 Use a factory pattern for instanciating Node objects 2012-10-30 20:16:58 +00:00
Rouslan Placella
4db80fc880 Kill navigation scripts upon invalid execution path 2012-10-30 20:16:58 +00:00
Rouslan Placella
e0451d938b Moved database pagination to the NavigationTree class 2012-10-30 20:16:57 +00:00
Rouslan Placella
90b6718bfb Added configuration directive: MaxNavigationItems 2012-10-30 20:16:56 +00:00
Rouslan Placella
52fcbdf422 Coding style fixes 2012-10-30 20:10:22 +00:00
Rouslan Placella
f5f3cd69ac Prefixed private variable names with underscrore 2012-10-30 20:10:22 +00:00
Rouslan Placella
0d7a90550f Fixed missing token in navigation 2012-10-30 20:10:22 +00:00
Rouslan Placella
1c618c377f Pretty print navigation errors 2012-10-30 20:10:22 +00:00
Rouslan Placella
0fb0c31460 Implemented navigation pagination for all second level items: tables, views, routines and events 2012-10-30 20:10:22 +00:00
Rouslan Placella
fcd07e21d5 Implemented tables pagination in the navigation 2012-10-30 20:10:22 +00:00
Rouslan Placella
9ba7490003 For navigation fetch database names from INFORMATION_SCHEMA only 2012-10-30 20:10:21 +00:00
Rouslan Placella
aba183c386 Preload the navigation tree to save an ajax request and don't store the pagination position in the session 2012-10-30 20:10:21 +00:00
Rouslan Placella
fd8d8465bf No need to close the session after saving navigation data 2012-10-30 20:10:21 +00:00
Rouslan Placella
f3ebce5715 Renamed collapsible tree class to navigation tree 2012-10-30 20:10:21 +00:00
Rouslan Placella
d5db9dfc30 Implemented refreshing of the navigation 2012-10-30 20:10:21 +00:00
Rouslan Placella
2b12872c2a Initial import of the new navigation system 2012-10-30 20:10:21 +00:00