Commit Graph

63 Commits

Author SHA1 Message Date
Sebastian Lohff fcd22f8231 Set Django to 4.0.1, add DB migrations
Now that we're somewhat Django4 compatible it's time to advertise our
newfound skill! Not all functionality has been tested, but it is
starting again.
2022-01-22 17:18:25 +01:00
Sebastian Lohff 8308a883cd user.is_authenticated is no longer a method
Apparently this is now a property, so we don't need to call it. We can
just use it.
2022-01-22 17:16:43 +01:00
Sebastian Lohff 0ca4c2399f Fix url config for Django4
url() is no longer available, has to be replaced with path() or
re_path(). For proper include() we also need an app_name specified in
the urls.py we're including.
2022-01-22 17:11:10 +01:00
Sebastian Lohff c121e874c6 Set on_delete for all ForeignKey fields
Can't believe this has not been done yet.
2022-01-22 16:54:13 +01:00
Sebastian Lohff 0178fcb3ef 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 16:47:07 +01:00
Sebastian Lohff ff94b62212 Pep8 fixes
Reformat codebase a bit so it is easier to work with.
2022-01-22 16:43:48 +01:00
Sebastian Lohff c43c5c1e10 Move QSO no validation into model 2020-02-08 22:49:14 +01:00
Sebastian Lohff e049e45698 Remove broken check from QSO form
The check disallowed having a QSO with any callsign that is also a
reference. Obviously the user should also be able to log this kind
of QSO, even if it might not make sense. We don't judge.
2020-02-08 22:49:14 +01:00
Sebastian Lohff e825685105 Add REST API to webinterface 2020-02-08 22:42:26 +01:00
Sebastian Lohff 782f5cbe32 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
2020-02-08 22:35:24 +01:00
Sebastian Lohff 4b8a444f1f Move to consistent use of spaces instead of tabs
Required for python3 transition
2020-01-26 11:36:47 +01:00
Sebastian Lohff 1f2d34c8b4 Don't error out when newRef already exist, use it instead
Before this commit when a newRef was entered on user registration and
that ref already existed we errored out. Now we use exactly that
reference when it already exists.
2020-01-20 22:52:23 +01:00
Sebastian Lohff 2aef677abd Display survey fields in User admin page 2019-01-31 19:45:49 +01:00
Sebastian Lohff 9faf9c9ce0 Add E-Mail field to user registration 2019-01-26 12:45:15 +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 a58a15984e Add missing db migrations 2019-01-23 00:43:44 +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 f960f6919d Actually save user password on account registration 2017-02-03 01:04:06 +01:00
Sebastian Lohff 888d33cc42 Fixed QSO editing 2017-02-02 20:20:41 +01:00
Sebastian Lohff 0c69ee13b1 Template cleanup 2017-01-28 19:10:40 +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 8eccbb5442 Minor linkfix for qso check 2017-01-27 15:46:19 +01:00
Sebastian Lohff 755d9d05d6 Changed RST labels to RS 2017-01-27 15:46:07 +01:00
Sebastian Lohff dda606ad4a Minor code cleanup 2017-01-27 00:26:55 +01:00
Sebastian Lohff 99827c6385 Recheck QSO functionality 2017-01-27 00:26:46 +01:00
Sebastian Lohff 923c0a8914 Only show cbr table when data is present 2017-01-26 23:59:21 +01:00
Sebastian Lohff b3ffd41973 Protected logviews from exch-less users 2017-01-26 23:49:19 +01:00
Sebastian Lohff 8aa7910775 CBR parser + uploader 2017-01-26 23:47:58 +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 94739d3508 Set ref in form if user already has one 2017-01-26 18:52:27 +01:00
Sebastian Lohff ac59a532c4 Only create uppercase EXCges 2017-01-25 03:23:21 +01:00
Sebastian Lohff c2309a4086 Added shadow users 2017-01-25 01:53:22 +01:00
Sebastian Lohff e73ad743c5 Log form enhancements (button layout) 2017-01-24 12:23:28 +01:00
Sebastian Lohff 110271457d Db idx and on_delete for foreignkeys 2017-01-23 02:40:44 +01:00
Sebastian Lohff e43928e8f8 Reworked index, navbar fixes 2017-01-23 01:09:04 +01:00
Sebastian Lohff 1fa184eb98 Current time display in qso log form 2017-01-23 00:00:57 +01:00
Sebastian Lohff d995feaad2 Profile page + password changing 2017-01-22 22:55:21 +01:00