mastodon/spec/controllers/api
aschmitz 4de211b80a Break out nested relationship API keys (#5887)
* Break out nested relationship API keys

This closes #5856 by restoring the existing behavior of the `muting`
and `following` keys (returning booleans rather than truthy or false).
It adds `showing_reblogs` and `muting_notifications` keys:

* `showing_reblogs` returns true if:
  1. You've requested to follow the user, with reblogs shown, or
  2. You are following the user, with reblogs shown.
* `muting_notifications` returns true if you have muted the user and
  their notifications as well.

* Rubocop fix

* Fix pulling reblog/mute status from relationships

I could swear this had passed tests before, but apparently not.
Works now.

* More test fixes

Really, you'd expect this to be more straightforward.
2017-12-06 16:10:54 +01:00
..
v1 Break out nested relationship API keys (#5887) 2017-12-06 16:10:54 +01:00
web feat: Enable push subscription for mobile devices by default (#4321) 2017-07-23 23:27:23 +02:00
base_controller_spec.rb Fix webfinger retries (#4275) 2017-07-20 01:59:07 +02:00
oembed_controller_spec.rb Raise an error for remote url in StatusFinder (#4776) 2017-09-02 17:42:47 +02:00
push_controller_spec.rb Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205) 2017-07-14 23:01:20 +02:00
salmon_controller_spec.rb Fix HTTP responses for salmon and ActivityPub inbox processing (#5200) 2017-10-03 23:21:19 +02:00
subscriptions_controller_spec.rb Hook up URL-based resource look-up to ActivityPub (#4589) 2017-08-14 02:29:36 +02:00