Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pleroma
pleroma
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 372
    • Issues 372
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 56
    • Merge Requests 56
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Pleroma
  • pleromapleroma
  • Merge Requests
  • !2342

Merged
Opened Apr 01, 2020 by Ivan Tashkinov@i1tDeveloper
  • Report abuse
Report abuse

Ability to control the output of AccountView.pleroma.relationship in statuses / notifications

  • Overview 8
  • Commits 6
  • Pipelines 5
  • Changes 24

Ability to control the output of AccountView.pleroma.relationship ([:account][:pleroma][:relationship]) in statuses and notifications in order to improve the rendering performance.

Corresponding FE issue: pleroma-fe#819 (closed) Meta-issue: pleroma-meta#33

Note: default behaviour is to keep rendering user relationships in statuses and notifications ([:extensions, output_relationships_in_statuses_by_default] setting being true) in order to keep compatibility with older and current versions of PleromaFE. With this setting, with_relationships param is ignored.

Once PleromaFE starts sending with_relationships=true for all status/notification-related requests (index/show), we could change [:extensions, output_relationships_in_statuses_by_default] to false (the only BE change that would be required). However, doing that would result in breaking the compatibility with older versions of PleromaFE (!) since they know nothing about with_relationships param.

NOTE for pleroma-fe#819 (closed) developers:

when implementing the compatibility with relationships-less statuses/notifications, please change config :pleroma, :extensions, output_relationships_in_statuses_by_default: true to config :pleroma, :extensions, output_relationships_in_statuses_by_default: false

Edited Apr 12, 2020 by Ivan Tashkinov
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: pleroma/pleroma!2342
Source branch: output-of-relationships-in-statuses

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.