akkoma/lib/pleroma/web
Mark Felder 997551bac9 Fix TwitterCard meta tags
TwitterCard meta tags are supposed to use the attributes "name" and "content".
OpenGraph tags use the attributes "property" and "content".

Twitter itself is smart enough to detect broken meta tags and discover the TwitterCard
using "property" and "content", but other platforms that only implement parsing of TwitterCards
and not OpenGraph may fail to correctly detect the tags as they're under the wrong attributes.

> "Open Graph protocol also specifies the use of property and content attributes for markup while
> Twitter cards use name and content. Twitter’s parser will fall back to using property and content,
> so there is no need to modify existing Open Graph protocol markup if it already exists." [0]

[0] https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
2023-06-14 19:30:19 +00:00
..
activity_pub CommonFixes: more predictable context generation 2023-06-14 16:22:26 +00:00
admin_api Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
akkoma_api add selection UI 2023-03-28 12:44:52 +01:00
api_spec Stop exposing if a user blocks you over the API. 2023-05-28 23:42:27 +02:00
auth argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
common_api Interpret \n as newline for MFM 2023-02-18 19:56:11 +01:00
fallback ensure we send the right files for preferred fe 2023-03-12 23:59:10 +00:00
federator Remove debug prints 2022-06-25 18:43:19 +01:00
feed maintenance: dependency upgrade (#81) 2022-07-18 00:56:35 +00:00
mailer Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mastodon_api Stop exposing if a user blocks you over the API. 2023-05-28 23:42:27 +02:00
media_proxy Use uppercase HTTP HEAD method for media preview proxy request (#128) 2022-07-30 21:58:14 +00:00
metadata Fix TwitterCard meta tags 2023-06-14 19:30:19 +00:00
mongoose_im argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
nodeinfo Mix format 2023-04-14 17:56:34 +01:00
o_auth Allow moderators to get the admin scope again 2023-03-08 17:39:35 +00:00
o_status we don't actually need the object on redirect 2023-03-29 11:44:03 +01:00
pleroma_api Make backups require its own scope (#218) 2022-09-19 17:31:35 +00:00
plugs revert uploaded-media 2023-05-26 12:06:41 +01:00
preload/providers Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
push Push.Impl: support edits 2022-10-28 01:20:19 -04:00
rich_media Apply oembed patch 2023-05-26 20:45:57 +01:00
static_fe Correct og:description tag in static-fe 2022-12-30 07:14:54 +02:00
templates Add note telling people to refresh 2023-04-14 16:55:48 +01:00
twitter_api fix: Give error message to users when address has already been validated 2023-01-12 22:08:10 +01:00
utils Pleroma.Web.Params --> Pleroma.Web.Utils.Params 2021-06-08 12:50:47 -05:00
views GOOGLE 2022-12-07 11:41:24 +00:00
web_finger giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
api_spec.ex update references to pleroma in docs 2022-12-30 03:43:35 +00:00
common_api.ex Post editing (#202) 2022-09-06 19:24:02 +00:00
controller_helper.ex giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
embed_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
endpoint.ex Add prometheus metrics to router 2022-12-15 02:02:07 +00:00
federator.ex and i yoink (#275) 2022-11-14 15:07:26 +00:00
gettext.ex Fix incorrect fallback when English is set to first language 2022-06-29 20:47:10 +01:00
instance_document.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
manifest_controller.ex Expose /manifest.json for PWA 2021-11-24 17:50:55 -06:00
masto_fe_controller.ex API compatibility with fedibird, frontend config (#163) 2022-08-17 00:22:59 +00:00
media_proxy.ex media_proxy: switch from :crypto.hmac to :crypto.mac 2021-06-03 19:11:15 +02:00
metadata.ex Add configurable theme color (#53) 2022-07-06 20:00:43 +00:00
o_auth.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
pipelines.ex Remove precompiled javascript (#55) 2022-07-08 13:03:18 +00:00
plug.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
preload.ex remove unused variable 2022-12-16 12:36:34 +00:00
push.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
rel_me.ex Add more information about failed verifications 2023-03-10 03:51:24 +00:00
router.ex Merge branch 'develop' into frontend-switcher-9000 2023-04-14 16:56:10 +01:00
streamer.ex Remerge of hashtag following (#341) 2022-12-05 12:58:48 +00:00
swagger.ex remove anonymous function from plug 2022-07-14 11:17:14 +01:00
telemetry.ex Use a genserver to periodically fetch metrics 2023-01-01 18:32:14 +00:00
translation_helpers.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
uploader_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
web_finger.ex giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
xml.ex respect content-type header in finger request 2021-03-19 18:53:55 +03:00