- Feb 20, 2022
-
-
Lars Kruse authored
-
Lars Kruse authored
Closes: #253
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
Previously only a few documentation files were examined.
-
Lars Kruse authored
-
Lars Kruse authored
Previously it was not possible to import data, since the `post_save` signal handlers created new entities, which were supposed to be imported a bit later. Now it is possible to migrate data even if different database engines are involved: * export: ```shell lohroctl dumpdata \ --natural-primary \ --natural-foreign \ --exclude sessions \ --exclude admin.logentry \ --indent 4 \ --all \ > lohrothek-dump-$(data +%Y%m%d).json ``` * import: `python3 manage.py loaddata --format=json - <dump.json`
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
Thanks, codespell!
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
We should rely on Django for generating timestamps (with a timezone).
-
Lars Kruse authored
Only very few content-related changes are included (e.g. conversions from list/filter to list comprehension).
-
Lars Kruse authored
Hidden behind a bare except-clause there was a type mishandling. The problem was covered by falling back to the current time in case of errors. A test was added for detecting this issue.
-
- Feb 19, 2022
-
-
-
Lars Kruse authored
This reduces the noise caused by code or template changes.
-
Lars Kruse authored
-
-
Philipp Markwardt authored
It possible again to add Audiofiles to RadioReports in detail view.
-
Philipp Markwardt authored
The ContentTag and the MinimalTagSerializer are now including the `id` of the tag. The corresponding test is now also fixed using this.
-
Lars Kruse authored
-
Lars Kruse authored
We will apply these styles later.
-
Lars Kruse authored
-
Lars Kruse authored
Since commit 675bfa1e there is no view containing the "create-audiofile" url. Thus we cannot test the proper creating of an audio file. The test is skipped for now.
-
Lars Kruse authored
In case the redirect is really necessary, we should use `client.get(..., follow=True)` instead.
-
Lars Kruse authored
-
Lars Kruse authored
-
Lars Kruse authored
For now all tests require a logged in user, but this may change in the future (for permission tests). Thus we should separate it now instead of requiring more effort later.
-
Lars Kruse authored
The Mixin classes are not supposed to work stand-alone - they always rely on a real base class being inherited independently.
-
Lars Kruse authored
-
Lars Kruse authored
The tests are run as usual - but in addition the code coverage is determined, as well.
-
Lars Kruse authored
This allows contributors to run the pipeline in their forked repositories.
-
Lars Kruse authored
-
Lars Kruse authored
Fixup for commit 675bfa1e.
-
Lars Kruse authored
Fixup for commit 7ae4c2b9.
-
Philipp Markwardt authored
Add new foreign key to Audiofile model. This gives the possibility to add recordings to an episode.
-