Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 15, 2022
  3. Mar 14, 2022
    • Ernesto Rico Schmidt's avatar
      Format source with Black · 0ace09e7
      Ernesto Rico Schmidt authored
      0ace09e7
    • Ernesto Rico Schmidt's avatar
      Refactor and Clean-up Viewsets · 5c34d059
      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.
      5c34d059
  4. Feb 21, 2022
  5. Feb 14, 2022
  6. Jan 24, 2022
  7. Nov 24, 2020
  8. Feb 18, 2018
  9. Oct 23, 2017
  10. Apr 07, 2017
  11. Sep 16, 2016
  12. May 27, 2016
  13. Jan 06, 2016
  14. Jul 21, 2014
  15. Feb 07, 2014
  16. Apr 12, 2013
Loading