/[drupal]/contributions/modules/votingapi/votingapi.install
ViewVC logotype

Log of /contributions/modules/votingapi/votingapi.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.21.4.11.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 1 07:26:12 2009 UTC (4 months, 3 weeks ago) by eaton
Branch: DRUPAL-7--2
Changes since 1.21.4.11: +2 -2 lines
Diff to previous 1.21.4.11
Initial pass at D7 cleanup and tweaking. Haven't yet touched the internal query builder; it's up next.

Revision 1.21.4.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 29 14:05:01 2009 UTC (4 months, 3 weeks ago) by eaton
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-1, DRUPAL-6--2-2, DRUPAL-6--2-3
Branch point for: DRUPAL-7--2
Changes since 1.21.4.10: +4 -13 lines
Diff to previous 1.21.4.10 , to branch point 1.21
Rolling back that update hook. The elimination of those indexes was unecessary, and for users without table prefixing, the drop happened without any problems. An additional drop index call would throw errors for *those* users, causing just as much confusion. I'll just suck it up and keep posting 'This doesn't hurt anything' in the issue queue.

Revision 1.21.4.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 26 14:17:39 2009 UTC (4 months, 4 weeks ago) by eaton
Branch: DRUPAL-6--2
Changes since 1.21.4.9: +12 -1 lines
Diff to previous 1.21.4.9 , to branch point 1.21
#490974 - a slightly bolder fix for the typo that want out with the 2.0 release. Wipe the indexes and recreate them again.

Revision 1.21.4.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 25 14:03:31 2009 UTC (4 months, 4 weeks ago) by eaton
Branch: DRUPAL-6--2
Changes since 1.21.4.8: +3 -3 lines
Diff to previous 1.21.4.8 , to branch point 1.21
#501720 - typo in update function prevented two indexes from being dropped.

Revision 1.21.4.8 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 26 03:50:00 2009 UTC (5 months, 4 weeks ago) by eaton
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0
Changes since 1.21.4.7: +52 -52 lines
Diff to previous 1.21.4.7 , to branch point 1.21
Random whitespace corrections, prepping for D7.

Revision 1.21.4.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 11 21:47:44 2009 UTC (9 months, 1 week ago) by eaton
Branch: DRUPAL-6--2
Changes since 1.21.4.6: +11 -3 lines
Diff to previous 1.21.4.6 , to branch point 1.21
#372393 - index tweaks by moshe and david strauss.

Revision 1.21.4.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 21:12:35 2008 UTC (13 months, 2 weeks ago) by eaton
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-RC2
Changes since 1.21.4.5: +111 -119 lines
Diff to previous 1.21.4.5 , to branch point 1.21
#318166, #317918, and #310327 - bug fixes and tweaks, and migrating older DB updates to SchemaAPI.

Revision 1.21.4.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 1 15:47:46 2008 UTC (13 months, 3 weeks ago) by eaton
Branch: DRUPAL-6--2
Changes since 1.21.4.4: +8 -4 lines
Diff to previous 1.21.4.4 , to branch point 1.21
#315364 - code style improvements and syntax tweaks by stella.

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.4.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 17 06:12:26 2008 UTC (22 months, 1 week ago) by eaton
Branch: DRUPAL-6--2
Changes since 1.21.4.2: +8 -7 lines
Diff to previous 1.21.4.2 , to branch point 1.21
Whoops. PHP syntax errors in the install file.

Revision 1.21.4.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 15 08:14:14 2008 UTC (22 months, 1 week ago) by eaton
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA1
Changes since 1.21.4.1: +29 -23 lines
Diff to previous 1.21.4.1 , to branch point 1.21
Fixing some old and moldy code in the votingapi update function from past schema_api revisions. Testing still needed on the updgrade path.

Revision 1.21.4.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 18 07:46:51 2007 UTC (2 years ago) by eaton
Branch: DRUPAL-6--2
Changes since 1.21: +41 -1 lines
Diff to previous 1.21
Further progress on VotingAPI 2. Cleaning up utility functions, unifying the param types, and so on.

