hometown/spec/controllers
aschmitz 4de211b80a Break out nested relationship API keys ()
* Break out nested relationship API keys

This closes  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
..
activitypub Set correct content-type for ActivityPub JSON () 2017-08-14 04:16:43 +02:00
admin Add moderation note () 2017-10-07 20:26:43 +02:00
api Break out nested relationship API keys () 2017-12-06 16:10:54 +01:00
auth Default follows for new users () 2017-09-10 09:58:38 +02:00
concerns Improve spec of Feed and UserTrackingConcern () 2017-10-13 11:00:11 +02:00
oauth Cover Oauth::AuthorizedApplicationsController () 2017-05-29 18:08:05 +02:00
settings Remove empty strings () 2017-11-17 10:52:30 +09:00
well_known Improve ActivityPub representations () 2017-07-15 03:01:39 +02:00
about_controller_spec.rb Cover AboutController more in spec () 2017-05-22 16:27:19 +02:00
account_follow_controller_spec.rb Cover AccountFollowController more in spec () 2017-05-22 16:29:48 +02:00
account_unfollow_controller_spec.rb Cover AccountUnfollowController more in spec () 2017-05-22 17:58:49 +02:00
accounts_controller_spec.rb Rewrite account_controller_spec () 2017-11-09 14:36:17 +01:00
application_controller_spec.rb Use "match_array" only for order independent assertions () 2017-06-07 12:59:28 -04:00
authorize_follows_controller_spec.rb Remote following success page () 2017-07-10 18:05:06 +02:00
follower_accounts_controller_spec.rb Introduce recent to Follow () 2017-05-23 13:12:19 +02:00
following_accounts_controller_spec.rb Introduce recent to Follow () 2017-05-23 13:12:19 +02:00
home_controller_spec.rb When web UI URL used while logged out, redirect to static page () 2017-09-15 00:57:08 +02:00
manifests_controller_spec.rb Make Chrome splash screen same color as web UI's background color () 2017-10-02 01:23:32 +02:00
media_controller_spec.rb Extract authorization policy for viewing statuses () 2017-05-29 18:22:22 +02:00
remote_follow_controller_spec.rb rescue HTTP::ConnectionError in RemoteFollowController#create () 2017-08-28 19:12:09 +02:00
statuses_controller_spec.rb Fetch reblogs as Announce activity instead of Note object () 2017-08-24 16:21:42 +02:00
stream_entries_controller_spec.rb Update status embeds () 2017-08-30 10:23:43 +02:00
tags_controller_spec.rb Redesign public hashtag pages () 2017-10-07 20:00:35 +02:00