Commit Graph

279 Commits

Author SHA1 Message Date
Hugues Peccatte
473d3cd4a2 PHPDoc update. 2013-11-11 18:12:46 +01:00
Hugues Peccatte
464ec23ad8 Huge PHPDoc update. 2013-11-10 23:04:58 +01:00
Marc Delisle
e321e5d6df Function name was incorrect 2013-10-19 06:31:44 -07:00
Madhura Jayaratne
20608589c3 Remove trailing white spaces 2013-10-19 14:29:05 +05:30
Marc Delisle
88da7eeba0 Fixes many coding style "line too long" 2013-10-17 05:41:51 -04:00
Dieter Adriaenssens
70d9f27213 remove trailing space 2013-09-15 12:37:39 +02:00
Marc Delisle
df21b2cebe Fix codestyle 2013-09-15 06:09:25 -04:00
Marc Delisle
90accaef3b Fix failing test 2013-09-14 12:26:14 -04:00
Marc Delisle
2dbc95d110 Fix typos 2013-09-14 11:00:38 -04:00
Marc Delisle
d4a480328b Use proper term (SQL column) 2013-09-14 10:59:38 -04:00
Spun Nakandala
17ce188db4 value tab offset error corrected 2013-09-14 19:35:37 +05:30
Spun Nakandala
e60f53599d extracted methods to insert_edit.lib.php 2013-09-14 18:40:51 +05:30
Marc Delisle
d71b354876 Merge branch 'QA_4_0' 2013-09-13 12:52:03 -04:00
Marc Delisle
4a4b22c59f bug #4091 Insert ignore option does not work 2013-09-13 12:50:25 -04:00
Dieter Adriaenssens
a329ebee4e fix multiple parameter comment issues 2013-09-09 18:19:00 +02:00
Madhura Jayaratne
b25ba604e9 Fix failing tests. Make tests run independently. 2013-08-28 07:32:32 +05:30
Madhura Jayaratne
0dbf3fc819 Revert 23dee32a29 2013-08-27 22:34:06 +05:30
Madhura Jayaratne
23dee32a29 Fix failing test 2013-08-27 22:07:23 +05:30
Madhura Jayaratne
1b681d9c80 Fix syntax error 2013-08-27 21:32:47 +05:30
Isaac Bennetch
fa87bcec06 Merge pull request #582 from kasunchathuranga/fractionalSecs
Use fractional seconds in time, datetime and timestamp
2013-08-27 06:37:30 -07:00
Marc Delisle
a3f15a34d8 Browse foreigners did not work since commit b2e1f81c0c 2013-08-26 13:26:42 -04:00
Isaac Bennetch
eddf53cc16 Merge pull request #613 from kasunchathuranga/rowEditor
Bug #1193 -- Use a text area when input of size $cfg['LimitChars'] is not enough
2013-08-24 08:49:25 -07:00
Marc Delisle
cd6e2f1e0f Fix typo 2013-08-24 08:48:26 -04:00
Marc Delisle
6d53e8a6e9 Clarification will be needed 2013-08-24 08:47:47 -04:00
Marc Delisle
85eb3fbc25 Fix merge conflict 2013-08-24 08:09:09 -04:00
Marc Delisle
8cdc448484 Other incorrect tabindex (page footer controls) 2013-08-24 08:01:24 -04:00
Michal Čihař
5c3744aa58 Merge pull request #609 from mynetx/feature/input-field-type-password-html5-required
HTML5 input field enhancements
2013-08-20 22:30:12 -07:00
ayushchd
33f4871c9c Undefined variable and testuite fixes 2013-08-21 02:21:28 +05:30
J.M
3d3416184b Use type=date, type=time for DATE and TIME fields
(cannot use for DATETIME and TIMESTAMP because of CURRENT_TIMESTAMP)
2013-08-18 15:44:17 +02:00
J.M
0a0b404321 HTML5 input min=, max= attributes for inserting/editing *int data 2013-08-18 15:44:14 +02:00
J.M
06e965db72 Fix typo in phpdoc for PMA_getHTMLinput function 2013-08-18 15:44:12 +02:00
J.M
422c6ea490 Use type=number for editing int, tinyint and longint data 2013-08-18 15:42:51 +02:00
Kasun Chathuranga
1ec6858d7e Use a text area when input of size $cfg['LimitChars'] is not enough 2013-08-17 20:27:58 +05:30
Kasun Chathuranga
7066c582c6 Remove spaces 2013-08-17 20:11:48 +05:30
Kasun Chathuranga
b495061cdf Use fractional seconds in time 2013-08-10 11:26:43 +05:30
Michal Čihař
b2e1f81c0c Use PMA_URL_getCommon for generating all params 2013-08-07 17:00:52 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
8e71b13ced CS compliant transformation helper functions 2013-08-07 10:53:09 +02:00
Marc Delisle
0cefa33f5c The SQL term is column 2013-07-31 14:24:48 -04:00
Marc Delisle
98902d1895 Fix typos 2013-07-31 14:20:31 -04:00
Spun Nakandala
9edbbebf0d phpcs errors corrected 2013-07-30 22:08:33 +05:30
Spun Nakandala
0a89da92c0 added method PMA_getUrlParameters 2013-07-30 21:38:35 +05:30
Spun Nakandala
c7604bb00e can be done in a single place 2013-07-30 21:18:01 +05:30
Spun Nakandala
783477c3da added method PMA_getCommentsMap 2013-07-30 20:59:10 +05:30
Spun Nakandala
edc2d289be transfered to PMA_determineInsertOrEdit 2013-07-30 20:51:50 +05:30
Spun Nakandala
6197aa18a8 added method PMA_determineInsertOrEdit 2013-07-30 20:29:46 +05:30
Spun Nakandala
7d17bd34d7 added method PMA_getTableFields 2013-07-30 19:14:02 +05:30
Michal Čihař
df3502e804 Another adding of comma to sentences 2013-07-12 15:54:18 +02:00
Gemorroj
a225209aad minor phpdocs improvements and fox possible php notice (undefined variable $dblist) 2013-07-03 10:16:22 +03:00
Kasun Chathuranga
3ccfc6fe88 Fix indentation 2013-06-11 21:55:56 +05:30
Kasun Chathuranga
479d2c1847 Fix alignment of doc comments 2013-06-11 21:54:34 +05:30
Marc Delisle
24fc4f5d53 Merge branch 'QA_4_0' 2013-05-31 11:59:59 -04:00
Marc Delisle
af46efa5ed If a TIMESTAMP contains a NULL value, show it when inserting or editing 2013-05-31 11:24:00 -04:00
Madhura Jayaratne
3dd99512f0 These constants are better as a part of DatabaseInterface class 2013-05-26 21:15:24 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Isaac Bennetch
dd2ca745b9 Fix unwanted trailing spacing 2013-05-16 09:46:15 -04:00
Isaac Bennetch
fcd891514e Manually merge ayusun-fr1410 2013-05-16 09:36:36 -04:00
Kasun Chathuranga
2f0d55b708 PMA_DBI_get_fields_meta --> PMA_DBI_getFieldsMeta 2013-05-04 08:43:23 +05:30
Kasun Chathuranga
63e0f33c4a PMA_DBI_affected_rows --> PMA_DBI_affectedRows 2013-05-04 08:41:55 +05:30
Kasun Chathuranga
c09aa36d84 PMA_DBI_insert_id --> PMA_DBI_insertId 2013-05-04 08:41:02 +05:30
Kasun Chathuranga
556bcb9f9d PMA_DBI_num_rows --> PMA_DBI_numRows 2013-05-04 08:39:43 +05:30
Kasun Chathuranga
1c884f0cca PMA_DBI_free_result --> PMA_DBI_freeResult 2013-05-04 08:33:49 +05:30
Kasun Chathuranga
a242ed1ae5 PMA_DBI_fetch_row --> PMA_DBI_fetchRow 2013-05-04 08:31:22 +05:30
Kasun Chathuranga
5bcc32999f PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc 2013-05-04 08:30:12 +05:30
Michal Čihař
384f2cd79e Merge remote-tracking branch 'origin/QA_4_0'
Conflicts:
	js/pmd/history.js
	libraries/Config.class.php
