Commit Graph

32 Commits

Author SHA1 Message Date
Sachith Hasaranga Seneviratne
4e28aa1a81 (Feature Request 1466)
Refactor PMA_Util::getLatestVersion() and PMA_sendErrorReport()
to further reuse curl_handle option setting code.

Signed-off-by: Sachith Seneviratne sachith500@gmail.com
2014-01-08 19:08:18 +05:30
Madhura Jayaratne
6335b10574 Fix coding style
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 14:35:15 +05:30
Sachith Hasaranga Seneviratne
45b30c130f Refactor PMA_Util::getLatestVersion() and PMA_sendErrorReport() (Feature Request 1466)
Signed-off-by: Sachith Seneviratne sachith500@gmail.com
2014-01-05 09:11:04 +05:30
Hugues Peccatte
008b1fa8d3 Rewrite to decrease number of nested levels.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-07 22:16:16 +01:00
Michal Čihař
a8bd9e5b9f Set Content-Type in request 2013-11-18 15:03:37 +01:00
Michal Čihař
118c6f3501 Merge pull request #735 from m0hamed/error_reporting_pretty_fix
Fixed prettifying for older php versions
2013-11-18 02:49:34 -08:00
Mohamed Ashraf
3a76b83343 Moved inline css to theme files 2013-11-17 18:55:14 +01:00
Mohamed Ashraf
71862deca2 fixed merge conflict bug 2013-11-17 18:31:12 +01:00
Mohamed Ashraf
5c102f48af Added test cases for PMA_prettyPrint 2013-11-17 15:38:44 +01:00
Mohamed Ashraf
6816436eac Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into error_reporting_pretty_fix 2013-11-17 15:02:43 +01:00
Marc Delisle
677e4496b7 Bug #4114 No params checking in error_report.php 2013-11-17 08:56:55 -05:00
Mohamed Ashraf
21b026a44d Added another prettifying function and changed the way the report is represented in the dialog 2013-10-28 12:54:19 +02:00
Rouslan Placella
4a7236a418 Made label clickable in error reporting dialog 2013-10-27 19:40:34 +00:00
Madhura Jayaratne
cb798bc5d2 Fix coding style 2013-10-22 07:05:44 +05:30
Marc Delisle
11a9be4980 Fix coding style 2013-10-21 03:30:12 -07:00
Michal Čihař
54da98e827 Add full stop to end of a sentence 2013-10-17 12:58:38 +02:00
Michal Čihař
21812d6ac9 Make error reporting work with PHP older than 5.4
This is workaround for #4113 with cost of having not readable JSON shown
to user in report detail.
2013-10-17 10:32:02 +02:00
Michal Čihař
4f4167f67c Enable allow_url_fopen backend for error reporting 2013-10-17 10:32:02 +02:00
Michal Čihař
79dd43afe6 Fixed error submission using curl
The problem is that curl inserts Expect: header which server does not
support.

More details at:

http://pilif.github.io/2007/02/the-return-of-except-100-continue/
http://stackoverflow.com/questions/3755786/php-curl-post-request-and-error-417
2013-10-17 10:18:39 +02:00
Marc Delisle
2c01fd93c3 Merge pull request #728 from nijel/autolinecount
Automatic counting of lines for error reporting
2013-10-16 08:16:21 -07:00
Marc Delisle
92f2204110 Improve a message 2013-10-03 12:58:16 -04:00
Dieter Adriaenssens
85899df568 fix phpMyAdmin name 2013-10-03 17:02:43 +02:00
Michal Čihař
3f3dfb1ecc Allow error reporting without precalculated line counts
As these can now be done on the fly
2013-10-03 14:48:23 +02:00
Michal Čihař
ddd64ec794 Count lines on the fly if count is not available 2013-10-03 14:48:23 +02:00
Michal Čihař
a7192e9b25 Add wrapper method for getting line counts 2013-10-03 14:34:45 +02:00
Michal Čihař
44eac82d0e Document some parameters 2013-10-02 13:37:22 +02:00
Mohamed Ashraf
ef2623db20 Fixed error submission url and changed to constant 2013-09-24 10:25:01 +02:00
Mohamed Ashraf
ea8b98b627 Added function to check if the latest line counts have been generated 2013-09-21 00:42:51 +02:00
Mohamed Ashraf
11bf0043d3 Fixed warning when line counts script not been run 2013-09-17 18:20:13 +02:00
Mohamed Ashraf
7cd2f7a598 Fixed failing tests 2013-09-05 19:56:59 +02:00
Mohamed Ashraf
ed00f971f5 Fixed call to undefined function due to function renaming 2013-09-03 15:54:24 +02:00
Mohamed Ashraf
43c8e8c448 Refactored error report functions to a library and added doc blocks 2013-09-01 00:59:26 +02:00