chinwagsocial/app/javascript/mastodon
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
..
actions Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
components Break out nested relationship API keys (#5887) 2017-12-06 16:10:54 +01:00
containers Optional notification muting (#5087) 2017-11-15 03:56:41 +01:00
features Break out nested relationship API keys (#5887) 2017-12-06 16:10:54 +01:00
locales Update Japanese translations. (#5893) 2017-12-06 03:22:11 +01:00
middleware Suppress type error(not a function) on calling fastSeek (#5452) 2017-10-18 17:13:51 +02:00
reducers Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
selectors Profile redirect notes (#5746) 2017-11-18 19:39:02 +01:00
service_worker
store
.gitkeep
api.js
base_polyfills.js Enable ESLint rules import/* (#5414) 2017-10-16 11:12:09 +02:00
extra_polyfills.js
initial_state.js Refactor initial state: "me" (#5563) 2017-10-31 11:27:48 +09:00
is_mobile.js Change mobile layout breakpoint from 1024px to 630px (#5063) 2017-09-24 01:25:07 +02:00
link_header.js
load_polyfills.js
main.js Enable ESLint rules import/* (#5414) 2017-10-16 11:12:09 +02:00
performance.js Upgrade to React 16 (#5119) 2017-09-30 04:29:56 +02:00
ready.js
rtl.js
scroll.js
stream.js reusable-streaming (#5709) 2017-11-15 16:04:15 +01:00
test_setup.js Replace JavaScript Testing Framework from Mocha to Jest (#5412) 2017-10-16 09:33:08 +02:00
uuid.js
web_push_subscription.js