discourse/plugins/chat/spec
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
..
components/chat FIX: Create original message user thread membership (#21808) 2023-05-29 17:37:17 +02:00
fabricators DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
integration FEATURE: reduce avatar sizes to 6 from 20 (#21319) 2023-06-01 10:00:01 +10:00
jobs DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
lib DEV: Add policy objects to services 2023-05-25 12:34:00 +02:00
mailers DEV: fix and enable flaky specs (#21753) 2023-05-30 14:25:14 +04:00
models FEATURE: reduce avatar sizes to 6 from 20 (#21319) 2023-06-01 10:00:01 +10:00
queries/chat FIX: auto fill was not happening on first load (#21809) 2023-05-29 17:34:44 +02:00
requests DEV: Remove old ChatController routes for messages & lookup (#21723) 2023-05-29 09:37:10 +02:00
serializer DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
services FIX: Page size edge case for null last_read_message_id (#21811) 2023-05-29 20:12:01 +02:00
support DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
system UX: chat composer buttons refactor + emoji (#21852) 2023-05-31 15:12:35 +02:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00