aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/rich_media
AgeCommit message (Collapse)Author
2021-05-13Fall back to discovery when OEmbed is invalidAlex Gleason
2021-05-13Rich media: have invalid Rich/Video fall back to LinkAlex Gleason
2021-05-13Parser: don't be so strict about validating Embeds (leave it up to the Card)Alex Gleason
2021-05-13Rich media: merge URIs when neededAlex Gleason
2021-05-05Fall back to OEmbed "url" for Photo typesAlex Gleason
2021-05-04Add rich type back but sanitize HTML betterAlex Gleason
2021-05-04Reject "rich" type embeds for nowAlex Gleason
2021-05-04Sanitize rich media HTMLAlex Gleason
2021-05-04Fix existing testsAlex Gleason
2021-05-04Fix MastodonAPI.StatusViewTestAlex Gleason
2021-05-04Fix ParserTestAlex Gleason
2021-05-04Let :oembed_providers_enabled be configurableAlex Gleason
2021-05-04Add Parser.CardTestAlex Gleason
2021-05-04Handle invalid cardsAlex Gleason
2021-05-04Refactor rich media parser to store %Embed{} instead of %Card{}Alex Gleason
2021-05-04Fix TwitterCard testsAlex Gleason
2021-05-04Update TwitterCard tests and add Parser.MetaTagsAlex Gleason
2021-05-04Make OEmbed discovery workAlex Gleason
2021-05-04Get basic embed workingAlex Gleason
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-12-18Cachex: Make caching provider switchable at runtime.lain
Defaults to Cachex.
2020-11-11Moving some background jobs into simple tasksAlexander Strizhakov
- fetching activity data - attachment prefetching - using limiter to prevent overload
2020-10-13more files renamingsAlexander Strizhakov
2020-10-13rich media parser ttl files consistencyAlexander Strizhakov
2020-10-12Add missing Copyright headersMark Felder
2020-09-28Revert Rich Media censorship for sensitive statusesMark Felder
The #NSFW hashtag test was broken anyway.
2020-09-17RichMedia: Fix log spam on failures and resetting TTL on cached errorsrinpatch
2020-09-14RichMedia: fix a compilation error due to nonexistent variablerinpatch
No idea why this passed Gitlab CI
2020-09-14RichMedia: Do a HEAD request to check content type/lengthrinpatch
This shouldn't be too expensive, since the connections are pooled, but it should save us some bandwidth since we won't fetch non-html files and files that are too large for us to process (especially since you can't cancel a request without closing the connection with HTTP1).
2020-09-14RichMedia parser: do not set a cache TTL for unchanging errorsrinpatch
2020-09-07passing adapter options directly without adapter keyAlexander Strizhakov
2020-09-07adapter options unificationAlexander Strizhakov
not needed options deletion
2020-09-07Merge branch 'fix/rich-media-fake-statuses' into 'develop'lain
Rich Media: Do not cache URLs for preview statuses Closes #1987 See merge request pleroma/pleroma!2956
2020-09-05RichMedia: do not log webpages missing metadata as errorsrinpatch
Also fixes the return value of Parser.parse on errors, previously was just `:ok` due to the logger call in the end
2020-09-05Rich Media: Do not cache URLs for preview statusesrinpatch
Closes #1987
2020-09-02Rich media: Add failure trackingrinpatch
2020-09-02Merge branch 'fix/2047-rich-media-parser' into 'develop'rinpatch
RichMedia parser fix Closes #2047 See merge request pleroma/pleroma!2941
2020-09-02correct pool and uniform headers formatAlexander Strizhakov
2020-09-01don't fail on url fetchAlexander Strizhakov
2020-08-03Consolidate construction of Rich Media Parser HTTP requestsMark Felder
2020-07-30ChatMessageReferenceView: Display preview cards.lain
2020-07-21Revert "Merge branch 'revert-2b5d9eb1' into 'develop'"lain
This reverts merge request !2784
2020-07-21Revert "Merge branch 'linkify' into 'develop'"lain
This reverts merge request !2677
2020-07-16Merge remote-tracking branch 'upstream/develop' into linkifyAlex Gleason
2020-07-07Add "Bot" to User Agent to coerce Twitter into serving OGP <meta> tags.Mark Felder
2020-06-30AutoLinker --> Linkify, update to latest versionAlex Gleason
https://git.pleroma.social/pleroma/elixir-libraries/linkify
2020-06-15Merge remote-tracking branch 'origin/develop' into merge-ogp-twitter-parsersEgor Kislitsyn
2020-06-13Fix atom leak in Rich Media ParserEgor Kislitsyn
2020-06-12Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2Egor Kislitsyn