added a karma ranking system to cs threads for conducting popularity contests
This commit is contained in:
parent
0400beba05
commit
f2b2832524
9 changed files with 133 additions and 6 deletions
|
|
@ -42,12 +42,16 @@
|
|||
- [ 1433525 ] 6.9: Compilation errors
|
||||
- base36 removed from Utility.t because it no longer exists in WebGUI::Utility.pm
|
||||
- Add tests that verify the integrity of the WebGUI Database.
|
||||
- Added a karma ranking system to CS threads for conducting popularity
|
||||
contests.
|
||||
|
||||
6.8.8
|
||||
- fix [ 1437186 ] 6.8.7 deploy DataForm package does not copy fields
|
||||
- fix [ 1437563 ] Data picker intermittent for Admin
|
||||
- fix broken link to top of CS Assets configured as FAQs
|
||||
- fix [ 1437977 ] richeditor selectbox options not versioned, trashed appear
|
||||
- fixed a bug in the rich editor where the page chooser didn't have scroll
|
||||
bars
|
||||
|
||||
6.8.7
|
||||
- fix [ 1431098 ] op=becomeUser can become non-existent userIds
|
||||
|
|
|
|||
|
|
@ -39,6 +39,15 @@ addDatabaseCache();
|
|||
|
||||
finish($session); # this line required
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addCsPopularityContest {
|
||||
print "\tAdding collaboration system popularity system based upon karma.\n";
|
||||
$session->db->write("alter table Collaboration add column defaultKarmaScale integer not null default 1");
|
||||
$session->db->write("alter table Thread add column karma integer not null default 0");
|
||||
$session->db->write("alter table Thread add column karmaScale integer not null default 1");
|
||||
$session->db->write("alter table Thread add column karmaRank decimal(5,6) not null default 0");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addDatabaseCache {
|
||||
print "\tAdding database cache.\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue