1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 23:26:22 +09:00
mastodon/app/controllers/concerns
ThibG 1364e9e4ae Fix follow/unfollow buttons on public profile (fixes #7036) (#7040)
* Fix follow/unfollow buttons on public profile

- Present non-logged users with web+mastodon:// URLs for remote accounts
- Present logged-in users with appropriate links (authorize_follows and
  remote_unfollows) for remote accounts

* Do not cache rendered cards if user is logged in
2018-04-08 13:40:22 +02:00
..
account_controller_concern.rb Add alternate links to ActivityPub resources from HTML/HEAD variants (#4586) 2017-08-13 00:45:04 +02:00
accountable_concern.rb Add logging of admin actions (#5757) 2017-11-24 02:05:53 +01:00
authorization.rb Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
export_controller_concern.rb Remove exports/base controller in favor of shared concern (#3444) 2017-05-30 19:06:01 +02:00
localized.rb If DEFAULT_LOCALE is set, enforce it instead of HTTP request locale (#6817) 2018-03-18 16:57:04 +01:00
obfuscate_filename.rb Remove methods from ObfuscateFilename and spec (#3347) 2017-05-29 18:14:16 +02:00
rate_limit_headers.rb Apply a 25x rate limit by IP even to authenticated requests (#5948) 2017-12-11 15:32:29 +01:00
remote_account_controller_concern.rb Fix follow/unfollow buttons on public profile (fixes #7036) (#7040) 2018-04-08 13:40:22 +02:00
signature_authentication.rb Allow retrieval of private statuses (single or in outbox) using HTTP signatures (#6225) 2018-02-02 10:19:59 +01:00
signature_verification.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
user_tracking_concern.rb Fix #6331 (#6341) 2018-01-23 20:52:30 +01:00