takahe/core
Corry Haines b53504fe64
Basic OpenGraph support (#267)
Creates an OpenGraph template include in base.html including the basic tags expected on all pages.

Then allows any page to add additional expected tags via `context`.

Currently, profiles and posts are enriched to show complete opengraph metadata, and render correctly in Discord.

Note: This does not show posts in Slack like Twitter/Mastodon do. I believe this is due to Slack preferring oembed when present, which is a mastodon API endpoint we may need to create at some point.
2022-12-26 10:39:33 -07:00
..
migrations Migration reset, start of docs, env vars 2022-11-18 11:28:16 -07:00
models Persist CWs in replies, expand linked at once 2022-12-26 10:03:13 -07:00
__init__.py Initial commit (users and statuses) 2022-11-05 14:17:27 -06:00
admin.py Improve djadmin filtering and search (#149) 2022-12-08 10:29:51 -07:00
apps.py Migration reset, start of docs, env vars 2022-11-18 11:28:16 -07:00
context.py Basic OpenGraph support (#267) 2022-12-26 10:39:33 -07:00
decorators.py Only cache unauthenticated page views (#117) 2022-12-05 22:23:07 -07:00
exceptions.py settings.SETUP.SENTRY_CAPTURE_MESSAGES (#133) 2022-12-06 16:54:45 -07:00
files.py BunnyCDN doesn't return content-type (#251) 2022-12-23 22:17:43 -07:00
html.py Guard Post mentions processing from unfetched Identities (#272) 2022-12-25 14:37:31 -07:00
htmx.py Add pyupgrade with --py310-plus in pre-commit (#103) 2022-12-05 10:38:37 -07:00
ld.py Some servers send object as dict for PostInteraction and Follow (#261) 2022-12-24 21:24:46 -07:00
middleware.py Install debug toolbar in debug mode 2022-12-20 15:26:39 +00:00
sentry.py [WIP] Sentry improvements (#108) 2022-12-04 18:08:23 -07:00
signatures.py Relax accept header for gup.pe 2022-12-20 13:21:50 +00:00
uploads.py Remove identity avatar fetching 2022-12-19 20:55:27 +00:00
uris.py Make the collectstatic hack slightly better 2022-12-16 19:51:19 -07:00
views.py Views that return fixed content only generate the content once (#271) 2022-12-25 14:26:15 -07:00