Log of /contributions/modules/votingapi/votingapi.install
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.21.4.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 9 00:54:19 2008 UTC
(19 months, 2 weeks ago)
by
eaton
Branch:
DRUPAL-6--2
CVS Tags:
DRUPAL-6--2-0-BETA-5,
DRUPAL-6--2-0-BETA2,
DRUPAL-6--2-0-BETA3,
DRUPAL-6--2-0-BETA4,
DRUPAL-6--2-0-BETA6,
DRUPAL-6--2-0-BETA7,
DRUPAL-6--2-0-RC1
Changes since
1.21.4.3: +14 -11 lines
Diff to
previous 1.21.4.3
, to
branch point 1.21
Several important bug fixes for the D6 version of VotingAPI. #223517, #232233, #232236, and #235174 fixed thanks to patches posted by quicksketch and sammys. Also checked in an initial stub file for views2 integration, removing the old hook_init() code since Views2 handles pulling the inc files in itself.
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 6 03:02:34 2007 UTC
(2 years, 4 months ago)
by
eaton
Branch:
MAIN
CVS Tags:
HEAD
Branch point for:
DRUPAL-6--1,
DRUPAL-6--2
Changes since
1.20: +47 -68 lines
Diff to
previous 1.20
Early stab at VotingAPI for Drupal 6 -- HEAD is the proper place for it, not the mistaken DRUPAL-5 branch checking made earlier. This branch will be moved to the appropriate D6 branch when related issues are sorted out.
Revision
1.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 10 04:38:00 2006 UTC
(3 years, 5 months ago)
by
eaton
Branch:
MAIN
CVS Tags:
DRUPAL-4-7--1-1
Branch point for:
DRUPAL-4-7
Changes since
1.18: +3 -2 lines
Diff to
previous 1.18
Fixes for a silly error in the install file's update_9(), a minor fix in votingapi_actions.module, and the addition of votingapi_debug.module for developers. It offers a skeleton implementation of each VotingAPI hook, and when enabled, prints drupal_set_message() information each time a hook is called. It's spammy, but it can be helpful if you're new to VotingAPI and are trying to learn the module's internal workflow.
Revision
1.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 9 00:15:01 2006 UTC
(3 years, 5 months ago)
by
eaton
Branch:
MAIN
Changes since
1.16: +7 -0 lines
Diff to
previous 1.16
As it turns out, my modules are the only ones that used hook_votingapi() directly. I've removed it in favor of the discrete hooks; SimpleVote and nmoderation will follow.
Also, added support for taxonomy terms in the internal _votingapi_load_content() function.
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri May 5 04:54:39 2006 UTC
(3 years, 6 months ago)
by
eaton
Branch:
MAIN
Changes since
1.15: +8 -1 lines
Diff to
previous 1.15
Internal function changes and assorted updates. A minor schema fix, and a VERY basic support for editing action sets via copy/paste.
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 2 04:25:19 2006 UTC
(3 years, 6 months ago)
by
eaton
Branch:
MAIN
Changes since
1.13: +50 -13 lines
Diff to
previous 1.13
The action loading and caching infrastructure has been made much more robust, and CRUD functions are in place for reading and writing user-created actions.
voting_actions.module has now been added to facilitate direct user manipulation of action criteria, etc. It's the part that's still heavily under development. In many installations, it'll be unecessary.
The votingapi_delete_vote() function no longer automatically recalculates. Modules using it should call recalculate manually after explicitly removing a vote.
Those needing a consistent, stable VotingAPI should probably still stick with the 4.7 branch. This version will be branched as soon as the issues are ironed out.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 29 17:19:26 2006 UTC
(3 years, 6 months ago)
by
eaton
Branch:
MAIN
Changes since
1.12: +18 -11 lines
Diff to
previous 1.12
More work on streamlining the actions system, and the beginnings of a UI for managing module-supplied voting action sets.
Also, a new setting has been introduced -- vote result calculation can be deferred until cron-time. This can be useful on heavy-load sites where MANY votes are being cast and complex, db-intensive calculations are used to weight the results.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Mar 12 18:10:20 2006 UTC
(3 years, 8 months ago)
by
eaton
Branch:
MAIN
Changes since
1.5: +2 -3 lines
Diff to
previous 1.5
Lots of small but important fixes, courtesy dado. Thanks!
#53512 - Vote and cache values correctly inserted as floats. (%f is your friend)
#53499 - Incorrect use of %s in a query.
#50748 - Added votingapi_get_vote_by_id($vote_id) for specific retrieval
#53187 - deleting an individual vote now updates the cache, even if only the vote id is passed in.
Also, fixed the .install file to support prefixed tables. Thanks, Bart Jansens!
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 24 05:12:52 2006 UTC
(3 years, 9 months ago)
by
eaton
Branch:
MAIN
Changes since
1.4: +13 -4 lines
Diff to
previous 1.4
Added indexes to content_type and content_id fields, cleaned up some unecessarily long bits with the aggregate functions, and made the format $ops return sensible default values if no modules handle them.
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 24 04:21:36 2006 UTC
(3 years, 9 months ago)
by
eaton
Branch:
MAIN
Changes since
1.3: +27 -2 lines
Diff to
previous 1.3
Important commit -- the data type of the value_type field has been changed to accomodate a wider range of voting systems, especially in situations when several are used on one site.
If you're using the latest 4.7 cvs, hit your site's update.php, and run the VotingAPI updates. All existing table data will be converted automatically.
A new votingapi $op is now available as well, allowing modules to format their own data for use in tables, etc. See SimpleVote module for an example.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Feb 9 06:19:04 2006 UTC
(3 years, 9 months ago)
by
eaton
Branch:
MAIN
Misc. bug fixes, .install file now included, value field now signed to allow for negative vote values
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.