- 01 Feb, 2022 1 commit
-
-
Sebastian Lohff (DL7SBA) authored
Just as a reminder to everyone interested in it that it's there.
-
- 27 Jan, 2022 6 commits
-
-
Sebastian Lohff (DL7SBA) authored
When logging a QSO we do a check if we already have a matching other QSO for the QSO check. In the past this was only saved on the QSO being logged, not on the other side (though we tried). The problem with this was, that we queried for the other QSO and then tried to set the cfmdQSO directly inside the QuerySet we get from filter(). Apparently each time we access q[0] we get a new object, meaning we set the qso with q[0].cfmdQSO = self and then saved a completely different pristine other QSO with q[0].save(). When we put q[0] into a variable this does not happen anymore. Also, for this to work we need to move the checking after the initial save(), as we need to make sure the QSO is in the DB and has an id to be referenced with.
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
--max-line-length 120
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
* move script to its own bin dir * update django setup style * clarify what the script is deleting and what not * drop python2 support
-
Sebastian Lohff (DL7SBA) authored
-
- 26 Jan, 2022 1 commit
-
-
Sebastian Lohff (DL7SBA) authored
Add install instructions to readme that worked at least for me to set this interface up again.
-
- 22 Jan, 2022 19 commits
-
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
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.
-
Sebastian Lohff (DL7SBA) authored
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.
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
Apparently this is now a property, so we don't need to call it. We can just use it.
-
Sebastian Lohff (DL7SBA) authored
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.
-
Sebastian Lohff (DL7SBA) authored
Can't believe this has not been done yet.
-
Sebastian Lohff (DL7SBA) authored
Remove some __future__ imports and the six compability layer (which was not mentioned in the requirements.txt anyway).
-
Sebastian Lohff (DL7SBA) authored
Reformat codebase a bit so it is easier to work with.
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
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.
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
Without regTime being blank a user with regTime NULL cannot be edited via the admin interface
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
Required for python3 transition
-
- 28 Jan, 2020 1 commit
-
-
Sebastian Lohff (DL7SBA) authored
Apparently it was still unclear to people what call they should use on registration. Added extra message to explain this further.
-
- 20 Jan, 2020 6 commits
-
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
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.
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
Script clears calls, users, references and shadow calls from the database to clean up after the last contest.
-
Sebastian Lohff (DL7SBA) authored
When a user enters a call beginning with DN on the registration page we now disable the DN-call and rig question fields, so we don't confuse our SWLs.
-
- 31 Jan, 2019 1 commit
-
-
Sebastian Lohff (DL7SBA) authored
-
- 26 Jan, 2019 2 commits
-
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
- 24 Jan, 2019 2 commits
-
-
Sebastian Lohff (DL7SBA) authored
-
Sebastian Lohff (DL7SBA) authored
-
- 22 Jan, 2019 1 commit
-
-
Sebastian Lohff (DL7SBA) authored
-