Commit Graph

9 Commits

Author SHA1 Message Date
Bharat Mediratta
2a86446249 Handle the case of a completely private Gallery separately and just
put up a login page, very similar to the way that the maintenance mode
login page works.  Fixes ticket #1056.
2010-09-02 00:50:02 -07:00
Bharat Mediratta
7e5661cf49 Add a simple/cheap test to make sure that the database config is ok. Fixes ticket #1029. 2010-06-15 09:14:10 -07:00
Bharat Mediratta
c3c2b45280 Update the copyright to 2010. It's only 3 months into the year :-) 2010-03-03 10:15:34 -08:00
Bharat Mediratta
3dd8bf245e Kohana::$user_agent moved to the request helper and is protected, so
instead set the user agent into $_SERVER.
2009-11-26 20:24:16 -08:00
Bharat Mediratta
3ed7a5af46 Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4 2009-11-24 19:24:02 -08:00
Tim Almdal
68411cc903 Allow themes to override event handlers. In gallery::ready() grab the server
PATH_INFO and pass it to the theme::load_themes method.  If it starts with
\"/admin\", then set the theme to the active admin theme, otherwise set it to
the active site theme.  Fixes ticket #841: Themes cannot overload event classes."
2009-10-23 17:58:55 -07:00
Tim Almdal
28060d9dce Create a gallery error handler that traps php errors and rethrows them as Exceptions. This fixes ticket #763 2009-09-22 14:25:52 -07:00
Bharat Mediratta
88a3d43ba9 Update all references to the core application to now point to the
gallery module.  This type of mass update is prone to some small bugs.
2009-05-27 16:17:29 -07:00
Bharat Mediratta
28b41056e3 Restructure things so that the application is now just another module.
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.

Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)

There's still considerable work left to be done here.
2009-05-27 15:07:27 -07:00