Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 578
    • Issues 578
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 93
    • Merge requests 93
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Pleroma
  • pleromapleroma
  • Merge requests
  • !3469

Open
Created Jun 14, 2021 by Alex Gleason@alexgleasonContributor
  • Report abuse
Report abuse

Refactor Pleroma.Frontend, enable a frontend through the CLI, fixes #2672

  • Overview 1
  • Commits 7
  • Pipelines 3
  • Changes 9

Downstream MR: https://gitlab.com/soapbox-pub/soapbox/-/merge_requests/34

  1. Refactors Pleroma.Frontend to use a %Frontend{} struct. Previously it passed in opts from the mix task, but using a struct makes it more modular.

  2. Introduces mix pleroma.frontend enable <name>. If ConfigDB isn't enabled, it'll raise.

  3. Adds mix pleroma.frontend install <name> --primary to install and enable a frontend with a single command. (--primary and --admin are supported).

Edited Jun 15, 2021 by Alex Gleason
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: frontend-enable