Skip to content
Snippets Groups Projects
  1. May 09, 2022
  2. Apr 24, 2022
  3. Apr 23, 2022
  4. Apr 14, 2022
  5. Mar 28, 2022
  6. Mar 23, 2022
  7. Mar 22, 2022
  8. Mar 17, 2022
    • Konrad Mohrfeldt's avatar
      fix: fix audio_url generation for notes · 24f6f06d
      Konrad Mohrfeldt authored
      There were some problems during audio_url generation for notes:
      
      1. the cba_id was never part of the Note serializer so getting
         values from the validated data needed to fail.
      2. the get_audio_url utililty function returned None if
         no cba_id was provided if a the CBA_API_KEY was missing,
         but None but the respective model field is not nullable on the note.
      3. Request or JSON decoder errors would bubble unhandled, even though
         audio_url generation seems to be optional and should not necessarily
         interfere with note creation.
      24f6f06d
  9. Mar 15, 2022
  10. Mar 14, 2022
  11. Mar 08, 2022
  12. Feb 28, 2022
  13. Feb 24, 2022
  14. Feb 23, 2022
  15. Feb 21, 2022
  16. Feb 17, 2022
  17. Feb 14, 2022
  18. Feb 08, 2022
  19. Feb 07, 2022
  20. Feb 03, 2022
  21. Feb 02, 2022
  22. Jan 31, 2022
  23. Jan 24, 2022
  24. Jan 14, 2022
  25. Jan 13, 2022
  26. Jan 11, 2022
  27. Jul 16, 2021
  28. Apr 29, 2021
  29. Apr 26, 2021
  30. Nov 24, 2020
  31. Nov 21, 2020
    • Ernesto Rico Schmidt's avatar
      Clean-up code · a6af6efe
      Ernesto Rico Schmidt authored
      - Make `Host.is_editable`, `Show.is_editable`, `Note.is_editable`, and
        `Note.get_audio_url` static methods,
      - Make `Schedule.instantiate_upcoming`, `Schedule.generate_timeslots`,
        `Schedule.get_collisions`, `Schedule.generate_conflicts`,
        `Schedule.make_conflicts` and `Schedule.resolve_conflicts` static
        methods. Most of these methods do not belong here.
      - Fix signatures of methods for subclasses of `viewsets.ModelViewSet`
      - Fix doctrins for subclasses of `viewsets.ModelViewSet`
      - Fix comparisons with None (replace '==' and '!=' with 'is' and 'is not')
      a6af6efe
  32. Oct 05, 2020
  33. Aug 26, 2020
Loading