This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
David Taylor f04471e422 REFACTOR: Proxy letter avatars in rails instead of nginx
Co-authored-by: Sam Saffron <sam.saffron@gmail.com>
Co-authored-by: David Taylor <david@taylorhq.com>

This gives more control over the request. In particular we can easily
lookup DNS dynamically, instead of only upon NGINX startup.
Previously, NGINX was looking up IP for the letter avatar service and
caching the CDN IP address, this caused issues if CDN changed IP, in
which letter avatars would be broken till a container restarted.

NGINX config has been updated to add caching. This change will require
a container rebuild.

The proxy will now function in development environments, so the patch
for `letter_avatar_proxy` has been removed.
2019-02-18 08:46:56 +11:00
..
assets UX: make adding permissions more visible and intuitive to click. (#6999) 2019-02-15 12:01:10 -05:00
controllers REFACTOR: Proxy letter avatars in rails instead of nginx 2019-02-18 08:46:56 +11:00
helpers FEATURE: Calculate sprite-sheet based on currently active themes (#6973) 2019-02-06 15:51:23 +00:00
jobs PERF: only require aws-sdk-sns gem when it's being used 2019-02-14 11:08:21 +01:00
mailers FIX: Keep original subject in emails to staged users 2019-01-18 11:07:54 +01:00
models FIX: unable to create new categories 2019-02-15 10:24:29 +11:00
serializers FIX: unable to create new categories 2019-02-15 10:24:29 +11:00
services FIX: Push notifications could fail with UnauthorizedRegistration 2019-02-15 21:12:09 +01:00
views PERF: Cache build_not_found_page 2019-02-12 21:20:33 +11:00