Commit Graph

13 Commits (e6d67f85e288a5c3137c9fc09f99c9051544d87c)

Author SHA1 Message Date
Eugen Rochko de5305a3a5
Fix redirecting non-functional accounts on public pages ()
Fix 
Eugen Rochko b54b725d6b
Fix uncaught domain normalization error in remote follow ()
Eugen Rochko 63c7fe8e48
Refactor controllers for statuses, accounts, and more ()
Eugen Rochko 78fa926ed5
Add remote interaction dialog for toots ()
* 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
Eugen Rochko 2092d5c0ad
Improve embeds ()
* Make embeds cacheable by reverse proxy

* Make follow button on embeds open remote follow modal

Instead of web+mastodon://, also, turn the button blue, and add a
sign up prompt to the remote follow modal
Akihiko Odaki 2c1ed5f872 Show mastodon on modal ()
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