Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • gitlab-ce
  • Repository
  • gitlab-ce
  • app
  • controllers
  • application_controller.rb
Find file BlameHistoryPermalink
  • Luke Duncalfe's avatar
    Serve resized Design Management design files · 5c68ab72
    Luke Duncalfe authored Mar 05, 2020
    Previously, Design Management would only serve the full size designs
    that were uploaded, even when viewed as thumbnails.
    
    https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22860
    introduced a change in the app to begin resizing designs down to a new
    "v432x230" version.
    
    This change refactors the existing Projects::DesignsController into a
    new base class DesignManagement::DesignsController. The old controller
    that served the full-size original design files is now
    DesignManagement::Designs::RawImageController, and there is an
    additional DesignManagement::Designs::ResizedImageController that can
    serve resized versions of the designs.
    
    This change represents a breaking change to the routes - however these
    routes were only ever used internally. The extenal-facing parts of the
    application (the GraphQL `DesignType`) has been updated with the new
    routes.
    
    https://gitlab.com/gitlab-org/gitlab/issues/12577
    https://gitlab.com/gitlab-org/gitlab/issues/13815
    5c68ab72
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7