]> cat aescling's git repositories - mastodon.git/commit
Add remote interaction dialog for toots (#8202)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 18 Aug 2018 01:03:12 +0000 (03:03 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Aug 2018 01:03:12 +0000 (03:03 +0200)
commit78fa926ed560e6a9738144bec7e152fa42104139
tree77470dc0c731cf32e298a32d618d65f5dc5b3820
parentbf1bde5d6a8306284a0cce89eb8f492b8c9b7a67
Add remote interaction dialog for toots (#8202)

* Add remote interaction dialog for toots

* Change AuthorizeFollow into AuthorizeInteraction, support statuses

* Update brakeman.ignore

* Adjust how interaction buttons are display on public pages

* Fix tests
27 files changed:
app/controllers/authorize_follows_controller.rb [deleted file]
app/controllers/authorize_interactions_controller.rb [new file with mode: 0644]
app/controllers/intents_controller.rb
app/controllers/remote_follow_controller.rb
app/controllers/remote_interaction_controller.rb [new file with mode: 0644]
app/helpers/home_helper.rb
app/javascript/packs/public.js
app/javascript/styles/mastodon/components.scss
app/javascript/styles/mastodon/stream_entries.scss
app/models/remote_follow.rb
app/serializers/webfinger_serializer.rb
app/views/authorize_follows/show.html.haml [deleted file]
app/views/authorize_interactions/_post_follow_actions.html.haml [moved from app/views/authorize_follows/_post_follow_actions.html.haml with 61% similarity]
app/views/authorize_interactions/error.html.haml [moved from app/views/authorize_follows/error.html.haml with 100% similarity]
app/views/authorize_interactions/show.html.haml [new file with mode: 0644]
app/views/authorize_interactions/success.html.haml [moved from app/views/authorize_follows/success.html.haml with 60% similarity]
app/views/layouts/modal.html.haml
app/views/remote_interaction/new.html.haml [new file with mode: 0644]
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml
app/views/stream_entries/show.html.haml
app/views/well_known/webfinger/show.xml.ruby
config/brakeman.ignore
config/locales/en.yml
config/routes.rb
spec/controllers/authorize_interactions_controller_spec.rb [moved from spec/controllers/authorize_follows_controller_spec.rb with 71% similarity]
spec/controllers/intents_controller_spec.rb