Mark Felder
|
64553ebae2
|
Merge branch 'develop' into chore/elixir-1.11
|
4 years ago |
Alexander Strizhakov
|
0374df1d12
|
other files consistency
|
4 years ago |
feld
|
6d1666a080
|
Apply 1 suggestion(s) to 1 file(s)
|
4 years ago |
Mark Felder
|
d3106c69c8
|
Fix incompatible type (Elixir 1.11)
|
4 years ago |
Ivan Tashkinov
|
7cdbd91d83
|
[#2497] Configurability of :min_content_length (preview proxy). Refactoring, documentation, tests.
|
4 years ago |
Ivan Tashkinov
|
a781f41f96
|
[#2497] Media preview proxy: misc. improvements (`static` param support, dynamic fifo pipe path), refactoring.
|
4 years ago |
Ivan Tashkinov
|
cd234a5321
|
[#2497] Media preview proxy: preview bypass for small images
(basing on Content-Length and Content-Type).
|
4 years ago |
Ivan Tashkinov
|
32831f371f
|
[#2497] Media preview proxy: redirecting to media proxy url in case of preview error or unsupported content type.
|
4 years ago |
Ivan Tashkinov
|
4d18a50f3c
|
[#2497] Formatting fix.
|
4 years ago |
Ivan Tashkinov
|
dc4e06e199
|
[#2497] Removed support for thumbnail_max_* params for media preview proxy
(per https://git.pleroma.social/pleroma/pleroma/-/merge_requests/2497#note_70771)
|
4 years ago |
Ivan Tashkinov
|
68a74d6659
|
[#2497] Added missing alias, removed legacy `:adapter` option specification for HTTP.get/_.
|
4 years ago |
Ivan Tashkinov
|
f170d47130
|
[#2497] Adjusted media proxy preview invalidation. Allowed client-side caching for media preview. Adjusted prewarmer to fetch only proxiable URIs.
Removed :preview pool in favor of existing :media one. Misc. refactoring.
|
4 years ago |
Ivan Tashkinov
|
c3b02341bf
|
[#2497] Made media preview proxy fall back to media proxy instead of to source url. Adjusted tests. Refactoring.
|
4 years ago |
Mark Felder
|
d1e1057e22
|
Merge branch 'media-preview-proxy' of git.pleroma.social:pleroma/pleroma into feld-media-preview-proxy
|
4 years ago |
Mark Felder
|
6141eb94ab
|
Fetch preview requests through the MediaProxy. Separate connection options are not needed.
Use a separate pool for preview requests
|
4 years ago |
Ivan Tashkinov
|
60c925380d
|
[#2497] Added support for enforcing output format for media proxy preview, used for avatar_static & header_static (AccountView).
|
4 years ago |
Ivan Tashkinov
|
6ce28c4091
|
[#2497] Fix for png media proxy preview response headers (content-type & content-disposition).
|
4 years ago |
Ivan Tashkinov
|
0a839d51a7
|
[#2497] Added Cache-Control response header for media proxy preview endpoint.
|
4 years ago |
Mark Felder
|
2d2af75777
|
Support PNG previews to preserve alpha channels
|
4 years ago |
Mark Felder
|
5b4d483f52
|
Add a note about the avatars and banners situation
|
4 years ago |
Mark Felder
|
ef9d12fcc5
|
Attempt at supporting video thumbnails via ffmpeg
|
4 years ago |
Mark Felder
|
157ecf4022
|
Follow redirects.
I think we should be using some global adapter options here, though.
|
4 years ago |
Mark Felder
|
eead2276e7
|
Ensure GIFs are redirected to the original or they become static.
|
4 years ago |
Mark Felder
|
ddbddc08fc
|
Redirects for videos right now
|
4 years ago |
Mark Felder
|
899ea2da3e
|
Switch to imagemagick, only support videos
|
4 years ago |
Ivan Tashkinov
|
aa0a5ffb48
|
[#2497] Media preview proxy: added `quality` config setting, adjusted width/height defaults.
|
4 years ago |
Ivan Tashkinov
|
02ad1cd8e9
|
[#2497] Media preview proxy: added Content-Disposition header with filename to response.
|
4 years ago |
Ivan Tashkinov
|
4ee15e991e
|
[#2497] Media preview proxy config refactoring & documentation.
|
4 years ago |
Ivan Tashkinov
|
da116d81fb
|
[#2497] Added video preview proxy. Switched from exexec to Port.
|
4 years ago |
Ivan Tashkinov
|
27e7999a15
|
Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy
|
4 years ago |
Maksim Pechnikov
|
345ac512e4
|
added paginate+search for admin/MediaProxy URLs
|
4 years ago |
Ivan Tashkinov
|
bdf57b8ef4
|
Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy
# Conflicts:
# config/config.exs
# lib/pleroma/web/media_proxy/media_proxy.ex
# mix.lock
# test/web/media_proxy/media_proxy_test.exs
|
4 years ago |
Alexander Strizhakov
|
b376442325
|
MediaProxy whitelist setting now supports hosts with scheme
added deprecation warning about using bare domains
|
4 years ago |
Mark Felder
|
d23804f191
|
Use the Pleroma.Config alias
|
4 years ago |
Ivan Tashkinov
|
9faa632037
|
[#2497] Fixed merge issue.
|
4 years ago |
Ivan Tashkinov
|
61180ab6f4
|
Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy
# Conflicts:
# config/config.exs
# lib/pleroma/web/media_proxy/media_proxy.ex
# lib/pleroma/web/media_proxy/media_proxy_controller.ex
|
4 years ago |
Maksim Pechnikov
|
4044f24e2e
|
fix test
|
4 years ago |
Mark Felder
|
2731ea1334
|
Change references from "deleted_urls" to "banned_urls" as nothing is handled via media deletions anymore; all actions are manual operations by an admin to ban the url
|
4 years ago |
Mark Felder
|
c08c9db0c1
|
Remove misleading is_ prefix from boolean function
|
4 years ago |
Mark Felder
|
71a5d9bffb
|
Empty list as default
|
4 years ago |
Maksim
|
9a371bf5f6
|
Apply suggestion to lib/pleroma/web/media_proxy/invalidations/script.ex
|
4 years ago |
Maksim
|
44ce97a9c9
|
Apply suggestion to lib/pleroma/web/media_proxy/invalidations/script.ex
|
4 years ago |
Maksim
|
74fd761637
|
Apply suggestion to lib/pleroma/web/media_proxy/invalidation.ex
|
4 years ago |
Maksim Pechnikov
|
62b8c31b7a
|
added tests
|
4 years ago |
Maksim Pechnikov
|
2e8a236cef
|
fix invalidates media url's
|
4 years ago |
Ivan Tashkinov
|
610343edb3
|
[#2497] Image preview proxy: image resize & background color fix with ffmpeg -filter_complex.
|
4 years ago |
Ivan Tashkinov
|
6fd4f58ead
|
Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy
|
4 years ago |
Ivan Tashkinov
|
1871a5ddb4
|
[#2497] Image preview proxy: implemented ffmpeg-based resizing, removed eimp & mogrify-based resizing.
|
4 years ago |
Maksim Pechnikov
|
5f0a3ac74d
|
added tests
|
4 years ago |
Maksim Pechnikov
|
c33a4315fb
|
updated docs
|
4 years ago |