summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/MY_Kohana_Exception.php
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-06-05Encode urls in 404 log entries. Fixes #1882.Bharat Mediratta
2012-06-05Clean file paths in Kohana_Exception::debug_path(). Fixes #1880.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-08-08Handle 404 exceptions specially to reduce spam in the log files. Fixes ↵Bharat Mediratta
ticket #1228.
2010-08-07Add a max_level to _sanitize_for_dump() so that we don't blow the stack.Bharat Mediratta
2010-06-19Rework our exception framework to fit into Kohana's model better.Bharat Mediratta
Instead of overwriting Kohana_Exception::handle() (which we were doing in MY_Kohana_Exception) we instead use their existing template system. gallery/views/kohana/error.php overrides system/views/kohana/error.php and is the standard error template for all exceptions. Our version of error.php figures out the appropriate view based on context (cli, authenticated admin, guest viewing a 404, guest viewing a system error) and delegates appropriately. Each delegated view has a narrow responsibility. This paves the way for us to add new error views per module. For example, the rest module will define its own template in Rest_Exception and then its exceptions can be rendered the way that it wants (json encoded, in that case).
2010-06-19single -> double quotes.Bharat Mediratta
2010-06-12Make login/logout continuation url code consistent. Where necessary,Bharat Mediratta
we specify the continue_url in the session, but we store it in the login form so that we can propagate it across the session creation that happens at login time.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-27Fix for ticket #1036 - Don't echo any sensitive information such as ↵Andy Staudacher
passwords, hashes or personally identifiable information.
2010-02-12Fix for tickets 1009 and 603: Show a themed error page to guests / ↵Andy Staudacher
registered users (not to admins though). And show a login form to guests for 404 (incl. insufficient view permissions) errors.
2010-01-30Dump out validation errors so that we have some extra information in the logs.Bharat Mediratta
2009-12-06Add the current file/line at the top of the trace.Bharat Mediratta
2009-12-06Overload Kohana_Exception::text() to dump out the complete stack traceBharat Mediratta
so that we have useful data in the logs.