Skip to content
GitLab
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 645
    • Issues 645
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !640

user: fix local vs remote determination in remote_or_auth_active?/1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged kaniini requested to merge hotfix/media-proxy-uri into develop Jan 09, 2019
  • Overview 5
  • Commits 8
  • Pipelines 10
  • Changes 3

The original logic for remote_or_auth_active?/1 was fragile, I replaced it with cleaner and faster pattern matching.

Also adds regression test for remote_or_auth_active?/1.

Edited Jan 09, 2019 by kaniini
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hotfix/media-proxy-uri