summaryrefslogtreecommitdiff
path: root/core/hooks
AgeCommit message (Collapse)Author
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
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-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-02Revert r20668; if we call our helper 'gallery' then it interferes with ↵Bharat Mediratta
g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble.
2009-05-02Rename core helper to gallery helper to indicate that it's more of an ↵Bharat Mediratta
app-wide helper. 'core' doesn't make as much sense
2009-03-11Bag the header("Location:", ...);exit() and replace withTim Almdal
url:site(url::abs_file(...))
2009-03-11Tried various combinations of url::redirect(...) orTim Almdal
url::redirect(url::file(...)) The only thing that works is this way.
2009-03-11Fix ticket #69. Rather than giving a better error message when theTim Almdal
gallery3 database is not setup. Just redirect to the installer.
2009-03-05Implement a Maintenance mode as per ticket: #15Tim Almdal
2009-03-03Create a proxy event (gallery_event) which is called when the requestTim Almdal
is completing.
2009-02-14Say hello to the new Flash based uploader, courtesy of Eric Zelermyer.Bharat Mediratta
This requires a little trickery to proxy the session id and user agent through the ActionScript code so that we can assume the same session in the uploader. It's also using its own path to add photos since we'll want to have a slightly different protocol for dealing with responses (as opposed to JSON or HTML). A work in progress for sure, but it's already better than what we had before.?\024
2009-01-29Add support for pretty urls. So now instead of urls like:Bharat Mediratta
http://example.com/gallery3/index.php/albums/2 http://example.com/gallery3/index.php/photos/9 You'll see urls like: http://example.com/gallery3/index.php/Family/Weddings http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg
2009-01-29Consolidate all our hooks into one fileBharat Mediratta
2009-01-09Theme Administration v. 2. Doesn't distinguish between regular and admin ↵Felix Rabinovich
themes yet
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2008-12-20Create a pattern for admin dashboard blocks and make the "welcome"Bharat Mediratta
block.
2008-11-28Dynamically create the list of available modules. This permits new modules ↵Tim Almdal
to be added without having to update the config.php file