Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-04 | Change the startup code to only put installed modules on the autoload | Bharat Mediratta | |
path. This breaks a bunch of places where we had hardcoded dependencies, so guard all of those cases. Restructure module::available() a bit and the way that we do install/uninstall in the scaffolding. | |||
2008-12-04 | Improvements to access helper. | Bharat Mediratta | |
o Rename access::remove_group() to access::delete_group() for consistency. o Wrote more unit tests o Tests found a bug in access::remove_item() .. yay! | |||
2008-12-03 | Fix internationalized string. | Bharat Mediratta | |
2008-12-03 | Rename file::unlink() to dir::unlink(). This creates an API that is | Bharat Mediratta | |
clearer about its actions, otherwise we may accidentally blow away an entire hierarchy when we think we're deleting a single file (there's a reason why rm won't let you delete dirs that aren't empty!) Name it "dir" instead of "directory" because apparently "directory" is already reserved. Move the delete call out of Items_Controller and into the model. The model is responsible for keeping state integrity, not the controller. | |||
2008-12-03 | Remove @todo | Tim Almdal | |
2008-12-03 | Add a MY_file class that extends the file helper by creating an unlink ↵ | Tim Almdal | |
method that deletes a file or an album directory. Modify Items_Controller::_delete to call this new helper method when deleting an item | |||
2008-12-03 | Fix a bug where we weren't actually deleting permissions (hooray for unit ↵ | Bharat Mediratta | |
tests!) | |||
2008-12-03 | If the the post and get arrays don't contain a _method parameter, then use ↵ | Tim Almdal | |
the request::method() to determine the actual request method (i.e. delete doesn't show up in either places) | |||
2008-12-03 | Re-enable access_cache propagation now that we've patched the MySQL driver. | Bharat Mediratta | |
2008-12-03 | get rid of a stray space that was breaking the File_Structure_Test | Bharat Mediratta | |
2008-12-03 | Temporarily disable some code to get tests to pass. | Bharat Mediratta | |
2008-12-03 | Drop the right tables at uninstall time | Bharat Mediratta | |
2008-12-03 | Fix a bad copy/pasted comment | Bharat Mediratta | |
2008-12-02 | Remove the variable from inside _() | Tim Almdal | |
2008-12-02 | The rearrange module will now add an album if you drag the "new album" onto ↵ | Tim Almdal | |
the album tree. I haven't had a chance to figure out why the form does get any styling or why a textarea is no included as a list item. | |||
2008-12-02 | Oops, this was missing from the last fix. | Bharat Mediratta | |
2008-12-02 | Fix a problem in _update_access_cache() where if the intent is | Bharat Mediratta | |
default, we weren't properly propagating ALLOW where necessary. | |||
2008-12-01 | Add access::reset() so that you can specify your intent to use the | Bharat Mediratta | |
parent's permissions. Update scaffolding to demonstrate that it works. | |||
2008-12-01 | Add @todos | Bharat Mediratta | |
2008-12-01 | Prototype access control model. There's much left to do, but it's a | Bharat Mediratta | |
working implementation. | |||
2008-11-29 | Add access model (not fully baked yet). | Bharat Mediratta | |
Update scaffolding to allow addition of just albums (helpful for testing permissions) | |||
2008-11-28 | Remove debugging statements | Tim Almdal | |
2008-11-28 | Dynamically create the list of available modules. This permits new modules ↵ | Tim Almdal | |
to be added without having to update the config.php file | |||
2008-11-28 | Create module::event() which runs Gallery events. It works by | Bharat Mediratta | |
convention. To respond to the "photo_created" event in the gmaps module, you create modules/gmaps/helpers/gmaps_event.php containing class gmaps_event which has function photo_created. Renamed all events from gallery.foo.bar to foo_bar Updated tag module to use new convention. | |||
2008-11-28 | Rename module::get_list() to module::installed() | Bharat Mediratta | |
2008-11-28 | Correct parameter on gallery.album.created event firing | Tim Almdal | |
2008-11-28 | Move the form drawing code back into form.html.php -- I'm going to | Bharat Mediratta | |
take a shot at fixing it up in the view file so that it's mostly HTML, not mostly PHP. If that fails, I'll move it back into a helper. | |||
2008-11-28 | Rename item events and create events for comment create, login, logout, user ↵ | Tim Almdal | |
creation. I probably forgot some, but its a start. | |||
2008-11-28 | Add event plumbing to allow the tag module to be notified when a photo is ↵ | Tim Almdal | |
created. Eventually this will be used to parse the image meta data and extract tags; | |||
2008-11-27 | Set resize to 640x480 for now to avoid breaking the default theme layout | Bharat Mediratta | |
2008-11-27 | Create a form_helper class containing the function Draw_Form so we don't ↵ | Tim Almdal | |
have to always check to see if the DrawForm method is already defined in pages that could have multiple forms. | |||
2008-11-27 | Move the ADMIN global nav option into the core module and only show it if ↵ | Bharat Mediratta | |
we're logged in as an admin user | |||
2008-11-27 | Centralize logging around installing/uninstalling modules. | Bharat Mediratta | |
2008-11-26 | Add a thumbnail to the root directory, in case it gets displayed in a tag ↵ | Tim Almdal | |
dynamic album | |||
2008-11-25 | Rename get_absolute_url to abs_current | Tim Almdal | |
2008-11-25 | Normalize atom url generation | Tim Almdal | |
2008-11-25 | Move the in-place-edit JS into the page_footer callback and out of | Bharat Mediratta | |
Theme.php. | |||
2008-11-24 | Detect browsers that prefer XHTML (Chrome!) and normalize it to HTML | Bharat Mediratta | |
so that we don't ship XML down to Chrome. | |||
2008-11-24 | Revert the site_title change | Tim Almdal | |
2008-11-23 | Add a site-config parameter to the config.php file. Created a ↵ | Tim Almdal | |
core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value. | |||
2008-11-22 | Correct case on helper class names. By convention, helper class names are ↵ | Tim Almdal | |
lower case: http://docs.kohanaphp.com/general/helpers Remove block_helper file as the abstract class os no longer required. | |||
2008-11-21 | Fixed a bug in the REST controller dispatcher and added a test case that ↵ | Jozef Selesi | |
excercises it. | |||
2008-11-21 | 2nd attempt at inserting html by modules. | Tim Almdal | |
2008-11-21 | Revert module block approach | Tim Almdal | |
2008-11-20 | A look at away to allow modules to define html head contents (links and js) ↵ | Tim Almdal | |
and also allow modules to contribute blocks to the layout. | |||
2008-11-20 | Add a missing slash in the HTTP return code | Bharat Mediratta | |
2008-11-20 | Correct missing quotes | Tim Almdal | |
2008-11-20 | * Added HTTP status constants and helper functions to REST helper. | Jozef Selesi | |
* HTTP header setting in comment module now going through REST helper API. * Fixed items controller test. * Fixed user installer test. * Fixed _create() handling in the REST controller. * Fixed routing for edit and add forms. * Added some tests for the REST controller. * Set svn:eol-style to LF on a bunch of files. * Added preamble to MY_Forge.php. | |||
2008-11-19 | Fix typo. | Bharat Mediratta | |
2008-11-19 | Create url::abs_site() and url::abs_file() to allow us to generate | Bharat Mediratta | |
full URLs with a clean API, and isolate the cruddy party where we have to hardcode the server protocol into a single file. |