Commit graph

190 commits

Author SHA1 Message Date
Renée Kooi
ed5f73c6f5 Transloadit refactors + socket fallback (#1011)
* transloadit: Add an Assembly class to handle status updates.

* transloadit: Replace StatusSocket with new Assembly class.

* transloadit: Draft new Golden Retriever integration

* transloadit: Refetch Assembly status on events.

* transloadit: Update `assemblies` state when new status was fetched.

* transloadit: Move assembly options extraction to a class

* transloadit: use AssemblyOptions class directly for assembly options tests

* transloadit: move attachAssemblyMetadata to a class method.

* transloadit: Remove obsolete dependency.

* transloadit: Reconnect to assemblies after restore.

* tus: Always store uploadUrl

This was changed in: https://github.com/transloadit/uppy/pull/507
but actually, the uploadUrl is required by GoldenRetriever, _especially_
when `resume` is false.

* transloadit: Move `afterUpload()` closures to AssemblyWatcher class

* transloadit: Prefix private methods with _

* transloadit: Replace 2kb url-parse with custom helper.

* transloadit: Semi consistent comment width

* transloadit: Capitalise "Assembly".
2018-08-21 15:23:31 +02:00
Renée Kooi
4df2c9aa8f
Uppy Server → Uppy Companion in some more places 2018-08-20 15:19:57 +02:00
Abdelhadi Khiati
39ae875bbb Use transloadit repository 2018-08-17 11:53:18 +01:00
Abdelhadi Khiati
bd37477463 Prepare for PR 2018-08-16 23:11:32 +01:00
Abdelhadi Khiati
840c0fca54 Change var to avoid default 2018-08-16 22:57:16 +01:00
Abdelhadi Khiati
4c9c4818db remove env 2018-08-16 22:41:14 +01:00
Abdelhadi Khiati
b8d41f7b76 Added base64 2018-08-16 22:33:44 +01:00
Abdelhadi Khiati
8cbe6697dd echo debugging 2018-08-16 16:50:21 +01:00
Abdelhadi Khiati
170b638d0e not env 2018-08-16 16:41:12 +01:00
Abdelhadi Khiati
eb49faed07 create files 2018-08-16 16:40:47 +01:00
Kevin van Zonneveld
8367cb643e Attempt at fixing docker build /cc @kiloreux 2018-08-16 17:30:14 +02:00
Abdelhadi Khiati
835b1bed07 restore npm 2018-08-16 15:54:47 +01:00
Abdelhadi Khiati
141860d379 merge master 2018-08-16 15:53:36 +01:00
Renée Kooi
6b82d12d42
Release
- uppy@0.27.1
 - @uppy/aws-s3-multipart@0.27.1
 - @uppy/aws-s3@0.27.1
 - @uppy/companion-client@0.27.1
 - @uppy/companion@0.14.1
 - @uppy/dashboard@0.27.1
 - @uppy/drag-drop@0.27.1
 - @uppy/dropbox@0.27.1
 - @uppy/file-input@0.27.1
 - @uppy/form@0.27.1
 - @uppy/golden-retriever@0.27.1
 - @uppy/google-drive@0.27.1
 - @uppy/informer@0.27.1
 - @uppy/instagram@0.27.1
 - @uppy/progress-bar@0.27.1
 - @uppy/provider-views@0.27.1
 - @uppy/react@0.27.1
 - @uppy/redux-dev-tools@0.27.1
 - @uppy/status-bar@0.27.1
 - @uppy/thumbnail-generator@0.27.1
 - @uppy/transloadit@0.27.1
 - @uppy/tus@0.27.1
 - @uppy/url@0.27.1
 - @uppy/webcam@0.27.1
 - @uppy/xhr-upload@0.27.1
2018-08-16 16:30:45 +02:00
Renée Kooi
178711fac5
companion: Add typescript dependency. 2018-08-16 16:14:18 +02:00
Renée Kooi
1bf405bab6
companion: fix typo 2018-08-16 14:47:45 +02:00
Renée Kooi
4171ccc27b
Merge pull request #1000 from geoffappleford/master
Send cookies with fetch requests
2018-08-16 14:40:37 +02:00
Renée Kooi
8d87f80722 Fix peerDependencies of plugin packages. (#1005) 2018-08-16 11:35:29 +02:00
Abdelhadi Khiati
d9e210bb29 tsc change 2018-08-15 08:34:09 +01:00
Abdelhadi Khiati
49b6dce2d4 Remove patch 2018-08-15 08:13:05 +01:00
Abdelhadi Khiati
42357439b9 Try explicitly 2018-08-15 07:09:07 +01:00
Abdelhadi Khiati
57996677e3 Remove package.json 2018-08-15 07:00:14 +01:00
Abdelhadi Khiati
2d9dda00ff Added node_modules bin 2018-08-15 01:47:04 +01:00
Abdelhadi Khiati
129279cf5e Added typescript 2018-08-15 01:24:13 +01:00
Abdelhadi Khiati
a7acc61558 Add unexisting directory 2018-08-15 01:05:38 +01:00
Abdelhadi Khiati
a79110144d Custom context 2018-08-15 00:50:56 +01:00
Abdelhadi Khiati
d984c4880c Fixes again 2018-08-15 00:43:38 +01:00
Ifedapo Olarewaju
6da00faf64 fix and re-enable companion test 2018-08-15 02:02:59 +03:00
Geoff Appleford
432a86d8a8 Send cookies with fetch requests
The current default value for credentials is "same-origin", however some browsers implement an older version of the specification where the default was "omit".

See https://github.com/github/fetch for more information.
2018-08-14 12:04:13 +02:00
Artur Paikin
5121b95e4f show note and “powered by” when no acquire/sources plugins are used too
fixes #997
2018-08-13 22:53:51 +01:00
Abdelhadi Khiati
12219660c3 Merge master 2018-08-13 21:20:20 +01:00
Abdelhadi Khiati
5eec312ee9 More changes 2018-08-13 20:50:37 +01:00
Artur Paikin
400329e632 Release
- uppy@0.27.0
 - @uppy/aws-s3-multipart@0.27.0
 - @uppy/aws-s3@0.27.0
 - @uppy/companion-client@0.27.0
 - @uppy/companion@0.14.0
 - @uppy/core@0.27.0
 - @uppy/dashboard@0.27.0
 - @uppy/drag-drop@0.27.0
 - @uppy/dropbox@0.27.0
 - @uppy/file-input@0.27.0
 - @uppy/form@0.27.0
 - @uppy/golden-retriever@0.27.0
 - @uppy/google-drive@0.27.0
 - @uppy/informer@0.27.0
 - @uppy/instagram@0.27.0
 - @uppy/progress-bar@0.27.0
 - @uppy/provider-views@0.27.0
 - @uppy/react@0.27.0
 - @uppy/redux-dev-tools@0.27.0
 - @uppy/status-bar@0.27.0
 - @uppy/store-default@0.27.0
 - @uppy/store-redux@0.27.0
 - @uppy/thumbnail-generator@0.27.0
 - @uppy/transloadit@0.27.0
 - @uppy/tus@0.27.0
 - @uppy/url@0.27.0
 - @uppy/utils@0.27.0
 - @uppy/webcam@0.27.0
 - @uppy/xhr-upload@0.27.0
2018-08-11 22:29:46 +01:00
Artur Paikin
60d30d4424 update companion package-lock 2018-08-11 22:24:09 +01:00
Ifedapo .A. Olarewaju
387beff17c
Merge pull request #977 from pauln/improvement/drive-v3
Google Drive: move to v3 API
2018-08-11 17:19:49 +02:00
Artur Paikin
b1beef974f
Merge pull request #960 from transloadit/fix/window-react-native
Fix @uppy/core window !== undefined check for React Native
2018-08-08 18:35:44 -04:00
Artur Paikin
3947f047f4 check for both window and addEventListener
allows Uppy to work in React Native
2018-08-08 17:58:24 -04:00
Kevin van Zonneveld
b7e2aabf4a
Update README.md 2018-08-06 16:16:19 +02:00
Ifedapo Olarewaju
be040e3218 replace uppy-server occurrencies 2018-08-06 14:59:11 +01:00
Artur Paikin
c55d77ebe0 fix “Add Files” when no acquire plugins are used 2018-08-05 11:13:17 -04:00
Artur Paikin
b565e44c86 remove semicolon 2018-08-01 12:21:54 -04:00
bartvde
f7486543a0 Check for file existance 2018-08-01 17:22:53 +02:00
Artur Paikin
69343e68bd add ignoreEvent — so that paste/drop events are not passed to Url plugin
ignore drop/paste events if they are not in input or textarea —
otherwise when Url plugin adds drop/paste listeners to this.el,
draging UI elements or pasting anything into any field triggers those events — Url treats them as URLs that need to be imported

// @goto-bus-stop could you check this when you are back, what do you think
2018-07-30 11:41:00 -04:00
Artur Paikin
5ddac3a0b7 group things into components and utils 2018-07-30 11:38:00 -04:00
Artur Paikin
c7f610718a clean up styles, add focus to provider browser items 2018-07-30 01:18:59 -04:00
Artur Paikin
7bedaeb064 simplify 2018-07-30 01:18:24 -04:00
Artur Paikin
8c8792b7ae maybe in the future don’t render Dashboard modal if it’s hidden
this fiddles with Url plugin’s feature of adding event listneres for paste/drop to this.el (which in this case would be <span>)
2018-07-30 01:15:22 -04:00
Artur Paikin
7d2ac3c5f4 wait for closing animation to finish before opening modal 2018-07-29 20:21:42 -04:00
Artur Paikin
c3a1be2c62
Merge branch 'master' into feature/dashboard-ui-notabs 2018-07-27 22:50:35 -04:00
Artur Paikin
f18c1de768 tweak Webcam permission screen copy 2018-07-27 22:43:10 -04:00