| /[drupal]/contributions/modules/fivestar/fivestar.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
Consistently using the word "Fivestar" to refer to the module instead of "Five Star" or "fivestar".
Updating PHPdoc throughout fivestar.module file.
bug #594062 by ezra-g and j0sh: Division by zero in fivestar.module on line 1398
feature #594508 by Shawn DeArmond: Make fivestar_views_value_text_handler() obey Views round field option
bug #510268 by eaton: Missing vote tag under Views relationships
bug #594062 by ezra-g and j0sh: Division by zero in fivestar.module on line 1398
feature #594508 by Shawn DeArmond: Make fivestar_views_value_text_handler() obey Views Round field option
task #510268 by eaton: Missing vote tag under Views relationships
#510518: Followup, enabling validation of target.
#510518 by kidrobot: Only saving a single vote as UID 1.
#466058: Exclude Fivestar from RSS feeds.
#466058: Exclude Fivestar from RSS feeds.
#421800: Show Number of Stars instead of Percentage in Views.
#421800: Show Number of Stars instead of Percentage in Views.
#410154: Performance improvement. Do not retreive the user's vote unnecessarily if displaying an average only.
#410154: Performance improvement. Do not retreive the user's vote unnecessarily if displaying an average only.
#194185: Remove all manual ID placement, since D6 handles this for us.
#194185: Remove all manual ID placement, since D6 handles this for us.
#483458: Average vote shown in Views, even when displaying user's vote.
#483458: Average vote shown in Views, even when displaying user's vote.
#482088: Vote average not calculated and returned properly when canceling votes.
Making some small corrections to variable names in fivestar_validate_target.
#480050: fivestar_validate_target was not called in nodeapi view.
#480050: fivestar_validate_target was not called in nodeapi view.
#480050: fivestar_validate_target was not called in nodeapi view.
#322087: Exclude Fivestar widget from search results.
#322087: Exclude Fivestar widget from search results.
#450330: Fiverstar_static doesn't show average count.
#480050 by birwel: fivestar_validate_target was not called in nodeapi view.
#480050 by birwel: fivestar_validate_target was not called in nodeapi view.
#481640: Allow anonymous users to vote when the page cache is enabled.
#481640: Allow anonymous users to vote when the page cache is enabled.
#481640: Allow anonymous users to vote when the page cache is enabled.
#503142 by RSTaylor: Set the tag to 'vote' within Views.
#461804: Removing debugging function.
#326436 and #317317: Switch to fivestar_get_settings() for variable retrieval.
File restructuring, moving includes to separate directory.
#317317: by sped2773 and davidc: Rate on multiple axis with admin UI.
Cleaning up notices on admin/settings/fivestar.
Merging in 6--1 branch to HEAD for 2.x version
Fixing minor notice.
#449402: Duplicate IDs for the auto-submit-path hidden elements.
#449402: Duplicate IDs for the auto-submit-path hidden elements.
#449358: Call to undefined function t().
Adding token validation to AJAX-based voting.
Adding token validation to AJAX-based voting.
#364764: Unconditionally load Fivestar JS and CSS for all pages to make Fivestar work on the Views admin pages, in AJAX loads, and with the block cache.
#364764: Unconditionally load Fivestar JS and CSS for all pages to make Fivestar work on the Views admin pages, in AJAX loads, and with the block cache.
#332695: Make CCK field rating independent of node form settings.
#430606: Rating values should default to 0 instead of NULL to ensure description text is output correctly.
#430606: Rating values should default to 0 instead of NULL to ensure description text is output correctly.
#406572: Don't translate brackets in <hidden> and <none> strings.
#406572: Don't translate brackets in <hidden> and <none> strings.
#310342: Default rating Labels weren't passed through t().
#310342: Default rating Labels weren't passed through t().
#322087 by chawl: Exclude Fivestar from search index.
#352039 by Arancaytar: Class name typo.
#280735. Add support for other content types besides 'node'.
#280735. Add support for other content types besides 'node'.
#252914. Check "rate content" permission in views.
#252914. Check "rate content" permission in views.
#262415. Add hostname to query when deleting content by anonymous users.
#315211 by catch. Minor code-style improvements as recommended by Coder.
#315211 by catch. Minor code-style improvements as recommended by Coder.
#315214 by catch. Code style cleanup.
#315214 by catch. Code style cleanup.
#315264 by catch. Typo in validate and submit function names.
#315264 by catch. Typo in validate and submit function names.
#313746. Rating not saved in Fivestar Views Widgets.
#269531. Insert all CSS on admin/settings/fivestar as a single <style> declaration to prevent hitting the 30 style tag limit in IE. Big thanks to dropchew for finding the cause of this bug.
#269531. Insert all CSS on admin/settings/fivestar as a single <style> declaration to prevent hitting the 30 style tag limit in IE. Big thanks to dropchew for finding the cause of this bug.
#185074. Enable multi-axis rating.
#185074. Enable multi-axis rating.
#303018 by Slanj. Correct usage of format_plural.
#303018 by Slanj. Correct usage of format_plural.
#294870 by vladimir.dolgopolov. 'combo' used when 'dual' should be used for variable fivestar_text_xxx.
#294870 by vladimir.dolgopolov. 'combo' used when 'dual' should be used for variable fivestar_text_xxx.
#297827 by andrewlevine. Ajax display of average rating does not work when tallying on cron.
#293258 by vladimir.dolgopolov. Required rating does not work with comments.
#290782 by webchick. Better text than last commit.
#290782 by webchick. Better text than last commit.
#290782 by webchick. Add description to settings menu item.
#290782 by webchick. Add description to settings menu item.
#285783. Fivestar weight set inproperly if the user does not have rating access.
#285783. Fivestar weight set inproperly if the user does not have rating access.
#266039. Anonymous users can only rate once.
#274971 by eaton. Updating Views support to match new VotingAPI changes.
Moving comment support to a separate module.
Moving comment support to a separate module.
#253353. Error in teaser link title.
#253353. Error in teaser link title.
#250804. Preview of custom color widget disappears on certain server configurations.
#250804. Preview of custom color widget disappears on certain server configurations.
#252191. Fivestar_comment.inc file sometimes missing when installing Fivestar.
#252191. Fivestar_comment.inc file sometimes missing when installing Fivestar.
#249547. Deleting a comment does not delete the attached vote.
#234296. Inconsistent rating display position (teaser and full node display) when anonymous user is not allowed to vote.
#234296. Inconsistent rating display position (teaser and full node display) when anonymous user is not allowed to vote.
Fixing PHP Notices, adding more consistency with D6 version.
#232108. Upgrading Fivestar's CCK support to Drupal 6.
#241176. Notice cleanup. Better functionality for dual star display feedback text.
#241176. Notice cleanup. Better functionality for dual star display feedback text.
#228329 by davej. Do not include Fivestar widget on Modr8 pages.
#228329 by davej. Do not include Fivestar widget on Modr8 pages.
#203286 by chip. Add a "rate" link to node teaser.
#203286 by chip. Add a "rate" link to node teaser.
#244735 by bdragon. Menu item from votingapi accidentally duplicated.
#211526. Putting mouseover label underneath user voting widget when using the combo stars widget. Change functionality of #227527, displaying confirmation text over the current summary rather than a separate line.
#211526. Putting mouseover label underneath user voting widget when using the combo stars widget. Change functionality of #227527, displaying confirmation text over the current summary rather than a separate line.
#239876. Always getting 'No votes yet' after voting.
#221076 by mpaler. Deleting a vote should run through votingapi_delete_vote($vote).
#239876. Returning complete voting results when making ajax submissions.
Improving UI for color picker, fixing missing image problem caused by file rearrangement.
Improving UI for color picker, fixing missing image problem caused by file rearrangement.
#236681. Add support for RTL languages. File rearrangement.
#236681. Add support for RTL languages. File rearrangement.
#227527 by bartekg. Confirmation message after the user has voted. Thanks!
#227527 by bartekg. Confirmation message after the user has voted. Thanks!
Minor code cleanup, replacing a tab with 2 spaces and string concatenation spacing.
Minor code cleanup, replacing a tab with 2 spaces and string concatenation spacing.
Removed one too many & signs in last patch.
Removed one too many & signs in last patch.
#233765. Call-time pass-by-reference removed.
#233765. Call-time pass-by-reference removed.
#232127. Add a color picker to Fivestar with 2 new star sets. Woot! Cleanup of older widgets and screenshots.
#232127. Add a color picker to Fivestar with 2 new star sets. Woot! Cleanup of older widgets and screenshots.
Adding ID to destination form item to prevent duplicates.
Adding ID to destination form item to prevent duplicates.
#209840. Voting form input/select id doesn't match the label's "for" field.
#209840. Voting form input/select id doesn't match the label's "for" field.
#212747. Anonymous votes not removed from total when comments with ratings are deleted.
#212747. Anonymous votes not removed from total when comments with ratings are deleted.
#226414. Show an empty fivestar widget in views if a node has not received any votes. Add dynamic rating form to views.
#226414. Show an empty fivestar widget in views if a node has not received any votes. Add dynamic rating form to views.
#223515 by moofie. Adding missing parathesis that were accidentally removed.
#223515 by moofie. Adding missing parathesis that were accidentally removed.
Splitting fivestar.css into 2 files so that admin css is separated. This makes it easier to completely override the fivestar.css file in Drupal 6.
Splitting fivestar.css into 2 files so that admin css is separated. This makes it easier to completely override the fivestar.css file in Drupal 6.
#223515 by bgola. Format_plural() correction for proper localization.
#223515 by bgola. Format_plural() correction for proper localization.
#202057. Fixing dynamic title of fivestar widget in Drupal 5.5+ and Drupal 6.
#202057. Fixing dynamic title of fivestar widget in Drupal 5.5+ and Drupal 6.
Removing form_build_id from javascript previews on node content type forms.
Tiny comment change in hook_menu.
#219108. A few small fixes for Drupal 6.
#224660. Removing call by reference at call-time.
#221168 by Arancaytar. Use $node->build_mode instead of $node->in_preview.
#220009 by mroswell. Small typos in settings page.
#220009 by mroswell. Small typos in settings page.
#144942. Show static rating form for users that are now allowed to vote.
#144942. Show static rating form for users that are now allowed to vote.
#211519. On submission content type form redirects you to a JSON string.
Correcting fivestar previews at admin/settings/fivestar. Change needed to compensate for D6 "bug" http://drupal.org/node/211015.
#203723. Non-js version submissions redirect to homepage.
#203723. Non-js version submissions redirect to homepage.
Clarifying implementation of hook_forms() using new arguments.
Now a fully functional version of Fivestar for Drupal 6. Note that bugs need to be fixed in VotingAPI 2 for full functionality: http://drupal.org/node/209987.
Initial stab at upgrading to D6. All coder.module errors corrected. Settings are saved and form_alter() works correctly. Fivestar widget cannot yet be displayed.
Code style cleanup.
Code style cleanup.
Updating HEAD with latest D5 copy for starting D6 port
Properly canceling votes when using the user or combo display. Adding -first and -last classes to stars to allow for more customization.
#203723. Adding messages and updating votes without a second reload when using non-javascript version of form submission.
Adding option to HTML select list for 'Select rating' that properly triggers form errors if the field is required.
Round the default values to the closest star value.
Interface improvements, CSS tweaks and displaying only one 'marked' message at a time to prevent them from overlapping each other.
#203174. Widget height changes when label is missing in mouse hover effect.
#203141. Unsupported operand types error. Fixing by setting proper parents on the CCK fields.
#203030. Fixing positioning of static display in teaser.
#203141. Unsupported operand types error caused by update in VotingAPI (I believe).
#203151. Correcting problems with the rollover display of status text.
Restoring compatibility with jQuery 1.0.4 (D5 stock).
Removing debugging code. Consolidating new javascript additions to fivestar_add_js() function.
#202057. Widget titles are now updated to reflect the current display of stars.
#137193 continued. Adding custom label support to the cancel option.
Javascript code cleanup. Content type forms no longer unnecessarily update the previews on initial page load.
#137193 continued. Adding support for disabling the hover effect on mouse over.
#137193. In progress work for adding custom roll-over text for each star. Rollovers work and can be configured through the content type form. However, the option to *disable* rollovers still needs to be written.
Minor form/css change moving the fivestar-summary outside of form elements.
#135377 Vote requires page refresh to update count/average (2 star set). #198189 Let teaser view display static widget only. Updates to the form structure of the voting widget.
Converting the fivestar HTML form item from radio buttons to a select list. This creates a more compact display with better labeling and should open the door for #137193 (Dynamic Fivestar Star Descriptions on Mouseover). This also fixes #194185. Duplicate IDs cause validation errors.
#193133. Duplicate <form> tags, form_token, and form_id elements prevented successful form submission of the content type form.
#154544. Fivestar display in views was always 5 stars regardless of node type settings.
Simplifying fivestar_form() function by removing unused $style parameter. Use fivestar_custom_widget() instead. Clarified fivestar drop downs on admin page.
Disabling fivestar options when the the enable checkbox is not selected.
Adding checkbox to toggle widget title. If Fivestar is disabled for a content type, all settings are now cleared to prevent database clutter.
Splitting star display style from text display style.
Adding simple nodecomment module support to the CCK field configuration. Correcting bug where CCK ratings of type 'vote' would not work if the axis field was left blank.
Adding support for comment-based reviews. Added .install file and added database table for storing comment ratings. Implemented hook_uninstall and hook_node_type to better clean-up data.
Major commit including previews for the Fivestar while configuring a content type. Preparing to add comment support to the form.
Signficant update allowing for many more options in choosing the behavior of the Fivestar widget. The stars can be set to an average by default, use an average only if the user has not voted, and descriptive text can include both user rating and average.
#183583 by henrrrik. Improved accessibility by addition of form labels to each radio button. Thanks!
#187103 by ARDAS. Better handling of hostname when using X_HTTP_FORWARDED_FOR. Thanks!
#187105. Adding support for configurable anonymous rating intervals, including immediately and never.
#126681 by ezra. Multiple axis voting via the CCK widget. Thanks!
#152758 by danielnolde. Invalid node_load when previewing node form on new node with fivestar widget.
#177549 by henrrick. The string "Fivestar Settings" isn't run through t(). Thanks!
#150679 by chellman. Add a 'Rate this' block for rating the current node.
Cleaning up javascript code addition and comments.
Extending method for adding javascript to CCK widget version of Fivestar.
Switching addition of javascript from using drupal_get_js() to using static variables. This prevents a bug where jquery.js would not be added to the page.
Correcting typo in comments.
Adding classes 'star-even' and 'star-odd', as well as star-# to each star element to allow for crazy css theming. #159756.
Removing 'view ratings' permission which is currently not implemented. See #144942 for feature request.
Removing t() from arguments passed into format_plural. #166138. Thanks fajerstarter!
Moving fivestar settings outside of workflow fieldset. #162394. Thanks fajerstarter!
Adding settings page for Fivestar, now with configurable star sets! Other modules may implement hook_fivestar_widgets() to add more star sets, or contribute them directly to the fivestar project.
Moving javascript additions to the _expand() function to make sure that javascript is included when using #type = 'fivestar' out in the wild. #128757.
Returning correct XML when votes are cancelled. #153427.
Display of 1/5 stars incorrect. #134101 by Crashtest. Thanks!
Switching text/xml header to using drupal_set_header.
Keep $current_vote as an object, variable consistency. #127530 by my700. Thanks!
Combined patches from #110758 and #132666. Makes fivestar handle ajax requests correctly in IE and Opera. Thankyou thankyou thankyou to jonathan_hunt and mr700.
Don't set fivestar to on by default. #125303 by m3avrck. Thanks!
Restoring partial star display in static widget. Adding clearing to static display widget.
Adding ability give each node type a custom number of stars.
Removing the dedicated fivestar views implementation and exposing a formatter for the new votingapi-wide views integration to use. Be sure to update to VotingAPI 1.3.
Fixing a handful of assorted issues, including typos and code comments.
Quite a few fixes. Fivestar now dynamically updates the average rating in the default display mode, has more display options, and is smarter about when to load its CSS and include files.
Whoops. Left in a bogus variable check.
Some cleanup for the static theming function, and support for richer display of information. Still in progress, will be rolled into the next version.
Byte order mark was left at the beginning of the module, leading to innumerable baffling errors.
#104664 -- correctly render fractional stars in static mode
Moved per-node-type configuration options to the content type edit screen, fixed several node submission errors related to hook_forms(), and added per-node-type positioning support for the widget. (Above content, below content, or 'invisible, displayed by the theme').
Initial commit of the Five Star voting module for Drupal 5. Supports spiffy AJAX voting on nodes, working integration with views.module, and a CCK field version for tight coupling with node data. Also degrades cleanly to a set of radio buttons when Javascript is disabled.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |