Commit graph

1349 commits

Author SHA1 Message Date
Artur Paikin
0dfd1a2610
Merge branch 'master' into feature/auto-run 2018-05-21 22:57:09 -04:00
Ifedapo Olarewaju
ff628b67ee Merge branch 'master' of github.com:transloadit/uppy 2018-05-20 22:10:23 +01:00
Ifedapo Olarewaju
c027e49aa5 feature: display username in provider view cc @arturi 2018-05-20 22:09:12 +01:00
Artur Paikin
661d8d1596 Use i18n for save/cancel in Dashboard file card 2018-05-20 13:42:40 -04:00
Renée Kooi
833334f224
Change how some props are passed to preact elements
- Prefer simply listing boolean attributes like `hidden` over assigning
  the string "true"
- Use numbers instead of strings for numeric properties
- Prefer object syntax for `style` attributes
2018-05-17 14:49:48 +02:00
Artur Paikin
d1e1187d21
Merge pull request #796 from transloadit/fix/preact-async-rerender
Debounce render calls again, fixes #669
2018-05-16 15:20:53 -04:00
Artur Paikin
c8434606da
Merge pull request #814 from transloadit/improvement/restrictions-accept-multiple
Pass allowedFileTypes and maxNumberOfFiles to input[type=file]
2018-05-14 16:23:00 -04:00
Artur Paikin
234764c7e5
Merge pull request #804 from transloadit/feature/tl-uppy-server
Update Transloadit plugin's Uppy Server handling
2018-05-14 16:22:40 -04:00
Artur Paikin
d33e2ec992
Merge pull request #817 from loopbio/tus-limit-parallel-uploads
tus: respect `limit` option for upload parameter requests
2018-05-14 10:21:43 -04:00
ap--
0bcb347fe4 tus: remove moved upload-started events 2018-05-14 14:41:18 +02:00
Artur Paikin
9bd8ac360c
Merge pull request #822 from mrbatista/fix/default-cancel-locale
add default string for cancel button
2018-05-10 21:34:33 -04:00
Matteo Padovano
9870c12d59 add default string for cancel button 2018-05-11 02:06:49 +02:00
Artur Paikin
cf8804de1d Improve “powered by” icon and positioning 2018-05-10 19:55:45 -04:00
Ifedapo Olarewaju
61bf0a788b add extensions to instagram files @arturi 2018-05-10 14:08:27 +01:00
ap--
3f001aed9d tus: Respect limit option for upload parameter requests
Apply the same limit to upload parameter requests as is applied to
XHRUpload and AWSS3
2018-05-10 11:52:42 +02:00
Artur Paikin
2fbed0c0e5
Merge pull request #805 from transloadit/fix/transloadit-failures
More robust failure handling for Transloadit, closes #708
2018-05-09 17:21:12 -04:00
Artur Paikin
44e4214d11 fix closed tag 2018-05-09 17:16:59 -04:00
Artur Paikin
d7abb71b59 Remove allowMultipleFiles and update docs to talk about restrictions 2018-05-09 17:09:20 -04:00
Artur Paikin
64a5cac6c5
Merge branch 'master' into improvement/restrictions-accept-multiple 2018-05-09 16:58:17 -04:00
Artur Paikin
5fdd443754
Merge pull request #778 from transloadit/feature/drag-drop-input-name
dragdrop: Add `inputName` option like FileInput has, closes #729.
2018-05-09 16:53:36 -04:00
Artur Paikin
32b24c75db fix condition
thanks @benjamin-demarteau, this should be enough, right? worked for me in tests
2018-05-09 12:40:57 -04:00
Artur Paikin
b6cf268328 add css class back to DragDrop input 2018-05-07 17:45:26 -04:00
Artur Paikin
7c2515fa01 Pass allowedFileTypes and maxNumberOfFiles to input[type=file] 2018-05-07 17:32:20 -04:00
Artur Paikin
03a1af1744 remove duplicarte hardcoded “cancel” 2018-05-05 16:19:06 -04:00
Artur Paikin
803a88e7f2 Update docs too 2018-05-03 16:25:17 -04:00
Artur Paikin
8f897d106b multiple option, empty value="" everywhere 2018-05-03 15:38:38 -04:00
Renée Kooi
ce7d485251
transloadit: Disable fast remote retry optimisation. 2018-05-03 14:04:41 +02:00
Renée Kooi
d378266ef4
tus: Add useFastRemoteRetry option. 2018-05-03 14:04:34 +02:00
Renée Kooi
7e8d3a5f38
transloadit: Only rewrite Uppy Server URLs if uppy is configured to use TL's hosted options. 2018-05-03 13:56:18 +02:00
Renée Kooi
307dbde557
transloadit: Remove startWith/endsWith use
Not supported in all browsers.
2018-05-03 13:47:42 +02:00
Renée Kooi
0bda16b097
core: Debounce render calls again
This saves a lot of time diffing, mostly—every `setState()` call is
currently telling preact to update the vdom, which is cheap but not THAT
cheap :P

