Commit Graph

37 Commits

Author SHA1 Message Date
Marc Delisle
0fea53b7b8 [security] Avoid full path disclosure from some libraries script, see
PMASA-2013-12

Move the PHPMYADMIN constant definition earlier
2013-07-17 14:56:50 -04:00
Dieter Adriaenssens
e382d0ad82 improve coding style 2013-01-15 19:47:06 +01:00
Marc Delisle
0fb7b5907d Fix merge conflicts 2013-01-15 12:50:14 -05:00
Marc Delisle
373a7a025e bug #3599362 [core] Double-escaped error message 2013-01-15 12:42:04 -05:00
Michal Čihař
4ada1af8cf Test for config existance
This can be not present in some testcases.
2012-10-18 09:29:03 +02:00
Michal Čihař
6587a56d7e Do not use error handler in testsuite 2012-10-18 09:16:16 +02:00
Michal Čihař
396c6c8356 Do not set PMA_Error_Handler as handler for testsuite 2012-09-17 14:44:54 +02:00
Michal Čihař
891551588c Restore error handler on class desctruction 2012-09-17 13:29:58 +02:00
Michal Čihař
4886150744 Correct usage of ob_end_clean and ob_get_contents 2012-06-18 10:01:59 +02:00
Rouslan Placella
4995de86f4 Display "Too many error messages" only once 2012-06-11 14:06:04 +01:00
Rouslan Placella
7e35bbf6d1 Fixed multiple errors display 2012-06-11 14:06:03 +01:00
Rouslan Placella
5765eaabb0 Don't force 'text/html' on ajax requests 2012-06-11 14:06:03 +01:00
Rouslan Placella
d9bedbd75e Finished integrating the PMA_Footer class 2012-06-11 14:06:03 +01:00
Rouslan Placella
50dd031a6f Moved the rendering of error messages to the PMA_Footer class 2012-06-11 14:06:03 +01:00
Madhura Jayaratne
4ffe4de3f3 Wrap some long lines 2012-05-12 23:06:17 +05:30
Madhura Jayaratne
cc8bd728d7 Names of protected variables and methods should not be prefixed with underscore 2012-05-12 23:02:58 +05:30
Madhura Jayaratne
7a117e2378 Fix some doc comments 2012-05-12 22:57:32 +05:30
Michal Čihař
397b6fd00e Cleanup spacing after @return 2012-04-27 11:33:26 +02:00
Madhura Jayaratne
d5d3d2bba4 Use 'void' if nothing is returned 2012-03-18 10:04:39 +05:30
Madhura Jayaratne
f354e74c34 Coding style improvements - mostly fixing doc comments 2012-03-17 19:31:25 +05:30
Michal Čihař
192d303606 Merge remote-tracking branch 'origin/QA_3_4' into QA_3_5 2012-03-02 11:23:11 +01:00
Michal Čihař
656809ac3b Error can possibly contain html chars and should be escaped 2012-03-02 11:21:30 +01:00
Michal Čihař
2c4e79edc0 Do not store too many error messages in session
In case of some bug in our code (like missing flags on fields meta in
mysql DBI), the session would explode to huge size (hundreths of
megabytes). Now we limit number of messages to store to 20 (what should
be more than enough for regular usage). Developers still should have
$GLOBALS['cfg']['Error_Handler']['gather'] enabled and will get all
errors.
2011-12-14 18:05:20 +01:00
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Piotr Przybylski
df9b8c2729 Fix comments for functions with missing @return tag 2011-08-16 14:31:52 +02:00
Michal Čihař
9405dbb82a Fix spacing after @param 2011-07-22 09:21:55 +02:00
Michal Čihař
e57f27e50b Remove @uses tags from docblocks 2011-06-27 11:20:20 +02:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30
Michal Čihař
318dc4b650 Drop @version tag from docblocks. 2010-07-20 13:59:17 +02:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Marc Delisle
d7ffee57e1 [core] Removed context from the error handler 2009-10-11 12:27:21 +00:00
Marc Delisle
17c3461cab patch #2682833 [core] Fatal error: Call to a member function isDisplayed() 2009-03-22 12:25:17 +00:00
Marc Delisle
5ed0400bdd patch #2520747 [core] E_DEPRECATED compatibility for PHP 5.3 2009-01-20 18:04:20 +00:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +00:00
Sebastian Mendel
5dd96d42ce replaced $PMA_errors with new PMA_Error_Handler 2007-10-08 16:02:58 +00:00
Sebastian Mendel
e623dc42cf new error handler - needs some more work, but works already:
- errors are gathered through all pages till displayed
 - errors are displayed in main footer
 - configurable error gathering
 - configurable error displaying
 - configurable error logging
2007-10-08 14:58:18 +00:00