Skip to content
Snippets Groups Projects

Add playlists

Merged Ernesto Rico Schmidt requested to merge add-playlists into main

This adds

  • Playlist and PlaylistEntry models,
  • create_playlist, destroy_playlist and update_playlist custom permissions,
  • PlaylistFilter, that filters the playlists using contains_file_ids or show_ids,
  • APIPlaylistViewSet, that injects the request context into the serializer and checks permissions while deleting a playlist,
  • PlaylistSerializer. A playlist that contains an entry without file_id or uri or contains multiple entries with null duration is rejected. Additionally, the playlist_id or default_playlist_id fields are now a PrimaryKeyRelatedField to the Playlist .
  • Tests for (most) of the "happy path" API requests,

Merge request reports

Pipeline #8726 passed

Pipeline passed for c54fadf2 on add-playlists

Test coverage 84.00% (0.00%) from 1 job

Merged by Ernesto Rico SchmidtErnesto Rico Schmidt 5 months ago (Nov 15, 2024 8:16pm UTC)

Loading

Pipeline #8727 passed

Pipeline: aura-tests

#8728

    Pipeline passed for 2505b6df on main

    Test coverage 84.00% (0.00%) from 1 job

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    Please register or sign in to reply
    Loading