Commit graph

330 commits

Author SHA1 Message Date
Renée Kooi
39bfa4fe77
wip 2018-11-15 13:19:14 +01:00
Renée Kooi
714a2373e8
Merge pull request #1129 from craigcbrunner/master
react: Allow Dashboard props width and height to accept a string for 100%
2018-11-12 15:34:08 +01:00
Renée Kooi
79ccb9af70
Move withCredentials back after open() and add IE10 comment 2018-11-12 14:37:13 +01:00
Renée Kooi
613fa8957b
xhr-upload: default responseType to browser default (empty string) 2018-11-12 13:15:09 +01:00
Renée Kooi
71d8064982
aws-s3: Avoid using responseXML. 2018-11-12 11:30:32 +01:00
Renée Kooi
e7b39e4ef1
aws-s3: Explicitly set responseType: text, fixes #518 2018-11-12 11:24:27 +01:00
Renée Kooi
b169c3cf91
xhr-upload: Add responseType option. 2018-11-12 11:06:36 +01:00
Renée Kooi
c1594eb0f9
react: Allow Dashboard height to accept a string with unit 2018-11-12 10:54:03 +01:00
Artur Paikin
5112ecf1f4 better center pause/resume/cancel icons
noticed misalignment in Firefox
2018-11-03 12:39:06 +03:00
craigcbrunner@gmail.com
fbf2b33c24 Allowing width on dashboard to accept a string for 100% 2018-11-02 20:44:05 -07:00
Artur Paikin
47a68a6148 Release 2018-10-31 19:30:39 +03:00
Artur Paikin
09b6ca0c92 update plugin peerDependencies to "@uppy/core": "^0.28.0" before release 2018-10-31 15:47:27 +03:00
Artur Paikin
87d8029be9 add line-height to status bar hint 2018-10-31 14:22:36 +03:00
Artur Paikin
c5c3c7fed6
Merge pull request #1097 from transloadit/status-bar/add-spinner
Status Bar: add spinner, pause/resume as small round buttons, different color for encoding
2018-10-31 05:16:23 +03:00
Artur Paikin
847ab3ec54
Merge pull request #1093 from transloadit/migrate-provider-adapter
Migrate provider adapter to Companion
2018-10-31 04:53:19 +03:00
Artur Paikin
5a2f8da5a4 hideAllPanels after a file is added in Dashboard, instead of toggleAddFilesPanel(false) that didn’t hide some panel 2018-10-30 17:44:48 +03:00
Artur Paikin
db187a6be9 Fix locale for Url plugin 2018-10-30 17:32:21 +03:00
Artur Paikin
92bee3fb8c
Merge pull request #1114 from transloadit/improvement/i18n-packs
Bring back locale packs
2018-10-29 20:13:25 +03:00
Artur Paikin
539504f520 Add Dashboard titles for pre/post-processing, hide pause/resume buttons when pre/post-processing 2018-10-29 18:41:53 +03:00
Artur Paikin
44b9a49177 diffirintiate between inProgressFiles and inProgressNotPausedFiles; isAllPaused = pausedFiles.length === inProgressFiles.length 2018-10-29 18:02:59 +03:00
Ifedapo Olarewaju
a0a68a7a60 get provider username only if data exists
cc @goto-bus-stop
2018-10-29 14:44:05 +01:00
Artur Paikin
aa9c2496ad
Merge branch 'master' into status-bar/add-spinner 2018-10-29 14:54:13 +03:00
Renée Kooi
85364f8c22
status-bar: Hide only the upload button when no new uploads are allowed 2018-10-29 10:59:03 +01:00
Renée Kooi
6a0871dafe
Fix statusbar hiding too early with allowMultipleUploads:false 2018-10-29 10:55:06 +01:00
Renée Kooi
ecd7b64f3d
dashboard: Remove file-added and complete event handlers on uninstall. 2018-10-29 10:33:13 +01:00
Renée Kooi
18abb9ea71
dashboard: Throw if closeAfterFinish is used together with inline:true. 2018-10-29 10:33:13 +01:00
Renée Kooi
e20dade3a0
dashboard: Warn if closeAfterFinish and allowMultipleUploads are both true 2018-10-29 10:33:13 +01:00
Renée Kooi
4b48aac78f
Dashboard: Auto close after finish using closeAfterFinish: true 2018-10-29 10:33:12 +01:00
Artur Paikin
9ee57bb9bd
Merge branch 'master' into status-bar/add-spinner 2018-10-29 06:22:38 +03:00
Artur Paikin
91a250ab10 Move “add 1 more file” to secondary status line, separate hidePauseResumeButton and hideCancelButton options 2018-10-29 06:06:12 +03:00
Artur Paikin
a5d9116ec2 Add upload states to Dashboard too
Introduces repetition — we have statuses in Status Bar already

