discourse/app
Renato Atilio 2201f8f7dc
FIX: form template upload type validation (#24148)
When submitting files through the form template upload field, we were having an issue where, although a validation error message was being presented to the user, the upload was still coming through, because `PickFilesButton`'s validation happens **after** the Uppy mixin finished the upload and hit `uploadDone`.

This PR adds a new overridable method to the Uppy mixin and overrides it with the custom validation, which now happens before the file is sent.

Additionally, we're now also using `uploadingOrProcessing` as the source of truth to show the upload/uploading label, which seems more reliable.
2023-11-03 10:11:25 -03:00
..
assets FIX: form template upload type validation (#24148) 2023-11-03 10:11:25 -03:00
controllers FEATURE: Theme settings migrations (#24071) 2023-11-02 08:10:15 +03:00
helpers DEV: Explicitly disable Ember string prototype extensions (#24110) 2023-10-26 11:16:57 +01:00
jobs DEV: Parallel scheduled admin checks (#24190) 2023-11-03 09:05:29 +08:00
mailers FIX: Order tags shown in email subject by topics count and name (#22586) 2023-07-13 15:39:58 +08:00
models DEV: Parallel scheduled admin checks (#24190) 2023-11-03 09:05:29 +08:00
serializers DEV: Refactor watched words (#24163) 2023-11-01 16:41:10 +02:00
services FEATURE: Theme settings migrations (#24071) 2023-11-02 08:10:15 +03:00
views FIX: Broken hashtags on embed and publish pages (#24210) 2023-11-02 11:43:55 +10:00