Skip to content
Snippets Groups Projects
  1. Jun 09, 2023
  2. Jun 08, 2023
  3. May 05, 2023
  4. Apr 25, 2023
  5. Apr 24, 2023
  6. Apr 21, 2023
    • Ernesto Rico Schmidt's avatar
      Inject request in the context for the serializers · 700d80e0
      Ernesto Rico Schmidt authored
      The seralizers for Host, Note and Show require the request in the
      context, but only the `APINoteViewSet` calls `get_serializer_context`.
      The other two `APIHostViewSet` and `ShowSerializer` ingnore it, and the
      request needs to be added manually.
      700d80e0
  7. Apr 20, 2023
  8. Apr 08, 2023
  9. Apr 07, 2023
  10. Apr 04, 2023
  11. Mar 29, 2023
  12. Mar 27, 2023
  13. Feb 24, 2023
  14. Feb 21, 2023
  15. Feb 17, 2023
  16. Nov 15, 2022
  17. Nov 14, 2022
  18. Oct 19, 2022
  19. Oct 15, 2022
  20. Oct 06, 2022
  21. Oct 04, 2022
  22. Sep 05, 2022
  23. Aug 17, 2022
  24. Aug 09, 2022
  25. Aug 08, 2022
  26. Aug 07, 2022
  27. Jul 28, 2022
  28. Apr 24, 2022
    • Konrad Mohrfeldt's avatar
      fix: align schedule create/update conflict responses with documentation · 3af360ec
      Konrad Mohrfeldt authored
      The conflict responses should be send with an HTTP 409 status code as
      they’re defined in our documentation. This was not the case as the
      dashboard couldn’t handle these error codes, but is now fixed in
      dashboard@4a07ad9e.
      3af360ec
    • Konrad Mohrfeldt's avatar
      feat: allow single request scheduling · 293c78c5
      Konrad Mohrfeldt authored
      Until now the steering API client was expected to submit two requests.
      
      1. The initial schedule request, with a `schedule` object
      2. A second schedule request, with an additional `solutions` object
      
      This `solutions` object was empty, if no conflicts arose from the
      submitted schedule in the first place. But instead of just creating the
      requested schedule if no conflicts were detected we still required that
      second round-trip, introducing possible race conditions in the client,
      if another successful scheduling request was made between requests.
      
      From now on the steering API will create schedules if no conflicts have
      been detected and will only require the client to submit solutions if
      there really are conflicts to solve.
      293c78c5
    • Konrad Mohrfeldt's avatar
      refactor: update schedule REST API attribute names and documentation · 51be0fbe
      Konrad Mohrfeldt authored
      The following attribute names were marked as deprecated in the schedule
      request and have been replaced by their new names:
      
        dstart → first_date
        until → last_date
        tstart → start_time
        tend → end_time
        byweekday → by_weekday
      
      Apart from that this commit fixes a few documentation errors.
      51be0fbe
  29. Mar 28, 2022
Loading