Commit graph

3173 commits

Author SHA1 Message Date
Artur Paikin
c2accaa0fe
Merge pull request #421 from transloadit/feature/is-supproted
webcam,dashboard: Add `isSupported()` API for providers
2017-11-13 15:11:26 -05:00
Artur Paikin
ff0efcc7ba
Merge pull request #418 from transloadit/feature/custom-plugin-ids
Support custom plugin IDs to allow using multiple copies of a plugin and more
2017-11-13 11:17:40 -05:00
Artur Paikin
0010ca4536
Merge pull request #420 from transloadit/chore/s3-translator
s3: Use Translator for localised strings
2017-11-13 11:16:48 -05:00
Renée Kooi
4654ee1378
webcam,dashboard: Add isSupported() API for providers
Providers can signal whether they support the current environment using
an optional `isSupported()` method. Providers that always work (eg.
Google Drive) do not need to specify this method.

The check for the Webcam currently only checks if the `getUserMedia`
method exists at all. We could maybe do some more checks, like, if the
mode is `video-only` or `video-audio` but MediaRecorder is not
supported.
2017-11-13 15:21:37 +01:00
Renée Kooi
06ba8adf50
s3: Use Translator for localised strings 2017-11-13 12:36:05 +01:00
Renée Kooi
e4ed315173
Fix log "tag" (Tag:[Tag]) so it's the same as the other ones 2017-11-13 11:08:47 +01:00
Renée Kooi
7f921672fe
Fix some RestoreFiles occurrences 2017-11-13 11:07:18 +01:00
Artur Paikin
54fa19b3e5
Merge pull request #404 from transloadit/feature/successful-failed
Return { successful, failed } object from .upload().
2017-11-10 23:19:36 -05:00
Artur Paikin
78320a2b6f naming in comments 2017-11-10 20:16:44 -05:00
Artur Paikin
cb6c1aeff0 add this.opts.id || [name] to this.id for all UI plugins 2017-11-10 20:15:59 -05:00
Artur Paikin
53e61462c1 css fix: tag panel should overlay FileItems 2017-11-10 18:47:47 -05:00
Renée Kooi
f02c89d5c0
core: Tests for { successful, failed } 2017-11-10 17:11:45 +01:00
Renée Kooi
4682f59fc6
xhrupload,tus,transloadit: Ignore errored files. 2017-11-10 16:55:57 +01:00
Renée Kooi
189450da90
s3: Emit upload-error when generating upload parameters fails. 2017-11-10 16:55:57 +01:00
Renée Kooi
a916983068
transloadit: Do not reject the entire upload() when a single assembly fails 2017-11-10 16:55:57 +01:00
Renée Kooi
df1a07dff8
docs: Update to use { successful, failed } result objects 2017-11-10 16:55:57 +01:00
Renée Kooi
874bad50d8
core: Return { successful, failed } object from .upload(). 2017-11-10 16:55:57 +01:00
Renée Kooi
9ef5fbcb06
Never reject upload() 2017-11-10 16:55:57 +01:00
Artur Paikin
34bae9774e fileType[1] --> fileType 2017-11-10 10:54:45 -05:00
Artur Paikin
c692290aa9
Merge pull request #417 from sadovnychyi/patch-1
Do not check isPreviewSupported for unknown filetypes
2017-11-10 10:53:37 -05:00
Dmytro Sadovnychyi
90693b3fa1
Do not check isPreviewSupported for unknown filetypes
getFileType returns undefined for non-whitelisted files and currently fails while uploading files from e.g. dropbox.
2017-11-10 19:07:24 +08:00
Artur Paikin
5b70cb5dfc
Merge pull request #410 from transloadit/feature/refactor-enetoent-tests
Refactor end-to-end tests
2017-11-09 20:11:56 -05:00
Artur Paikin
5df6a89c1d update webdriverio, remove selenium-webdriver 2017-11-09 17:27:12 -05:00
Artur Paikin
225ee94369
Merge pull request #416 from transloadit/bugfix/proptypes
react: Fix `uppy` PropType, closes #411
2017-11-09 16:47:59 -05:00
Artur Paikin
644069c687 add note for contributors about running tests 2017-11-09 16:45:02 -05:00
Artur Paikin
de3486721f move webdriverio to devDependencies 2017-11-09 16:33:11 -05:00
Renée Kooi
091f9560a1
Merge pull request #415 from pauln/patch-1
Website: Fix a few typos on Getting Started page
2017-11-09 19:16:11 +01:00
Renée Kooi
afad185a0c
Fix uppy PropType, closes #411 2017-11-09 19:05:09 +01:00
Paul Nicholls
2970b87144
Website: Fix a few typos on Getting Started page 2017-11-09 17:20:37 +13:00
Artur Paikin
65f0553bd3 add iOS and Android 2017-11-08 16:43:29 -05:00
Artur Paikin
7dffad1d3a changelog todos 2017-11-07 22:25:45 -05:00
Artur Paikin
5c20508280 since this is inside a filter, we can just check for error 2017-11-07 20:46:58 -05:00
Artur Paikin
b0918b572b
Merge pull request #406 from richardwillars/state-errors
Updates state with error messages rather than error objects
2017-11-07 20:45:29 -05:00
Artur Paikin
385572e056
Merge pull request #408 from transloadit/chore/no-state-fns
Remove functions from state
2017-11-07 20:24:53 -05:00
Artur Paikin
3e950dfe51 add user/key back 2017-11-07 15:17:33 -05:00
Artur Paikin
7d881151a4 try removing sauce connect, user and key 2017-11-07 15:01:04 -05:00
Artur Paikin
b5f15978d5 Revert "is this starting another tunnel?"
This reverts commit 6c76b01afb.
2017-11-07 14:58:28 -05:00
Artur Paikin
6c76b01afb is this starting another tunnel? 2017-11-07 14:56:28 -05:00
Artur Paikin
da0efb48e0 add tunnel-identifier and build: job number 2017-11-07 14:30:37 -05:00
Artur Paikin
4daaf5ca78 add webdriverio and plugins 2017-11-07 14:05:57 -05:00
Artur Paikin
149149fb09 run test:acceptance instead of test:acceptance:handleservers 2017-11-07 14:05:44 -05:00
Artur Paikin
d1fe35f501 configs for local and remote sauce tests 2017-11-07 14:05:05 -05:00
Artur Paikin
8051c71fee script that prepares dist folder for endtoend tests 2017-11-07 13:53:56 -05:00
Artur Paikin
87f6b88aca rewrite 3 tests: tus, xhr and i18n 2017-11-07 13:53:36 -05:00
Artur Paikin
b2b1c31689 remove endtoend folder 2017-11-07 13:53:11 -05:00
Artur Paikin
9cd021d20f for debug, set uppy instance to global[this.opts.id], so we can do window.myUppyID.state 2017-11-07 13:52:43 -05:00
Artur Paikin
a2918ba9a8 Add a test page with a few Uppy instances and simple test 2017-11-06 11:07:36 -05:00
Artur Paikin
2392b1c7c0 ReduxDevTools: devToolsUnsubscribe in uninstall 2017-11-05 17:16:22 -05:00
Renée Kooi
d61a7596ec
dashboard: Don't assign .render to target state objects 2017-11-03 14:08:39 +01:00
Renée Kooi
0be93a5e7a
transloadit: Configure resume: false for the Tus plugin. 2017-11-03 13:47:57 +01:00