Commit graph

6437 commits

Author SHA1 Message Date
Artur Paikin
5378a4f32c point to index.js directly 2019-04-17 18:51:05 +03:00
Artur Paikin
d140c2f465
Merge pull request #988 from transloadit/feature/react-native
Basic React Native support
2019-04-17 18:22:06 +03:00
Artur Paikin
fb1ecce3ee remove outdated non-expo example 2019-04-17 18:17:50 +03:00
Artur Paikin
04a3df9f15 move to @uppy/react-native package 2019-04-17 18:17:25 +03:00
Artur Paikin
ab7080b2e4 no border for code samples 2019-04-17 17:58:34 +03:00
samuel ogundipe
1e79a6d643
Merge branch 'master' into examples_update 2019-04-17 15:54:37 +01:00
samuelayo
eb1597f721 change from bundle to node_modules 2019-04-17 15:53:10 +01:00
Artur Paikin
16b114d2aa
Merge pull request #1452 from nqst/design-facelift-2
Design facelift — round 2
2019-04-17 17:46:49 +03:00
Ifedapo .A. Olarewaju
adfb2aeaeb companion: send illusive upload progress when multipart downloads are on (#1454) 2019-04-17 16:11:03 +02:00
Renée Kooi
7ff690a152
Merge pull request #1429 from loopbio/tus-fix-cancel-with-upload-limit
tus: fix cannot start more uploads after cancel
2019-04-17 16:05:12 +02:00
Kevin van Zonneveld
a7c1b89980 Update website/src/_posts/2019-04-liftoff-23.md 2019-04-17 15:08:13 +02:00
samuel ogundipe
dc905a79c8 Day23 (#1456)
* Initial Draft for day 23

* Update 2019-04-liftoff-23.md

* Update 2019-04-liftoff-23.md

* Update 2019-04-liftoff-23.md

* Iterate on Day 23, and already write the Friday post
2019-04-17 15:05:25 +02:00
Kevin van Zonneveld
692a807784 Fix locale pack building on Travis
complaining about requiring companion not working
2019-04-17 14:30:43 +02:00
Artur Paikin
28fce1a137 Default locale for all plugins (#1443)
* first swing at building locale pack

* expose default locale on the plugin instance

* write a pretty en_US locale to a file, using stringify-object and template.js

* generated locale pack

* start adding a script that checks for unused locale strings

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Update bin/build-locale-pack.js

* Console output improvements

* Also sort plugin locale keys

* Support dependencies when digging up sources

because e.g. 'emptyFolderAdded' is used in provider-views but set in Dashboard's defaultLocale

* More complex matching

So can can support cases like: `uppy.i18n(error.isAuthError ? 'companionAuthError' : 'companionError')`

* Remaining const defaultLocale -> this.defaultLocale

* Update packages/@uppy/locales/en_US.js

* Mock browser environment so all plugins can be instantiated

* Clean up output a bit

* Update bin/build-locale-pack.js

* Add all remaining plugin's locales to en_US bundle

* Update packages/@uppy/dashboard/src/index.js

* Update en_US.js

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* remove unused strings

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Also write csv because that makes it real easy to import to friendlier places for translators /cc @arturi

* don’t set locale: this.defaultLocale — it overrides the lang pack

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Add 'russian plural' for english, for consistency

Allows us to signal that this is possible in new target languages, and also run better linting

* Cleanup

* No longer write csv

* WIP for NL

* Create package.json

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* move locales to /src

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* ignore locales themselves

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* build minified locale packs

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* expose Uppy.locale = {} placeholder object

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Update ru_RU.js

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* add locale bundles to example

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Upload locales to cdn

* Allow to run tests with upload-to-cdn by setting a versionSuffix

* Move locale build to function, to make room for test()

* Bring ru_RU in sync with English

now that we've added 3 plural types across the board

* Document using locales as a consuming dev, and plugin dev

* Add linting for missing/excess locale strings

* Add the locales we had to remove to the legacy folder

and explain why they cannot make it back

* Move legacy outside of src so they are definitely not transpiled, etc

* Update packages/@uppy/locales/src/nl_NL.js

* Update website/src/docs/uppy.md
2019-04-17 13:34:23 +02:00
Alexander Zaytsev
df88406768 Fix source icon alignment 2019-04-17 11:30:54 +03:00
Alexander Zaytsev
0a191fb806 Fix blurry file icon 2019-04-17 11:30:46 +03:00
Alexander Zaytsev
04a616e53e Fix blurry icon 2019-04-17 11:19:46 +03:00
Alexander Zaytsev
47d951c78c Merge remote-tracking branch 'upstream/master' into design-facelift-2 2019-04-17 10:20:35 +03:00
Evgenia Karunus
bcd9472da5 getDroppedFiles.js - moved into @uppy/utils, refactored 2019-04-17 01:30:32 +02:00
Evgenia Karunus
da9c0452a7 DashboardPlugin - scss variable and .className changes 2019-04-16 17:35:04 +02:00
Artur Paikin
6881eef6f3
Merge pull request #1431 from transloadit/feature/tl-cancel
transloadit: Assembly cancellation
2019-04-16 17:17:50 +03:00
Artur Paikin
bc2baf740f
Merge pull request #1446 from transloadit/serverUrl-to-companionUrl
rename serverUrl to companionUrl
2019-04-16 17:17:01 +03:00
Artur Paikin
94225662d5 Update index.js
fixes #1447
2019-04-16 16:51:32 +03:00
AJvanLoon
9eadaca5b4
An iteration 2019-04-16 15:37:35 +02:00
Kevin van Zonneveld
4cd8083db4 Update website/src/_posts/2019-04-liftoff-22.md 2019-04-16 15:08:19 +02:00
Kevin van Zonneveld
b0721fcb25 Day 22 2019-04-16 15:07:39 +02:00
Kevin van Zonneveld
93deb982b2 Most recent post first 2019-04-16 14:51:08 +02:00
Alexander Zaytsev
8180ef60eb Try using dashed border for the dashboard 2019-04-16 11:11:26 +03:00
Alexander Zaytsev
12c28881b4 Polishing 2019-04-16 10:51:37 +03:00
Alexander Zaytsev
52677d444b Tweak size 2019-04-16 10:44:47 +03:00
Alexander Zaytsev
0a0ffa277e Tweak file format icons 2019-04-16 10:43:01 +03:00
Alexander Zaytsev
7104100606 A bit smaller file icon size 2019-04-16 10:29:09 +03:00
Alexander Zaytsev
861fa37881 Default file icon 2019-04-16 10:29:00 +03:00
Alexander Zaytsev
b14cb53754 Merge remote-tracking branch 'upstream/master' into design-facelift-2 2019-04-16 10:09:58 +03:00
Artur Paikin
29f10ebda8
Merge pull request #1451 from transloadit/fix/log
core: fix logging objects
2019-04-15 18:47:25 +03:00
AJvanLoon
764fbd2172
Some polish 2019-04-15 16:58:04 +02:00
Renée Kooi
f2238895a4
core: fix logging objects 2019-04-15 16:55:01 +02:00
Ifedapo Olarewaju
adeb2fecfa update docs, tests, and examples with companionUrl rename 2019-04-15 14:56:37 +01:00
Evgenia Karunus
54d8fa153f merged master in 2019-04-15 15:55:45 +02:00
Evgenia Karunus
d76e46e9cc DashboardPlugin, UrlPlugin - dropped drag-drop library, added support for crossbrowser folder drops, and visible placeholder 2019-04-15 15:37:32 +02:00
Tyler McAllister
9ce28b5fe3 [WIP] Initial draft for blogpost day 21. (#1449)
* Initial draft for blogpost day 21.

* Rewording.

* Added Evgenia to post
2019-04-15 14:25:21 +02:00
Renée Kooi
105cdbc2d9
robodog: explain defaults and return value 2019-04-15 13:36:47 +02:00
Renée Kooi
55c5038821
robodog: doc stub for dashboard … not much else to put here maybe 2019-04-15 13:27:59 +02:00
Renée Kooi
ed3c6ac9f7
robodog: fix some doc typos 2019-04-15 12:27:28 +02:00
Alexander Zaytsev
f82ea241b7 Update file icons 2019-04-15 12:53:43 +03:00
Alexander Zaytsev
daacadab06 Simple blank file icon 2019-04-15 12:18:14 +03:00
Renée Kooi
d566b494e0
robodog: add the file lol 2019-04-15 11:10:51 +02:00
Renée Kooi
df8587bfab
robodog: fix example readme 2019-04-15 11:01:31 +02:00
Renée Kooi
93f216763e
robodog: rm unused function 2019-04-15 10:58:34 +02:00
Renée Kooi
0c7ad1ab29
robodog: Add dashboard() to example. 2019-04-15 10:49:15 +02:00