Commit Graph

609 Commits

Author SHA1 Message Date
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
Madhura Jayaratne
117962762f Remove html php mix 2012-09-26 21:50:56 +05:30
Madhura Jayaratne
f475ef27d4 Fix doc comment 2012-09-26 21:25:00 +05:30
Madhura Jayaratne
12224e2663 Remove some extraneous new lines 2012-09-26 21:11:59 +05:30
Michal Čihař
aa2477817d Fix typo 2012-09-24 12:26:47 +02:00
Michal Čihař
21f3acf3af Wrap long lines, replace inline html 2012-09-24 09:38:44 +02:00
Chanaka Indrajith
e6894be57f Renamed ->method() with PMA_Util::method() 2012-09-16 14:35:45 +05:30
Chanaka Indrajith
0829709064 Remove variable 2012-09-16 14:31:22 +05:30
Madhura Jayaratne
7e169fcaef Coding style improvements 2012-08-31 01:27:17 +05:30
Madhura Jayaratne
78c36808e5 Fix method names 2012-08-30 23:17:25 +05:30
Dieter Adriaenssens
112f8b92e3 fix coding style : correct function parameter spacing 2012-08-30 17:56:11 +02:00
Dieter Adriaenssens
623de27ef2 use include(_once) in case of conditional including 2012-08-30 17:35:56 +02:00
Dieter Adriaenssens
3bbbe2e6a8 fix coding style : control structures 2012-08-30 17:25:42 +02:00
Michal Čihař
fa6c99e064 Whitespace cleanup 2012-08-28 14:45:51 +02:00
Michal Čihař
729cb2802f Use same message as in multi submits 2012-08-28 14:37:03 +02:00
Chanaka Indrajith
4beb0442ae Clear tranformation information when deleting Columns, VIEWs, Tables and Databses 2012-08-06 06:43:16 +05:30
Chanaka Indrajith
4465c287c1 Fixed an issue related to multiquery statements and routines modifications 2012-07-26 23:06:29 +05:30
Chanaka Indrajith
adcae901e1 Put some limitations for multiple results display mode 2012-07-23 00:13:35 +05:30
Chanaka Indrajith
42bff42aca Support for swap among databases in multiple queries 2012-07-22 18:33:02 +05:30
Chanaka Indrajith
9f1f8d6c75 Support for stored procedures with multiple queries 2012-07-22 16:22:49 +05:30
Chanaka Indrajith
d5acfed0e8 Multiple results support for SQL executions 2012-07-20 23:13:04 +05:30
Chanaka Indrajith
65f24f0e36 Renamed the function processParams() in PMA_DisplayResults class, to setProperties() 2012-07-11 21:09:33 +05:30
Chanaka Indrajith
49c7956a7a Introduce new function to set properties in PMA_DisplayResults class 2012-07-10 19:40:50 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Chanaka Indrajith
35f4599870 Modifications to PMA_printButton() function in common.lib.php and renamed as PMA_getButton()() 2012-06-14 13:15:03 +05:30
Chanaka Indrajith
253de23cf3 Resolved conflicts 2012-06-14 00:52:06 +05:30
Chanaka Indrajith
ba97627d1c Correction sql file and use docblock comment for constructor of PMA_DisplayResults class 2012-06-12 22:53:26 +05:30
Chanaka Indrajith
4e01dd5ae5 Resolved conflict in common.lib.php 2012-06-12 11:34:21 +05:30
Chanaka Indrajith
2aec4150b0 Implement constructor and use global variable instead of variable , which imported from superglobals for functions 2012-06-12 11:22:52 +05:30
Rouslan Placella
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +01:00
Rouslan Placella
971db49c11 Expect JSON for every ajax request in JavaScript 2012-06-11 14:06:05 +01:00
Rouslan Placella
ae6e50a8a8 Drop display() from Header and Footer classes. The Response class will do all the rendering. 2012-06-11 14:06:04 +01:00
Rouslan Placella
eb98110541 Dropped footer.inc.php 2012-06-11 14:06:04 +01:00
Rouslan Placella
635023c791 relation.lib.php is already included by common.inc.php 2012-06-11 14:06:03 +01:00
Rouslan Placella
a054562100 PMA_Footer and PMA_Header no longer need to be singletons 2012-06-11 14:06:03 +01:00
Rouslan Placella
243727043d Removed the last references to the old header files 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
Rouslan Placella
bf219df66d Merge branch 'QA_3_5'
Conflicts:
	enum_editor.php
