summaryrefslogtreecommitdiff
path: root/core/helpers
AgeCommit message (Collapse)Author
2008-12-16Permission only function on albums.Bharat Mediratta
2008-12-15Protect menus and blocks against the fact that we don't have an itemBharat Mediratta
on tag pages.
2008-12-15The admin high level menu is shown if the active user is not a guest. Other ↵Tim Almdal
sub menus depend on the appropriate level of access
2008-12-151) Move the deletion of the vars into module::delete helperTim Almdal
2) remove the watermark_add_form.html.php
2008-12-15Rename default_admin to admin_default.Bharat Mediratta
2008-12-14load admin subpages AJAXy wayFelix Rabinovich
2008-12-141) fix Forge_Group to display the label (will raise a bug with Kohana)Tim Almdal
2) Change form.html.php to use the group label instead of the name 3) Converted the add photo to explicity set the label of the field (new coding standard)
2008-12-14Created admin controller and made admin obey admin theme settingsFelix Rabinovich
2008-12-13Fix a bug where parent permissions were not getting inherited to newlyBharat Mediratta
created albums and photos.
2008-12-13Make sure that access::can fails if the item is not loadedBharat Mediratta
2008-12-13Set the resize and thumbnail maximum dimension into the module vars tableTim Almdal
2008-12-13Set thumbnails to 200x200 and resizes to 640x640 and let the Image::resize ↵Tim Almdal
method pick the right aspect ratio
2008-12-12Remove 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-12Refaactor module::install() and module::uninstall() out of theBharat 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-12Point the Site Admin link at the wireframe for now.Bharat Mediratta
2008-12-12Make the error handler public, else it can't be called from outsideBharat Mediratta
this class (which is the most likely scenario).
2008-12-12Cache modules and module_names when we call load_modules so that we don't ↵Bharat Mediratta
have to check every time
2008-12-12Yet another deal with bootstrapping when we've got no core install yet.Bharat Mediratta
2008-12-12Remove head() for now.Bharat Mediratta
2008-12-12Fix module::_core_installed() hack.Bharat Mediratta
2008-12-12Move the view permission cache directly into the item table for efficiency. ↵Bharat Mediratta
Unit tests ftw!
2008-12-12Expand on our core-is-installed checking code.Bharat Mediratta
2008-12-12Get rid of all pseudo users and pseudo groups, while preserving allBharat Mediratta
other functionality. This makes our user/group and access code fully consistent.
2008-12-11Guard load_modules() against the case that the database isn't installed.Bharat Mediratta
2008-12-11Remove the options menus from the albums and photo pages and move to the ↵Tim Almdal
site menu
2008-12-11Split _update_access_cache into two functions separating view fromBharat Mediratta
non-view. This is a step along the path towards moving the view access cache into the item model.
2008-12-11Changes 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-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-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-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-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-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-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-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-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-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-05* Add a moveTo unit testTim Almdal
* Pass the module::event(..., $data) by reference to the handlers