summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-04Code cleanup.Kjetil Ørbekk
Remove unused servlets. Remove unused imports.
2010-09-04Update ImportQuotes script.Kjetil Ørbekk
Add votes explicitly now that they are no longer an attribute in the quotes.
2010-09-04Improve ordering on the quote page.Kjetil Ørbekk
By default, order by timestamp (= quote submit time). Remove ordering by id.
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-03Add ViewQuote servlet.Kjetil Orbekk
ViewQuote displays a single quote.
2010-09-03Refactor quote formatting code.Kjetil Orbekk
2010-09-03Rename QuoteUtils to QuoteUtil for consistency.Kjetil Orbekk
2010-09-03Fix: Url to roflcopter.gifKjetil Orbekk
2010-09-03Change in Authentication.Kjetil Orbekk
User is not considered authenticated when there are 0 users, instead this is treated as a special case for adding the first user only.
2010-09-03Add datastore indexes fileKjetil Orbekk
2010-09-03Implement user administration.Kjetil Orbekk
2010-09-03Add approve functionality.Kjetil Orbekk
2010-09-03Only list approved quotes on frontpageKjetil Orbekk
2010-09-03Add quote submissionKjetil Orbekk
Based on submit.jsp and submitted.jsp from the old application.
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-03Quote listingKjetil Ørbekk
Ported the quotes.jsp page from the old quote system. This commit contains some utility classes related to this. DropData is a temporary hack to remove all data in the datastore. TODO: Remove this when we are finished migrating the application.
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-02Disable ViewQuotes servlet.Kjetil Ørbekk
2010-09-02Remove example file from the original templateKjetil Ørbekk
2010-09-02Begin import script.Kjetil Ørbekk
2010-09-02Add data classesKjetil Ørbekk
2010-09-02Framework for Lino QuotesKjetil Ørbekk