discourse/plugins/chat/app
Martin Brennan 0924f874bd
DEV: Use UploadReference instead of ChatUpload in chat (#19947)
We've had the UploadReference table for some time now in core,
but it was added after ChatUpload was and chat was just never
moved over to this new system.

This commit changes all chat code dealing with uploads to create/
update/delete/query UploadReference records instead of ChatUpload
records for consistency. At a later date we will drop the ChatUpload
table, but for now keeping it for data backup.

The migration + post migration are the same, we need both in case
any chat uploads are added/removed during deploy.
2023-01-24 13:28:21 +10:00
..
controllers FIX: generates automatic slug for trashed channels (#19908) 2023-01-23 15:05:47 +01:00
core_ext DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
jobs DEV: Use UploadReference instead of ChatUpload in chat (#19947) 2023-01-24 13:28:21 +10:00
models DEV: Use UploadReference instead of ChatUpload in chat (#19947) 2023-01-24 13:28:21 +10:00
queries DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
serializers FIX: Channel archive N1 when serializing current user (#19820) 2023-01-11 14:39:56 +10:00
services DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
views DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00