Skip to content
Snippets Groups Projects
  1. Apr 11, 2022
    • Ernesto Rico Schmidt's avatar
      Update requirements · df7efd08
      Ernesto Rico Schmidt authored
      - asgiref
      - Django
      - drf_spectacular
      - Pillow
      - pre-commit
      - pycryptodomex
      - pyparsing
      - pytest
      - python-magic
      - pytz
      - urllib3
      df7efd08
  2. Mar 28, 2022
  3. Mar 23, 2022
  4. Mar 16, 2022
  5. Mar 15, 2022
  6. Jan 17, 2022
    • Ernesto Rico Schmidt's avatar
      Upgrade requirements · ab023a6a
      Ernesto Rico Schmidt authored
      - asgireg
      - attrs
      - charset-normalizer
      - Django
      - django-cors-headers
      - django-versatileimagefield
      - Pillow
      - psycopg2-binary
      - requests
      - urllib
      ab023a6a
  7. Jan 12, 2022
  8. Dec 15, 2021
  9. Dec 03, 2021
  10. Apr 28, 2021
  11. Apr 08, 2021
  12. Apr 02, 2020
  13. Mar 30, 2020
  14. Jan 15, 2020
  15. Aug 10, 2019
  16. Feb 17, 2018
  17. Feb 15, 2018
  18. Jan 03, 2018
    • Ingo Leindecker's avatar
      Added hosts to notes, oidc provider, pagination and filters to API · b1b32961
      Ingo Leindecker authored
      * Users can see and change all notes and hosts of shows they own - even if they were created by another show owner
      * A host can be assigned to a note (if host is editable)
      * Added django-oidc-provider app
      * Added limit/offset pagination to endpoints /shows, /timeslots and /notes
      * Common users may not change the show's name anymore via API
      * Playout API can be called with start (date) and end (date) parameters
      * Added filters to endpoints:
      
      /shows/?host=1  Retrieves shows of a given host
      /shows/?owner=1 Retrieves shows of a given owner (= user ID)
      /notes/?host=1  Retrieves notes assigned to a host
      /notes/?owner=1 Retrieves notes a user has created (= user ID)
      
      Had to set settings const USE_TZ (= reflect timezone in mysql datetimes) to True for OIDC to work with mysql.
      
      Don't know yet if that's a problem.
      
      See #22 #23
      b1b32961
  19. Dec 21, 2017
    • Ingo Leindecker's avatar
      Added nested endpoints as well as some filters · 41ebf159
      Ingo Leindecker authored
      /api/v1/shows/
      /api/v1/shows/?active=true
      /api/v1/shows/1/
      /api/v1/shows/1/schedules
      /api/v1/shows/1/schedules/1
      /api/v1/shows/1/schedules/1/timeslots
      /api/v1/shows/1/schedules/1/timeslots/1/
      /api/v1/shows/1/schedules/1/timeslots/1/notes
      /api/v1/shows/1/schedules/1/timeslots/1/notes/1
      /api/v1/shows/1/notes
      /api/v1/shows/1/notes/1
      /api/v1/shows/1/timeslots
      /api/v1/shows/1/timeslots/1
      /api/v1/shows/1/timeslots/1/notes
      /api/v1/shows/1/timeslots/1/notes/1
      
      On every /timeslot endpoint, filter variables ?start=2017-01-01&end=2017-12-31 are available.
      
      Properly create, update and delete:
      
      * Users
        - only superusers may create
        - common users can only retrieve/update themselves
        - update is constrained to certain non-crucial fields for non-superusers
      
      * Shows
        - only superusers may create
        - update is constrained to certain fields for non-superusers
      
      * Notes
        - creating/updating is constrained to shows and timeslots the non-superuser owns
      
      * Schedules
        - only superusers may add/update/delete
        - collision detection still needed
      
      * Timeslots
        - direct creation is prohibited for everyone (only by adding/updating schedules)
        - update is constrained to certain fields
        - only superusers may delete
      
      
      Available GET endpoints for (only superusers may add/update/delete)
      
      * Hosts
      * Types
      * Topics
      * Categories
      * RTRCategories
      * Languages
      
      
      See #22 #23
      41ebf159
  20. Nov 29, 2017
  21. Nov 09, 2017
  22. Jul 10, 2017
  23. Jun 20, 2017
  24. Jun 19, 2017
  25. Jun 13, 2017
  26. Jul 20, 2016
  27. May 27, 2016
  28. May 01, 2016
  29. Apr 16, 2016
  30. Jan 06, 2016
  31. Dec 28, 2015
  32. Oct 26, 2015
  33. Sep 05, 2014
  34. Jul 16, 2014
  35. May 26, 2014
  36. Apr 29, 2014
  37. Jan 31, 2014
Loading