Revision 1.20.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 9 01:15:20 2007 UTC (2 years, 4 months ago) by eaton
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-6
Changes since 1.20.2.4: +67 -33 lines
Diff to previous 1.20.2.4 , to branch point 1.20 , to next main 1.21
Argh. Rollback to a previous version of the module after an accidental HEAD commit to the DRUPAL-5 branch.

Revision 1.20.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 9 01:08:24 2007 UTC (2 years, 4 months ago) by eaton
Branch: DRUPAL-5
Changes since 1.20.2.3: +1 -1 lines
Diff to previous 1.20.2.3 , to branch point 1.20
Argh. Rollback to a previous version of the module after an accidental HEAD commit to the DRUPAL-5 branch.

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.20.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 4 07:03:16 2007 UTC (2 years, 4 months ago) by eaton
Branch: DRUPAL-5
Changes since 1.20.2.2: +33 -67 lines
Diff to previous 1.20.2.2 , to branch point 1.20
Initial Drupal 6 compatability release.

Revision 1.20.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 19 10:41:42 2007 UTC (2 years, 8 months ago) by eaton
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-3, DRUPAL-5--1-4, DRUPAL-5--1-5
Changes since 1.20.2.1: +10 -2 lines
Diff to previous 1.20.2.1 , to branch point 1.20
#87238 - error in PGSQL update. Thanks, jaydub

Revision 1.20.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 8 05:31:11 2007 UTC (2 years, 8 months ago) by eaton
Branch: DRUPAL-5
Changes since 1.20: +6 -1 lines
Diff to previous 1.20
First stab at the next round of updates, including votingapi_actions for 5.0.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 14 02:01:43 2006 UTC (3 years, 1 month ago) by eaton
Branch: MAIN
CVS Tags: DRUPAL-5--1-2
Branch point for: DRUPAL-5
Changes since 1.19: +33 -26 lines
Diff to previous 1.19
Hooray for Drupal 5. Views integration is no longer inherent to the module; votingapi_views.module will be coming shortly.

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.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 9 00:20:19 2006 UTC (3 years, 5 months ago) by eaton
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
Badly formed $Id$ tags weren't getting expanded.

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.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 2 17:08:15 2006 UTC (3 years, 6 months ago) by eaton
Branch: MAIN
Changes since 1.14: +21 -21 lines
Diff to previous 1.14
#61450 - some calls to db_query() had gone into the update functions. update_sql() now used instead.

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.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 22 17:11:30 2006 UTC (3 years, 7 months ago) by eaton
Branch: MAIN
Changes since 1.11: +6 -1 lines
Diff to previous 1.11
Minor fix to _update_5()

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 21 03:48:26 2006 UTC (3 years, 7 months ago) by eaton
Branch: MAIN
Changes since 1.10: +5 -0 lines
Diff to previous 1.10
*** empty log message ***

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 21 03:45:28 2006 UTC (3 years, 7 months ago) by eaton
Branch: MAIN
Changes since 1.9: +5 -3 lines
Diff to previous 1.9
*** empty log message ***

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 21 00:59:50 2006 UTC (3 years, 7 months ago) by eaton
Branch: MAIN
Changes since 1.8: +24 -9 lines
Diff to previous 1.8
#59678, #59676, #59637, #59636 -- assorted misc. issues. Thanks, markus_petrux!

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 7 04:07:02 2006 UTC (3 years, 7 months ago) by eaton
Branch: MAIN
Changes since 1.7: +2 -4 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 2 20:35:53 2006 UTC (3 years, 7 months ago) by eaton
Branch: MAIN
Changes since 1.6: +72 -1 lines
Diff to previous 1.6
*** empty log message ***

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.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 9 21:49:59 2006 UTC (3 years, 9 months ago) by eaton
Branch: MAIN
Changes since 1.2: +32 -0 lines
Diff to previous 1.2
Adding support for the _install hook. The tyranny of included .mysql files is behind us!

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 9 14:13:05 2006 UTC (3 years, 9 months ago) by eaton
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Whoops. Silly typo in the update script.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2