Commit Graph

57 Commits

Author SHA1 Message Date
William Desportes
926a9f47bd
Fix #15146 - Error reports can not be sent because too large
Fixes: #15146
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-04-28 14:31:11 +02:00
William Desportes
b5659f09af
Fix error reporting on multi server setup
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-16 21:14:47 +01:00
William Desportes
27f7b7a75f
Fix, prevent multiple error reporting modals
See: fa303ee292
Seee: #14359
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-16 21:05:28 +01:00
Maurício Meneghini Fauth
737ac997f9 Retrieve parameters from $_POST in error report
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-11-10 20:48:59 -02:00
Maurício Meneghini Fauth
8d53693071 Fix error report button
Fix #14011

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-22 01:20:51 -03:00
Michal Čihař
0aed31b854 Remove extension from js images API
Now when we use CSS classes, it's up to themes to define this.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-27 13:58:17 +01: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ř
f7bb752573 Automatically add token to all AJAX requests
This way we don't have to do the same in every AJAX request, it can be
done just once in shared handler.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 11:45:40 +02:00
Michal Čihař
b05e28a953 Initialize error reporting after load
Doing that in the code can lead to handler being installed several times
on some pages.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:55:34 +01:00
Michal Čihař
c86aa9b275 Always show error reporting dialog on top
Fixes #12958

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 11:51:23 +01:00
Hugues Peccatte
c721815dc2 Convert array declaration in JS.
Remove useless code.
Remove useless declarations.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 22:50:24 +01:00
Marc Delisle
04b31e14f9 Use braces
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-30 07:53:47 -04:00
Madhura Jayaratne
256d76f8d0 Use class to support rtl languages
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-21 14:15:29 +05:30
Atul Pratap Singh
c3a81a6fd7 Stop sending microhistory url and param data as part of error reports
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-10 22:23:36 +05:30
Atul Pratap Singh
9b101e2ab7 Separate microhistory code conditionally
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-09 10:32:55 +05:30
Madhura Jayaratne
3e9b97ef6c These are local variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 22:27:46 +05:30
Madhura Jayaratne
8130247f03 Fix more implicitly declared variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 20:44:36 +05:30
Madhura Jayaratne
44668d051a bug #4890 webkitStorageInfo and webkitIndexedDB is deprecated
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-06 12:03:54 +05:30
Atul Pratap Singh
a98ec2c162 Fix js reports; TypeError: /([a-zA-Z]+):/.exec(...) is null
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-12-23 17:22:47 +05:30
Madhura Jayaratne
8795f7a104 bug #4634 Error reporting creates an infinite loop
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-10 15:35:19 +05:30
Ann + J.M
a47128ca4f [FIX] JS error reporting: Preserve hash fragment
The JS error reporting notification bar closing link points to href="#".
Don't allow navigating to the target, so our hash history is not
overwritten.

Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-11-27 14:52:34 +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
Dhananjay Nakrani
8bfa0be157 Add another parameter to existing js error reporting code.
Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
2014-06-16 11:50:52 +05:30
Marc Delisle
dcb4163369 Merge commit 'a33fcad' 2014-06-14 09:21:04 -04:00
Christian Simon
47709d414e Fix 'token mismatch' due to missing server parameter for some AJAX requests
* server_privileges user duplicate request
* js error_reporting
* cf. https://sourceforge.net/p/phpmyadmin/bugs/3893

Signed-off-by: Christian Simon <simon@swine.de>
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-14 09:16:53 -04:00
Ann + J.M
43d1239583 Code style fixes
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-05-24 16:48:53 +02:00
Hugues Peccatte
81c3916485 Fix scrutinizer JS issues.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-05-18 13:57:41 +02:00
Mohamed Ashraf
f40360c567 Exceptions without a name may get a name extracted out of the message
Signed-off-by: Mohamed Ashraf <mohamed.ashraf.213@gmail.com>
2014-02-18 17:54:03 +02:00
Umair Khan
ef9cfa2474 Fixing the if condition in get_report_data
Signed-off-by: Umair Khan <omerjerk@gmail.com>
2013-12-07 08:51:44 +05:30
Umair Khan
e56d10c2c7 bugfix in error_report.js
Signed-off-by: Umair Khan <omerjerk@gmail.com>
2013-12-05 18:15:08 +05:30
Atul Pratap Singh
91ab107e3a Fix bug#4146, set guid of wrapped function same as original function 2013-11-29 12:19:14 -05:00
Rouslan Placella
0e7a724f84 Dropped unused function 2013-11-18 20:52:37 +00:00
Rouslan Placella
7c0a63a4a0 Fixed bug #4117 2013-11-18 20:52:37 +00:00
Rouslan Placella
7d8144437e Improved appearance and text in error reporting notification 2013-10-27 20:31:08 +00:00
Marc Delisle
bb923e6fb4 Fix typo 2013-10-03 11:25:09 -04:00
Michal Čihař
4f5a9e40a2 Coding style: line breaking before + 2013-10-02 11:45:46 +02:00
Michal Čihař
a0f87154f7 Coding style: fixed whitespace 2013-09-30 11:18:07 +02:00
Michal Čihař
127b2488f1 Add missing semicolons 2013-09-30 11:16:31 +02:00
Michal Čihař
e45b0aea08 Remove extra , 2013-09-30 11:14:27 +02:00
Michal Čihař
68fd6dd6b0 Add missing space 2013-09-30 11:14:03 +02:00
Michal Čihař
31169d72de Fixed spacing in javascript code 2013-09-30 09:15:44 +02:00
Mohamed Ashraf
c5d2d51007 Error reporting now fails gracefully on dev builds 2013-09-21 00:42:00 +02:00
Mohamed Ashraf
daf558637d Removed the error throwing function 2013-09-05 19:59:31 +02:00
Mohamed Ashraf
3edba72c1f Fixed inconsistencies with error reporting server in report schema 2013-08-18 19:40:55 +02:00
Mohamed Ashraf
babca95f9f Removed custom get_token method and used the pma method 2013-08-03 00:46:18 +02:00
Mohamed Ashraf
f8fe8e5aa3 Stacktrace now translated if line counts exist 2013-07-29 16:55:27 +02:00
Mohamed Ashraf
0d4faee304 Removed long urls from stack trace 2013-07-27 12:40:39 +02:00
Mohamed Ashraf
6c242747e5 Really removes the error notification correctly 2013-06-29 14:28:50 +02:00
Mohamed Ashraf
6f84aa5af4 Removes the error notification correctly 2013-06-29 13:35:24 +02:00