summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-01-10Use the theme's avatar as the default if Gravatar doesn't have one.Bharat Mediratta
2009-01-10Integrate Gravatar. Boy, that was easy.Bharat Mediratta
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-09Added gCommentsAdminMenu to clearfix.Chad Kieffer
2009-01-09Reformated comment admin table layout. Added bulk action checkboxes and ↵Chad Kieffer
menu, reply link, and edit link, all of which need to be wired up.
2009-01-09Eliminate unused avatar code (for now)Bharat Mediratta
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-08Windows fixes: Use mkdir($path, 0777, true) instead of the unportable ↵Andy Staudacher
system("mkdir -p $path")
2009-01-08"delete" is a reserved word in Chrome, apparently.Bharat Mediratta
2009-01-08Add akismet::$test_mode, initialize it to TEST_MODE and don't contactBharat Mediratta
akismet if it's on. Force it on in the scaffolding so that we don't try to run all comments we add from there through Akismet.
2009-01-08Incremental improvement in comment moderation:Bharat Mediratta
1) Akismet now detects when we change a comment's published state and submits info back to akismet.com as appropriate 2) We now show 4 different queues (all / approved / unapproved / spam) and let you move messages between the queues 3) We track and display "spam caught" stats. 4) You can delete comments entirely.
2009-01-07The SpamFilter module is superceded by the Akismet module.Bharat Mediratta
2009-01-07Properly handle the case where the akismet backend doesn't return a true/falseBharat Mediratta
value. Add phpdoc.
2009-01-07Add very basic comment listing which shows the different queuesBharat Mediratta
(approved, unapproved, spam).
2009-01-07Listen for comment creation, and run it through Akismet. Make theBharat Mediratta
akismet stats page take up as much room as possible.
2009-01-07Properly check comment permissions. Don't show comments that aren'tBharat Mediratta
published. Fix _form_add to take an item id. Oh and email address is no longer required.
2009-01-07Create a new "fragment" page type to use when we're not sending back a fully ↵Bharat Mediratta
themed page.
2009-01-07Extract the Akismet driver from the Spam_Filter module into a moduleBharat Mediratta
in its own right. Clean up the tests, streamline the code and improve the admin interaction. Add a working stats page.
2009-01-06Forgot to add the unit tests, which probably don't work anymore with some of ↵Tim Almdal
the latest changes.
2009-01-06The Akismet driver. This will now verify the api key and attempt to check ↵Tim Almdal
the comment as spam. For some reason, it is always returning all comments as spam.
2009-01-06Add a catch around the call to the spam filter and if the spam filter check ↵Tim Almdal
fails set the comment state to unpublished.
2009-01-06Put up an error if you rename a user to an already existing name.Bharat Mediratta
2009-01-06Fix up all the various little forms to have submit buttons, fieldset ↵Bharat Mediratta
legends, etc etc.
2009-01-06Add a submit button to the login formBharat Mediratta
2009-01-06Merge in Forge from upstream r169 which converts Forge::submit() intoBharat Mediratta
an actual <input type="submit"> instead of a <button>.
2009-01-06Fix bad redirects; we only have feeds for albums not photosBharat Mediratta
2009-01-06add fileSize attribute to thumbnail/resize/full imagesBharat Mediratta
2009-01-06Wrap content in htmlspecialchars so that we don't break the RSS feedBharat Mediratta
2009-01-04Put up an error if you try to reuse an existing tag nameBharat Mediratta
2009-01-04Wrap div with another div instead of a paragraphChad Kieffer
2009-01-04Move slideshow link from sidebar_top() into the photo and album menus.Bharat Mediratta
2009-01-04Allow renaming of tags using a modal dialog. Put up a confirmationBharat Mediratta
dialog for deleting tags. Remove the 4 character restriction on tags (it was getting ignored by the add form anyway since it was mistakenly referred to as tag_name there).
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-04Simple admin tags interface.Bharat Mediratta
2009-01-04Update preambles.Bharat Mediratta
2009-01-04Rename views to be consistent with our admin view naming scheme.Bharat Mediratta
2009-01-04Remove unnecessary comments.Bharat Mediratta
2009-01-04Update description.Bharat Mediratta
2009-01-04Update description.Bharat Mediratta
2009-01-03Added a jump to comments button with a scroll to effect.Chad Kieffer
2009-01-03Added default user avatar. Comment thread updates, including display of ↵Chad Kieffer
avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
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-021) Removed the published boolean database fieldTim Almdal
2) Replaced it with a string field (state) which contains the state of the comment. i.e. published, unpublished, spam. Unsure if we want to create constants in comments.php to standardize the valid values... thoughts? 3) synchronized the spamfilter and comment unit tests with the current functionality
2009-01-02Remove old code that was commented outTim Almdal
2009-01-02Update the api to allow each driver to specify validation rules and generate ↵Tim Almdal
the appropriate form content. Add a callback so if the driver changes in the driver selection dropdown, then the api form fields are updated with the new form fields for that driver
2009-01-01Change the preamble for views in two ways:Bharat Mediratta
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
2008-12-31Ignore the SpamFilter.php as a valid spam filter.Tim Almdal
2008-12-31Mollon -> MollomBharat Mediratta
2008-12-31First look at the spam filter module. At this point, it does not connect to ↵Tim Almdal
any spam services. But you can go into the admin screen and choose the driver and set the api key.
2008-12-31Tabs to spaces.Chad Kieffer