about summary refs log tree commit diff
path: root/app/models/remote_follow.rb
AgeCommit message (Collapse)Author
2020-10-08Remove dependency on goldfinger gem (#14919)Eugen Rochko
There are edge cases where requests to certain hosts timeout when using the vanilla HTTP.rb gem, which the goldfinger gem uses. Now that we no longer need to support OStatus servers, webfinger logic is so simple that there is no point encapsulating it in a gem, so we can just use our own Request class. With that, we benefit from more robust timeout code and IPv4/IPv6 resolution. Fix #14091
2020-05-10Refactor monkey-patching of Goldfinger (#12561)Eugen Rochko
2019-09-19Add account migration UI (#11846)Eugen Rochko
Fix #10736 - Change data export to be available for non-functional accounts - Change non-functional accounts to include redirecting accounts
2019-08-30Fix uncaught domain normalization error in remote follow (#11703)Eugen Rochko
2019-08-07Fix acct URIs with IDN domains not being resolved (#11520)Eugen Rochko
Fix #11494
2018-08-18Add remote interaction dialog for toots (#8202)Eugen Rochko
* 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
2017-12-06Using double splat operator (#5859)Yamagishi Kazutoshi
2017-08-28rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)abcang
2017-06-20Fix RemoteFollow behavior (#3868)unarist
* Invalid acct is an error. not "2 errors". * Empty input should be different error from invalid acct
2017-05-11Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)Eugen Rochko
* Fix #2027 - Accept own ID for remote follow with and without preceding @ Fix #2177 - Omit leading "acct:" in remote follow redirect template expansion * Fix test
2017-05-02Coverage for remote follows (#2694)Matt Jankowski
* 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-04-22strip leading & trailing spaces from remote follow acct (#997) (#2321)codl
2017-01-01Adding remote follow buttonEugen Rochko