Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-12 | Remove a couple of todo's by store the "theme name", "admin theme name" and ↵ | Tim Almdal | |
"page size" in the vars table and initializing when the core module is installed | |||
2008-12-12 | Refaactor module::install() and module::uninstall() out of the | Bharat Mediratta | |
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. | |||
2008-12-12 | Point the Site Admin link at the wireframe for now. | Bharat Mediratta | |
2008-12-12 | Make the error handler public, else it can't be called from outside | Bharat Mediratta | |
this class (which is the most likely scenario). | |||
2008-12-12 | Cache modules and module_names when we call load_modules so that we don't ↵ | Bharat Mediratta | |
have to check every time | |||
2008-12-12 | Yet another deal with bootstrapping when we've got no core install yet. | Bharat Mediratta | |
2008-12-12 | Remove head() for now. | Bharat Mediratta | |
2008-12-12 | Fix module::_core_installed() hack. | Bharat Mediratta | |
2008-12-12 | Move the view permission cache directly into the item table for efficiency. ↵ | Bharat Mediratta | |
Unit tests ftw! | |||
2008-12-12 | Expand on our core-is-installed checking code. | Bharat Mediratta | |
2008-12-12 | Get rid of all pseudo users and pseudo groups, while preserving all | Bharat Mediratta | |
other functionality. This makes our user/group and access code fully consistent. | |||
2008-12-11 | Guard load_modules() against the case that the database isn't installed. | Bharat Mediratta | |
2008-12-11 | Remove the options menus from the albums and photo pages and move to the ↵ | Tim Almdal | |
site menu | |||
2008-12-11 | Split _update_access_cache into two functions separating view from | Bharat Mediratta | |
non-view. This is a step along the path towards moving the view access cache into the item model. | |||
2008-12-11 | Changes to the Menu.php: | Tim Almdal | |
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively. 2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added. All elements of class gMenuDialog have the gDialogLink class added. 3) Use Superfish for the menus so they now float properly. | |||
2008-12-11 | A a script block to the <head> of the page that creates a javascript ↵ | Tim Almdal | |
variable (base_url) such that javascript on the page can find the base url of the site in order to generate ajax callbacks. | |||
2008-12-11 | Change the name of the implmentation of module parameters to module vars | Tim Almdal | |
2008-12-10 | Fix problem with access::can, where the $item->id was being passed to the ↵ | Tim Almdal | |
access_group::can method. | |||
2008-12-10 | Create a module parameter table. This will be useful if a module wants to ↵ | Tim Almdal | |
store information, but is not enough to warrant a table of its own | |||
2008-12-10 | Change all access API methods to take ORMs instead of ids. This will | Bharat Mediratta | |
minimize reloading objects from the database. | |||
2008-12-10 | Remove navigation_top() and navigation_bottom() as they're subsumed by the ↵ | Bharat Mediratta | |
new menu code | |||
2008-12-10 | Put profiler into page_bottom() | Bharat Mediratta | |
2008-12-09 | Check view permissions before allowing view access to albums/photos. | Bharat Mediratta | |
2008-12-09 | Move code to delete users and add/remove users from groups into the | Bharat Mediratta | |
model. | |||
2008-12-09 | Add access::can() which verifies that the user belongs to a group that has the | Bharat Mediratta | |
given permission. | |||
2008-12-08 | Rename access::can() to access::group_can() | 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 | 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 | 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 | 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 | 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-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-05 | * Add a moveTo unit test | Tim Almdal | |
* Pass the module::event(..., $data) by reference to the handlers | |||
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 | |