Maksim Pechnikov
345ac512e4
added paginate+search for admin/MediaProxy URLs
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
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
Maksim Pechnikov
5f0a3ac74d
added tests
4 years ago
Maksim Pechnikov
c33a4315fb
updated docs
4 years ago
Maksim Pechnikov
3f8d68bdf3
added example cache purge script
4 years ago
Maksim Pechnikov
cb40602a16
added media proxy invalidation
4 years ago
Ivan Tashkinov
f685cbd309
Automatic checks of authentication / instance publicity. Definition of missing OAuth scopes in AdminAPIController. Refactoring.
4 years ago
Mark Felder
05da5f5cca
Update Copyrights
5 years ago
feld
d93d777915
Fix/mediaproxy whitelist base url
5 years ago
Sachin Joshi
1d906ffa82
Merge branch 'develop' into match-file-name
...
# Conflicts:
# lib/pleroma/web/media_proxy/media_proxy_controller.ex
5 years ago
Maksim
fa17879c20
added tests for Web.MediaProxy
5 years ago
Sachin Joshi
f8e3ae6154
try to always match the filename for proxy url
5 years ago
Sachin Joshi
6a6c4d134b
preserve the original path/filename (no encoding/decoding) for proxy
5 years ago
Sachin Joshi
f5ad430974
make sure the url used by proxy is same as origin url
...
encoding or decoding it breaks some of the signed url
5 years ago
Egor Kislitsyn
99f70c7e20
Use Pleroma.Config everywhere
5 years ago
Mark Felder
24c3e2db2c
Add mediaproxy whitelist capability
5 years ago
Haelwenn (lanodan) Monnier
c42d34b2ec
[Credo] fix Credo.Check.Readability.MaxLineLength
6 years ago
Egor Kislitsyn
907306174b
fix S3 links encoding in Mediaproxy
6 years ago
Haelwenn (lanodan) Monnier
8bcfac93a8
Make credo happy
6 years ago
William Pitcock
980b5288ed
update copyright years to 2019
6 years ago
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
6 years ago
Maksim Pechnikov
e94c3442f4
updates
6 years ago
Maksim Pechnikov
074fa790ba
fix compile warnings
6 years ago
href
bdc8112e40
Media proxy: fix url encoding
6 years ago
href
d8fcf7c5cf
Media proxy: follow HTTP redirects by default
6 years ago
href
43d5e4f7fa
Fix media proxy config defaults
6 years ago
href
680716b3c9
Config docs
6 years ago
href
b19597f602
reverse proxy / uploads
6 years ago
href
7f4c3a1e99
mediaproxy: fix empty url & add some tests
6 years ago
href
f52a1d1ec5
media_proxy: use path only to retrieve filename
6 years ago
href
9b553a1087
media_proxy: CSP, content-disposition
...
* Adds CSP headers to the media proxy endpoint
* Sends `content-disposition: attachment; …` for non-image/video/audio
content types
The default list can be overwritten with `:media_proxy,
:safe_content_types` in the configuration.
* Also now appends the filename to the proxy URL (fixes some mobile apps,
it was requested a while ago)
6 years ago
lain
4afbef39f4
Format the code.
7 years ago
lain
ec83175100
Use connection pools.
7 years ago
Jeff Becker
1e185b9301
apply proxy settings to media_proxy
7 years ago
href
0ccd0e5cc9
Remove a useless URI.encode call in MediaProxy
7 years ago
href
f909aec050
proxy emojis
...
(i fix emojos better than gargon but sshhhhh)
7 years ago
href
8e82547179
fix content-type and fallback to image/jpeg
7 years ago
href
077faaed8c
Limit body size to 25MB
7 years ago
href
1cb5cbdc6c
Improve error handling, add configuration
7 years ago
href
e28c110eba
mandatory typo fix...
7 years ago