textpattern icon indicating copy to clipboard operation
textpattern copied to clipboard

Replace our file uploader with Uppy

Open petecooper opened this issue 6 years ago • 6 comments
trafficstars

Is your feature request related to a problem?

Nope.

What is the feature?

Investigate whether Uppy is appropriate to replace our current file uploader.

[1] https://uppy.io/blog/2019/04/1.0/ [2] https://github.com/transloadit/uppy [3] https://github.com/transloadit/uppy/blob/master/LICENSE

petecooper avatar Apr 29 '19 09:04 petecooper

Yeah, I've been keeping my eye on that project for a while now. And doesn't require jQuery which is good for us going forward (I'd like to reduce jQuery reliance over time).

philwareham avatar Apr 29 '19 09:04 philwareham

I like the sound of that. Good ethos, good feature set without trying to cram too much in. I think it's a good fit.

Bloke avatar Apr 29 '19 09:04 Bloke

Check out this one too (seems to be lighter): https://github.com/pqina/filepond

cara-tm avatar Apr 30 '19 06:04 cara-tm

The main reason for using a third-party file uploader was a demand to bypass the server max upload size limitations. This is usually done via chunked uploads, so any challenger should be able to manage it. From a quick look it seems that Uppy can do it, but Filepond can not atm (planned). Just my 2 kopecks.

bloatware avatar Apr 30 '19 21:04 bloatware

Ooh, Uppy has a (beta) image editor: https://uppy.io/docs/image-editor/

petecooper avatar Dec 02 '20 16:12 petecooper

Ooh, Uppy has a (beta) image editor: https://uppy.io/docs/image-editor/

Nice, but I'd prefer to lean on server-side image manipulation rather than edit images at upload stage - it's just more flexible and (potentially) non-destructive. I still think Uppy can be a contender for initial file uploading though.

philwareham avatar Dec 02 '20 16:12 philwareham

The main reason for using a third-party file uploader was a demand to bypass the server max upload size limitations. This is usually done via chunked uploads, so any challenger should be able to manage it. From a quick look it seems that Uppy can do it

Uppy uses its own non-standard protocol for chunked files upload, which makes me think twice.

bloatware avatar Jan 02 '23 12:01 bloatware

Deferring to @bloatware's domain expertise; closing.

petecooper avatar Jan 02 '23 13:01 petecooper

It would also add 7Mb of php/js to txp, are we ready?

bloatware avatar Jan 04 '23 20:01 bloatware