Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
M
medialibrary
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 68
    • Issues 68
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • medialibrary
  • Issues
  • #218

Closed
Open
Created Feb 12, 2020 by Jean-Baptiste Kempf@jbkOwner8 of 8 tasks completed8/8 tasks

Grouping API request

We need the following API:

  • Add an helper function to get the common prefix between two media
  • Create a group from a list of media
  • Add a Media::groupSimilar member function, that will group all media with similar names. It will only affect ungrouped media, regardless of the has_been_grouped flag
  • Add a flag to reflect if the group has been renamed (since the UI will need to list them as group instead of as media)
  • Ensure a group that was renamed doesn't get automatically renamed when adjusting the name length based on the common prefix
  • Remove the unique constraint on group names
  • Prevent user to specify an empty name when renaming
  • Remove group getter by name, since there can now be 2 groups with the same name
Edited Feb 26, 2020 by Hugo Beauzée-Luyssen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None