summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2008-12-161) Remove the load watermark from the scaffolding... use the menu optionTim Almdal
2) The set watermark dialog is now sizing properly. @todo is recenter in the window
2008-12-16Alphabetize field names to make it easier to find 'em.Bharat Mediratta
2008-12-16Change htaccess rules to use mod_rewriteBharat Mediratta
2008-12-16TEST_MODE always exists now, so check its value, don't rely on its existence ↵Bharat Mediratta
to know that we're in test mode.
2008-12-16Don't use model_cache for get_version and set_version; that breaks the ↵Bharat Mediratta
installer.
2008-12-16Use model_cache::get() to reduce duplicate queriesBharat Mediratta
2008-12-16Fix a bug where we were using module::set_var() instead of module::get_var() ↵Bharat Mediratta
resulting in loading all photos in an album on a single page and updating the var on every page load.
2008-12-16Make the profiler output more legible by adding some padding to the table.Bharat Mediratta
2008-12-16Various optimizations:Bharat Mediratta
o Add model_cache::get() which caches models avoiding duplicate lookups o Stop using ORM relationships for Item_Model::owner so that we can use caching o For Item_Model::xxx_edit fields, don't make them editable for guests o Other minor stuff. These optimizations reduce the number of queries for a 9-photos page from ~200 to ~45. Still way too many!
2008-12-16Fix a bug where we were not deleting the .htaccess file on access::reset()Bharat Mediratta
2008-12-16Create and delete .htaccess files based on the view permissions forBharat Mediratta
the group::everybody() user.
2008-12-16Fix capitalization.Bharat Mediratta
2008-12-16phpdoc cleanupBharat Mediratta
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-15Update to reflect changes in Kohana ORM relationship code.Bharat Mediratta
Now you must call ORM::save() after ORM::add() and ORM::remove().
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-15Rename default_admin to admin_default.Bharat Mediratta
2008-12-15Add Admin_ViewBharat Mediratta
2008-12-15Refactor admin dashboard.Bharat Mediratta
o Copy all the assets from default to default_admin so that they're totally separate o Get rid of $item_theme o Rename list_users.html.php to users.html.php o use __call in admin controller to allow us to load any admin page
2008-12-15mark unauthorized exception w/ a @todoBharat Mediratta
2008-12-14Change the watermark module to use forge.Tim Almdal
Also the watermark file is now stored in varpath. and the location is stored in the module vars table
2008-12-14load admin subpages AJAXy wayFelix Rabinovich
2008-12-14convert single quotes to double quotes for consistency.Bharat Mediratta
2008-12-14The start of the watermark module. It doesn't save the watermark at this ↵Tim Almdal
point. This is more of trying out the approach where Forge is not used for forms. Basic html and the Validation library.
2008-12-14refactored admin views and added 'List User'Felix Rabinovich
2008-12-14clean the links and require authorization before showing admin pagesFelix Rabinovich
2008-12-141. fix up the <link> and <script> elements in the dashboard <head>.Felix Rabinovich
2. made the images work properly
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-14Fixed tabs and line endingsFelix Rabinovich
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-12Change the check from class_exists to module::is_installedTim Almdal
2008-12-12Change the resize option on creating thumbnails and resizes to Image::AUTO ↵Tim Almdal
which will preserve the aspect ratio of the original image
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-12If the user class doesn't exist, then just set the owner_id to null. Another ↵Tim Almdal
issue of generating data before the user class 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-12Use restore_error_handler() instead of a second set_error_handler() callBharat Mediratta
2008-12-12Yet another deal with bootstrapping when we've got no core install yet.Bharat Mediratta
2008-12-12Randomly choose images from core/tests/images as test imagesTim Almdal
2008-12-12Remove head() for now.Bharat Mediratta
2008-12-12Don't show the access tab if the user module isn't installedBharat Mediratta