User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:issue_voting_requirements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mantisbt:issue_voting_requirements [2008/03/02 01:22] – general progress update cornchipsmantisbt:issue_voting_requirements [2011/11/16 07:39] (current) – The page rendering was broken (maybe since new PHP version on mantisbt.org). Added new line to fix it at end of file. atrol
Line 30: Line 30:
  
   * The view issues page should allow users to vote positively or negatively.  Also if users have already voted before and the issue is not resolved, then they can remove their vote. (DONE)   * The view issues page should allow users to vote positively or negatively.  Also if users have already voted before and the issue is not resolved, then they can remove their vote. (DONE)
-  * Display the total number of positive / negative votes (kind of thumbs-up / thumbs-down counters) +  * Display the total number of positive / negative votes (kind of thumbs-up / thumbs-down counters) (DONE
-  * The list of users who voted positively or negatively are listed in the same way users monitoring the issue are listed.+  * The list of users who voted positively or negatively are listed in the same way users monitoring the issue are listed. (DONE)
  
 ===== The Act of Voting ===== ===== The Act of Voting =====
Line 39: Line 39:
   * Add a record in the votes table. (DONE)   * Add a record in the votes table. (DONE)
   * Update overall counters on the issue. (DONE)   * Update overall counters on the issue. (DONE)
-  * <del>DO NOT</del> Update issue last updated timestamp.  If necessary we can make this behavior configurable.+  * <del>DO NOT</del> Update issue last updated timestamp.  If necessary we can make this behavior configurable. (DONE)
   * Update Issue History (DONE)   * Update Issue History (DONE)
  
Line 51: Line 51:
     * vote_delete_user_votes( $p_user_id ); (DONE)     * vote_delete_user_votes( $p_user_id ); (DONE)
     * vote_get_issue_votes( $p_issue_id ) - returns an array of user ids, weight. (DONE)     * vote_get_issue_votes( $p_issue_id ) - returns an array of user ids, weight. (DONE)
-    * vote_is_enabled( $p_project_id = ALL_PROJECTS ) +    * vote_is_enabled( $p_project_id = ALL_PROJECTS )  (DONE
-    * vote_can_vote( $p_issue_id, $p_user_id = null ) +    * vote_can_vote( $p_issue_id, $p_user_id = null )  (DONE
-    * vote_can_view_vote_details( $p_issue_id, $p_user_id = null )+    * vote_can_view_vote_details( $p_issue_id, $p_user_id = null )  (DONE)
   * Deleting an issue should delete all associated votes. (DUPE)   * Deleting an issue should delete all associated votes. (DUPE)
   * Deleting a user should delete all associated votes. (DUPE)   * Deleting a user should delete all associated votes. (DUPE)
Line 59: Line 59:
 ===== View Issues, CSV, Print Issues ===== ===== View Issues, CSV, Print Issues =====
  
-Add support to the View Issues, CSV export and Print Issues page to be able to include the following columns:+Add support to the View Issues, CSV export and Print Issues page to be able to include the following columns:  (DONE)
  
     * votes_balance     * votes_balance
Line 67: Line 67:
 ===== Filter ===== ===== Filter =====
  
-  * Users should be able to filter on issues they have voted on (similar to issues that have monitored).+  * Users should be able to filter on issues they have voted on (similar to issues that have monitored). (DONE)
  
 ===== Email Notifications ===== ===== Email Notifications =====
Line 109: Line 109:
  
 2008-03-01 Cornchips - I'm working on this feature now, and will work towards getting a version running that includes everything on this page except the future ideas. I'm about 40% of the way through making this feature, and will pickup the work again next weekend. 2008-03-01 Cornchips - I'm working on this feature now, and will work towards getting a version running that includes everything on this page except the future ideas. I'm about 40% of the way through making this feature, and will pickup the work again next weekend.
 +
 +2008-03-15 Cornchips - Getting close to feature complete, Havn't looked at the filter or email notifications yet - but should get to them tomorrow. Most code is documented according to mantis standards however I will go back through the code and review this.
 +
 +2008-03-16 Cornchips - Got really bogged down in the filter api today going around in circles trying to find why the filter selection is being stripped out. Have posted to dev mailing list for assistance.
 +
 +2008-03-30 Cornchips - Life has been keeping me busy but managed to debug and complete the filtering system. view_all_set.php had been tripping me up before. Currently aiming to submit my patch for this feature on or before april 6th.
 +
 +2008-04-06 Cornchips - I've just added my patch for svn r5156 (available at http://www.mantisbt.org/bugs/view.php?id=668 ). However i still need to cleanup the code  to match the mantis coding guidelines. All basic features are complete, and there is also a credit system based on user access level. I would also still like to add a 'my votes' view similar to the my sponsors view, as well as a brainstorming view like the facebook/uservoice/ubuntu examples mentioned above. So, consider this an 'alpha' version if you like. I should have further time this week to complete the features mentioned above.
 +
mantisbt/issue_voting_requirements.1204438977.txt.gz · Last modified: 2008/10/29 04:31 (external edit)

Driven by DokuWiki