1
0
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-19 01:25:06 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Yamagishi Kazutoshi
d10447c3a8 Use raw status code on have_http_status () 2018-04-21 21:35:07 +02:00
abcang
ce9a5f358e rescue HTTP::ConnectionError in RemoteFollowController#create () 2017-08-28 19:12:09 +02:00
Eugen Rochko
65f9db73b0 Fix - Accept own ID for remote follow with and without preceding @ ()
* Fix  - Accept own ID for remote follow with and without preceding @
Fix  - Omit leading "acct:" in remote follow redirect template expansion

* Fix test
2017-05-11 21:54:30 +02:00
Matt Jankowski
a4859446ab Coverage for remote follows ()
* Add coverage for create with empty acct value

* Add coverage for create with webfinger failure

* Add coverage for create with webfinger providing bad values

* Add coverage for create when webfinger is good

* Add coverage for session[:remote_follow] having data

* Simplify how remote follow pulls acct from session

* Remote follow behaves more like model

* Move the discovery portions of remote follow out of controller

* Check for suspended accounts
2017-05-02 00:44:23 +02:00
Matt Jankowski
9736753985 Fix remote follow ()
* Add coverage for remote_follow#new

* Fix reference to authorize_follows/card partial
2017-04-28 00:16:44 +02:00