* origin/develop: (129 commits)
Uploaders.S3: Replace unsafe characters in object key
update pleroma frontend
test: add smoketests for the scrubbing policies
html: twittertext: add missing catchall scrub function
twitter api: add no_rich_text option to userview for account prefs
test: add tests for new User.html_filter_policy()
mastodon api: formatting
twitter api: add support for disabling rich text
mastodon api: add support for user-supplied html policy
twitter api: add support for user-specified html policy
user: add User.html_filter_policy()
html: default to using normal scrub policy if provided scrub policy is nil
mix: remove fix_ap_users task, now obsolete
test: add test proving that users are refreshed when stale
user: implement dynamic refresh of profiles (gets rid of need for fix_ap_users task)
Update mastodon frontend
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to 2.5.0
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Remove unused variables
[Pleroma.Web.Router]: Fake /api/v1/endorsements
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
...
proxy_ignore_client_abort will continue to fetch from upstream even if a client aborts the connection. This is highly recommended when cache is being used. If a client leaves/refreshes the page while a user's avatar or some other media is halfway loaded, the cached copy might in some cases be broken. Leaving future requests to the same URL broken until cache expires.
Not sure why it matters if you cache it or not. What's different about this JSON blob?
Perhaps it's a header that needs to be set for the redirect to happen?
This does not work as expected. We should not attempt to be clever here.
Varnish will do the right thing if we just teach Pleroma to set headers
properly for content we know can be cached.
The built-in nginx default does not allow users to upload images
larger than 1 MB. This increases the maximum request size to match
the default Pleroma config upload_limit parameter. Some helpful
comments were also added.