Commit Graph

12 Commits (fe3bf3b0fc7c74ce12b48a4e03498c410bfd82f5)

Author SHA1 Message Date
luzpaz 40dd19be37 Misc. typos ()
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status ()
Akihiko Odaki a1049e9380 Redirect to account status page for page of status stream entry ()
Commit 519119f657 missed a change for
stream entry page. Instead of duplicating the change, redirect to account
status page. It would also help crawlers (of search engines, for example)
to understand a stream entry URL and its corresponding status URL points
to the same page.
Eugen Rochko e95bdec7c5 Update status embeds ()
- Use statuses controller for embeds instead of stream entries controller
- Prefer /@:username/:id/embed URL for embeds
- Use /@:username as author_url in OEmbed
- Add follow link to embeds which opens web intent in new window
- Use redis cache in development
- Cache entire embed
Eugen Rochko a2aeacbfee Add alternate links to ActivityPub resources from HTML/HEAD variants ()
unarist 0f1b1d78b1 Use "match_array" only for order independent assertions ()
Akihiko Odaki ea2ef16ea4 Cover StreamEntriesController more and remove redundant instructions ()
* Cover StreamEntriesController more

* Remove redundant instructions in StreamEntriesController
Matt Jankowski dd1ae3b109 Simplify the way the embed view is created ()
* Add coverage for embedded status view

* Refactor embed view to eliminate @external_links variable
Eugen Rochko 87576e1ab1 Fixing atom feeds for accounts, adding tests that would catch such bugs in future
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things