pleroma/test/pleroma/web
Mark Felder 72d4d1b392 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
2022-12-19 17:23:12 -05:00
..
activity_pub AttachmentValidator: Actually require url 2022-12-15 17:46:20 -05:00
admin_api Flag an Object, not an Activity 2022-11-19 23:51:43 -05:00
api_spec Copyright bump for 2022 2022-02-25 23:11:42 -07:00
auth Copyright bump for 2022 2022-02-25 23:11:42 -07:00
common_api StatusView: clear MSB on calculated conversation_id 2022-08-09 20:10:43 +02:00
endpoint Copyright bump for 2022 2022-02-25 23:11:42 -07:00
feed Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mastodon_api Return 413 when an actor's banner or background exceeds the size limit 2022-12-11 23:15:08 +01:00
media_proxy script_test: Fix %ErlangError for Elixir 1.14 2022-09-03 03:58:22 +02:00
metadata Fix TwitterCard meta tags 2022-12-19 17:23:12 -05:00
o_auth Merge branch 'fix_test_get_user_apps' into 'develop' 2022-03-06 18:40:49 +00:00
o_status Document way to do notice compatibility routes with Nginx reverse-proxy instead 2022-07-16 23:44:37 -06:00
pleroma_api Merge branch 'develop' into 'from/upstream-develop/tusooa/2892-backup-scope' 2022-09-05 15:00:19 +00:00
plugs Fix typo in CSP Report-To header name 2022-11-04 09:43:13 +01:00
preload/providers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
push Push.Impl: support edits 2022-10-01 23:28:02 +02:00
rich_media Copyright bump for 2022 2022-02-25 23:11:42 -07:00
static_fe Copyright bump for 2022 2022-02-25 23:11:42 -07:00
twitter_api expanding WebFinger 2022-11-03 09:48:24 -04:00
views Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web_finger expanding WebFinger 2022-11-03 09:48:24 -04:00
common_api_test.exs Flag an Object, not an Activity 2022-11-19 23:51:43 -05:00
fallback_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federator_test.exs Treat containment failure as cancel in ReceiverWorker 2022-08-08 08:41:33 -04:00
gettext_test.exs Fix incorrect fallback when English is set to first language 2022-04-17 22:39:52 -04:00
manifest_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
media_proxy_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mongoose_im_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
node_info_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
rel_me_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
shout_channel_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
streamer_test.exs Merge branch 'release/2.4.4' into mergeback/2.4.4 2022-10-08 22:15:09 -04:00
uploader_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web_finger_test.exs rebase fix 2022-11-03 10:06:36 -04:00