Changed trophy logic to use Database

Review Request #3905 - Created Feb. 23, 2013 and discarded

Hiroki GOHARA
Review Board
master
reviewboard
Changed trophy logic to use Database

Made "TrophyManager" class and "compute_trophies" method.
Add the TrophyManager to Trophy model.
Create "iftrophy" at reviews/templatatags.py
In the method pull trophy data from database.


Implemented handling of many trophies.

Made abstract Trophy at reviewboard/accounts/managers.py.
Made 2 inheritance class(milestone, palindrome) from abstract.
Changed iftrophy method to send trophy_list data.
Changed trophy_box to use loop for trophy_list
Created unit tests and execute it.
  • 0
  • 0
  • 72
  • 12
  • 84
Description From Last Updated
Review Bot
Hiroki GOHARA
Review Bot
Hiroki GOHARA
Review Bot
Hiroki GOHARA
Hiroki GOHARA
Review Bot
Mike Conley
Hiroki GOHARA
Review Bot
Hiroki GOHARA
Review Bot
Hiroki GOHARA
Review Bot
Hiroki GOHARA
Review Bot
Mike Conley
Hiroki GOHARA
Review Bot
Hiroki GOHARA
Review Bot
Christian Hammond
Hiroki GOHARA
Review Bot
Mike Conley
Hiroki GOHARA
Review Bot
Mike Conley
Hiroki GOHARA
Review Bot
Mike Conley
Hiroki GOHARA
Review request changed

Status: Discarded

Loading...