summaryrefslogtreecommitdiff
path: root/src/lq/Quote.java
AgeCommit message (Collapse)Author
2010-09-04Print header in ViewQuoteKjetil Ørbekk
2010-09-04Code cleanup.Kjetil Ørbekk
Remove unused servlets. Remove unused imports.
2010-09-04Add scorePoints to Quotes.Kjetil Ørbekk
ScorePoints is used to order by score on the quote site. See Quote for the formula.
2010-09-04store sum and number of votes in each quoteJohn H. Anthony
This seems to improve the response time. We don't store a list of votes for each quote, which mean we don't have to retrieve every vote when we get the list of quotes. The only time we need to access the vote table is when we add a new vote.
2010-09-04Don't delete administrators in /dropdbKjetil Ørbekk
2010-09-03Use Long id instead of Key as Quote's primary keyKjetil Orbekk
The datastore refuses to generate id's for other fields than the primary key. This is an easy fix.
2010-09-03Minor improvements to the data objectsKjetil Ørbekk
2010-09-03Make ImportQuote work on AppEngine.Kjetil Ørbekk
Saving the entire database in one request caused a timeout. Instead, save one quote (plus its votes) per request.
2010-09-02Add ImportQuotes script.Kjetil Ørbekk
Imports quotes and votes from an xml dump from mysql.
2010-09-02Add data classesKjetil Ørbekk