Alexander Strizhakov
7dffaef479
tests consistency
пре 4 година
lain
9b85592b8b
Merge branch 'fix/rich-media-fake-statuses' into 'develop'
Rich Media: Do not cache URLs for preview statuses
Closes #1987
See merge request pleroma/pleroma!2956
пре 3 година
rinpatch
e198ba492e
Rich Media: Do not cache URLs for preview statuses
Closes #1987
пре 3 година
Alexander Strizhakov
6512ef6879
excluding attachment links from RichMedia
пре 4 година
Egor Kislitsyn
7803a85d2c
Add OpenAPI spec for StatusController
пре 4 година
Mark Felder
05da5f5cca
Update Copyrights
пре 4 година
Egor Kislitsyn
a98cda7758
Fix Pleroma.HTML.extract_first_external_url/2
пре 4 година
rinpatch
08f6837065
Switch from HtmlSanitizeEx to FastSanitize
пре 4 година
Haelwenn (lanodan) Monnier
447514dfa2
Bump copyright years of files changed in 2019
Done via the following command:
git diff 1e6c102bfc
--stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
пре 4 година
rinpatch
035368d363
Rich Media: Skip Microformats hashtags
When fixing this problem I incorrectly assumed a.hashtag is
the proper way for detecting hashtags, but it is just something Pleroma and
Mastodon add. Per microformats it should be detected by the presense of rel=tag.
This MR adds a check for rel=tag, but I still left a.hashtag just in case
пре 5 година
rinpatch
d0ebc0edf3
Fix hashtags being picked up by rich media parser
Closes #989
пре 5 година
William Pitcock
f5535e5743
html: lock down allowed class attributes to only those related to microformats
пре 5 година
Fong-Wan Chau
4ed2618f6c
Allow 'rel' attribute on `<a>` link with specific values (for hashtag recognition).
пре 5 година
William Pitcock
3c08d229db
tests: add legal boilerplate
пре 5 година
William Pitcock
85b59d07b6
test: add smoketests for the scrubbing policies
пре 5 година