Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-01Merge branch 'QA_4_7'Michal Čihař
2018-03-01Honor arg_separator in AJAX requestsMichal Čihař
Fixes #13940 Signed-off-by: Michal Čihař <michal@cihar.com>
2018-02-22Share code for parsing data-post attributeMichal Čihař
It can include leading question mark and we should deal with it in all locations. Fixes #13913 Signed-off-by: Michal Čihař <michal@cihar.com> (cherry picked from commit 1fc566fd90d838d35dfa5251f26deb48d15780a7) Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-22Handle data-post with leading ?Michal Čihař
This makes it easier to convert existing code. Issue #13866 Signed-off-by: Michal Čihař <michal@cihar.com> (cherry picked from commit f059baa2ec9eaf749dc85e0f339018c326818d15) Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-22Simplify handling of long URLs in Util::linkOrButtonMichal Čihař
We no longer create form, but rather rather tag the link to be handled as POST on the client side. This way the code is way simpler without need on any special case handling on server side. Fixes #13649 Signed-off-by: Michal Čihař <michal@cihar.com> (cherry picked from commit 3b9fb2b664632557866feb083b59743ed60d1e22) Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-01-08Share code for parsing data-post attributeMichal Čihař
It can include leading question mark and we should deal with it in all locations. Fixes #13913 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15Handle data-post with leading ?Michal Čihař
This makes it easier to convert existing code. Issue #13866 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15Remove compatibility AJAX codeMichal Čihař
We now submit all forms by POST, there should be no reason for something else. Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-01Document why there are two loops are neededMichal Čihař
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-01Declare i variable just onceMichal Čihař
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-29Remove usage of get_scripts.js.php wrapperMichal Čihař
- this adds significant overhead in sending static files from the server - the benefit of joining requests is minimal since introduction of HTTP/2 - the onload handlers are now fired directly by individual scripts, what makes them really execute when the script is loaded (it could be previously executed earlier in case of chunked loading) Fixes #13840 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28Merge branch 'QA_4_7'Michal Čihař
2017-11-28Lock page when changes are done in the SQL editorMichal Čihař
The CodeMirror does not update underlying textarea in all cases, so we need to handle it directly. Fixes #13821 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-27Remove extension from js images APIMichal Čihař
Now when we use CSS classes, it's up to themes to define this. Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16Simplify handling of long URLs in Util::linkOrButtonMichal Čihař
We no longer create form, but rather rather tag the link to be handled as POST on the client side. This way the code is way simpler without need on any special case handling on server side. Fixes #13649 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-26Change ESLint's one-var to errorMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-26Change ESLint's eqeqeq to errorMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25Automatic fixes by ESLintMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-04Merge branch 'QA_4_7'Michal Čihař
2017-09-04Better report connection errorsMichal Čihař
Provide verbose error description when we can't connect to the server from client. Fixes #13183 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-04Do not include error code 0 in the messageMichal Čihař
It really is not useful information. Issue #13183 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-04Include error detail in the error messageMichal Čihař
Issue #13183 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-23Do not use AJAX POST for forms that would normally use GETMichal Čihař
Fixes #13606 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-23Merge branch 'QA_4_7'Michal Čihař
2017-06-06Merge branch 'QA_4_7'Michal Čihař
2017-06-06Fixed loading additional javascriptsMichal Čihař
The server side loader does limit to 10 files, but the client side code happily generates more requests. Depending on loaded pages, this could lead to some javascript files not being loaded (eg. if you went to monitor directly from home page). Fixes #13362 Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-10Replaced deprecated jQuery calls.Dan Ungureanu
'bind' and 'unbind', 'delegate' and 'undelegate' have been deprecated in favor of 'on' and 'off'. Partially fixes #13166. Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2017-04-05Ensure the xhr attribute is reset on errorMichal Čihař
Not really necessary right now, but better be safe than sorry. Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-05Add debug logging to the AJAX error handlerMichal Čihař
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-05Fix condition to ignore aborted requestsMichal Čihař
The status=0 happens on network failure as well, so we can't ignore it completely. Fixes #13130 Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-01Improved indents, alignment and rtl in Original themePavel Rochnyack
* Fixed list items aligment in rtl view * Fixed notices icon alignment in rtl and ltr views * Fixed Footer.php getErrorMessages() to avoid <div id="pma_errors"><div id="pma_errors">....</div></div> nested blocks. * Removed indentation by &nbsp; Signed-off-by: Pavel Rochnyack <pavel2000@ngs.ru>
2016-06-20Escape HTML when rendering AJAX errorMichal Čihař
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-11Merge branch 'QA_4_5'Madhura Jayaratne
2016-01-11Fix #11772 Table pagination does nothing when session expiredMadhura Jayaratne
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-28Fix coding styleMarc Delisle
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-05Merge branch 'QA_4_5'Michal Čihař
2015-11-05Properly handle session expiry after POST requestsMichal Čihař
Fixes #11642 Signed-off-by: Michal Čihař <michal@cihar.com>
2015-09-01Set namespace on Advisor, Config, Console and Util classes.Hugues Peccatte
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-08-07Clear internal cache at script handler upon version upgradeMadhura Jayaratne
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-27Avoid caching JS and CSS files across phpMyAdmin versionsMadhura Jayaratne
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-22Fix floating. Fix styles for reported errors. Move inputs inside the formMadhura Jayaratne
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-21Revert CSS selector modification.Hugues Peccatte
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-21Improve CSS selectors.Hugues Peccatte
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-21Remove duplicate CSS selectors.Hugues Peccatte
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-13html5 history improvements: check if popstate fired on load, fix token ↵Atul Pratap Singh
mismatch, make use of selflink Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-12Show loading message on back action with html5 history APINisarg Jhaveri
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-07-09Fix non-html5 microhistory behaviorAtul Pratap Singh
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-09Move to HTML5 API for maintaining AJAX historyAtul Pratap Singh
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-09Separate microhistory code conditionallyAtul Pratap Singh
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-02Remove dead codeMadhura Jayaratne
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>