Recent content by Covert

  1. Covert

    Article threads and data usage increase

    We recently upgraded to 2.2 and set the home page to our announcements, using the article thread type. Since each article has an attachment for the preview, this resulted in a very noticeable data usage increase. We are currently utilizing Cloudflare Argo so each GB counts for the monthly cost...
  2. Covert

    XF 2.1 Editing avatar throws error with S3

    The error was a signature mismatch and seems to only happen if you crop the avatar and save it. I was able to fix the error by applying these rules in Cloudflare: I will take a deeper dive when I have the time to see why it only happens when cropping the image and saving.
  3. Covert

    what kind do you have?

    what kind do you have?
  4. Covert

    XF 2.1 REST API - Disable JSON_PRETTY_PRINT?

    @TickTackk Appreciate the help, I got it working now. REST API <?php namespace Example\XF\Api\Mvc\Renderer; class Api extends XFCP_Api { protected function initialize() { parent::initialize(); $this->encodeModifiers = JSON_UNESCAPED_SLASHES; } } UI (tooltip, etc)...
  5. Covert

    XF 2.1 REST API - Disable JSON_PRETTY_PRINT?

    I tried this, but the response was still using JSON_PRETTY_PRINT. <?php namespace Example\XF\Mvc\Renderer; class Json extends XFCP_Json { protected function initialize() { parent::initialize(); $this->encodeModifiers = JSON_UNESCAPED_SLASHES; } } Am I doing...
  6. Covert

    XF 2.1 REST API - Disable JSON_PRETTY_PRINT?

    Is there any way to disable the responses from being formatted? There isn't a benefit to having it enabled in production since it only increases response sizes and CPU usage. Appreciate any help!
  7. Covert

    XF 2.1 Editing avatar throws error with S3

    This error is only thrown if you try to edit the avatar. You just have to move it in any direction and try to save it. If I disable the add-on the exception is no longer thrown. https://xenforo.com/community/resources/using-digitalocean-spaces-or-amazon-s3-for-file-storage-in-xf-2-x.6805/...
Top Bottom