Maurício Meneghini Fauth
ca910e8de8
Move classes to PhpMyAdmin namespace
...
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00
Maurício Meneghini Fauth
13c0f7bc3c
Move classes to PhpMyAdmin namespace
...
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-28 21:17:18 -03:00
Maurício Meneghini Fauth
e330402b5b
Refactor the core functions into static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-03 00:52:22 -03:00
Michal Čihař
dad93483c1
Merge branch 'QA_4_6'
2016-11-10 11:08:36 +01:00
Deven Bansod
f14cffdbe7
Properly escape strings in MySQL statement values
...
Use *_real_escape string functions provided by connectors to escape strings while exporting
Fix #12453
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Conflicts:
libraries/server_privileges.lib.php
2016-10-29 10:45:12 +05:30
Michal Čihař
8f74b63430
Merge branch 'QA_4_6'
2016-08-17 11:39:06 +02:00
Michal Čihař
ba59178a75
Merge pull request #12430 from rpv-tomsk/improve-partitions-support
...
Partitions editor: Allow to edit partition names; Add 'COLUMNS Partitioning' support.
2016-08-17 11:37:44 +02:00
Pavel Rochnyack
5a5ae580f2
Partitions editor: Allow to edit partition names; Add 'COLUMNS Partitioning' support.
...
+ Add 'COLUMNS Partitioning' support
+ Allow to edit partition names
* Do not show duplicate partition names in 'Partition maintenance' snippet on 'Operations' tab. Caused by subpartitions presence.
* Optimize Partition::getPartitionMethod() - need only one row, so use 'LIMIT 1' in query to avoid much data transfer from database.
* Change HTML-code of partition comment textarea to avoid extra spaces added to value.
* Added missing htmlspecialchars() on subpartitions comment.
Signed-off-by: Pavel Rochnyack <pavel2000@ngs.ru>
2016-08-14 12:26:01 +01:00
Michal Čihař
c4861494e9
Simplify fields number calcualtion
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-22 16:04:18 +02:00
Michal Čihař
3b794e0ed1
Merge branch 'QA_4_6-security' into master-security
2016-07-22 16:03:25 +02:00
Michal Čihař
ff1016e504
Limit maximal numver of fields to 4096
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-22 16:02:58 +02:00
Michal Čihař
0758b601e7
Move charset query generation to to the Util class
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-11 12:07:27 +02:00
Hugues Peccatte
08cdf6f2fd
Merge branch 'master' into psr1_master
2015-11-08 16:16:05 +01:00
Marc Delisle
03d3c30eea
Clarify logic
...
See https://github.com/dseguy/clearPHP/blob/master/rules/no-implied-if.md
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-05 15:13:35 -05:00
Hugues Peccatte
dffc8c34e9
Remove logic code in declaration files.
...
Move declaration out of logic file.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
8ac9634c7a
Make PHPCS happy.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 13:30:22 +02: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
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
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
ZhiFeng Hu
0c56d0b9bb
Strict check for create_addfield.lib.php
...
Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-08-04 12:13:03 +08:00
Madhura Jayaratne
5cbebb36ba
Merge branch 'QA_4_4'
...
Conflicts:
ChangeLog
README
doc/conf.py
libraries/Config.class.php
2015-07-22 10:24:02 +05:30
Madhura Jayaratne
36423d6ebd
issue #1808 "Improve table structure" generates invalid SQL
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-22 10:14:04 +05:30
Dan Ungureanu
91b97fadc2
Remove unneeded closing tags.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
a3285a7cd3
Support MySQL 5.7.5 virtual columns
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 15:14:15 +05:30
Madhura Jayaratne
40da17ab72
rfe #1677 Support spatial indexes in table create form
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-03 17:41:15 +05:30
Madhura Jayaratne
04ff48369c
Use index parameters defined in create table form
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 22:07:53 +05:30
RAKESH KUMAR
cf2f80aa4a
Feature request #723
...
Signed-off-by: RAKESH KUMAR <rakeshkumar4294@gmail.com>
2015-02-09 01:46:07 +05:30
Madhura Jayaratne
28d3f2a1fc
rfe #1096 cannot enter connection for federated engine table
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-30 12:08:51 +05:30
Madhura Jayaratne
05c5ba753c
Distinguish between index type and index choice
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 11:50:21 +05:30
Smita Kumari
e0e3c0e84f
FRE #1568 : fold add column position radio into one 'add column after' dropdown
...
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2015-01-13 20:24:56 +05:30
Marc Delisle
0b8d3dc55e
Fix coding style
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-31 07:14:38 -05:00
Marc Delisle
1b28bc6d2e
Remove dead code
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-31 06:35:45 -05:00
Marc Delisle
b5512e6183
Remove dead code
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-30 08:41:48 -05:00
Marc Delisle
371780a0a1
Remove dead code
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-23 11:32:10 -05:00
Rakesh Kumar
8415dd4d35
fix bug #4659 : trim white spaces
...
Signed-off-by: Rakesh Kumar <rakeshkumar4294@gmail.com>
2014-12-21 00:55:20 +05:30
Marc Delisle
2662295765
Refactor code duplication
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-26 09:59:48 -04:00
Hugues Peccatte
5985894160
Fix typos.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00
Ashutosh Dhundhara
91e9a4d46c
RFE#908: Improvements for the table editor (index creation).
...
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix coding styles.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Make index columns sortable.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix failing test.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix drag icon in Firefox.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-07-22 15:29:06 +05:30
Ashutosh Dhundhara
1204d23592
Bug #4458 : Preview doesn't work when adding a new column.
...
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-06-16 22:05:08 +05:30
Marc Delisle
673fce8145
Fix coding style
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:33:25 -04:00
Chanaka Indrajith
7c88895d99
Fixed documentation issue related to argument type mismatching in create_addfield.lib.php file raised by scrutinizer
...
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-05-17 17:27:12 +05:30
Michal Čihař
b3700d3450
Remove unused code
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 14:18:06 +02:00
Madhura Jayaratne
6335b10574
Fix coding style
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 14:35:15 +05:30
Hugues Peccatte
008b1fa8d3
Rewrite to decrease number of nested levels.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-07 22:16:16 +01:00
Madhura Jayaratne
20608589c3
Remove trailing white spaces
2013-10-19 14:29:05 +05:30
Spun Nakandala
c9e2c9ac93
removed dead code. extracted method PMA_tryColumnCreationQuery
2013-09-14 20:07:06 +05:30
Dieter Adriaenssens
a329ebee4e
fix multiple parameter comment issues
2013-09-09 18:19:00 +02:00
Marc Delisle
c024c77f15
Improve comments
2013-08-19 20:28:56 -04:00