Commit Graph

7 Commits (fb8aa2b3bac122f819b07c7f9461b26cc369c621)

Author SHA1 Message Date
Eugen Rochko df605f0f8b Add "signed in as" header to some pages ()
Matt Jankowski 6e4c7d6211 Conditional validations no longer accept strings for if/unless ()
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
Matt Jankowski 0687ab8ae3 Clean up generation of account webfinger string ()
* Consolidate webfinger string creation under Account#to_webfinger_s

* Introduce Account#local_username_and_domain for consolidation
Drew DeVault f7e35d90db Remote follow improvements
This stores the @username@instance you provide in your session and
reuses it the next time you remote follow someone from this instance.
Eugen Rochko 75122e162d Fix uri expansion during remote follow
Eugen Rochko 8f47f6a7ec Adding remote follow button