mirror of
https://github.com/discourse/discourse.git
synced 2025-02-13 23:04:56 +00:00
This abstracts interaction with uppy for uppy plugin classes into base classes for Preprocessor plugins, so anyone making these uppy plugins doesn't have to think as much about uppy underneath the hood. This also makes the logging and validation nicer, and provides a more consistent way to emit progress and completion events. In a future commit, we will introduce another base class for `UploadUploaderPlugin` which will be used to be able to hijack the upload process to go to a different provider (e.g. for discourse-video)