I used a Promise resolution for the debounce here, instead of nanoraf,
because it is 1) very small and 2) the same behaviour that Preact has
for `setState()` calls inside components.

This time, it comes with a sync `this.rerender()` method for plugins
that need to handle focus. I think this is best viewed as a hack, and we
should try to use the `componentDidMount()` lifecycle method instead for
this sort of thing.
2018-04-30 14:55:59 +02:00
Renée Kooi
0c0d312ece
statusbar: Replace katakana middle dot with unicode entity for standard middle dot. 2018-04-30 12:39:53 +02:00
Renée Kooi
038edf789b
dashboard: replace UTF8 × by × 2018-04-30 12:39:49 +02:00
Renée Kooi
37768e1531
core: Remove .run(). 2018-04-30 12:17:13 +02:00
Janko Marohnić
a82c6b9ab4
Document "headers" upload parameter in AwsS3 plugin
The AwsS3 plugin appears to already support the "headers" field in
upload parameter, indicating the request headers that should be sent
along with the upload request, so we add it to the documentation.
2018-04-24 03:18:30 +02:00
Renée Kooi
c33d97419f
Merge pull request #767 from transloadit/noopener
`rel="noopener noreferrer"` should be added to links containing `target="_blank"`
2018-04-23 15:03:33 +02:00
Renée Kooi
2d76b15033
dragdrop: Add inputName option like FileInput has. 2018-04-23 14:27:16 +02:00
Renée Kooi
704657c383
transloadit: close socket connections on upload pipeline error. 2018-04-23 14:25:26 +02:00
Renée Kooi
9188e46ffa
transloadit: Wrap getAssemblyOptions() if a plain object is returned. 2018-04-23 13:28:41 +02:00
Renée Kooi
0bb449af66
transloadit: Include assembly ID in "created" log. 2018-04-23 12:46:21 +02:00
Renée Kooi
6102c8ec59
transloadit: Properly reset upload progress if assembly creation fails. 2018-04-23 12:46:20 +02:00
Renée Kooi
214ad704bf
dashboard: use unique-er IDs for embedded plugins, fixes #702 2018-04-23 11:45:38 +02:00
Renée Kooi
efaf3b744c
statusbar: add some spacing between text elements. 2018-04-23 11:26:16 +02:00
Kevin van Zonneveld
787b23261e rel="noopener noreferrer" should be added to links containing target="_blank"
As a precaution against reverse tabnabbing. see:
- https://medium.com/@jitbit/target-blank-the-most-underestimated-vulnerability-ever-96e328301f4c
- https://mathiasbynens.github.io/rel-noopener/
2018-04-18 10:32:29 +02:00
Artur Paikin
667beb3e20 consistent shape of the getResponseData: getResponseData (responseText, response)
//cc @ifedapoolarewaju @goto-bus-stop

hope this is ok, naming is tricky, but we were naming params differently accross docs, code and blog posts
2018-04-17 12:30:59 -04:00
Artur Paikin
a3648feff0 remove debug console.log 2018-04-17 12:01:01 -04:00
Artur Paikin
7211e98226 fix showLinkToFileUploadResult 2018-04-16 19:42:33 -04:00
Artur Paikin
a1ec755c9f
Merge pull request #759 from transloadit/fix/error-info
Retain uppy-server error messages, fixes #707
2018-04-16 12:27:34 -04:00
Artur Paikin
10b51eb5fd
Merge pull request #757 from transloadit/fix/dragdrop-label
dragdrop: Link <label> and <input>, fixes #749
2018-04-16 12:25:20 -04:00
Artur Paikin
9f987579d0 remove catch(), because addFile is sync now 2018-04-16 11:44:43 -04:00