Commit Graph

36 Commits

Author SHA1 Message Date
Sebastian Lohff 1f93f9e7bd Dynamically find currently active Contest
Previously we had a lot of hardcoded contest information in the
templates. Name, ruleset and number of contest are now all taken from
the currently active contest and rendered into the templates. Instead of
an URL containing the current contest name, we just use a generic
/contest/. The API will no longer use "the contest with id=1", but the
currently active contest as well.

The currently active contest is - for now - the contest with the latest
deadline.
2022-01-22 19:22:52 +01:00
Sebastian Lohff 635289ed8f Set on_delete for all ForeignKey fields
Can't believe this has not been done yet.
2022-01-22 17:35:57 +01:00
Sebastian Lohff 970a3ae517 Remove some python2 --> python3 leftovers
Remove some __future__ imports and the six compability layer (which was
not mentioned in the requirements.txt anyway).
2022-01-22 17:35:57 +01:00
Sebastian Lohff e5465632b4 Pep8 fixes
Reformat codebase a bit so it is easier to work with.
2022-01-22 17:35:57 +01:00
Sebastian Lohff 3c6936ba44 Move QSO no validation into model 2022-01-22 17:27:39 +01:00
Sebastian Lohff 0c8ba5eb87 Add REST API to webinterface 2022-01-22 17:27:39 +01:00
Sebastian Lohff b0d7f9f2ec Allow regTime in user to be blank as well
Without regTime being blank a user with regTime NULL cannot be edited
via the admin interface
2022-01-22 17:27:39 +01:00
Sebastian Lohff ba9c99e0ce Move to consistent use of spaces instead of tabs
Required for python3 transition
2022-01-22 17:27:39 +01:00
Sebastian Lohff b0316dc797 Add missing label/helptext 2019-01-24 23:26:31 +01:00
Sebastian Lohff 952f0aa546 Add extra fields to registration 2019-01-24 23:18:36 +01:00
Sebastian Lohff 8cc6c3cbff Missing DB fields for user questionaire 2019-01-23 00:51:07 +01:00
Sebastian Lohff e358da596b Hardcoded reference cleaning 2019-01-22 21:48:09 +01:00
Sebastian Lohff c188dda016 Remove unnecessary fields, add ignore bandcheck, stuff 2019-01-22 21:48:09 +01:00
Sebastian Lohff 9db317e625 Fixed band parsing in cbrparser 2017-02-05 13:31:42 +01:00
Sebastian Lohff a79269c65d Far better QSO crosschecking 2017-02-03 19:17:29 +01:00
Sebastian Lohff f5cf3ac368 Calculate points 2017-01-28 18:39:41 +01:00
Sebastian Lohff 80900ecd21 Added contest start/end time for qso points validation 2017-01-28 18:38:32 +01:00
Sebastian Lohff 8018706715 Check for shadowcalls on user registration, copy data if necessary 2017-01-28 17:06:05 +01:00
Sebastian Lohff 58d1e76a0c Registration includes regtime, opname and location 2017-01-28 16:27:57 +01:00
Sebastian Lohff 755d9d05d6 Changed RST labels to RS 2017-01-27 15:46:07 +01:00
Sebastian Lohff 99827c6385 Recheck QSO functionality 2017-01-27 00:26:46 +01:00
Sebastian Lohff c97cda3c49 Fixed ownNo number dupe check! 2017-01-26 23:47:18 +01:00
Sebastian Lohff 70629673cf Allow No-R to be empty in QSO log 2017-01-26 21:24:23 +01:00
Sebastian Lohff 34f14c58a0 Changed logform names to conform with contestlog pdf 2017-01-26 21:15:30 +01:00
Sebastian Lohff 94d138ff8c Added option to set contest deadline
Logging is also restricted after deadline has passed
2017-01-26 20:52:38 +01:00
Sebastian Lohff 625bd0f072 Contest Entry class management foo 2017-01-26 20:36:55 +01:00
Sebastian Lohff 6a3c9f0bbe Display QSOs for admins, match QSOs to each other 2017-01-26 19:14:58 +01:00
Sebastian Lohff c2309a4086 Added shadow users 2017-01-25 01:53:22 +01:00
Sebastian Lohff 110271457d Db idx and on_delete for foreignkeys 2017-01-23 02:40:44 +01:00
Sebastian Lohff 0bb8918a90 Exchange uppercase, as wished by DL7BST 2017-01-21 04:26:47 +01:00
Sebastian Lohff 692b1192fb report validation in model 2017-01-21 01:52:19 +01:00
Sebastian Lohff 80934bda32 QSO deleting is now beautiful! 2017-01-21 01:08:40 +01:00
Sebastian Lohff 20f4c203f0 Better forms! 2017-01-21 00:16:39 +01:00
Sebastian Lohff a97878f78e Some fields have to be able to be blank 2017-01-20 17:28:42 +01:00
Sebastian Lohff ee05f845cb EEEVERYTHING! 2017-01-19 18:42:11 +01:00
Sebastian Lohff d20b8754ba Initial commit 2017-01-18 02:25:12 +01:00