I was thinking that maybe we should instead move this to Core, @goto-bus-stop, what do you think? Then plugins can share it, you can simply access state.status from any plugin
2018-10-29 06:04:53 +03:00
Artur Paikin
d75facd331 switch to new circular pause/resume/cancel buttons 2018-10-25 20:51:04 +03:00
Renée Kooi
f378c170c2
companion: Flip dependencies/devDependencies order in pkg.json
Consistency 
2018-10-25 15:32:53 +02:00
Renée Kooi
6ad85cc18e
companion: Remove duplicate typescript dependency
Should only be a devDependency.
2018-10-25 15:32:25 +02:00
Renée Kooi
5d9f947c2a
Merge pull request #1096 from richartkeil/master
Allow to constrain thumbnail height - Fixes #979
2018-10-25 14:02:18 +02:00
Artur Paikin
7a137de079
Merge pull request #1090 from transloadit/revoke-inside-thumbnail-generator
Move preview revocation to thumbnail-generator
2018-10-23 23:05:51 +03:00
Artur Paikin
d598efc044
Merge pull request #1103 from transloadit/chore/tl-tweaks
transloadit: Error tweaks
2018-10-23 21:14:51 +03:00
Richard Keil
1c1c58a0da
Instantiate thumbnail plugin for each test 2018-10-22 13:24:42 +02:00
Renée Kooi
db49bfbec2
comment 2018-10-22 13:05:17 +02:00
Artur Paikin
537b2010f9 Remove unprefixed and unused fadeIn animation
fixes #1115
2018-10-21 11:30:41 -04:00
Artur Paikin
5ec15c11ca update this.translator = new Translator in all plugins that use i18n
I wonder if this could somehow be done in Plugin class once
2018-10-20 12:50:34 -04:00
Artur Paikin
4efc27675c Allow locale inheritance: defaultLocale, this.uppy.locale, this.opts.locale
Mostly what @goto-bus-stop did in 4f51deaaf7 (diff-989af75a364b65c408abe1fc3e7ac0f4R34)

> This patch allows locale keys passed to the main Uppy instance to override default keys in plugins. It's just one idea to kick things off, I'm not attached to this particular implementation.
>
> If we do this we need to make sure that all keys have unique names and that things specific to eg. a single service are "namespaced" (`transloaditEncoding` instead of `encoding`).
>
> The benefit to this is that there is a central point of configuration for languages, so there could be language packs with strings for eg Czech at `@uppy/lang-cz` (or `@uppy/langs/cz`) that would be very easy to use.
2018-10-20 12:49:06 -04:00
Ifedapo Olarewaju
9dd9de0ed3 refactor: dont send raw item data for all providers 2018-10-20 09:48:29 +01:00
Artur Paikin
49f508b6c2 Informer shouldn’t block action buttons in StatusBar 2018-10-19 12:41:06 -04:00
Artur Paikin
5f1b7b41dd smaller file preview on mobile 2018-10-19 12:40:49 -04:00
Artur Paikin
64c835a839 bring back icons, add cancel as icon too 2018-10-19 12:40:33 -04:00
Renée Kooi
620e78a02c
refactor 2018-10-18 13:08:19 +02:00
Renée Kooi
69008fd9fc
Merge pull request #1104 from transloadit/feature/transloadit-server-pattern
transloadit: Add COMPANION_PATTERN constant.
2018-10-18 13:07:19 +02:00
Renée Kooi
9836999f5f
transloadit: Error early if neither params nor getAssemblyOptions are given. 2018-10-18 13:06:22 +02:00
Renée Kooi
1676ff82fd
transloadit: Update API key URL. 2018-10-18 13:06:22 +02:00