mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 01:25:53 +08:00

In jQuery file upload land, we were sending a single file through at a time to matching upload handlers. This in turn required plugin authors to marshal the files as they came through one by one if they wanted to group them together to do something with them. Now that we are using uppy, files come through in the groups they are added in (for example dropping multiple, selecting multiple from the system file dialogue). This commit changes the matching upload handlers to send through all matching files at once instead of piecemeal.