Commit Graph

7 Commits (4ca60c665e02103b8730748c9b82b52bcd0d8d1c)

Author SHA1 Message Date
Yamagishi Kazutoshi b21db9bbde Using double splat operator ()
abcang ce9a5f358e rescue HTTP::ConnectionError in RemoteFollowController#create ()
unarist a20cf3b64e Fix RemoteFollow behavior ()
* Invalid acct is an error. not "2 errors".
* Empty input should be different error from invalid acct
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
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
codl 8565ba68f7 strip leading & trailing spaces from remote follow acct () ()
Eugen Rochko 8f47f6a7ec Adding remote follow button