discourse/app/assets/javascripts
Sam c2332d7505
FEATURE: reduce avatar sizes to 6 from 20 (#21319)
* FEATURE: reduce avatar sizes to 6 from 20

This PR introduces 3 changes:

1. SiteSetting.avatar_sizes, now does what is says on the tin.
previously it would introduce a large number of extra sizes, to allow for
various DPIs. Instead we now trust the admin with the size list.

2. When `avatar_sizes` changes, we ensure consistency and remove resized
avatars that are not longer allowed per site setting. This happens on the
12 hourly job and limited out of the box to 20k cleanups per cycle, given
this may reach out to AWS 20k times to remove things.

3.Our default avatar sizes are now "24|48|72|96|144|288" these sizes were
very specifically picked to limit amount of bluriness introduced by webkit.
Our avatars are already blurry due to 1px border, so this corrects old blur.

This change heavily reduces storage required by forums which simplifies
site moves and more.

Co-authored-by: David Taylor <david@taylorhq.com>
2023-06-01 10:00:01 +10:00
..
admin DEV: Show form templates in the composer (#21190) 2023-05-29 14:47:18 -07:00
bootstrap-json Build(deps): Bump jsdom from 22.0.0 to 22.1.0 in /app/assets/javascripts (#21793) 2023-05-29 12:59:56 +02:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
dialog-holder Build(deps): Bump webpack from 5.84.0 to 5.84.1 in /app/assets/javascripts (#21758) 2023-05-26 09:10:25 +08:00
discourse FEATURE: reduce avatar sizes to 6 from 20 (#21319) 2023-06-01 10:00:01 +10:00
discourse-common Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
discourse-hbr Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
discourse-plugins Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
discourse-widget-hbs Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
pretty-text Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
select-kit DEV: Show form templates in the composer (#21190) 2023-05-29 14:47:18 -07:00
truth-helpers Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
wizard Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#21794) 2023-05-29 13:00:40 +02:00
.licensee.json Revert "DEV: Merge package.json files (#21172)" (#21182) 2023-04-20 14:57:40 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json DEV: Move app build-time dependencies to devDependencies (#21310) 2023-05-03 09:25:13 +01:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FIX: Service worker for Safari (#21435) 2023-05-09 18:36:20 +03:00
yarn.lock Build(deps-dev): Bump @babel/standalone in /app/assets/javascripts (#21816) 2023-05-30 08:55:58 +02:00