Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-08 | Rename access::can() to access::group_can() | Bharat Mediratta | |
2008-12-08 | Ignore gallery_unit_test/views/kohana_*.php | Bharat Mediratta | |
2008-12-08 | Only add the unit_test and gallery_unit_test modules if we're in TEST_MODE | Bharat Mediratta | |
2008-12-08 | Refactor Menu code to create allow you to create menus using a | Bharat Mediratta | |
chainable factory interface and retrieve them by ids. Streamlined the HTML creation code a little bit in the process, moved the basic menu functionality into Theme_View and created the option to have different menus other than site_navigation(). | |||
2008-12-08 | Replace protected array and __get() with just class variables. This is ↵ | Bharat Mediratta | |
faster and tighter. | |||
2008-12-08 | Minor cleanups. | Bharat Mediratta | |
2008-12-08 | Minor cleanups. | Bharat Mediratta | |
2008-12-08 | Tighten up head() | Bharat Mediratta | |
2008-12-08 | Restructure Menu processing to respect the differnent types of menu items ↵ | Tim Almdal | |
(Menu's, Menu_Link, Menu_Dialog) | |||
2008-12-07 | Move form.html.php from themes/default/views to core/views | Tim Almdal | |
2008-12-07 | correct menu processing such that urls=# aren't given class gDialogLink | Tim Almdal | |
2008-12-07 | Change the menu processing to add the gDialogLink class if the url starts ↵ | Tim Almdal | |
with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that | |||
2008-12-07 | Remove debugging code | Tim Almdal | |
2008-12-07 | Merge gallery3/branches/menus back into gallery3/trunk | Tim Almdal | |
2008-12-07 | 1) Change the photo description field to a text area | Tim Almdal | |
2) Added a 'type' data element to both forge/Form_Textarea and forge/Form_Upload The second change allows the drawForm to correctly render both of these elements enclosed in a <li>...</li> html blocl | |||
2008-12-07 | Finish writing unit tests for Access. No bugs found! | Bharat Mediratta | |
2008-12-07 | Leave all locking in ORM_MPTT::move_to, don't worry about it in | Bharat Mediratta | |
Item_Model::move_to, unless it turns out that we really need to. | |||
2008-12-07 | Change ORM_MPTT::add_to_parent() to take an ORM instead of an id so | Bharat Mediratta | |
that it's consistent with ORM_MPTT::move_to() | |||
2008-12-07 | Adjust exception text to our normal form. | Bharat Mediratta | |
2008-12-07 | fix a couple of typos. | Bharat Mediratta | |
2008-12-07 | Rename moveTo to move_to and extend the test a bit. | Bharat Mediratta | |
2008-12-07 | Style cleanups to make File_Structure_Test pass. | Bharat Mediratta | |
2008-12-07 | Fix a bug in the redirect after adding photos. | Bharat Mediratta | |
2008-12-07 | * Don't call _getadd_photo_html() when we don't have an items table. | Bharat Mediratta | |
* Guard against errors when uninstalling modules that don't have any code left (eg: carousel) * Create the var/uploads dir automatically. | |||
2008-12-06 | Implemented photo::_get_photo_add(). You need to create the var/uploads ↵ | Tim Almdal | |
directory and make it writable by the server. The location of the temporary upload directory is specified in config/upload.php | |||
2008-12-06 | Correct @todo's in Item_Controller | Tim Almdal | |
2008-12-05 | Fix a bug where any uninstall removed the entire database. | Bharat Mediratta | |
2008-12-05 | * Add a moveTo unit test | Tim Almdal | |
* Pass the module::event(..., $data) by reference to the handlers | |||
2008-12-04 | Tweak some issues with the moveTo Processing | Tim Almdal | |
2008-12-04 | Moving albums around with a drag and drop interface seems to work and ↵ | Tim Almdal | |
preserve the left right pointers. * changed _lock and _unlock to protected methods lock and lock respectively * added a moveTo method on the Item_Model * Corrected the hole closure on delete. * added moveTo on the ORM_MTPP class * Changed the rearrange javascript to do moves with ajax | |||
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-04 | Get rid of the rearrange helper as the code could be inlined | Tim Almdal | |
2008-12-04 | Fix indentation | Bharat Mediratta | |
2008-12-04 | Implement ORM_MPTT::delete() properly. | Bharat Mediratta | |
Inline ORM_MPTT::_grow() for now Rewrite ORM_MPTT tests to be domain specific; they no longer use album/photo helpers. | |||
2008-12-04 | Rename Directory_Helper_Test to Dir_Helper_Test | Bharat Mediratta | |
2008-12-04 | Replace grow_test and constrict_test with add_hierarchy_test and | Bharat Mediratta | |
delete_hierarchy_test. Our tests will be more robust if we test the public API and not the internal private functions. If we get to the point where we have to test the private functions, we should probably move those functions into their own separate class with a public API. | |||
2008-12-04 | Add unit tests to test growing and contracting the left and right pointers | Tim Almdal | |
Added a delete method to ORM_MPTT that contracts the tree when an item is deleted | |||
2008-12-04 | Before deleting an item, save the path to the image in the var directory as ↵ | Tim Almdal | |
once the item is deleted, the $item->file_path() is no longer valid. | |||
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 | Implement two tests | Bharat Mediratta | |
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 | Test stubs | Bharat Mediratta | |
2008-12-03 | Move the form html into the controller | Bharat Mediratta | |
2008-12-03 | Add /welcome/form/add/photos to give you the add photo form. | Bharat Mediratta | |
2008-12-03 | Re-enable access_cache propagation now that we've patched the MySQL driver. | Bharat Mediratta | |