Eugen Rochko
9b1f2a4b61
Add subresource integrity for JS and CSS assets ( #15096 )
...
Fix #2744
4 years ago
Thibaut Girka
cac75e01b8
Fix static error page to use the correct pack
6 years ago
Eugen Rochko
80388a3ffe
Change error graphic to hover-to-play ( #10055 )
...
Fix #6060
6 years ago
Thibaut Girka
e8d5affe06
Restore oops.gif animation for user who have auto_play_gif set
6 years ago
Thibaut Girka
0c2d48b60a
Replace animated oops.gif by a non-animated image
...
Fixes #6060
6 years ago
Thibaut Girka
e8a9627f66
Hardcode default skin/theme in error layout ( fixes #373 )
...
This is a bit hackish. The best way would simply to somehow
use Mastodon's ApplicationController with `use_pack 'error'` from
the Rake task, but I'm not sure how to do that.
7 years ago
kibigo!
bdbbd06dad
Finalized theme loading and stuff
7 years ago
Eugen Rochko
6e9e0c14e6
Fix dependency of error page generation on database ( #5280 )
7 years ago
Eugen Rochko
5b45c1646a
Remove dependency on db during assets:precompile ( #5138 )
7 years ago
kibigo!
cf1f83ca2a
Fixed lingering upstream Theme code
7 years ago
Eugen Rochko
3b60832214
New error page graphic. Other error page improvements ( #5099 )
...
- 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
7 years ago
Eugen Rochko
2c8e3fbbfb
Generate 500.html with assets:precompile, remove loading from Google Fonts ( #5067 )
7 years ago
yhirano
48594b18e6
Added haml-lint and fix warnings ( #2773 )
...
* add haml_lint to Gemfile
* add .haml-lint.yml
* fix warnings of haml_lint
8 years ago
Matt Jankowski
598d3defd5
Use default locale for html lang in layouts ( #2212 )
8 years ago
Eugen Rochko
e22a56183a
Improve error page layouting. 500 page has to stay static because it's
...
used from nginx when Rails fails.
8 years ago