Commit graph

16 commits

Author SHA1 Message Date
Corry Haines
d8cee4097f
Modify emoji loader for cache-optimized return value (#371)
Also fixes an apparent bug in `imageify_emojis.replacer` where `include_local` was not being used correctly (previous code path never returned anything.
2023-01-07 15:19:47 -07:00
Michael Manfre
1425ae0bde
Update emoji for domain when shortcode doesn't match uri (#359) 2023-01-05 19:57:57 -07:00
Corry Haines
165d84abbf
Fixes developed from mypy_django script (#312) 2022-12-29 10:35:14 -07:00
Andrew Godwin
6137149f55 Improve cache busting proxy URLs with file exts
Fixes #287.
2022-12-28 11:57:54 -07:00
Corry Haines
296780d5cc
Use cache-busting URLs for proxied files (#294)
Migrates (in a backwards-compatible way) from `/proxy/identity_image/271/` to `/proxy/identity_image/271/f5d8e72f2b/`.
dently).
2022-12-28 11:39:40 -07:00
Michael Manfre
26f64bfc06
Guess emoji mimetype if not provided in tag (#298) 2022-12-27 19:41:16 -07:00
Andrew Godwin
e066641556 Accept emoji using nameMap 2022-12-22 17:19:12 +00:00
Andrew Godwin
025fd5cf07 Emoji refactor
Emojis are now prefetched from the post, and if not, looked up
individually by shortcode, to prevent loading hundreds.
2022-12-22 16:55:31 +00:00
Andrew Godwin
4ad4f468a4 Refactor HTML rendering into one place
Also suppress using external <a> tags for now, until we can separate
them from hashtags properly.
2022-12-20 11:39:45 +00:00
Andrew Godwin
b6a8737d2e Some more JSON-LD namespace fixing 2022-12-17 17:48:33 -07:00
Andrew Godwin
d08324e159 Handle timeouts on image fetch 2022-12-17 15:00:50 -07:00
Andrew Godwin
1f28361fd9 Return unreviewed emoji in API correctly 2022-12-17 12:20:00 -07:00
Andrew Godwin
d7ffb47fb2 Make emoji better on the wire 2022-12-16 22:20:58 -07:00
Andrew Godwin
770f6728f6 Fix mastodon LD namespace
Fixes #179
2022-12-16 19:45:39 -07:00
Andrew Godwin
5e912ecac5 Fix outbound emoji federation 2022-12-15 12:26:44 -07:00
Michael Manfre
af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00