Age | Commit message (Collapse) | Author |
|
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.
|
|
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).
|
|
|
|
g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble.
|
|
app-wide helper. 'core' doesn't make as much sense
|
|
url:site(url::abs_file(...))
|
|
url::redirect(url::file(...))
The only thing that works is this way.
|
|
gallery3 database is not setup. Just redirect to the installer.
|
|
|
|
is completing.
|
|
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
|
|
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
|
|
|
|
themes yet
|
|
- 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.
|
|
block.
|
|
to be added without having to update the config.php file
|