aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web
AgeCommit message (Collapse)Author
2020-09-14Merge remote-tracking branch 'remotes/origin/develop' into media-preview-proxymedia-preview-proxyIvan Tashkinov
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-12[#2497] Media preview proxy: preview bypass for small imagesIvan Tashkinov
(basing on Content-Length and Content-Type).
2020-09-12[#2497] Media preview proxy: redirecting to media proxy url in case of ↵Ivan Tashkinov
preview error or unsupported content type.
2020-09-11Merge remote-tracking branch 'remotes/origin/develop' into media-preview-proxyIvan Tashkinov
# Conflicts: # lib/pleroma/instances/instance.ex
2020-09-10[#2497] Formatting fix.Ivan Tashkinov
2020-09-10expiration for new pipelineAlexander Strizhakov
2020-09-10reject activity creationAlexander Strizhakov
if passed expires_at option and expiring activities are not configured
2020-09-10schedule activity expiration in ObanAlexander Strizhakov
2020-09-10Merge branch 'feature/1790-oban-overuse-clear-oauth-token' into 'develop'rinpatch
Feature/1790 removing expired tokens through Oban scheduled jobs See merge request pleroma/pleroma!2957
2020-09-10Merge branch 'chores/remove-ostatus-fixtures' into 'develop'rinpatch
Remove OStatus in testsuite See merge request pleroma/pleroma!2968
2020-09-10Merge branch 'fix/streaming-termination-errors' into 'develop'rinpatch
Fix two pseudo-errors in websocket handler Closes #2131 See merge request pleroma/pleroma!2982
2020-09-10[#2497] Removed support for thumbnail_max_* params for media preview proxyIvan Tashkinov
(per https://git.pleroma.social/pleroma/pleroma/-/merge_requests/2497#note_70771)
2020-09-10Websocket handler: fix never matching code on failed authrinpatch
`:cowboy_req.reply` does not return tuples since 2.0, see https://ninenines.eu/docs/en/cowboy/2.4/manual/cowboy_req.reply/
2020-09-10Websocket handler: do not raise if handler is terminated before switching ↵rinpatch
protocols Closes #2131
2020-09-10websocket handler: Do not log client ping frames as errorsrinpatch
2020-09-10expire mfa tokens through ObanAlexander Strizhakov
2020-09-10schedule expired oauth tokens deletion with ObanAlexander Strizhakov
2020-09-10[#2497] Removed Hackney-specific codeIvan Tashkinov
(no longer needed due to adapter options unification).
2020-09-09[#2130] Fixed OAuth OOB authentication for users with enabled MFA.Ivan Tashkinov
2020-09-09[#2497] Added missing alias, removed legacy `:adapter` option specification ↵Ivan Tashkinov
for HTTP.get/_.
2020-09-09Merge branch 'develop' into media-preview-proxyMark Felder
2020-09-08Metadata: Move restriction check from Feed provider to activated_providersrinpatch
2020-09-08Use :restrict_unauthenticated testing for more granular controlMark Felder
2020-09-08Do not serve RSS/Atom feeds when instance is privateMark Felder
2020-09-08Feed provider only generates a redirect, so always activate it.Mark Felder
Making this configurable is misleading.
2020-09-08Disable providers of user and status metadata when instance is privateMark Felder
2020-09-08Do not make RelMe metadata provider optional.Mark Felder
There's really no sound reason to turn this off anyway.
2020-09-08AP C2S: Restrict character limit on NoteHaelwenn (lanodan) Monnier
2020-09-08Fix atom leak in AdminAPIControllerEgor Kislitsyn
2020-09-08Drop unused "inReplyToAtomUri" in objectsHaelwenn (lanodan) Monnier
2020-09-08Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into unlistedMark Felder
2020-09-08ForceBotUnlistedPolicy: simplify codeAlibek Omarov
2020-09-07ForceBotUnlistedPolicy: formatAlibek Omarov
2020-09-07ForceBotUnlistedPolicy: initial add, tiny clean up from my previous versionAlibek Omarov
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-05[#2497] Func defs grouping fix.Ivan Tashkinov
2020-09-05[#2497] Adjusted media proxy preview invalidation. Allowed client-side ↵Ivan Tashkinov
caching for media preview. Adjusted prewarmer to fetch only proxiable URIs. Removed :preview pool in favor of existing :media one. Misc. refactoring.
2020-09-05[#2497] Made media preview proxy fall back to media proxy instead of to ↵Ivan Tashkinov
source url. Adjusted tests. Refactoring.
2020-09-03Merge branch 'media-preview-proxy' of git.pleroma.social:pleroma/pleroma ↵Mark Felder
into feld-media-preview-proxy
2020-09-03Fetch preview requests through the MediaProxy. Separate connection options ↵Mark Felder
are not needed. Use a separate pool for preview requests
2020-09-03[#2497] Added support for enforcing output format for media proxy preview, ↵Ivan Tashkinov
used for avatar_static & header_static (AccountView).
2020-09-03Merge branch 'develop' into media-preview-proxyMark Felder
2020-09-03Merge branch 'bugfix/incoming-poll-emoji' into 'develop'lain
Fix emoji in Question, force generated context/context_id insertion Closes #1870 See merge request pleroma/pleroma!2915