-
- Downloads
Added hosts to notes, oidc provider, pagination and filters to API
* 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
Showing
- program/admin.py 23 additions, 4 deletionsprogram/admin.py
- program/fixtures/group_permissions.yaml 7 additions, 1 deletionprogram/fixtures/group_permissions.yaml
- program/migrations/0012_auto_20180103_0054.py 82 additions, 5 deletionsprogram/migrations/0012_auto_20180103_0054.py
- program/migrations/0013_category_color.py 0 additions, 20 deletionsprogram/migrations/0013_category_color.py
- program/migrations/0014_category_description.py 0 additions, 20 deletionsprogram/migrations/0014_category_description.py
- program/migrations/0015_note_audio_url.py 0 additions, 20 deletionsprogram/migrations/0015_note_audio_url.py
- program/migrations/0016_auto_20171213_1737.py 0 additions, 87 deletionsprogram/migrations/0016_auto_20171213_1737.py
- program/migrations/0017_auto_20180102_1535.py 0 additions, 39 deletionsprogram/migrations/0017_auto_20180102_1535.py
- program/models.py 34 additions, 6 deletionsprogram/models.py
- program/serializers.py 4 additions, 10 deletionsprogram/serializers.py
- program/views.py 132 additions, 79 deletionsprogram/views.py
- pv/settings.py 7 additions, 2 deletionspv/settings.py
- pv/urls.py 5 additions, 3 deletionspv/urls.py
- requirements.txt 1 addition, 1 deletionrequirements.txt
Loading
Please register or sign in to comment