Commit Graph

160 Commits

Author SHA1 Message Date
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Michal Čihař
cc07b737dc Remove unused PMA_String class
The class is no longer used:

- the ctype part is not needed by new SQL parser
- the utf-8 manipulation was replaced by direct usage of mbstring

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-21 12:09:06 +01:00
Michal Čihař
98d88ef134 Remove unused pmaString variable
It was used in past when we didn't rely on mbstring.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-21 11:35:36 +01:00
Hugues Peccatte
6f4676cdfc Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-04 18:04:49 +02:00
Marc Delisle
fd7c8522ea Clarify method name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-03 10:14:29 -04:00
Hugues Peccatte
2960e6780a Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-30 22:05:24 +02:00
Madhura Jayaratne
d0efeac744 Allow adding and editing partitions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-30 21:18:04 +10:00
Hugues Peccatte
6c8c288067 Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-29 21:19:57 +02:00
Madhura Jayaratne
257487df03 Add comments. Improved handling of partition restrictions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-28 09:51:56 +10:00
Madhura Jayaratne
611222d414 Only RANGE and LIST type partitions allow having subpartitions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-27 20:44:22 +10:00
Madhura Jayaratne
7c325469d5 Fix #11490 UI for defining partitioning in create table window
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-25 14:44:28 +10:00
Hugues Peccatte
a5d35d41b6 Revert PMA_String rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-14 22:39:03 +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
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
e17de11c74 Improve multibytes string manipulation performances.
Review SQL import process.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 17:40:09 +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
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
Chirayu Chiripal
1f324be4b1 RFE-637: Custom field handlers (input transformations)
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-12 01:52:32 +05:30
Ashutosh Dhundhara
99b9e8d83c RFE#1145: Preview SQL instead of executing it.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-06-07 00:27:39 +05:30
Chanaka Indrajith
39b5f07dfb Fixed some documentation issues raised by scrutinizer
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-05-18 00:14:27 +05:30
Aditya Sastry
7d7d17333c Fixes the problem with the breadcrumb navigation(Bug 4306)
The global variable table is used by both breadcrumb navigation as
well as the tbl_create.php hence it needs to be set back to zero
after use.

Signed-off-by: Aditya Sastry <ganeshaditya1@gmail.com>
2014-03-06 00:50:51 +05:30
Marc Delisle
0d4cdb38ea Remove unneeded comment 2013-08-19 20:26:35 -04:00
Spun Nakandala
fb05c019cf added possibility of setting the MIME type and transformation 2013-08-18 21:18:52 +05:30
Spun Nakandala
f5b20c9828 phpcs errors corrected 2013-08-17 00:22:08 +05:30
Spun Nakandala
4d988516bf added method PMA_getTableCreationQuery 2013-08-17 00:16:04 +05:30
Spun Nakandala
a26ad78e5d put similar things together 2013-08-17 00:07:38 +05:30
Spun Nakandala
dfb6cdb4ad added method PMA_getNumberOfFieldsFromRequest 2013-08-17 00:05:02 +05:30
Spun Nakandala
971933fee5 dead code removed 2013-08-16 23:55:54 +05:30
Spun Nakandala
9f7878112b variable never used 2013-08-16 23:53:43 +05:30
Spun Nakandala
aace1f41e7 added comment to describe the usage 2013-08-16 23:13:03 +05:30
Spun Nakandala
dddf3d06ac initialization not required 2013-08-16 23:12:13 +05:30
Spun Nakandala
ba9b2e7fa7 removed dead code 2013-08-16 23:06:11 +05:30
Spun Nakandala
b591953003 removed dead code 2013-08-16 22:49:28 +05:30
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Madhura Jayaratne
f7d6517f0f Coding style fixes 2013-05-23 22:54:40 +05:30
Samith Dassanayake
485d104662 Renamed the function names, using "column" instead of "field".
Corrected indentation according to cording standards.
2013-05-14 22:48:51 +05:30
Samith Dassanayake
73f674d755 Updated the description of the "create_addfield.lib.php" file 2013-05-12 19:30:36 +05:30
Samith Dassanayake
c2ba8f7a80 Moved duplicated codes in “tbl_addfield.php” and “tbl_create.php” to single a file "create_addfield.lib.php".
Refactored the code using “Extract method” refactoring technique.
2013-05-08 20:28:37 +05:30
Kasun Chathuranga
1c884f0cca PMA_DBI_free_result --> PMA_DBI_freeResult 2013-05-04 08:33:49 +05:30
Kasun Chathuranga
5bcc32999f PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc 2013-05-04 08:30:12 +05:30
Kasun Chathuranga
42256b2d0c PMA_DBI_select_db --> PMA_DBI_selectDb 2013-05-04 08:26:27 +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
32e6c06324 PMA_DBI_get_columns --> PMA_DBI_getColumns 2013-04-30 23:36:47 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Marc Delisle
71915bd936 Merge pull request #262 from scnakandala/Refactoring
Refactoring According to pear standard
2013-04-18 12:53:20 -07:00
Spun Nakandala
c84869f85e tbl_create.php refactored according to pear coding standards 2013-04-17 00:13:06 +05:30