pleroma/lib/pleroma
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 Merge branch 'from/upstream-develop/tusooa/streaming-fix' into 'develop' 2022-09-03 18:24:28 +00:00
bbs BBS: add repeat functionality 2022-05-22 03:19:24 +02:00
captcha Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config Remove Quack logging backend 2022-11-11 12:36:29 -05:00
conversation Copyright bump for 2022 2022-02-25 23:11:42 -07:00
docs Pass in msgctxt for config translation strings 2022-07-14 17:41:33 -04:00
ecto_type EctoType: Add MIME validator 2022-03-17 22:37:26 +01:00
emails Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
emoji Emoji: apply recommended tail call changes 2022-07-27 02:08:46 +02:00
gopher Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun Copyright bump for 2022 2022-02-25 23:11:42 -07:00
helpers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http hackney adapter helper & reverse proxy client: enable TLSv1.3 2022-05-31 00:51:45 +02:00
instances Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migration_helper Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migrators Merge branch 'fix/federation-context-issues' into 'develop' 2022-09-04 18:43:36 +00:00
object Object.Fetcher: Set reachable on successful fetch 2022-11-13 16:51:12 +01:00
password Copyright bump for 2022 2022-02-25 23:11:42 -07:00
reverse_proxy hackney adapter helper & reverse proxy client: enable TLSv1.3 2022-05-31 00:51:45 +02:00
telemetry Copyright bump for 2022 2022-02-25 23:11:42 -07:00
tesla/middleware Copyright bump for 2022 2022-02-25 23:11:42 -07:00
tests Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload Descriptions from exif data with only whitespeces are considered empty 2022-07-01 13:47:23 +02:00
uploaders Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user User: search: exclude deactivated users from user search 2022-09-16 00:49:16 +03:00
web Fix TwitterCard meta tags 2022-12-19 17:23:12 -05:00
workers Define sane Oban Worker timeouts 2022-11-11 13:46:27 -05:00
activity.ex Extract deactivated users query to a join 2022-11-12 17:52:28 -05:00
announcement.ex Use utc_datetime in db schema 2022-03-18 11:17:22 -04:00
announcement_read_relationship.ex Implement announcement read relationships 2022-03-08 13:09:49 -05:00
application.ex Merge branch 'release/2.4.4' into mergeback/2.4.4 2022-10-08 22:15:09 -04:00
application_requirements.ex Rename the Exiftool module 2022-07-01 12:15:02 +02:00
bookmark.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
caching.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
captcha.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
clippy.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config_db.ex Remove Quack logging backend 2022-11-11 12:36:29 -05:00
constants.ex Merge branch 'develop' into 'from/upstream-develop/tusooa/edits' 2022-07-03 22:24:57 +00:00
conversation.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
counter_cache.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
data_migration.ex Migrations: delete contexts with BaseMigrator 2022-08-15 01:47:09 +02:00
delivery.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ecto_enums.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emoji-test.txt emoji-test: update to latest 15.0 draft 2022-08-20 00:21:07 +02:00
emoji.ex Emoji: split qualification variation into a module 2022-07-26 02:04:12 +02:00
filter.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
following_relationship.ex Merge branch 'develop' into 'from/develop/tusooa/emit-move' 2022-07-31 21:32:49 +00:00
formatter.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
hashtag.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
healthcheck.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
html.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http.ex expanding WebFinger 2022-11-03 09:48:24 -04:00
instances.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
job_queue_monitor.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
jwt.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
keys.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
list.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
logging.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
maintenance.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
maps.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
marker.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
moderation_log.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
notification.ex Merge branch 'from/upstream-develop/tusooa/assoc-object-id' into 'develop' 2022-09-03 02:50:40 +00:00
object.ex ObjectView: do not fetch an object for its ID 2022-09-11 04:54:04 +02:00
object_tombstone.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
otp_version.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pagination.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
password_reset_token.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
registration.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
release_tasks.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
report_note.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
reverse_proxy.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
scheduled_activity.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
signature.ex Merge branch 'fix/user-private-key-generation' into 'develop' 2022-09-05 15:38:15 +00:00
stats.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
thread_mute.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload.ex Merge branch 'develop' into 'from/upstream-develop/tusooa/edits' 2022-07-03 22:24:57 +00:00
user.ex Merge branch 'fix-2856' into 'develop' 2022-12-16 16:15:36 +00:00
user_invite_token.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_note.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_relationship.ex fix flaky test_user_relationship_test.exs:81 2022-08-24 15:24:07 +00:00
utils.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
xml_builder.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00