Downloads

Download gravatar-6.x-1.5.tar.gztar.gz 16.3 KB
MD5: dbcb72181de4d0c69b8e17476c937995
SHA-1: 97270c10a91026d713f9f4f538eed5e52426fc56
SHA-256: 7333ec9109c9ca79fae5dcad35b9b935e2dc56f744afafc558631c13731eefc3
Download gravatar-6.x-1.5.zipzip 19 KB
MD5: e18bf2b594f2693994835068b9e538f2
SHA-1: ac71db661ce6d905303f282e4ee1e32107bde9ae
SHA-256: 93c2871b24be364627edeea28ecbdc1416fca20b24dc812c59de72c61004b271

Release notes

- #255375 by Dave Reid: fix Gravatar default picture url if default user picture is a relative url
- Coding standard fixes (no trailing spaces or blank lines with spaces) and bringing core hooks in line with core standards
- Removing package detail from .info file. Since we're not a huge module-set like Views, CCK, etc., Gravatar should not specify a module package.
- Followup for #255375: Don't use url() to create absolute url for default user picture.
- Don't validate e-mail in _gravatar_get_gravatar. It is unnecessary since e-mails are already validated before they get to this function call.
- Simplify admin settings, collapse into one settings page. Merge gravatar_imagedefault and gravatar_default_type setting.
- Coding style cleanups (we now pass all Coder checks! yay!)
- Removed constant GRAVATAR_SERVICEURL. Best used a variable.
- Major simplification to gravatar_get_gravatar()
- Removed _gravatar_translate_type and added _gravatar_get_default_image() for better code re-use
- Major overhaul to gravatar_preprocess_user_picture
- Remove '0' option from maturity filter option.
- Replace variable_get calls with gravatar_var.
- Fix discrepancy between gravatar_displayrating and gravatar_imagerating
- Change default display rating to 'G' (same as Gravatar.com)
- Change default image size to 80 (same as Gravatar.com)
- Improve hook_help and remove unnecessary _gravatar_check_required function.
- Allow default user picture to show if user does not have the 'use gravatar' permission.
- Refactor default user picture shrinking to a rescale. This method is still so so bad and we need to figure out if we want to just resize the default user picture.
- Added $default parameter to gravatar_var function
- Basic cache implementation (not yet working, just ready to use)
- Use constants for default image types since we have six of them
- Add _gravatar_get_size function
- Complete rewrite of _gravatar_get_default_image function to help integrate the default image options
- Renamed gravatar_displaysize variable to gravatar_size (reduce complexity)
- Renamed gravatar_imagedefault variable to gravatar_default (reduce complexity)
- Checkbox options don't need the FAPI #options defined
- Added 'user pictures size' option to the gravatar_size option
- Complete revision of gravatar_imagedefault option with default image preview (and new gravatar.js file)
- README.txt rewrite
- Revised fix for #255375: [function.getimagesize]: URL file-access is disabled in the server configuration by TheRec: use valid_url() to determine of global user picture is an absolute path and correct if not
- Added an even better default image preview in admin/user/gravatar that degrades nicely with no JavaScript
- Initial commit of gravatar.css (used to hide picture previews in admin/user/gravatar)
- Added 'How Can I Contribute' section to README.txt
- Initial commit of Gravatar unit tests. They're empty for now, but will be filled as I go along.
- Removed the gravatar_toggle variable. If you want to disable Gravatar, you can disable the module. You won't lose any data.
- Split the gravatar_form_alter into gravatar_form_FORM_ID_alter()s for performance and simplicity.
- Fix undefined index on user edit form.
- Fix undefined index on comment form when editing an existing comment.
- Reworked gravatar_disabled_by_users setting into a new 'can disable own gravatar' permission. Simplified logic even more.
- Reworked user account form (removing alternate e-mail setting for now).
- Moved all the settings checks into gravatar_requirements in gravatar.install. Can be reused and is now shown in the system status report page!

Created by: Dave Reid
Created on: 16 Dec 2008 at 02:02 UTC
Last updated: 16 Dec 2008 at 02:02 UTC
New features

Other releases