2013-05-02 10:13:18 +02:00
J.M
92d3dcad3c Fix typo in comments and function name ('foriegn' to 'foreign') 2013-05-01 17:13:53 +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
d210c2a8a7 PMA_DBI_get_warnings --> PMA_DBI_getWarnings 2013-05-01 00:06:37 +05:30
Kasun Chathuranga
7f56c8504d PMA_DBI_fetch_single_row --> PMA_DBI_fetchSingleRow 2013-05-01 00:03:03 +05:30
Kasun Chathuranga
bc4bfaa6d5 PMA_DBI_fetch_value --> PMA_DBI_fetchValue 2013-05-01 00:02:00 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
ayusun
c198f41e37 Implementation of feature request 1410. AES_ENCRYPT w/ Salt 2013-04-30 04:44:26 +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
Chanaka Indrajith
c2fcb53fa6 Remove unnecessary codes for Inline Edit functionality 2013-02-18 22:11:19 +05:30
Chanaka Indrajith
32e3444d6d Inline Edit - Fetch the values from db when possible, without render entered value as it is 2013-02-16 20:16:28 +05:30
Dieter Adriaenssens
ed94a77259 remove unused variables 2013-01-24 17:31:07 +01:00
Rouslan Placella
58998ed7a3 Merge branch 'QA_3_5'
Conflicts:
	libraries/common.lib.php
	po/uk.po
	tbl_change.php
	test/libraries/common/PMA_extractColumnSpec_test.php
