| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2008-12-23 | Update to reflect change in album::create API | Bharat Mediratta | |
| 2008-12-23 | Change photo::create() and album::create() to take ORM instances | Bharat Mediratta | |
| instead of ids. | |||
| 2008-12-23 | Add very simple graphics toolkits. | Bharat Mediratta | |
| Track a set of rules in Graphics_Rule_Model which specify how we turn original images into thumbnails and resizes. There's one set of rules that applies to every image in the Gallery. Track the state of thumbs and resizes with a "dirty" bit. The new graphics helper manages the rules and can rebuild the thumbs and resizes for any images that are considered "dirty". Introduce the concept of an "album cover" which is an item that an album points to. We'll use that item as the source for the album's thumbnail/resize. Conflated with this change (sorry!) I also changed the Var table to use module_name instead of module_id. This may be marginally less efficient, but it's much easier to follow in the database. | |||
| 2008-12-22 | Add messaging system for reporting actions back to the user. Make | Bharat Mediratta | |
| module install/uninstall work and tie it into the messaging system. | |||
| 2008-12-22 | Remove module.info from infrastructure modules that are effectively | Bharat Mediratta | |
| libraries that would ship with the core. Refactor welcome.php to use the newly refactored module::available() | |||
| 2008-12-22 | Normalize CSRF handling into the access helper. Probably not the best | Bharat Mediratta | |
| place for it, but it'll do for now. Do CSRF checking in the Admin controller so that we're safe across the board on the admin side. | |||
| 2008-12-22 | Support proper rendering of locked modules, add a submit button, point it at ↵ | Bharat Mediratta | |
| admin/modules/save | |||
| 2008-12-22 | Change the way that we track modules. | Bharat Mediratta | |
| Each module now has a "module.info" file that has information about the module, including the core. We can display the installed version, and the version in the code. Also take a first shot at a modules admin page. | |||
| 2008-12-21 | Add some more logging code. Now the site admin has some log entries to look at. | Bharat Mediratta | |
| 2008-12-21 | create a more generic random_phrase() function | Bharat Mediratta | |
| 2008-12-20 | Update view counts for albums also | Bharat Mediratta | |
| 2008-12-20 | Add view counts and show them properly. | Bharat Mediratta | |
| 2008-12-20 | Collapse Admin_Dashboard_Controller down into a single theme call, since now | Bharat Mediratta | |
| all dashboard blocks are stored in modules. | |||
| 2008-12-19 | Fix a bug in admin delegation. | Bharat Mediratta | |
| 2008-12-19 | Create a new pattern for Site Admin controllers: | Bharat Mediratta | |
| 1) They must all start with "admin_". This pattern is not directly routable. 2) Their urls must be /admin/xxx. 3) The Admin_Controller will take the xxx and look for Admin_Xxx_Controller and will delegate to that admin controller, after doing security checks. Moved the users and dashboard views into individual modules for now. | |||
| 2008-12-19 | We always have at least 1 page in an album. | Bharat Mediratta | |
| 2008-12-19 | Allow server-side adding of images to other albums than the root | Bharat Mediratta | |
| 2008-12-17 | Add Item_Model::viewable() which we can use to restrict any query to | Bharat Mediratta | |
| just items viewable by the active user. Ie: ORM::factory("item") ->where("name", "foo") ->find_all() Would get all items with the name "foo". ORM::factory("item") ->viewable() ->where("name", "foo") ->find_all() Restricts it to just the set of items that the user is allowed to see. | |||
| 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 | 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 | |
