Commit Graph

10 Commits (e621c1c44c49dbed58e6961ad868d356f0534490)

Author SHA1 Message Date
Matt Jankowski 70dbf84b9b
Solve simplest haml-lint `Rubocop` lints ()
Eugen Rochko 9b1f2a4b61
Add subresource integrity for JS and CSS assets ()
Fix 
Eugen Rochko 80388a3ffe
Change error graphic to hover-to-play ()
Fix 
Eugen Rochko 6e9e0c14e6 Fix dependency of error page generation on database ()
Eugen Rochko 5b45c1646a Remove dependency on db during assets:precompile ()
Eugen Rochko 3b60832214 New error page graphic. Other error page improvements ()
- 500.html generated with admin-set default locale if set
- Error page `<title>` includes Mastodon site title
- 500 title changed to "This page is not
  correct" (ref: <https://www.youtube.com/watch?v=2VCAP_seh1A>)
- 500 content appended with "on our end" to make clear it's
  not user's fault
Eugen Rochko 2c8e3fbbfb Generate 500.html with assets:precompile, remove loading from Google Fonts ()
yhirano 48594b18e6 Added haml-lint and fix warnings ()
* add haml_lint to Gemfile

* add .haml-lint.yml

* fix warnings of haml_lint
Matt Jankowski 598d3defd5 Use default locale for html lang in layouts ()
Eugen Rochko e22a56183a Improve error page layouting. 500 page has to stay static because it's
used from nginx when Rails fails.