Commit graph

6245 commits

Author SHA1 Message Date
Artur Paikin
ab7080b2e4 no border for code samples 2019-04-17 17:58:34 +03: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
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
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
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
Alexander Zaytsev
7d6fc6ab14 Better remove file icon, without clipping in Safari 2019-04-15 11:43:34 +03:00
Alexander Zaytsev
3a40bb7d15 Better btn-links 2019-04-15 10:43:34 +03:00
Alexander Zaytsev
91a03b3203 Fix incorrect checkbox misalignment 2019-04-15 10:41:27 +03:00
Alexander Zaytsev
de526c78ad Larger clickable area for the searchClose button + rollover 2019-04-15 10:37:59 +03:00
Ifedapo Olarewaju
f4e558bf94 rename serverUrl to companionUrl
and serverPattern to companionAllowedHosts
2019-04-14 13:53:50 +01:00
Ifedapo Olarewaju
11cb650401 point to latest tus-js-client (1.7.1 plus latest react-native support)
cc @arturi
2019-04-14 13:07:01 +01:00
AJvanLoon
98e4cd6fcf
Publish 2019-04-14 11:45:39 +02:00
AJvanLoon
83d4e1dfc1
Publish 2019-04-13 12:46:08 +02:00
AJvanLoon
55b9339b77
Even more fixed apostrophe 2019-04-12 18:19:54 +02:00
AJvanLoon
b3220f952e
Fix apostrophes 2019-04-12 18:10:14 +02:00
Artur Paikin
e4ff1fd5d3 Merge branch 'master' of https://github.com/transloadit/uppy 2019-04-12 18:54:19 +03:00
Artur Paikin
f4565ef8d5
Merge pull request #1442 from nqst/design-facelift
Design facelift
2019-04-12 18:37:09 +03:00
Artur Paikin
2e9b0a0078 remove rockdog from root lol 2019-04-12 18:12:42 +03:00
AJvanLoon
f2ec4c11c5
Merge pull request #1444 from transloadit/day18
First swing at day 18
2019-04-12 17:12:14 +02:00
AJvanLoon
af5f2eb01f
A few corrections 2019-04-12 17:10:42 +02:00
AJvanLoon
b053a77066
New GIF 2019-04-12 17:06:16 +02:00
AJvanLoon
c0eb94625e
Saturday re-write 2019-04-12 17:05:26 +02:00