]> cat aescling's git repositories - mastodon.git/commit
Change output of api/accounts/:id/follow and unfollow to return relationship
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 23 Sep 2016 18:23:26 +0000 (20:23 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 23 Sep 2016 18:23:26 +0000 (20:23 +0200)
commit3f9708edc4cd799afb68000adc35036dd8b8faa5
treeaf7e97a0095c562810577acf68933b461e126794
parentc6d893a71dede65dd88a0dfac81178c8e81e27d2
Change output of api/accounts/:id/follow and unfollow to return relationship
Track relationship in redux state. Display follow/unfollow and following-back
information on account view (unstyled)
app/assets/javascripts/components/actions/accounts.jsx
app/assets/javascripts/components/components/status_content.jsx
app/assets/javascripts/components/features/account/components/action_bar.jsx [new file with mode: 0644]
app/assets/javascripts/components/features/account/components/header.jsx
app/assets/javascripts/components/features/account/index.jsx
app/assets/javascripts/components/reducers/timelines.jsx
app/controllers/api/accounts_controller.rb
app/views/api/accounts/relationship.rabl [new file with mode: 0644]
app/views/api/accounts/relationships.rabl