summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2008-12-11A 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-111) Begins the creation of the local import module by adding the ↵Tim Almdal
administation component to the scaffolding Actions tab. The importing functionality will follow shortly. 2) Defines a routining pattern for module administration controllers. URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller
2008-12-11Correct testTim Almdal
2008-12-11Change the name of the implmentation of module parameters to module varsTim Almdal
2008-12-10Fix problem with access::can, where the $item->id was being passed to the ↵Tim Almdal
access_group::can method.
2008-12-10Create 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-10Change all access API methods to take ORMs instead of ids. This willBharat Mediratta
minimize reloading objects from the database.
2008-12-10Remove navigation_top() and navigation_bottom() as they're subsumed by the ↵Bharat Mediratta
new menu code
2008-12-10Put profiler into page_bottom()Bharat Mediratta
2008-12-09Check view permissions before allowing view access to albums/photos.Bharat Mediratta
2008-12-09Move code to delete users and add/remove users from groups into theBharat Mediratta
model.
2008-12-09update call from access::can() -> access::group_can()Bharat Mediratta
2008-12-09move user::delete() to User_Model::delete()Bharat Mediratta
2008-12-09Add access::can() which verifies that the user belongs to a group that has theBharat Mediratta
given permission.
2008-12-08Rename access::can() to access::group_can()Bharat Mediratta
2008-12-08Ignore gallery_unit_test/views/kohana_*.phpBharat Mediratta
2008-12-08Only add the unit_test and gallery_unit_test modules if we're in TEST_MODEBharat Mediratta
2008-12-08Refactor Menu code to create allow you to create menus using aBharat 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-08Replace protected array and __get() with just class variables. This is ↵Bharat Mediratta
faster and tighter.
2008-12-08Minor cleanups.Bharat Mediratta
2008-12-08Minor cleanups.Bharat Mediratta
2008-12-08Tighten up head()Bharat Mediratta
2008-12-08Restructure Menu processing to respect the differnent types of menu items ↵Tim Almdal
(Menu's, Menu_Link, Menu_Dialog)
2008-12-07Move form.html.php from themes/default/views to core/viewsTim Almdal
2008-12-07correct menu processing such that urls=# aren't given class gDialogLinkTim Almdal
2008-12-07Change 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-07Remove debugging codeTim Almdal
2008-12-07Merge gallery3/branches/menus back into gallery3/trunkTim Almdal
2008-12-071) Change the photo description field to a text areaTim 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-07Finish writing unit tests for Access. No bugs found!Bharat Mediratta
2008-12-07Leave all locking in ORM_MPTT::move_to, don't worry about it inBharat Mediratta
Item_Model::move_to, unless it turns out that we really need to.
2008-12-07Change ORM_MPTT::add_to_parent() to take an ORM instead of an id soBharat Mediratta
that it's consistent with ORM_MPTT::move_to()
2008-12-07Adjust exception text to our normal form.Bharat Mediratta
2008-12-07fix a couple of typos.Bharat Mediratta
2008-12-07Rename moveTo to move_to and extend the test a bit.Bharat Mediratta
2008-12-07Style cleanups to make File_Structure_Test pass.Bharat Mediratta
2008-12-07Fix 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-06Implemented 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-06Correct @todo's in Item_ControllerTim Almdal
2008-12-05Fix a bug where any uninstall removed the entire database.Bharat Mediratta
2008-12-05* Add a moveTo unit testTim Almdal
* Pass the module::event(..., $data) by reference to the handlers
2008-12-04Tweak some issues with the moveTo ProcessingTim Almdal
2008-12-04Moving 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-04Change the startup code to only put installed modules on the autoloadBharat 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-04Improvements 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-04Get rid of the rearrange helper as the code could be inlinedTim Almdal
2008-12-04Fix indentationBharat Mediratta
2008-12-04Implement 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-04Rename Directory_Helper_Test to Dir_Helper_TestBharat Mediratta