Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pleroma
pleroma
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 346
    • Issues 346
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 34
    • Merge Requests 34
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Pleroma
  • pleromapleroma
  • Merge Requests
  • !882

Closed
Opened Mar 02, 2019 by kaniini@kaniini2 of 9 tasks completed2/9 tasks
  • Report abuse
Report abuse

WIP: Static FE

Static FE is a minimal frontend that can render activities stored on the instance without requiring JavaScript. It does not allow composing new activities or anything other than viewing. Since guests do not require the capabilities of Pleroma FE, it also helps to reduce server load on busy instances.

To enable Static FE, add to your configuration:

config :pleroma, :instance,
  static_fe: true

There is still a lot to do:

  • Basic message rendering
    • Message content
    • Attachments
    • NSFW filter (if JavaScript is enabled)
  • User profiles
  • Thread walking with message context
  • Furling
  • Consensus on how to override Pleroma FE
  • Test strategy
Edited Mar 04, 2019 by minibikini

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "feature/static-fe" "origin/feature/static-fe"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/develop"
git merge --no-ff "feature/static-fe"

Step 4. Push the result of the merge to GitLab

git push origin "develop"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 3
  • Commits 8
  • Pipelines 7
  • Changes 11
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: pleroma/pleroma!882