Commit Graph

99 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
9eba565bf4 Remove unnecessary HTML closing tags
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-19 00:12:54 -02:00
Isaac Bennetch
7967591f4e Fix failing linter test
See https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/398682628#L732

Line change was introduced with 9d08a1dcaf

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-07-02 09:49:56 -04:00
Lakshay arora
9d08a1dcaf Puts PMA import handler in a separate javascript file.
Makes 'enable_drag_drop_import' as a separate configuration directive, removes it from group of $cfg['IMPORT'] directives.
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
2018-06-25 12:37:43 +05:30
Maurício Meneghini Fauth
8f8e3c26c9 Replace .click() with .on()
.click() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-11 23:58:35 -03:00
Michal Čihař
f4026f60a4 Merge branch 'QA_4_7' 2018-03-01 16:02:57 +01:00
Michal Čihař
984c6a0054 Honor arg_separator in AJAX requests
Fixes #13940

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-03-01 15:50:41 +01:00
Michal Čihař
448a221ea0 Fix passing boolean values as PMA_commonParams
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-28 11:07:08 +02:00
Maurício Meneghini Fauth
ef99fef8d6 Change ESLint's eqeqeq to error
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 21:30:14 -03:00
Maurício Meneghini Fauth
00e1ca9b66 Automatic fixes by ESLint
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 14:22:35 -03:00
Michal Čihař
c63a993279 Bring back token parameter
This is needed here as the request is called with processData=false.

This reverts commit 9b627d685b.

Fixes #13473
2017-07-11 07:21:17 +02:00
Michal Čihař
9b627d685b Remove no longer needed token parameter
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 12:21:31 +02:00
Michal Čihař
b42ef4f631 Correctly generate URL when there were not parameters
Fixes #13014
Fixes #13013

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 08:58:00 +01:00
Deven Bansod
a52597f048 Include explaning statements near related code
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-09-16 13:56:15 +05:30
Deven Bansod
023ced3552 Don't use PMA_DROP_IMPORT on Table insert if it has Blob field
If we force PMA_DROP_IMPORT on all pages, users can't use Chrome's drag-drop-files feature
on Table Insert page with blob field

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-09-16 13:55:46 +05:30
Deven Bansod
d2ad23972b Fix #12105 : Multi-server drag-drop-import always fails
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-03-21 18:00:22 +05:30
Madhura Jayaratne
5adf2eda31 Fix TODO: Generate a random string as the upload_id
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-14 13:29:56 +11: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
Hugues Peccatte
42ee7ceb3d Add missing ";".
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-23 12:49:42 +02:00
Hugues Peccatte
b8e6367b4c Improve CSS selectors.
Remove duplicates CSS selectors.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-20 23:49:54 +02:00
Madhura Jayaratne
b47e1ce456 #4953 cant drag sql.gz file onto import input
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-10 20:09:25 +05:30
Madhura Jayaratne
d42ce0b6ab Fix bad line breaks
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-13 12:50:35 +05:30
Atul Pratap Singh
7d60c8c6f9 more js linkages for db-specific tree with select box
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-01-23 22:53:41 +05:30
Madhura Jayaratne
410e9d35aa Bug #4588 Moving, renaming, dropping actions in table operations page results in token mismatch
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-13 08:10:53 +05:30
Hugues Peccatte
037a034b43 Minor coding style modifications.
Fix typos.
PHPDoc and JSDoc updates.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:04:35 +01:00
Hugues Peccatte
bdb5f333d7 Fix PHPCS issues.
PHPDoc updates.
Minor coding style modifications.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-01 22:07:18 +01:00
Atul Pratap Singh
c70e109bd6 Feature#1546 Replace js sprintf library with a better one
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-10-03 17:08:25 +05:30
Marc Delisle
9ab4ade266 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-15 11:34:32 -04:00
Hugues Peccatte
f0c1480ee7 Javascript coding style modifications.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-14 15:51:40 +02:00
Ashutosh Dhundhara
35dab58bf5 RFE#1492: Remove the distinct query window.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-12 01:47:20 +05:30
Marc Delisle
f0e1dd8406 Merge pull request #1104 from madhuracj/nav
Add 'collapse all' and 'link with main panel' buttons to navigation
2014-08-03 07:37:00 -04:00
Madhura Jayaratne
dfe8dc283a Add 'collapse all' and 'link with main panel' buttons to navigation
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-07-28 09:58:24 +05:30
D-storm
5af334e15a fix js error: undefined dataTransfer.files in IE9
Signed-off-by: D-storm <chirayu.chiripal@gmail.com>
2014-07-27 23:22:50 +05:30
Chirayu Chiripal
e6d0ea8bc6 firefox detecting images in page as files on drag
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-26 19:44:14 +05:30
Marc Delisle
f41666c0ac Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-25 15:38:46 -04:00
minhaz
7d2cfdf573 #Feature:1522 enhancement
- User can close the upload status box, after uploading an invalid extension file, as suggested by D-Storm
 - minimize/maximise changed from -/- to -/+

Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-07-26 00:36:18 +05:30
Chirayu Chiripal
e7087eb698 check dragged element is file or not
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-25 15:46:06 +05:30
minhaz
6330df4175 #BUG4496 -- part 2, propagation bug fixed
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-07-25 14:28:27 +05:30
minhaz
c78b05eeab #BUG:4496 -- part 2 fix
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-07-25 02:25:29 +05:30
Ann + J.M
c7b2ee28f3 Fix coding style in JS files
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-07-02 22:30:18 +02:00
Marc Delisle
f431a70869 Use dot notation
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-02 06:55:37 -04:00
minhaz
162d762824 Drag n drop import, feature request 1522
Signed-off-by: A V Minhaz <minhazav@gmail.com>
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-02 06:38:45 -04:00
Ann + J.M
e0c64783a3 Merge branch QA_4_1 into master
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-04-21 20:01:09 +02:00
Atul Pratap Singh
04f96f17b4 Fix bug#4371 Navi: expansion on the db name works only once
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-04-18 08:26:25 +05:30
Hugues Peccatte
287d08c826 Add message to warn the user if a form has too many fields.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-03-29 17:04:42 +01:00
Atul Pratap Singh
0f50b82bba Merge branch 'QA_4_0'
Conflicts:
	js/common.js
2013-10-14 23:59:11 +05:30
Atul Pratap Singh
06a1f782e1 Left in 8640de9 2013-10-14 16:02:22 +05:30
Atul Pratap Singh
8640de951c Adjust navigation only when there is database/table change, bug#4129 2013-10-14 15:28:54 +05:30
Michal Čihař
50deebcbdf Coding style: Bad line breaking before logical operators 2013-10-02 12:07:15 +02:00
Michal Čihař
4f5a9e40a2 Coding style: line breaking before + 2013-10-02 11:45:46 +02:00