Skip to content
Snippets Groups Projects
  1. Mar 19, 2025
  2. Feb 21, 2025
  3. Jan 23, 2025
  4. Jan 22, 2025
  5. Jan 21, 2025
  6. Jan 15, 2025
  7. Nov 28, 2024
    • Konrad Mohrfeldt's avatar
      fix: fix response type for /program/calender endpoint · 628e1a6e
      Konrad Mohrfeldt authored
      The /program/calender endpoint returns an envelope object that returns
      related objects for the query.
      
      Without the fix drf-spectacular would advertise the response type as an
      array of CalendarSchema even though it is just the CalenderSchema.
      628e1a6e
  8. Nov 25, 2024
    • Konrad Mohrfeldt's avatar
      fix: handle episode deletions in timeslot repetition_of_id field · fec41ab1
      Konrad Mohrfeldt authored
      The update logic of the repetition_of field did not consider cases in
      which the episode field of TimeSlot objects is deleted.
      
      This fix populates the TimeSlot’s repetition_of_id field with a subquery
      instead of using a separate database field for it.
      
      The decision to keep repetition_of as a separate database field was made
      on the assumption that this would be a performance problem. However, the
      subquery for the repetition_of field is quite performant, especially
      with a separate database index. In contrast, the update logic for a
      materialized repetition_of field is quite complex and it is easy to miss
      cases that should have updated the field.
      
      As long as we don’t have an actual use case in which retrieving
      timeslots becomes slow because of this subquery, we should refrain from
      materializing the field.
      fec41ab1
    • Konrad Mohrfeldt's avatar
    • Konrad Mohrfeldt's avatar
      feat: re-implement notes as timeslot independent episodes · e4b8bcdb
      Konrad Mohrfeldt authored
      This change makes the notes independent of timeslots and renames them to
      episodes.
      
      Multiple timeslots can now refer to the same episode introducing a new
      and more convenient model for repetitions that does not duplicate
      content.
      
      This change also makes it possible for users to pre-plan their episodes
      without the need for radio planners to create a timeslot for the episode
      first.
      
      refs #249
      refs aura#382
      e4b8bcdb
  9. Nov 11, 2024
  10. Nov 08, 2024
  11. Nov 07, 2024
  12. Nov 06, 2024
  13. Nov 05, 2024
  14. Nov 04, 2024
  15. Nov 01, 2024
  16. Oct 28, 2024
  17. Oct 08, 2024
  18. Sep 13, 2024
  19. Sep 12, 2024
Loading