summaryrefslogtreecommitdiff
path: root/core/helpers
AgeCommit message (Collapse)Author
2009-01-17Implement relevance ranked boolean searching on a full text index ofBharat Mediratta
item and comment data. Whew! It's not pretty yet. And you have to manually update the index currently in admin/maintenance. But it works.
2009-01-16Rename Task to Task_Definition to avoid confusion with Task_Model.Bharat Mediratta
Order the finished tasks by update time in the task list.
2009-01-16Rename Change xxx_task::available() to xxx_task::available_tasks()Bharat Mediratta
Fix a bug in admin_maintenance.html.php where we were only showing the first task
2009-01-16Move graphics::rebuild_dirty_images to core_task::rebuild_dirty_imagesBharat Mediratta
2009-01-16Break task definitions out into the <module>_task helper and create aBharat Mediratta
Task library class as a data structure to hold task definitions.
2009-01-16Update event handlers to reflect new item event namesBharat Mediratta
2009-01-15Changing t() placeholder syntax from {{replace_me}} to %replace_me.Andy Staudacher
2009-01-15Simplifying the way t() is called. Refactoring localization function ↵Andy Staudacher
t($message, $options=array()) into 2 separate functions: - the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation. - t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-15Added gQuick to album_top, started implementation, but incomplete so far. ↵Chad Kieffer
Need edit album methods added to the quick controller.
2009-01-15Rename eventsBharat Mediratta
album_created, photo_created -> item_created album_updated, photo_updated -> item_updated
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2009-01-14Initialize the model_cache:: as an array and use sub arrays to maintain the ↵Tim Almdal
cache
2009-01-14make model_cache::get() a static functionTim Almdal
2009-01-14Correct the initial value get active blocksTim Almdal
2009-01-14Since module_Core is static the methods, get_var, set_var, etc should be staticTim Almdal
2009-01-13Change admin/themes to show both styles of themes side by side. ThisBharat Mediratta
eliminates the menu, which is kind of clunky. While I'm at it, let's call the "regular" themes a "site theme" so we have "site" and "admin" themes.
2009-01-13Models should be named in adjective_noun form to make pluralizatoinBharat Mediratta
more intuitive. Renamed Translations_Incoming to Incoming_Translation to suit.
2009-01-12Refactor dashboard block handling out into a dashboard helper so thatBharat Mediratta
module installers don't have to know the grotty details of how it works.
2009-01-12Implement deleting dashboard blocks.Bharat Mediratta
* Refactor blocks so that they have a separate id vs css_id. This way we can have a unique identifier for each visual block. * Store blocks with a random id as their unique identifier * Add Admin_Dashboard::remove_block() and modify themes/admin_default/views/block.html.php to call it when you click the remove box.
2009-01-12Updated for new Form_Submit API.Bharat Mediratta
OLD: $form->submit("Foo") --> <input type="submit" value="Foo"> New: $form->submit("foo_button")->("Foo") --> <input type="submit" name="foo_button" value="Foo"> Mostly we don't care what the button is so we leave the name blank.
2009-01-12Dashboard blocks are now data driven, and you can add new blocks toBharat Mediratta
both the sidebar and the center content area from a dropdown at the top of the dashboard sidebar.
2009-01-11Site menu restructure:Bharat Mediratta
* Add 'Scaffold' link to make it more obvious what's going on there * 'Home' link now goes to albums/1 * 'Admin' is now pushed to the far right.
2009-01-11Merge the site admin menu in under the regular Admin menu.Bharat Mediratta
2009-01-11Remove stray blank line, convert single to double quotes.Bharat Mediratta
2009-01-11Reset module_names / modules early in load_modules() so that unit test ↵Bharat Mediratta
framework can dump the loaded modules after switching databases even if the modules table doesn't exist yet
2009-01-10Save individual theme valuesFelix Rabinovich
2009-01-10Submit theme valuesFelix Rabinovich
2009-01-10Display theme detailsFelix Rabinovich
2009-01-10Big set of changes to comments, with related changes to akismet andBharat Mediratta
user modules. * Don't delete vars when we delete a module. This makes reinstalling a module a lot easier. * Add user::lookup() as the preferred way to load a user, so that other modules don't delve into the user module (that'd be a problem when we swap out user modules) * Notify site admins if Akismet is not fully configured * Bundle all server variables into the comment so that if/when we re-check the comment, we are not using the server info from the site admin's request. * Update Akismet to grab request context data from the comment * Pre-seed comment fields if we have a logged in user. Update comment::create() API to clarify it for this. * Delete comment::update(), that's a controller function. * Add url to User_Model * Add author_name() author_email() and author_url() to Comment_Model. It'll return the appropriate values depending on whether the comment was left by a logged in user or a guest. * Use resetForm() instead of clearForm() when we reload the comment form after ajax submit, this way we preserve the pre-seeded values. * In the user profile page, ignore blank passwords.
2009-01-09Theme Administration cleanup initializationFelix Rabinovich
2009-01-09Theme Administration v. 2. Doesn't distinguish between regular and admin ↵Felix Rabinovich
themes yet
2009-01-09Un hook the installer from load_modules, so testers can get to the ↵Tim Almdal
scaffolding to install
2009-01-09Stage 1 of the installer. basically check that we can start as far as Kohana ↵Tim Almdal
correctly
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08First step of i18n refactoring:Andy Staudacher
- Using DB table translations_incomings as translations storage (file cache to be added) - Removed overly complex i18n code which will be unnecessary with the future compiled cache files - Added t() as a translation function (global refactoring from _() to t() to follow)
2009-01-08module::event now takes an unlimited number of argsBharat Mediratta
added module::incr_var() ftw.
2009-01-07Turn statistics into a menuBharat Mediratta
2009-01-07Rebuild 2 images at a time.Bharat Mediratta
2009-01-06Add graphics::Can() to let us determine whether the active toolkitBharat Mediratta
supports a given function. Right now it's hardcoded to support what we know about GD.
2009-01-05Add "quick edit" which lets you edit a photo's details from the albumsBharat Mediratta
page.
2009-01-04Rename:Bharat Mediratta
gQuickEdit to gQuick quick_edit -> quick
2009-01-04Allow passing a query string as an argument to Item_Model::url()Bharat Mediratta
2009-01-04Linked up a photo's return to parent album view.Chad Kieffer
2009-01-04Extend Theme_View to look in modules for photo and album menus. MoveBharat Mediratta
"view comments" link to the comment menu helper.
2009-01-04Started to wire up album and photo view menus. Need photo's parent album ↵Chad Kieffer
link added. Also need add the slideshow link to the menu.
2009-01-03No quickedit for album-- for real this time.Bharat Mediratta
2009-01-03No quickedit for album thumbs (for now, anyway)Bharat Mediratta
2009-01-03Add a new quick-edit mode for editing photos when viewing albums.Bharat Mediratta
Implement image rotation this way.
2009-01-03Add graphics::rotateBharat Mediratta
2009-01-02Restructire site admin menu a bit:Bharat Mediratta
Rename menu "General Settings" -> "Settings" Rename "Comments Moderation" -> "Comments" Move "Content" -> "Configure Spam Filtering" -> "Settings" -> "Spam Filtering"