Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-25 | Rest_Controller -> REST_Controller everywhere, for consistency. | Bharat Mediratta | |
2008-12-24 | Normalize our Admin controllers so that functions always print out | Bharat Mediratta | |
their results, as opposed to having them return their view back upstream. This is a little more code in every controller, but it's much less magical and more consistent. Look up the active_theme and active_admin_theme inside the view itself, no need to do that in the controllers. This makes view initialization easier in the controllers. | |||
2008-12-24 | Fix bad <input/> | Bharat Mediratta | |
2008-12-24 | Add atom to the implicit module list. | Bharat Mediratta | |
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-23 | Clean up the way that we upload via dialogs: | Bharat Mediratta | |
1) If the create request is Ajax, then return a 201 Created response code 2) If we receive back a 201 response, then switch to the new page. 3) Display a status message when we do an upload. | |||
2008-12-23 | Reload parent after adding a new item since the left/right pointers have ↵ | Bharat Mediratta | |
changed. | |||
2008-12-23 | Only clear the dirty bit if we updated the specific target. | Bharat Mediratta | |
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-23 | Update comment. | Bharat Mediratta | |
2008-12-23 | Allow the site admin to upload watermark images. Can't do much with them yet. | Bharat Mediratta | |
2008-12-23 | Change photo::img_dimensions to take the dimensions, not a photo. This lets ↵ | Bharat Mediratta | |
us use it in the watermark module too | |||
2008-12-22 | Fix a typo | Bharat Mediratta | |
2008-12-22 | Add message severity CSS classes to status messages. Create | Bharat Mediratta | |
message::severity_class() to do the conversion and convert the log entry code to use that. | |||
2008-12-22 | Internationalize welcome block. | Bharat Mediratta | |
2008-12-22 | Fix admin/modules url. | Bharat Mediratta | |
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 | Reinstate the dummy error handler to ensure that we work in a clean install ↵ | Bharat Mediratta | |
w/ no database | |||
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 | Lock a couple of modules | Bharat Mediratta | |
2008-12-22 | Add some admin theme callbacks and make them explicitly admin_xxx for ↵ | Bharat Mediratta | |
consistency with the callbacks in the xxx_block helpers. So in the theme we have: admin.html.php: $theme->admin_page_bottom() then in the helpers: core_block.php: function admin_page_bottom() { } | |||
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-22 | Update Selenium IDE test case file names. | Chad Kieffer | |
2008-12-21 | Removed my local dev url. | Chad Kieffer | |
2008-12-21 | Add phpdoc comments. | Bharat Mediratta | |
2008-12-21 | Swap "Content" and "Modules" | Bharat Mediratta | |
2008-12-21 | Add info/warning/error classes to log messages. | Bharat Mediratta | |
2008-12-21 | Add some more logging code. Now the site admin has some log entries to look at. | Bharat Mediratta | |
2008-12-21 | INFO -> log::INFO | Bharat Mediratta | |
2008-12-21 | Report actual log entries in the "log entries" admin block. | Bharat Mediratta | |
2008-12-21 | Add a logging facility, and instrument login/logout to use it. | Bharat Mediratta | |
2008-12-21 | Implement the 'Project News' block with actual news from GMC.. woot! | Bharat Mediratta | |
2008-12-21 | create a more generic random_phrase() function | Bharat Mediratta | |
2008-12-20 | Implement the photo stream with the most recently uploaded photos. | Bharat Mediratta | |
2008-12-20 | Add "created" and "updated" timestamps to the items table. | 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 | use some real stats | Bharat Mediratta | |
2008-12-20 | Add a missing colon. | Bharat Mediratta | |
2008-12-20 | Internationalize. | Bharat Mediratta | |
2008-12-20 | Replace placeholders with real data | 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-20 | Move Recent Comments into its own block. | Bharat Mediratta | |
2008-12-20 | Move log entries into its own block | Bharat Mediratta | |
2008-12-20 | Move the "Photo Stream" section into its own block | Bharat Mediratta | |
2008-12-20 | Move the "status messages" section into its own block. | Bharat Mediratta | |