Commit Graph

10 Commits

Author SHA1 Message Date
Bharat Mediratta
49f6ce2d94 gallery.menalto.com -> galleryproject.org
codex.gallery2.org -> codex.galleryproject.org

Fixes #1957.
2013-01-22 18:39:24 -05:00
Bharat Mediratta
91e87cb811 Oops, fix indentation in 99af395a01 2012-05-16 11:32:11 -07:00
Bharat Mediratta
99af395a01 Force the error page to UTF-8. Fixes #1868. 2012-05-16 11:07:26 -07:00
Bharat Mediratta
916f5c7d3b Clean up message to preserve page formatting. Fixes #1848. 2012-05-05 19:55:29 -07:00
Bharat Mediratta
ff1d8aea2f We use UTF-8 everywhere. Fixes ticket #1285. 2010-08-15 01:59:54 -07:00
Bharat Mediratta
bd541342b9 Add gallery stats in addition to platform stats. 2010-08-08 17:07:13 -07:00
Bharat Mediratta
371a2ff7d2 Adjust the vertical placement of the "Dang" message. 2010-08-08 13:39:27 -07:00
Bharat Mediratta
cc43c37a1c Add a sad face on the dang page. Just cause. 2010-08-08 02:06:50 -07:00
Bharat Mediratta
0d2237979a Make the error page more informative, and include platform information. 2010-08-08 01:48:09 -07:00
Bharat Mediratta
41ca2b0195 Rework our exception framework to fit into Kohana's model better.
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-19 14:07:32 -07:00