1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 15:16:19 +09:00
mastodon/app
Billie Thompson 55fa8e61e2
Move the fonts from Google Fonts to local assets
Currently we have two problems that are resolved by this change.

The first is that we have a dependency on Google Fonts, which means
that should it ever go down, or it have issues we would also have
issues. This will resolve this by moving the dependencies we load from
there to the local server.

The second issue is that Google Fonts is currently returning the
`local()` css font source. This causes a problem where the users browser
fails to fallback to a missing glyph, resulting in many unusual
characters displaying the failure glyph. This will resolve this by
creating a font-family definition that does not use the `local()`
source.

I did not update the error pages with local fonts, they still use the
remote google fonts api, so they're a self contained page that does not
use the asset pipeline.

This resolves tootsuite/mastodon#531 and tootsuite/mastodon#12
2017-01-26 20:09:03 +00:00
..
assets Move the fonts from Google Fonts to local assets 2017-01-26 20:09:03 +00:00
channels Adding unified streamable notifications 2016-11-20 19:39:58 +01:00
controllers Improve infinite scroll on notifications 2017-01-26 04:30:40 +01:00
helpers Use <summary> to encode content warnings instead 2017-01-25 16:53:30 +01:00
lib Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text 2017-01-25 01:29:16 +01:00
mailers Follow requests send e-mail notifications, but are excluded from notifications API 2016-12-26 21:52:03 +01:00
models Removed accidental n+1 query from notifications, updated some deps, 2017-01-26 14:52:07 +01:00
services Use <summary> to encode content warnings instead 2017-01-25 16:53:30 +01:00
views Fix #537 - opengraph description should display spoiler text when present 2017-01-26 03:45:14 +01:00
workers Make blocks create entries and unfollows instantly, but do the clean up 2017-01-24 21:40:41 +01:00