2012-06-11 14:01:46 +01:00
Rouslan Placella
ddd1eac480 Fixed bug #3534311 - Grid editing incorrectly parses ENUM/SET values 2012-06-11 14:00:18 +01:00
Chanaka Indrajith
0f86dd7152 Renamed display_tbl.lib.php file as DisplayResults.class.php 2012-06-09 19:45:03 +05:30
Chanaka Indrajith
92b71154be Introduce DisplayResults class 2012-06-08 12:13:15 +05:30
Marc Delisle
5c53fb643a Fix merge conflicts 2012-05-24 12:34:15 -04:00
Chanaka Indrajith
7092aa4e99 Merge remote branch 'upstream/master' 2012-05-14 17:46:46 +05:30
Rouslan Placella
7b3ffe10cb Moved parameters check out of the header file 2012-05-13 00:28:34 +01:00
Rouslan Placella
843fce6b5a Moved generation of print summary for queries to sql.php - allows better reuse of header_printview.inc.php 2012-05-13 00:02:59 +01:00
Marc Delisle
a44ee59093 jqPlot for profiling chart 2012-05-11 14:28:08 -04:00
Chanaka Indrajith
bf15800089 Remove HTML rendering inside the functions in display_tbl.lib.php file itselves 2012-05-11 16:05:55 +05:30
Rouslan Placella
28923b496e Renamed tbl_common.php to tbl_common.inc.php for better consistency 2012-05-05 16:44:27 +01:00
Rouslan Placella
2c805ade8b Dropped tbl_links.inc.php 2012-05-05 16:44:27 +01:00
Rouslan Placella
7b85c709a8 Dropped server_links.inc.php 2012-05-05 16:44:27 +01:00
Jo Michael
161a5a9321 Fix new checkstyle warnings 2012-04-29 03:16:11 +02:00
Jo Michael
6839781e88 Fix checkstyle MultiLineAssignment warnings 2012-04-29 02:16:40 +02:00
Michal Čihař
0e26eeb56a Move comments out of if statement 2012-04-27 11:40:11 +02:00
Rouslan Placella
49a7f12e4e Include CodeMirror globally 2012-04-25 23:47:24 +01:00
Rouslan Placella
ebb5a21045 Merge branch 'QA_3_5' 2012-04-25 21:06:18 +01:00
Rouslan Placella
403fd46818 Fixed bug #3521416 - JS error when editing index 2012-04-25 21:05:41 +01:00
Jo Michael
13644d8591 Short-hand notation for jQuery document.ready event 2012-04-21 02:44:18 +02:00
Alex Marin
4de7d3c83d bookmark sql query after checking errors 2012-04-20 17:21:06 +03:00
Alex Marin
b02e8adc3c avoid assignment in condition 2012-04-20 16:41:12 +03:00
Jo Michael
8744f8cf66 + rfe #3517354 [interface] Allow disabling CodeMirror with $cfg['CodemirrorEnable'] = false 2012-04-13 01:43:32 +02:00
Jo Michael
b0e67c419c Fix PHP notices 2012-04-09 23:09:51 +02:00
Marc Delisle
dd5aae9a67 jQuery UI is already included from common.inc.php 2012-04-09 09:09:07 -04:00
Jo Michael
104ec11200 No additional spaces in "(query took ...)" message 2012-04-08 23:03:58 +02:00
Madhura Jayaratne
e8dc6f846b Merge branch 'QA_3_5'
Conflicts:
	sql.php
2012-04-07 16:10:59 +05:30
Madhura Jayaratne
e10ece8214 bug #3515666 [display] Profiling chart shows wrong data 2012-04-07 16:00:20 +05:30
Madhura Jayaratne
90b2d66317 Merge branch 'QA_3_5' 2012-03-26 22:16:35 +05:30
Madhura Jayaratne
54084929a5 bug #3510784 [edit] Limit clause ignored when sort order is remembered 2012-03-26 22:01:11 +05:30
Jo Michael
c36a9113e0 Replaced td[align] with td[class] due to HTML5 2012-03-18 19:53:43 +01:00
Jo Michael
9842f01444 Replaced HTML5-obsolete <tt> tags with <code> 2012-03-18 18:04:50 +01:00