Skip to content
Snippets Groups Projects
  1. 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
  2. Dec 18, 2017
  3. Dec 13, 2017
  4. Dec 12, 2017
  5. Nov 29, 2017
  6. Nov 22, 2017
    • Ingo Leindecker's avatar
      Improved note selection and user permissions · b7e10ced
      Ingo Leindecker authored
      * Improved note selection: Users choose their shows and corresponding timeslots are loaded into the select via ajax (improvement still necessary to avoid queryset when initially loading)
      See #17
      
      * Users can only see and edit their shows, timeslots and notes
      * Users can only edit their own profiles
      
      * Changed fallback_playlist to fallback_playlist_id
      * Timelots inherit the is_repetition flag from their schedules when created
      * Added field 'memo' to timeslots (for internal notes)
      See #21
      b7e10ced
  7. Nov 08, 2017
  8. Nov 02, 2017
  9. Oct 23, 2017
  10. Sep 28, 2017
  11. Jun 13, 2017
  12. Apr 27, 2017
  13. Apr 07, 2017
  14. Mar 09, 2017
  15. Aug 20, 2016
  16. Aug 17, 2016
  17. Aug 03, 2016
  18. May 27, 2016
  19. May 01, 2016
  20. Apr 20, 2016
  21. Apr 19, 2016
  22. Apr 15, 2016
  23. Apr 14, 2016
  24. Mar 30, 2016
  25. Feb 12, 2016
  26. Jan 06, 2016
  27. Dec 28, 2015
  28. Sep 25, 2015
  29. Apr 30, 2014
  30. Mar 12, 2014
  31. Mar 07, 2014
  32. Feb 28, 2014
Loading