Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-17 | Improve performance by finding the item without walking the tree. | Bharat Mediratta | |
Instead, use the level and the name to get a short list of candidates, and check each one of those. In most cases, this query should give us the right result the first time. | |||
2008-12-17 | Change the album thumbnail/resize from _album.jpg to .album.pjg | Bharat Mediratta | |
because the leading underscore confuses the Kohana router. | |||
2008-12-17 | Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵ | Bharat Mediratta | |
Item_Model and simplifies file_proxy. It also means we can stop munging file names in the var/resizes hierarchy. In the process, rename "thumbnail" to "thumb" everywhere in honor of Chad (well, ok because it's shorter).. | |||
2008-12-16 | Add file_proxy. This is controller gets triggered by .htaccess | Bharat Mediratta | |
protection on var/albums and var/resizes and only displays files to the user if they have "view" permission on the base ite. | |||
2008-12-16 | 1) Remove the load watermark from the scaffolding... use the menu option | Tim Almdal | |
2) The set watermark dialog is now sizing properly. @todo is recenter in the window | |||
2008-12-16 | Fix 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-15 | Update to reflect changes in Kohana ORM relationship code. | Bharat Mediratta | |
Now you must call ORM::save() after ORM::add() and ORM::remove(). | |||
2008-12-15 | Rename default_admin to admin_default. | Bharat Mediratta | |
2008-12-15 | Refactor 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-15 | mark unauthorized exception w/ a @todo | Bharat Mediratta | |
2008-12-14 | Change 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-14 | load admin subpages AJAXy way | Felix Rabinovich | |
2008-12-14 | convert single quotes to double quotes for consistency. | Bharat Mediratta | |
2008-12-14 | The 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-14 | refactored admin views and added 'List User' | Felix Rabinovich | |
2008-12-14 | clean the links and require authorization before showing admin pages | Felix Rabinovich | |
2008-12-14 | 1. fix up the <link> and <script> elements in the dashboard <head>. | Felix Rabinovich | |
2. made the images work properly | |||
2008-12-14 | Fixed tabs and line endings | Felix Rabinovich | |
2008-12-14 | Created admin controller and made admin obey admin theme settings | Felix Rabinovich | |
2008-12-13 | Set the resize and thumbnail maximum dimension into the module vars table | Tim Almdal | |
2008-12-12 | Change the check from class_exists to module::is_installed | Tim Almdal | |
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 | If 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-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 | Use restore_error_handler() instead of a second set_error_handler() call | Bharat Mediratta | |
2008-12-12 | Randomly choose images from core/tests/images as test images | Tim Almdal | |
2008-12-12 | Remove the attempt at a local import module | Tim Almdal | |
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 | 1) 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-10 | Change all access API methods to take ORMs instead of ids. This will | Bharat Mediratta | |
minimize reloading objects from the database. | |||
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 | move user::delete() to User_Model::delete() | Bharat Mediratta | |
2008-12-07 | Fix 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-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-06 | Correct @todo's in Item_Controller | Tim Almdal | |
2008-12-05 | Fix a bug where any uninstall removed the entire database. | Bharat Mediratta | |
2008-12-04 | Moving 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-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 | Get rid of the rearrange helper as the code could be inlined | Tim Almdal | |
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 | 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 | Add /welcome/form/add/photos to give you the add photo form. | Bharat Mediratta | |
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-01 | Fix profiler settings in the scaffolding | Bharat Mediratta | |
2008-12-01 | Add access::reset() so that you can specify your intent to use the | Bharat Mediratta | |
parent's permissions. Update scaffolding to demonstrate that it works. | |||
2008-12-01 | Prototype access control model. There's much left to do, but it's a | Bharat Mediratta | |
working implementation. | |||
2008-11-30 | Move rearrange HTML generation into welcome.php so that we gracefully | Bharat Mediratta | |
handle the case where the DB is not installed yet. | |||
2008-11-29 | Add access model (not fully baked yet). | Bharat Mediratta | |
Update scaffolding to allow addition of just albums (helpful for testing permissions) |