docbrown/spec
Jamie Gaskins 70cf28ca7b
Fix rotation of images uploaded from iPhones (#15010)
* Fix rotation of images uploaded from iPhones

iPhones[1] take pictures in portrait mode with the orientation set to
90ºCCW. We noticed that uploading one of these images to a Forem
instance caused the image to be rotated when rendered. The current
theory is that Imgproxy is not maintaining the orientation value when
processing, which is solved by setting `auto_rotate: true` (serialized
into the Imgproxy URL as `ar:1`), according to the documentation.

See: 8e6585e28d/docs/generating_the_url_advanced.md (auto-rotate)

[1] This probably happens with other phones, but we discovered the issue
using an iPhone.

* Fix Imgproxy URL expectation for auto_rotate
2021-10-11 15:17:14 -04:00
..
black_box Remove <provider>_created_at columns (#13264) 2021-04-29 10:24:16 -05:00
components/admin/users Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
controllers/concerns 15 minute fix: Add default argument to JsonApiSortParam (#13369) 2021-04-14 10:32:07 +07:00
decorators ✂️✂️✂️ Remove boosted states from articles (legacy/dead code) (#14977) 2021-10-07 14:39:34 -04:00
factories Forem passport (cont) (#14759) 2021-09-30 06:47:45 -06:00
fixtures Remove duplicated work display from header / profile work (#14210) 2021-07-30 12:28:40 +02:00
generator Add service generator (#11265) 2020-11-10 09:09:35 +07:00
helpers Rubocop fixes (#14868) 2021-09-30 13:22:09 -04:00
initializers Clean up feed-related code (#14707) 2021-09-17 09:23:32 +07:00
lib Forem passport (cont) (#14759) 2021-09-30 06:47:45 -06:00
liquid_tags Rubocop fixes (#14868) 2021-09-30 13:22:09 -04:00
mailers Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
models ✂️✂️✂️ Remove boosted states from articles (legacy/dead code) (#14977) 2021-10-07 14:39:34 -04:00
policies Fix organization's admin unable to view an article's stats (#14767) 2021-09-21 16:05:34 +01:00
queries Adds validations to avoid creating unnecessary PNs (#14621) 2021-08-31 15:00:30 -06:00
refinements Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
requests Fix profile image bug on email registration (#14991) 2021-10-08 14:30:57 -04:00
routing ✂✂✂ Remove shop_url from SiteConfig ✂✂✂ (#13773) 2021-05-18 09:03:05 +07:00
serializers/search Cleanup search classes and serializers (#13645) 2021-05-05 09:20:59 -04:00
services Fix rotation of images uploaded from iPhones (#15010) 2021-10-11 15:17:14 -04:00
support Heavy Confirmation Flow for DisplayAd-Destroy (#14862) 2021-10-04 08:36:43 -04:00
system Use section instead of header in dashboard pages (#14873) 2021-10-06 17:12:43 +02:00
tasks Create Default Nav Links In New Forem (RFC #237) (#14345) 2021-08-02 12:52:36 -04:00
uploaders Fix Ruby 2.7 kwargs' warnings & misc spec warnings (#13256) 2021-04-06 16:57:59 -04:00
view_objects [15 min fix] Fallback to the image URL if Cloudinary/Imgproxy are not configured (#13767) 2021-05-19 15:03:20 +02:00
views Fix rotation of images uploaded from iPhones (#15010) 2021-10-11 15:17:14 -04:00
workers Fix legacy sitemap logic (#14926) 2021-10-07 08:59:16 -04:00
i18n_spec.rb Misc i18n fixes (#14852) 2021-10-05 13:22:33 +02:00
rails_helper.rb Add feature flag for Connect (#14644) 2021-09-13 10:45:56 -04:00
spec_helper.rb [15-minute fix] Don't allow markdown to use CSS classes (#13282) 2021-04-07 11:40:39 -04:00