Commit Graph

16 Commits

Author SHA1 Message Date
Gergely Polonkai
925ed0bb0d Remove WordTranslation model
This seems to cause more trouble than not. We may re-add it with
different concepts
2015-11-27 16:25:21 +01:00
Gergely Polonkai
3c0882df07 Add User.successful_words()
It lists all the words the user has successfully uploaded work for
2015-11-27 15:56:29 +01:00
Gergely Polonkai
65019fd713 Add User.failed_words()
It lists all the words the user has failed to upload work for
2015-11-27 15:50:43 +01:00
Gergely Polonkai
3da4b39860 Move override_settings from function to class level 2015-11-27 15:49:13 +01:00
Gergely Polonkai
e71eb45260 Add Draw.successful()
It can decide if the given draw was successful:

* The word is accepted
* Work was submitted for the word
* The work was submitted on time
2015-11-27 14:59:36 +01:00
Gergely Polonkai
51035af3d0 Encodig fix in apps.py 2015-11-27 14:54:28 +01:00
Gergely Polonkai
2f1c8e5850 Extend draw_word() so it tries to draw a new one
If the last word is rejected by the user, draw_word() tries to draw a
new one now.
2015-11-27 14:50:20 +01:00
Gergely Polonkai
d5e6e4a79c Add comments to test_draw_word() 2015-11-27 13:06:33 +01:00
Gergely Polonkai
22ff41d6d1 Fix error in 5093ab1 2015-11-27 12:56:38 +01:00
Gergely Polonkai
5093ab1e6d Remove settings dependency from test 2015-11-27 12:32:18 +01:00
Gergely Polonkai
e00515c160 Add tox support 2015-11-26 17:15:12 +01:00
Gergely Polonkai
a53b2827a9 Allow drawing once every day
The duration between two draws is controlled by settings.DRAW_TIME
2015-11-26 16:56:55 +01:00
Gergely Polonkai
3a1e234176 Add User.last_draw() 2015-11-26 16:56:33 +01:00
Gergely Polonkai
0c16d9a73b Add word drawing support 2015-11-26 14:59:37 +01:00
Gergely Polonkai
955cace9bd Add word drawing support 2015-11-26 14:59:37 +01:00
Gergely Polonkai
cfaa2b2a50 Initial commit 2015-11-26 14:59:37 +01:00