| 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). | 
|  |  | 
|  |  | 
|  | determination of the function name and arguments to outside 
the module loop | 
|  | instead of a variable list and then pass both of these parameters by
reference to the event handlers.  2 parameters cover 100% of our
existing event calls. | 
|  | single query.  In most cases, we were fetching 4-5 variables per page
load, so this is 2-3x faster. | 
|  |  | 
|  |  | 
|  | scaffolding work when the Gallery wasn't installed yet.  Now we force
users through the installer. | 
|  | when a variable is set or cleared. | 
|  | still doing too many database queries, but this cuts down some dupes. | 
|  | is completing. | 
|  | when the hooks are run, we haven't added all the installed modules to
the path, So if a module defines a hook it will never be run.
This change runs any module defined hooks as part of the gallery initialization. | 
|  | mirror the drupal pattern of using braces {}. | 
|  | tag, search, comment and notification modules (Ticket #68) | 
|  |  | 
|  |  | 
|  | rebuilds the install.sql and init_var.php files accordingly. | 
|  |  | 
|  | File_Structure_Test to make sure we don't regress.
According to the PHP docs, the "public" keyword is implied on static
functions, so remove it.  Also, require private static functions to
start with an _.
http://php.net/manual/en/language.oop5.visibility.php | 
|  |  | 
|  |  | 
|  | framework can dump the loaded modules after switching databases even if the modules table doesn't exist yet | 
|  | user modules.
* Don't delete vars when we delete a module.  This makes
  reinstalling a module a lot easier.
* Add user::lookup() as the preferred way to load a user, so that
  other modules don't delve into the user module (that'd be a
  problem when we swap out user modules)
* Notify site admins if Akismet is not fully configured
* Bundle all server variables into the comment so that if/when we
  re-check the comment, we are not using the server info from the
  site admin's request.
* Update Akismet to grab request context data from the comment
* Pre-seed comment fields if we have a logged in user.  Update
  comment::create() API to clarify it for this.
* Delete comment::update(), that's a controller function.
* Add url to User_Model
* Add author_name() author_email() and author_url() to
  Comment_Model.  It'll return the appropriate values depending
  on whether the comment was left by a logged in user or a guest.
* Use resetForm() instead of clearForm() when we reload the
  comment form after ajax submit, this way we preserve the
  pre-seeded values.
* In the user profile page, ignore blank passwords. | 
|  | themes yet | 
|  | scaffolding to install | 
|  | correctly | 
|  | - 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. | 
|  | added module::incr_var() ftw. | 
|  | deleting cleans up vars and graphics rules | 
|  |  | 
|  | 1) they now have their own matching severity constants
2) they both have convenience functions success(), info(), warning() and error()
3) they both have severity_class() | 
|  | Track a set of rules in Graphics_Rule_Model which specify how we turn
original images into thumbnails and resizes.  There's one set of rules
that applies to every image in the Gallery.
Track the state of thumbs and resizes with a "dirty" bit.  The new
graphics helper manages the rules and can rebuild the thumbs and
resizes for any images that are considered "dirty".
Introduce the concept of an "album cover" which is an item that an
album points to.  We'll use that item as the source for the album's
thumbnail/resize.
Conflated with this change (sorry!) I also changed the Var table to
use module_name instead of module_id.  This may be marginally less
efficient, but it's much easier to follow in the database. | 
|  | module install/uninstall work and tie it into the messaging system. | 
|  | w/ no database | 
|  |  | 
|  | Each module now has a "module.info" file that has information about
the module, including the core.  We can display the installed version,
and the version in the code.
Also take a first shot at a modules admin page. | 
|  |  | 
|  | routing and know whether we're going to an /admin page or a regular
one. | 
|  |  | 
|  | sessions; it encodes all the value into the cookie which means
little/no security, transfer costs, and storage limits. | 
|  | into the session, for easy access.  This cuts down the number of
queries when we're loading images through file_proxy.php | 
|  | installer. | 
|  |  | 
|  | 2) remove the watermark_add_form.html.php | 
|  | scaffolding and unit test code so that we can use it consistently.
This fixes an issue where adding a module was not refreshing the
statically cached module list causing the test framework to break. | 
|  | this class (which is the most likely scenario). | 
|  | have to check every time |