2013-01-21 13:34:31 +00:00
Dieter Adriaenssens
df4c535d06 improve coding style 2013-01-15 20:36:14 +01:00
Chanaka Indrajith
baac672144 Resolve conflicts 2012-12-23 19:59:12 +05:30
Chanaka Indrajith
1ae30d2ba7 Move hasPrimaryKeyOrUniqueKey function to insert_edit.lib.php file 2012-12-23 18:24:29 +05:30
Marc Delisle
c12e915504 Function had been moved to PMA_Util 2012-11-28 13:06:55 -05:00
Marc Delisle
987ea70fbc Improve function name 2012-11-20 10:13:41 -05:00
Marc Delisle
354c5e9773 Remove vague function 2012-11-20 10:09:26 -05:00
Marc Delisle
174c9cc534 Incorrect order of parameters 2012-11-01 07:26:07 -04:00
Madhura Jayaratne
e1afee9e62 bug #3577443 [edit] "Browse foreign values" does not show on ajax edit 2012-10-18 23:15:10 +05:30
Dieter Adriaenssens
b7d2138fca various coding style fixes 2012-10-11 19:21:29 +02:00
Marc Delisle
feb7732133 Make transformations work using the new plugins system, when grid editing 2012-09-23 17:56:05 -04:00
Marc Delisle
b2ffb574a6 Incorrect function signature 2012-09-23 07:20:04 -04:00
Chanaka Indrajith
13208324d3 Removed unnecessary empty lines in functions 2012-09-19 00:15:15 +05:30
Chanaka Indrajith
36ffe5e0a3 Modified some untracked changes 2012-09-16 14:51:13 +05:30
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +05:30
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
Dieter Adriaenssens
f1a90f78b1 coding style : fix indenting 2012-08-31 14:51:04 +02:00
Marc Delisle
0246a2b624 Fix undefined function 2012-08-24 08:04:12 -04:00
Marc Delisle
9a5bc69340 Bug #3538524 "Edit next" does not work 2012-08-24 07:45:53 -04:00
Madhura Jayaratne
60d0c8a132 No need to pass $found_unique_key through all these functions 2012-07-12 06:33:42 +05:30
Madhura Jayaratne
5653849494 Coding style fixes 2012-07-11 20:55:50 +05:30
Madhura Jayaratne
9260e7685d Coding style fixes 2012-07-11 14:19:11 +05:30
Madhura Jayaratne
cb66058d5f Space between html attributes 2012-07-11 14:13:27 +05:30
Madhura Jayaratne
f186ab5c24 Spaces between html attributes. Remove redundant space in html 2012-07-11 14:06:27 +05:30
Madhura Jayaratne
e97a4978e5 Fix indentation 2012-07-11 13:52:21 +05:30
Madhura Jayaratne
b4f7c5d93c spaces between attributes 2012-07-11 13:51:50 +05:30
Madhura Jayaratne
f1ec63a65e spaces between operands 2012-07-11 13:17:18 +05:30
Madhura Jayaratne
8da691def4 Make the code more readable 2012-07-11 13:15:10 +05:30
Madhura Jayaratne
0241852817 Add missing tag ending 2012-07-11 13:10:52 +05:30
Madhura Jayaratne
864c5308ca Add missing tab index 2012-07-11 13:07:42 +05:30
Madhura Jayaratne
a964a8b223 Make the code more clearer 2012-07-11 13:05:18 +05:30
Madhura Jayaratne
b72f93eac1 Improve clarity 2012-07-11 12:55:07 +05:30
Madhura Jayaratne
fb233ef327 Proper spacing 2012-07-11 12:39:31 +05:30
Madhura Jayaratne
f535769f4b Remove redundant space 2012-07-11 12:22:38 +05:30
Madhura Jayaratne
5ec2b4deab Shorten a long line 2012-07-11 11:55:08 +05:30
Madhura Jayaratne
c393fe1b79 $found_unique_key can be confusing 2012-07-11 11:48:33 +05:30
Madhura Jayaratne
3643ed0a84 PMA_printable_bit_value no longer exists 2012-07-07 23:17:54 +05:30
Madhura Jayaratne
fb39a90f74 Fix undefined variable, Remove redundant code 2012-07-07 22:53:06 +05:30
Chanaka Indrajith
a2b013522c Merge remote branch 'upstream/master' 2012-06-30 21:43:22 +05:30
J.M
7d266456af Fix undefined variable data in libraries/insert_edit.lib.php#1013 by adding parameter to function PMA_getPmaTypeSet 2012-06-30 17:54:49 +02:00
J.M
ca754fca6a -bug #3538524 [interface] "edit next" choice is no longer present in actions panel 2012-06-30 17:31:20 +02:00
Chanaka Indrajith
efe7e80867 Merge remote branch 'upstream/master' 2012-06-30 19:00:31 +05:30
Thilina Buddika
6d93aad72b rplace use of PMA_showMessage with PMA_getMessage in insert_edit-lib and tbl_change 2012-06-30 07:32:16 -04:00
Chanaka Indrajith
e1ca3a592c Correction of method calling in some files 2012-06-27 22:30:46 +05:30
Chanaka Indrajith
39d37fafcc Resolved conflicts 2012-06-27 21:53:59 +05:30
Chanaka Indrajith
1cc49d32d9 Resolved conflicts 2012-06-27 07:06:34 +05:30
Madhura Jayaratne
7135fe75e0 Fix coding style errors 2012-06-23 21:36:18 +05:30
Madhura Jayaratne
8284f22d54 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin
Conflicts:
	libraries/insert_edit.lib.php
