akkoma/lib/pleroma/web
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)
2018-11-13 15:58:02 +01:00
..
activity_pub activitypub: transmogrifier: sanitize internal representation details from outgoing objects 2018-11-10 12:24:20 +00:00
channels Clean up unused aliases and imports 2018-05-04 21:25:31 +00:00
common_api common api: utils: flip to/cc for mentions 2018-11-08 19:17:01 +00:00
federator federator: don't federate anything other than Note objects to OStatus 2018-11-10 10:06:10 +00:00
http_signatures Rename id helper method. 2018-05-26 13:57:11 +02:00
mastodon_api Mastodon API: Fix list streaming 2018-11-11 14:18:15 +01:00
media_proxy media_proxy: CSP, content-disposition 2018-11-13 15:58:02 +01:00
nodeinfo Runtime configured router 2018-11-05 15:19:03 +01:00
oauth oauth: fix token decode regression 2018-11-11 05:26:39 +00:00
ostatus federator: don't federate anything other than Note objects to OStatus 2018-11-10 10:06:10 +00:00
salmon Probably better way of handling non-follow undos in ostatus 2018-05-11 11:59:53 -04:00
templates Unify Mastodon Login with OAuth login. 2018-11-06 15:19:11 +01:00
twitter_api Twitter API: Fall back to user.nickname if user has no name 2018-11-12 15:52:13 +00:00
views Format the code. 2018-03-30 15:01:53 +02:00
web_finger Runtime configured router 2018-11-05 15:19:03 +01:00
websub Runtime configured router 2018-11-05 15:19:03 +01:00
xml XML: handle erlang errors too 2018-06-06 16:27:13 +00:00
chat_channel.ex Format the code. 2018-03-30 15:01:53 +02:00
endpoint.ex Add __Host- prefix when secure flag is enabled 2018-11-13 00:32:38 +01:00
gettext.ex Phoenix skeleton 2017-03-17 17:09:58 +01:00
router.ex media_proxy: CSP, content-disposition 2018-11-13 15:58:02 +01:00
streamer.ex streamer: contain list updates in the same way as we do with the database query 2018-08-29 09:23:05 +00:00
web.ex Format the code. 2018-03-30 15:01:53 +02:00