Skip to content
Snippets Groups Projects
  • Ingo Leindecker's avatar
    b1b32961
    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
    History
    Added hosts to notes, oidc provider, pagination and filters to API
    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