| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2009-01-06 | Put up an error if you rename a user to an already existing name. | Bharat Mediratta | |
| 2009-01-06 | Fix up all the various little forms to have submit buttons, fieldset ↵ | Bharat Mediratta | |
| legends, etc etc. | |||
| 2008-12-31 | Fully implement the view_full permission. | Bharat Mediratta | |
| 2008-12-30 | Make some columns smaller so that multi-column keys don't exceed 1024 | Bharat Mediratta | |
| bytes on some systems. | |||
| 2008-12-28 | Add title back to non-DHTML form to maintain consistency | Felix Rabinovich | |
| 2008-12-26 | Added title to user/group administration dialogs | Felix Rabinovich | |
| 2008-12-26 | User/Group administration cleanup | Felix Rabinovich | |
| 2008-12-26 | Group Administration | Felix Rabinovich | |
| 2008-12-26 | User Administration. Add users. Take 3 | Felix Rabinovich | |
| 2008-12-26 | User Administration. Delete users. Take 3 | Felix Rabinovich | |
| 2008-12-26 | User Administration. Edit users. Take 3 | Felix Rabinovich | |
| 2008-12-25 | Ajaxify 'add users' | Felix Rabinovich | |
| 2008-12-25 | fixes in user edit and delete | Felix Rabinovich | |
| 2008-12-25 | Big round of normalization of the way that our controllers | Bharat Mediratta | |
| communicate. Almost all controllers now use JSON to speak to the theme when we're dealing with form processing. This means tht we only send the form back and forth, but we use a JSON protocol to tell the browser success/error status as well as the location of any newly created resources, or where the browser should redirect the user. Lots of small changes: 1) Admin -> Edit Profile is gone. Instead I fixed the "Modify Profile" link in the top right corner to be a modal dialog 2) We use json_encode everywhere. No more Atom/XML for now. We can bring those back later, though. For now there's a lot of code duplication but that'll be easy to clean up. 3) REST_Controller is no longer abstract. All methods its subclasses should create throw exceptions, which means that subclasses don't have to implement stubs for those methods. 4) New pattern: helper method get_add_form calls take an Item_Model, not an id since we have to load the Item_Model in the controller anyway to check permissions. 5) User/Groups REST resources are separate from User/Group in the site admin. They do different things, we should avoid confusing overlap. | |||
| 2008-12-25 | added sprintf to strings for tranlation support | Felix Rabinovich | |
| 2008-12-25 | User administration: 1. Add users; 2. Group administration; 3. General cleanup | Felix Rabinovich | |
| 2008-12-24 | Adding user | Felix Rabinovich | |
| 2008-12-24 | Lots of deltas rolled up into a bigger change. Sorry for the mess. | Bharat Mediratta | |
| 1) Deleted in-place-editing. We'll be replacing this with a real edit system that groups settings together and is more coherent. 2) Tweaked the way that dialog boxes work to get the ajax stuff working again. It's imperfect and does not work properly for uploading images. This is going to get redone also, but this is a good resting point. 3) Created edit forms for albums and photos. Moved _update and _create out of Items_Controller and into the individual subclasses. 4) Created access::required which is a shorthand for: if (!access::can(...)) { access::forbidden(); } 5) Added validation rules to Items_Model 6) Converted login to use the regular modal dialog approach in the theme. | |||
| 2008-12-21 | Move logging up to the controllers so that our logging can operate at a more ↵ | Bharat Mediratta | |
| meta level | |||
| 2008-12-21 | Add a logging facility, and instrument login/logout to use it. | Bharat Mediratta | |
| 2008-12-19 | Implement admin user editing. It's still very rough. Trying to | Bharat Mediratta | |
| figure out how to share forms between user and admin editing. Incremental improvement | |||
| 2008-12-18 | Refactor site admin menu into a theme function and build the menus in | Bharat Mediratta | |
| the various modules. In the process, rename xxx_menu::site_navigation() to just xxx_menu::site(). And add xxx_menu::admin(). The menus are the same as before, but I changed the HTML to be consistent with the way that we do it in the regular site, and this broke the superfish styles. I don't know how to fix this.. help me Chad! | |||
| 2008-12-17 | Fix a bug where setting the active user did not reset group_ids (unit tests ↵ | Bharat Mediratta | |
| ftw!) | |||
| 2008-12-17 | Switch from cookie sessions to database sessions. We can't use cookie | Bharat Mediratta | |
| sessions; it encodes all the value into the cookie which means little/no security, transfer costs, and storage limits. | |||
| 2008-12-17 | Add initialization to the user module to put the user and group_ids | Bharat Mediratta | |
| into the session, for easy access. This cuts down the number of queries when we're loading images through file_proxy.php | |||
| 2008-12-16 | Various 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-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-12 | Move the view permission cache directly into the item table for efficiency. ↵ | Bharat Mediratta | |
| Unit tests ftw! | |||
| 2008-12-12 | Add user::guest() convenience function | 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-10 | Remove navigation_top() and navigation_bottom() as they're subsumed by the ↵ | Bharat Mediratta | |
| new menu code | |||
| 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-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 | Restructure Menu processing to respect the differnent types of menu items ↵ | Tim Almdal | |
| (Menu's, Menu_Link, Menu_Dialog) | |||
| 2008-12-07 | Merge gallery3/branches/menus back into gallery3/trunk | Tim Almdal | |
| 2008-12-01 | Prototype access control model. There's much left to do, but it's a | Bharat Mediratta | |
| working implementation. | |||
| 2008-11-28 | Create module::event() which runs Gallery events. It works by | Bharat Mediratta | |
| convention. To respond to the "photo_created" event in the gmaps module, you create modules/gmaps/helpers/gmaps_event.php containing class gmaps_event which has function photo_created. Renamed all events from gallery.foo.bar to foo_bar Updated tag module to use new convention. | |||
| 2008-11-28 | Rename item events and create events for comment create, login, logout, user ↵ | Tim Almdal | |
| creation. I probably forgot some, but its a start. | |||
| 2008-11-27 | Update tests to reflect the fact that the admin group is gone. | Bharat Mediratta | |
| Fix a bug in user::create(), found by the unit tests (hooray)! | |||
| 2008-11-27 | Give the admin user actual admin privileges | Bharat Mediratta | |
| 2008-11-27 | Add navigation_top() and navigation_bottom() insertion points | Bharat Mediratta | |
| Move "My Gallery" navigation tab into the user module and only show it if you're logged in | |||
| 2008-11-27 | Centralize logging around installing/uninstalling modules. | Bharat Mediratta | |
| 2008-11-27 | Move javascript from default theme to appropriate modules | Tim Almdal | |
| 2008-11-26 | Re-enable code to drop view columns from the items table when deleting groups. | Bharat Mediratta | |
| 2008-11-26 | Ignore errors from dropping view columns from the items table. | Bharat Mediratta | |
| 2008-11-26 | Clean tag creation | Tim Almdal | |
| 2008-11-26 | Add support for marking users as "admin" | Bharat Mediratta | |
| 2008-11-26 | Add support in the scaffolding for adding users to groups, adding and | Bharat Mediratta | |
| removing users and groups. | |||
| 2008-11-26 | group::create() and group::delete() now manage the view_## columns in | Bharat Mediratta | |
| the items table. Convert installer over to using new creation API. | |||
