summaryrefslogtreecommitdiff
path: root/core/helpers
AgeCommit message (Collapse)Author
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"
2009-01-01Theme Administration implementationFelix Rabinovich
2009-01-01Allow admins to do anythingBharat Mediratta
2009-01-01Move debug CSS into core/css/debug.css, and enable it for admin themes alsoBharat Mediratta
2008-12-31Extend permissions interface to allow resetting to the parental default.Bharat Mediratta
2008-12-31Turn permission dialog into a browser where you can look at permissions back ↵Bharat Mediratta
up the tree
2008-12-31Preliminary "Edit Permissions" dialog. You can't change permissionsBharat Mediratta
yet, but it shows you which items have locked view perms.
2008-12-31Fix a bug where we were accidentally allowing view permissions whenBharat Mediratta
allowing or resetting permission further down in the tree. This bug was introduced when I refactored the view permission cache into the items table. Updated test to catch it.
2008-12-31Fully implement the view_full permission.Bharat Mediratta
2008-12-30Oops, remove some debug code.Bharat Mediratta
2008-12-30Fix a bug. Unit tests ftw!Bharat Mediratta
2008-12-30Refactor _create_htaccess_files and _delete_htaccess_files intoBharat Mediratta
_update_htaccess_files in preparation for supporting the view_full permission.
2008-12-30Fix typo.Bharat Mediratta
2008-12-30Oops, this got left out of r19497Bharat Mediratta
2008-12-30Add a "Graphics Settings" page that lets admins choose which graphicsBharat Mediratta
toolkit we use. We only allow users to use one toolkit. The UI needs work!
2008-12-30Only show site status to adminsBharat Mediratta
2008-12-30More phodoc cleanup.Bharat Mediratta
2008-12-30comment cleanup.Bharat Mediratta
2008-12-30Make some columns smaller so that multi-column keys don't exceed 1024Bharat Mediratta
bytes on some systems.
2008-12-29Don't let the x/y coordinates in composite go negative.Bharat Mediratta
2008-12-29Properly implement graphics::composite()Bharat Mediratta
2008-12-29Replace __CSRF__ token with a real csrf. This allows links in site status ↵Bharat Mediratta
messages to persiste across sessions.
2008-12-29Oops, my last change broke the default resize dimensionsBharat Mediratta
2008-12-29Make graphics rules take named parameters. This will give us someBharat Mediratta
flexibility in the future.
2008-12-29Remove references to permanent_keyBharat Mediratta
2008-12-29Separate permanent messages out of the message helper and put themBharat Mediratta
into site_status. Show site status in the header in the admin theme.
2008-12-28Expand on the maintenance code to make it more robust and give theBharat Mediratta
admin more control. You can now track running tasks, resume stalled tasks, cancel running tasks, and remove finished tasks. Added graphics::compose() as a placeholder for future watermark operations. Added CSRF protection to maintenance urls.
2008-12-28First round of a task framework. Tasks are job definitions stored inBharat Mediratta
the database. They're started with admin/maintenance/start/[task_name] which sends down some JS/HTML which regularly pings the task at admin/maintenance/start/[task_id] until its done. The UI is still very rough. It works, though!
2008-12-27Ignore resizes for albums when calculating the dirty countBharat Mediratta