2012-06-23 21:16:30 +05:30
Madhura Jayaratne
f5329f23e0 Coding style improvements (wrap some long lines, fix indentation, remove trailing spaces) 2012-06-23 21:02:19 +05:30
Thilina Buddika
7957602212 add the missing parameters in the PMA_getPmaTypeEnum function's docblock 2012-06-23 19:27:37 +05:30
Thilina Buddika
e49bcc8584 insclude missing code in insert_edit-lib 2012-06-23 19:19:08 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Thilina Buddika
f999925313 merge upstream 2012-06-22 22:19:56 +05:30
Thilina Buddika
11776f7f11 fixed - Inserting-editing ENUM columns impossible - ID-3536333 2012-06-22 21:54:05 +05:30
Marc Delisle
10c9132fdf Typos 2012-06-21 06:26:59 -04:00
Marc Delisle
747d49f2be Typo 2012-06-21 06:18:01 -04:00
Marc Delisle
ba0a51e9f9 This should be a boolean param 2012-06-21 06:17:22 -04:00
Michal Čihař
50c01dbd19 Wrap some long lines 2012-06-21 10:07:57 +02:00
Michal Čihař
aa3a1bbb0d Various spacing and indentation improvements 2012-06-21 10:00:52 +02:00
Michal Čihař
7c645a10c6 Various fixes for docblocks 2012-06-21 09:58:35 +02:00
Marc Delisle
90770909d0 - Use strict comparison, in case the user put 0 for the ProtectBinary
directive
- Add a space after the ! operator
2012-06-20 06:08:25 -04:00
J.M
7f6e422952 Fix possibly undefined $return_to_sql_query in insert_edit.lib.php 2012-06-19 19:18:53 +02:00
Michal Čihař
e6492b592a Fix typo 2012-06-19 17:52:08 +02:00
Michal Čihař
e729dc9a18 Wrap some long lines and various other minor coding style improvements 2012-06-19 13:21:31 +02:00
Michal Čihař
f529c10505 Various indentation and new line fixes 2012-06-19 11:29:05 +02:00
Michal Čihař
e26f9a03c4 Fix docblocks indentation 2012-06-19 11:23:26 +02:00
Michal Čihař
8f4243dacc No need to unset local variables while leaving function 2012-06-19 11:12:36 +02:00
Michal Čihař
1774f2b0f5 Wrap some long lines 2012-06-19 11:12:12 +02:00
Thilina Buddika
563f8628f6 impllemented a function to replace tbl_replace_fileds-inc 2012-06-17 14:43:36 +05:30
Thilina Buddika
c48e274802 change the code for detecting ajax request 2012-06-16 23:35:25 +05:30
Thilina Buddika
37280c8cd0 reduce long code lines to short lines 2012-06-16 22:20:37 +05:30
Thilina Buddika
e9aa768ed2 change some functions signatures 2012-06-16 19:14:22 +05:30
Thilina Buddika
da9509dac0 code improvement 2012-06-16 17:46:27 +05:30