- Mar 17, 2022
-
-
Konrad Mohrfeldt authored
This change re-implements all existing collection filters for the APITimeSlotViewSet with a FilterSet. No breaking changes are expected, though there are some changes in semantics: * The start and end query parameters no longer need to be specified together. If users only want to modify the start or end date they can now do that. If start is specified and end is not, end will be start + 60 days. * If end was not set it would default to start + 60 days at 00:00. This is now fixed and end will be start + 60 days at 23:59:59. * end now uses time.max, which selects the latest possible time on the specified date. * The surrounding-filter now accepts a datetime value and will be set to the current time if only the query parameter but no value has been set. * All filters are now applied in series. This wasn’t the case for every filter, e.g. the surrounding-filter would return early.
-
Konrad Mohrfeldt authored
This change re-implements all existing collection filters for the APIShowViewSet with a FilterSet. No breaking changes are expected, though there are some changes in semantics: * The owner, host, musicfocus, language, category, and topic filters now accept multiple values (i.e. ?category=2,3) * The owner, host, musicfocus, language, category, topic, and type filter values are now validated and may be rejected as invalid if the referenced object does not exist.
-
- Mar 15, 2022
-
-
Ernesto Rico Schmidt authored
-
- Mar 14, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
- Reorder the code inside the methods to fail fast on autorization, - Replace `int_or_none` with a more generic solution, and move to utils, - Add `get_values` and move `pk_and_slug` as `get_pk_and_slug` into utils, - Replace calls to static methos in models local queries, - Return meaningful status code while creating and updating resources, - Return `409` when creating or updating a schedule produces a conflict.
-
- Mar 08, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
- update the model - migrate the model - update the serializer - update the views
-
- Feb 28, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 25, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Feb 23, 2022
-
-
Ernesto Rico Schmidt authored
- updated the fixture - updated the serializer - updated some views
-
- Feb 14, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 10, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 25, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Jan 24, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 19, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 18, 2022
-
-
Ernesto Rico Schmidt authored
- Introduce `ActiveInactiveMixin` with the `get_queryset` method and `permission_classes` - Use `ActiveInactiveMixin` for `Category`, `FundingCategory`, `Language`, `MusicFocus`, `Topic`, `Type` and `Host`
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Jan 17, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 14, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 13, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 12, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Nov 26, 2021
-
-
Richard Blechinger authored
-
- Nov 19, 2021
-
-
Richard Blechinger authored
-
Richard Blechinger authored
-
- Nov 18, 2021
-
-
Richard Blechinger authored
-
Richard Blechinger authored
-
Richard Blechinger authored
-
- Jul 16, 2021
-
-
Ernesto Rico Schmidt authored
-
- Apr 27, 2021
-
-
Ernesto Rico Schmidt authored
-
- Apr 26, 2021
-
-
Ernesto Rico Schmidt authored
-
- Dec 02, 2020
-
-
Ernesto Rico Schmidt authored
-
Richard Blechinger authored
-
Richard Blechinger authored
-
- Nov 24, 2020
-
-
Ernesto Rico Schmidt authored
Close #51
-
- Nov 23, 2020
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
Python 3.8 is minimal version now
-