Commit Graph

60 Commits

Author SHA1 Message Date
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
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
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
Deven Bansod
d014dbcc29 Trial Approach to solve Privileges bug for RFE#657
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-01 22:23:52 +05:30
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
xmujay
d23aad1d5b refactor mysql_charsets.inc.php 2013-06-11 13:25:54 +08:00
Rouslan Placella
69bf128936 Moved all the JS functionality for RTE into a single file 2012-10-30 20:10:22 +00:00
Chanaka Indrajith
a6234ae0a3 Renamed the file to Util.class.php and modify the relavant files 2012-09-16 13:48:21 +05:30
Chanaka Indrajith
74de5e3fd3 common.lib.php file renamed to CommonFunctions.class.php 2012-06-28 06:00:58 +05:30
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
Michal Čihař
a3d9abf0df Remove no longer needed usage of data_*.inc.php 2012-04-26 13:40:00 +02:00
Rouslan Placella
49a7f12e4e Include CodeMirror globally 2012-04-25 23:47:24 +01:00
Jo Michael
8744f8cf66 + rfe #3517354 [interface] Allow disabling CodeMirror with $cfg['CodemirrorEnable'] = false 2012-04-13 01:43:32 +02:00
Marc Delisle
dd5aae9a67 jQuery UI is already included from common.inc.php 2012-04-09 09:09:07 -04:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Piotr Przybylski
4a5cb00df5 Fix jQuery UI version number
It's 1.8.16, not 1.8.6
2011-10-11 02:00:45 +02:00
Piotr Przybylski
ac365e0262 Upgrade jQuery UI to 1.8.6 2011-10-10 22:35:36 +02:00
Dieter Adriaenssens
0ade69e84d use include() instead of require() when including file conditionally 2011-09-06 17:57:48 +02:00
Piotr Przybylski
6dbcab261e Merge remote-tracking branch 'origin/master' into drizzle
Conflicts:
	server_status.php
2011-07-20 18:23:21 +02:00
Michal Čihař
fc387fe531 Load codemirror only when needed
This needs verification with ajax requests.
2011-07-20 15:12:30 +02:00
Piotr Przybylski
08d4e5a5b8 Merge remote-tracking branch 'origin/master' into drizzle
Conflicts:
	libraries/export/htmlword.php
2011-07-18 22:20:33 +02:00
Rouslan Placella
526419d1a1 Renamed some functions to avoid conflicts of redefinition in unit tests 2011-07-14 13:57:05 +01:00
Piotr Przybylski
bf9469ec18 Merge remote-tracking branch 'origin/master' into drizzle 2011-07-13 12:25:06 +02:00
Rouslan Placella
dad5d3594a Merge branch 'master' into rte 2011-07-07 12:31:53 +01:00
Piotr Przybylski
a445d94ee0 Function list and column types for Drizzle 2011-07-06 19:08:23 +02:00
Rouslan Placella
b3b7d45e78 Dropping useless rte_common.lib.php 2011-07-06 18:08:22 +01:00
Piotr Przybylski
866d1da95a Move ColumnTypes, AttributeTypes, Functions, RestrictColumnTypes, RestrictFunctions and DefaultFunctions to a separate file 2011-07-06 17:29:33 +02:00
Rouslan Placella
7857a05de3 Removed pointless constant 'ITEM' 2011-07-05 16:04:08 +01:00
Rouslan Placella
3b19b53934 Move JS code for Routines, Triggers and Events into a separate folder 2011-07-05 12:40:33 +01:00
Rouslan Placella
55d2358359 Factored out the JS for the editor of Routines, Triggers and Events and moved it into a namespace. 2011-07-05 11:30:22 +01:00
Rouslan Placella
cbafdb9a1f Refactored some routine, trigger and event manipulation code 2011-06-28 17:11:53 +01:00
Michal Čihař
c9c9fdf49d Consistent capitalisation of PMA_sqlAddSlashes 2011-06-27 14:48:15 +02:00
Rouslan Placella
ef3a45b596 Merge branch 'master' into rte
Conflicts:
	libraries/db_events.inc.php
	libraries/display_triggers.inc.php
2011-06-27 11:27:21 +01:00
Rouslan Placella
14e88e6f68 Small footer fixes 2011-06-24 13:40:08 +01:00
Michal Čihař
b49a6b8f42 Add docblocks 2011-06-24 14:10:19 +02:00
Rouslan Placella
fd493c6b4c A meaningful error message for when the execution of a routine fails 2011-06-23 14:05:27 +01:00
Rouslan Placella
52ca7974a0 Improved internationalisation of routines functionality 2011-06-23 14:04:52 +01:00
Michal Čihař
faa30ceb64 Use ngettext instead of row(s) 2011-06-22 09:10:42 +02:00
Michal Čihař
c6ec73963f Use PMA_sqlAddSlashes for database queries instead of addslashes.
Should fix bug#3323066
2011-06-21 17:41:47 +02:00
Rouslan Placella
0ae0593901 Fixed incorrect escaping of some query parameters 2011-06-20 12:50:29 +01:00
Rouslan Placella
ae55e9b8f8 Removed unnecessary AJAX messages from the routines functionalities. 2011-06-20 11:40:23 +01:00
Rouslan Placella
3829f2280f More error handling for routine functionalities 2011-06-20 11:32:07 +01:00
Rouslan Placella
db6ae660cf Removed duplicate function PMA_getSupportedCharsets() that was added by mistake into the routines functionality. 2011-06-20 10:44:37 +01:00
Rouslan Placella
a63b2188be When issuing warning about routine execution check for presence of mysql, not the absence of mysqli extentions. 2011-06-17 13:57:15 +01:00
Rouslan Placella
8410e8e520 Fixed casing of messages in routines functionality 2011-06-17 13:56:10 +01:00
Rouslan Placella
8d5cc0bbbc Added an extra sanity check for query creation in routine editor 2011-06-17 13:36:26 +01:00
Rouslan Placella
16185ac4f5 Fixe whitespaces in db_routines.php 2011-06-16 13:11:26 +01:00
Rouslan Placella
657cbc8672 Fixed incorrect escaping of NULL results in routine execution. 2011-06-16 13:10:06 +01:00