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 | remove unused ->root | Tim Almdal | |
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 | Remove an resemblence to a RESTful controller from Rearrange_Controller | Tim Almdal | |
2008-12-04 | Fix indentation | Bharat Mediratta | |
2008-12-04 | style updates | 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 | Make sure that we always run teardown, even when the test throws an exception | Bharat Mediratta | |
2008-12-03 | Drag and drop seems to work in the rearrange module | Tim Almdal | |
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 | Add a filter to unit tests. Now you can do 'php index.php Album_Helper_Test ↵ | Bharat Mediratta | |
Photo_Helper_Test' to just run those two | |||
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 | Put the output in pretty ASCII boxes. | Bharat Mediratta | |
2008-12-03 | Re-enable access_cache propagation now that we've patched the MySQL driver. | Bharat Mediratta | |
2008-12-03 | Don't cache the table field definition when we're in test mode, else | Bharat Mediratta | |
all the table changing shenanigans we do to add permissions and groups will fail to register. | |||
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 | Fix errors in the preamble | Bharat Mediratta | |
2008-12-03 | Make sure that the dev is not using the same db for tests as they are for ↵ | Bharat Mediratta | |
production (this one's for you, valiant!) | |||
2008-12-03 | Drop the database and rm -rf test/var instead of calling uninstall on | Bharat Mediratta | |
all modules. This guarantees a clean start w/out worrying about weirdness in the uninstaller code. | |||
2008-12-03 | Drop the right tables at uninstall time | Bharat Mediratta | |
2008-12-03 | Grouped Ajax/Dom scripting related styles (gInPlaceEdit, gClose, etc.). ↵ | Chad Kieffer | |
Began gInPlaceEdit styles. | |||
2008-12-03 | Rename generic test.php to gallery_unit_test.php to make navigation to this ↵ | Bharat Mediratta | |
file a little easier | |||
2008-12-03 | Fix a bad copy/pasted comment | Bharat Mediratta | |
2008-12-02 | Removed per jozefs | 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 | Tighten up ul.permissions | Bharat Mediratta | |
2008-12-01 | Turn <div/> into <div></div> to make Chrome happy. | Bharat Mediratta | |
2008-12-01 | Add missing closing > | Bharat Mediratta | |
2008-12-01 | Drag and Drop is starting to work. You can drag the New Album over any of ↵ | Tim Almdal | |
the directorys and it will be allowed. Drag anything over New Album and it will return. You can drag an tree item except the root over the delete icon and it will be accepted. Now I need to build the ajax and server side functionality the at allows this to all work. | |||
2008-12-01 | Fix the fact that the tree wouldn't show up... just a wee bit overly ↵ | Tim Almdal | |
aggressive in cleaning up what i thought was unused files | |||
2008-12-01 | New Rearrange gui based on jqueryFileTree ↵ | Tim Almdal | |
(http://www.abeautifulsite.net/notebook.php?article=58). I like the look of this one better. Still need to implement the drag and drop functionality. | |||
2008-12-01 | Fix profiler settings in the scaffolding | Bharat Mediratta | |
2008-12-01 | style the permission tree a little tighter | Bharat Mediratta | |