Mark Felder
202ee5fd77
Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy
3 years ago
Mark Felder
6aa7fc15df
Formatting of the comment
3 years ago
Mark Felder
5f7901cc48
Credo
3 years ago
Mark Felder
2a47156b87
Lint
3 years ago
Mark Felder
86bcb87e6c
Fix incorrectly ordered arguments to the function and not properly merging lists.
3 years ago
Mark Felder
2cf648d419
Add a video thumbnail to the OpenGraph metadata if Media Preview Proxy is enabled.
3 years ago
Mark Felder
19a49dd757
Remove Metadata.Utils.attachment_url/1
...
This was a wasteful shortcut to MediaProxy.preview_url/1 and we don't
always want the preview_url in the metadata anyway.
3 years ago
Mark Felder
9cb8960284
Switch OGP default type from "website" to "article"
...
This is what Mastodon uses and might fix some link preview bugs I've encountered
3 years ago
Mark Felder
d70db63084
Set the correct height/width if the data is available when generating opengraph metadata
3 years ago
io
2c401dafa1
Improve opengraph embeds
...
This brings them more in line with Mastodon.
- Deduplicates display name from the title and content
- Removes arbitrary limits on the size of the embedded image
- Removes angled double quotes from embed descriptions. These would normally just indicate that the content is a quote, but that is already implied by the content being in an embed.
3 years ago
Haelwenn (lanodan) Monnier
c4439c630f
Bump Copyright to 2021
...
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/ >;'
4 years ago
Alexander Strizhakov
0374df1d12
other files consistency
4 years ago