Spun Nakandala
ebef06fa0d
added method PMA_getHtmlForSqlQueryResults
2013-07-09 16:27:34 +05:30
Spun Nakandala
f2b268b137
All the requests will be ajax
2013-07-09 15:03:10 +05:30
Spun Nakandala
27859550cf
added methods PMA_getHtmlForTableMaintenanceResponse, PMA_sendResponseOrGetHtmlForTableMaintenance
2013-07-09 14:17:08 +05:30
Spun Nakandala
bc055fe4b7
can be done only once
2013-07-09 11:55:41 +05:30
Spun Nakandala
4c912a6ae7
added method PMA_sendResponseForGridEdit
2013-07-09 11:29:48 +05:30
Spun Nakandala
ab0b933c44
removed dead code from PMA_sendResponseForNoResultsReturned
2013-07-05 23:10:08 +05:30
Spun Nakandala
b02a22cc24
added methods PMA_sendResponseForNoResultsReturned, PMA_sendAjaxResponseForNoResultsReturned, PMA_getMessageForNoRowsReturned, PMA_deleteTransformationInfo to the libraries/sql.lib.php
2013-07-02 19:48:20 +05:30
Spun Nakandala
b267d59012
statement transferred to the else condition
2013-07-01 20:02:00 +05:30
Spun Nakandala
7cdf9ebeb8
removed unused parameters and code
2013-07-01 19:56:37 +05:30
Spun Nakandala
8045c7ef6c
Added methods PMA_cleanupRelations, PMA_countQueryResults, PMA_executeTheQuery
2013-06-30 21:14:04 +05:30
Spun Nakandala
07a5ace900
bookmark creation error corrected
2013-06-28 23:48:40 +05:30
Spun Nakandala
2ecc1d3d69
the method name is straight forward
2013-06-28 22:26:26 +05:30
Spun Nakandala
fe5ae9f04f
not valid for current master
2013-06-28 22:23:55 +05:30
Spun Nakandala
70a58bcfd0
unwanted parameters removed
2013-06-28 20:19:50 +05:30
Spun Nakandala
c86d80b8c7
irrelevant for current master. So removed.
2013-06-27 22:53:20 +05:30
Spun Nakandala
d3e6df82d3
function renamed
2013-06-27 22:43:56 +05:30
Spun Nakandala
5a2b0b2581
added method PMA_hasCurrentDBChanged
2013-06-27 19:29:10 +05:30
Spun Nakandala
e40d24f52f
created method PMA_getNumberOfRowsAffectedOrChanged
2013-06-27 19:18:50 +05:30
Spun Nakandala
67ff3aee1b
Added methods PMA_getDefaultSqlQueryForBrowse, PMA_goBackFurtherPage, PMA_handleQueryExecuteError, PMA_storeTheQueryAsBookmark, PMA_executeQueryAndStoreResults
2013-06-27 15:50:50 +05:30
Spun Nakandala
c349581d9a
typo corrected
2013-06-26 16:23:01 +05:30
Spun Nakandala
b05a0fdfe8
indentation corrected. comment corrected
2013-06-26 16:18:16 +05:30
Spun Nakandala
88e3e5fc04
Added the methods PMA_setColumnOrder, PMA_setColumnVisibility, PMA_setColumnOrderOrVisibility, PMA_addBookmark,PMA_findRealEndOfRows, PMA_getRelationalValues, PMA_getEnumOrSetValues, PMA_appendLimitClaues
2013-06-25 21:21:56 +05:30
Spun Nakandala
2da3c58b44
Undefined index: is_superuser corrected
2013-06-25 19:00:33 +05:30
Spun Nakandala
afcf5da9f7
wrapped lines
2013-06-24 03:00:25 +05:30
Spun Nakandala
44858bb4bd
removed unwanted comment
2013-06-24 02:58:30 +05:30
Spun Nakandala
c00d25b02d
PMA_hasNoRightsToDropDatabase, PMA_isDeleteTransformationInfo, PMA_isJustBrowsing, PMA_isAppendLimitClause, PMA_isRememberSortingOrder methods added to the libraries/sql.lib.php
2013-06-24 02:57:58 +05:30
Spun Nakandala
8d12cbb14d
extra space removed
2013-06-21 14:03:26 -04:00
Spun Nakandala
561983aff4
"Show all" feature no longer works problem corrected
2013-06-21 14:03:08 -04:00
Spun Nakandala
93c2f414cd
removed the redundant variable $bkm_user
2013-06-19 17:52:57 +05:30
Spun Nakandala
e3298a12d3
Error relating to the uninitialized variable $cfg corrected
2013-06-19 10:58:13 +05:30
Spun Nakandala
4bc178bbd2
USE database reloads the respective database
2013-06-18 23:07:47 +05:30
Spun Nakandala
c1bd633a8a
This bug is not relevant to the current master
2013-06-18 13:11:06 +05:30
Spun Nakandala
9d654bc172
PMA_getHtmlForBookmark method added to the sql.lib.php
2013-06-17 23:28:45 +05:30
Spun Nakandala
480f3062aa
long if conditions transfered to the parser_analyzer.inc.php to initialize variables
2013-06-17 22:53:57 +05:30
Marc Delisle
c4883127c7
This file should not end in .lib.php
2013-06-16 08:08:07 -04:00
Spun Nakandala
7cecc2f23d
code related to analyzing the sql query transferred to the sql analyzer
2013-06-15 14:50:31 +05:30
Spun Nakandala
ae9ff0a8be
check for drop database transfered to sql parser
2013-06-13 23:00:06 +05:30
Spun Nakandala
653bc9bd2c
Checking for reload the navigation transfered to the sql parser
2013-06-13 23:00:04 +05:30
Marc Delisle
25a3a03e0c
Merge pull request #415 from scnakandala/gsoc_2013
...
Refactoring SQL executor
2013-06-13 09:20:43 -07:00
Spun Nakandala
3fabd7728f
$_POST['fields'][...] variables renamed such that they better reflect their intended purpose
2013-06-13 11:31:29 +05:30
Spun Nakandala
ca8d81b95c
PMA_isDropDatabase($sql_query) method added to sqlparser.lib.php
2013-06-12 22:05:24 +05:30
Spun Nakandala
e32064bcd2
code for displaying confirm page removed.
2013-06-12 19:54:44 +05:30
Spun Nakandala
9ef591e69e
space added before elseif
2013-06-12 17:21:51 +05:30
Marc Delisle
cca17c031d
Merge branch 'QA_4_0'
2013-06-12 06:42:09 -04:00
Marc Delisle
f5d631dbf6
bug #3976 Number of pages
2013-06-12 06:40:20 -04:00
Spun Nakandala
96bf1782d3
PMA_getHtmlForConfirmPage method added to sql.lib.php to create html for the confirm page.
2013-06-11 21:55:39 +05:30
Spun Nakandala
7f80aa2971
Avoided the use of global variables by directly accessing super global variables.
2013-06-11 20:42:07 +05:30
Dieter Adriaenssens
738caedafb
RFE 1432, add table name to message
2013-06-04 17:18:21 +02:00
Dieter Adriaenssens
c6fd32f85d
Merge branch 'QA_4_0'
...
Conflicts:
sql.php
2013-06-04 10:54:04 +02:00
Dieter Adriaenssens
7a3c15724a
fix bug #3966 , only display 'table has no unique column' when table is defined
2013-06-04 10:45:53 +02:00
Madhura Jayaratne
2baf473ad7
Merge branch 'master' into OOP_DBI
...
Conflicts:
libraries/database_interface.lib.php
2013-05-26 21:43:33 +05:30
Madhura Jayaratne
3dd99512f0
These constants are better as a part of DatabaseInterface class
2013-05-26 21:15:24 +05:30
Marc Delisle
b8e4f346a5
Clarify function name
2013-05-26 11:34:43 -04:00
Atul Pratap Singh
8cd420ac94
Remove duplicate code, profiling scripts already included
2013-05-25 16:47:32 +05:30
Madhura Jayaratne
ce85ebd950
Merge branch 'master' into OOP_DBI
2013-05-24 19:06:45 +05:30
Marc Delisle
be31655c38
Fix merge conflicts
2013-05-24 08:59:13 -04:00
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Atul Pratap Singh
c88762e386
Include profiling scripts initially, bug#3639 in QA_4_0
2013-05-23 23:54:29 +05:30
Madhura Jayaratne
f7d6517f0f
Coding style fixes
2013-05-23 22:54:40 +05:30
Atul Pratap Singh
dbb0ed3e6a
Include profiling scripts initially, bug#3639
2013-05-23 18:07:24 +05:30
Atul Pratap Singh
435dc9c74a
left while fixing bug#3936
2013-05-17 10:42:45 +05:30
Brad Jorgensen
5ba39c172a
Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin.git into profiler3
2013-05-15 10:06:08 -05:00
Brad Jorgensen
4d79fabac3
implementation of feature request #1363
2013-05-15 09:54:18 -05:00
Marc Delisle
e28f3c064d
Merge branch 'QA_4_0'
2013-05-14 12:19:58 -04:00
Marc Delisle
be4f24265b
Fix typo
2013-05-14 12:19:20 -04:00
Marc Delisle
f8e90174a0
Merge pull request #375 from Chanaka/QA_4_0
...
Fixed #3902 : Cannot browse when table name contains keyword 'call'
2013-05-14 09:18:21 -07:00
Marc Delisle
e1078c38ee
Fix merge conflicts
2013-05-13 16:33:21 -04:00
Kasun Chathuranga
a24b4ae33a
PMA_Table::analyzeStructure() method to centralize the analysis of the structure of a view/table
2013-05-13 23:11:30 +05:30
Chanaka Indrajith
3caafb302d
Fixed #3902 : Cannot browse when table name contains keyword 'call'
2013-05-12 22:54:23 +05:30
Kasun Chathuranga
839b1a606e
Fix bug #3926 View is not updatable
2013-05-12 21:42:48 +05:30
Kasun Chathuranga
03fc9b9256
PMA_is_system_schema --> PMA_isSystemSchema
2013-05-12 08:51:54 +05:30
Michal Čihař
308ec40a8c
Shorter name for a parameter
2013-05-10 10:28:24 +02:00
Michal Čihař
0c2832ca04
Consistent function naming in Kanji support module
2013-05-10 09:53:41 +02:00
Mohamed Ashraf
02efceb918
Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into refactor
2013-05-08 19:36:42 +02:00
Mohamed Ashraf
02076ada31
Fixing errors
2013-05-08 18:59:49 +02:00
Mohamed Ashraf
9c63a2b5f3
Moved code that creates the profiling chart in to a method
2013-05-08 18:50:34 +02:00
Mohamed Ashraf
28a91c941d
Moved code that creates the header for the print view in to method
2013-05-08 18:49:17 +02:00
Marc Delisle
5257ac476e
Fix merge conflicts
2013-05-08 09:51:16 -04:00
Marc Delisle
0f766fc5f5
Fix merge conflicts
2013-05-08 09:46:46 -04:00
Jan Brejcha
60db2bdb9c
Added spacing before "{".
2013-05-08 09:45:35 -04:00
Jan Brejcha
1bcb4a281b
Changed coding style to the project coding style.
2013-05-08 09:45:25 -04:00
Jan Brejcha
64cb3de415
- Updated variable goto - set to empty string when the table is empty (line 330)
...
- When the result is empty, we want to show only message, that the result was empty. So when $goto is set to empty (see above) I will echo one space and exit. In other cases just show the set goto as before this change. (lines 995 to 1002)
2013-05-08 09:44:34 -04:00
Marc Delisle
f9766dc57b
Fix merge conflicts
2013-05-07 12:59:24 -04:00
Michal Čihař
87f98e4d84
Fix function name
2013-05-06 15:24:34 +02:00
Kasun Chathuranga
53d7c5829b
Fix more instances of naming style violations related to PMA_DBI functions
2013-05-05 21:06:57 +05:30
ibennetch
9b94f71974
Merge pull request #296 from scnakandala/Refactoring
...
Refactoring the SQL Executor and Table's Structure Manipulators
2013-05-04 07:45:15 -07:00
Spun Nakandala
d09597c86f
libraries/sql.lib.php file added. Functions in the sql.php transfered into sql.lib.php
2013-05-03 00:04:51 +05:30
Michal Čihař
025e931586
Merge pull request #301 from m0hamed/fix_echo_in_sql_php
...
Fixed old echo statements to new addHTML way
2013-05-02 01:53:06 -07:00
Mohamed Ashraf
3fc89813af
Added missing semi colons
2013-05-02 02:32:04 +02:00
Mohamed Ashraf
59adbac2de
Fixed old echo statements to new addHTML way
2013-05-01 09:51:16 +02:00
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
fbe4438628
PMA_DBI_fetch_result --> PMA_DBI_fetchResult
2013-05-01 00:05:16 +05:30
Kasun Chathuranga
bc4bfaa6d5
PMA_DBI_fetch_value --> PMA_DBI_fetchValue
2013-05-01 00:02:00 +05:30
Kasun Chathuranga
618a37403a
PMA_DBI_get_columns_sql --> PMA_DBI_getColumnsSql
2013-04-30 23:34:39 +05:30
Kasun Chathuranga
ecb1e4f038
PMA_DBI_get_databases_full --> PMA_DBI_getDatabasesFull
2013-04-30 23:31:44 +05:30
Kasun Chathuranga
a85d9eaa2c
PMA_DBI_get_tables --> PMA_DBI_getTables
2013-04-30 23:29:55 +05:30
Kasun Chathuranga
928823a029
PMA_DBI_try_multi_query --> PMA_DBI_tryMultiQuery
2013-04-30 23:10:03 +05:30
Kasun Chathuranga
d933575811
PMA_DBI_try_query --> PMA_DBI_tryQuery
2013-04-30 23:05:18 +05:30
ayusun
eec791dc04
Edited changelog and applied PEAR standard. Feature Request 1412
2013-04-28 23:01:45 +05:30
ayusun
3d9de55aef
Implementation of feature Request 1412 with Reduced Code duplication
2013-04-28 20:48:14 +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
Mohamed Ashraf
4a04dfb404
Add missing ! to return value
2013-03-23 05:38:36 +02:00
Marc Delisle
b48affc999
Merge pull request #216 from ayushchd/reserved_words_issue
...
Reserved words issue
2013-03-21 09:45:57 -07:00
Dieter Adriaenssens
4787c4d6fe
improve DocBlock
2013-03-14 11:40:33 +01:00
Dieter Adriaenssens
9bc66ab52b
fix coding style : remove spaces after arguments
2013-03-14 11:40:33 +01:00
Dieter Adriaenssens
40564564a4
wrap long lines
2013-03-14 11:40:33 +01:00
Dieter Adriaenssens
19a0a406b5
fix coding style : remove tab characters
2013-03-14 11:40:33 +01:00
ayushchd
665ffd4b4c
Reserved word warning config
...
This commit removes reserved word warning from the Browse pages and the
warning on structure page can be switched on/off using the config
variable $cfg['ReservedWordWarning']
2013-03-10 19:45:19 +05:30
Marc Delisle
7984845749
Merge pull request #195 from scnakandala/Contest-3
...
Contest-3 Bug fixed
2013-03-06 05:13:56 -08:00
Spun Nakandala
a0dc226332
Contest-3 bug fixed
2013-03-06 14:51:27 +05:30
Marc Delisle
b7b77d108c
Wrap long line
2013-03-03 13:40:57 -05:00
Marc Delisle
32d42dfdde
XHTML compliance
2013-03-03 13:39:47 -05:00
Marc Delisle
18926ed404
Code cleanup
2013-03-03 13:37:06 -05:00
Marc Delisle
88aa108672
Merge pull request #197 from shamika050/fix-grid_editing
...
Contest-1 / Solve the problematic scenario
2013-03-03 10:28:36 -08:00
shamika
e3447d6335
Correct previouse error
2013-03-03 23:40:57 +05:30
ayushchd
7112e7f416
Cosmetic changes
2013-02-26 03:26:21 +05:30
ayushchd
14af610aa8
Contest-2 Variable Name Fix
...
Changed the variable name from ajax_reload_nav to ajax_reload
2013-02-25 17:06:50 +05:30
shamika
5b01f2977a
Bug Fix:#3813 grid editing utf8 set/enum value-resubmit with correcin… …
2013-02-25 16:46:40 +05:30
ayushchd
69b73a44b0
Bug fix #3818 After "Rename table ... to ..." left menu doesn't reflect changes
...
The left navigationa and the other places where the old table name was
showing up, now updates if the table is renamed.
2013-02-25 14:28:27 +05:30
shamika
071e3ad50a
Bug Fix:#3813 grid editing utf8 set/enum value-resubmit with correcing errors
2013-02-24 20:45:53 +05:30
shamika
26021f05f8
Bug Fix:#3813 grid editing utf8 set/enum value
2013-02-24 13:02:14 +05:30
Atul Pratap Singh
b9c61c7dc1
Fix bug:3829 Enabling query profiling crashes javascript based navigation
2013-02-22 15:08:14 +05:30
Samith Dassanayake
c4d14774c3
Fixed #3833 Undefined variable: sql_limit_to_append.
...
Initialized the varible sql_limit_to_append,
Since isset($x) returns true when $x=''(which is not the expected behaviour of the usage), used the function empty()
2013-02-20 23:38:53 +05:30
Samith Dassanayake
bc57dfd265
Fixed #3789 Erroneous LIMIT clause in prettyprinted SQL.
...
Moved the default sql limit append such that it will only get append, if the limit is not added to the sql query explicitly.
2013-02-18 00:10:05 +05:30
Rouslan Placella
26c398e165
Disable ajax in sql confirmations
2013-02-08 19:49:50 +00:00
Rouslan Placella
4e297d9770
Fixed PHP error in sql.php
...
Also see: 543fc6231a (L0R511)
2013-02-08 18:34:11 +00:00
Marc Delisle
6da336cd60
Notice about missing non-unique column
2013-02-08 07:49:43 -05:00
Marc Delisle
9b04804201
Fix typo
2013-02-08 07:22:48 -05:00
Michal Čihař
57a97a7057
Use up to date links to bugs and feature requests
2013-02-04 11:52:47 +01:00
Dieter Adriaenssens
049f1a5802
unwrap line
2013-01-25 13:10:05 +01:00
Dieter Adriaenssens
76f871585d
remove unused variables
2013-01-25 13:08:49 +01:00
Marc Delisle
431df615f2
Upgraded to jquery-ui-timepicker-addon 1.1.1
2013-01-01 11:50:04 -05:00
Marc Delisle
2723495a4f
Removed the AjaxEnable directive
2012-12-21 16:04:57 -05:00
Rouslan Placella
a64f8220d4
Fixed undefined variable
2012-11-30 13:19:52 +00:00
Rouslan Placella
3bcd9184f5
Fixed undefined index
2012-11-30 13:19:52 +00:00
Chanaka Indrajith
566bba52c3
Modify array keys
2012-11-28 23:40:47 +05:30
Rouslan Placella
543fc6231a
Fixed confirmation dialog on sql.php. Bug #3583312
2012-11-27 15:04:30 +00:00
Rouslan Placella
1dd3b5f28d
Fixed display of messages after executing queries
2012-11-25 13:59:59 +00:00
Rouslan Placella
fad01a58e5
Fixed responses to requests to create indexes on tbl_structure.php
2012-11-24 19:05:28 +00:00
Michal Čihař
61a601fc73
Implement linking to new documentation
2012-11-12 09:48:05 +01:00
Rouslan Placella
efb83da243
Fixed syntax errors
2012-10-30 20:24:01 +00:00
Rouslan Placella
dc04f8f80a
Display the message (with the outcome of the execution of the query) after ajax page requests
2012-10-30 20:24:00 +00:00
Rouslan Placella
9e3a9ee52f
Dropped main.php
2012-10-30 20:10:20 +00:00
Rouslan Placella
44fc88ded2
Always include the SQL results container so that makegrid can be used
2012-10-30 20:07:02 +00:00
Rouslan Placella
03c904bcf3
Ajaxification for "Bookamrk this SQL query" form
2012-10-30 20:07:02 +00:00
Rouslan Placella
05bf28386e
Fixed conflicting variable name
2012-10-30 20:04:51 +00:00
Dieter Adriaenssens
3a3987b245
improve coding style
2012-10-11 17:51:07 +02:00
Marc Delisle
aee2ab3dbd
Remove author names
2012-10-08 10:10:07 -04:00
Marc Delisle
996232b21a
bug #3563799 [interface] Grid editing destroying huge amount of data
2012-10-08 09:58:23 -04:00
Madhura Jayaratne
e08ba66aa9
clean php javascript mix
2012-09-26 22:05:20 +05:30