Age | Commit message (Collapse) | Author |
|
Add votes explicitly now that they are no longer an attribute in the
quotes.
|
|
By default, order by timestamp (= quote submit time). Remove ordering by
id.
|
|
ScorePoints is used to order by score on the quote site. See Quote for
the formula.
|
|
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.
|
|
|
|
ViewQuote displays a single quote.
|
|
|
|
|
|
|
|
User is not considered authenticated when there are 0 users, instead
this is treated as a special case for adding the first user only.
|
|
|
|
|
|
|
|
Based on submit.jsp and submitted.jsp from the old application.
|
|
The datastore refuses to generate id's for other fields than the primary
key. This is an easy fix.
|
|
|
|
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.
|
|
Saving the entire database in one request caused a timeout. Instead,
save one quote (plus its votes) per request.
|
|
Imports quotes and votes from an xml dump from mysql.
|
|
|
|
|
|
|