Commit graph

231 commits

Author SHA1 Message Date
Kevin van Zonneveld
988dff9462 Update bin/upload-to-cdn.sh 2019-04-23 14:56:52 +02:00
Kevin van Zonneveld
c426ea5016 Update bin/upload-to-cdn.sh 2019-04-23 09:39:06 +02:00
Artur Paikin
0f95529cc5 Release 2019-04-19 15:46:25 +03:00
Artur Paikin
3f61051e8a ignore react-native when building locale pack 2019-04-17 18:51:17 +03: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
Kevin van Zonneveld
b9f0575c42 Update bin/sync-version-numbers 2019-04-05 14:01:15 +02:00
Artur Paikin
7ae8af44ab Release 2019-04-04 19:31:09 +03:00
Kevin van Zonneveld
8030f7032f Also update the uppy@0.30.0 version numbers in docs automatically 2019-04-04 16:24:04 +02:00
Kevin van Zonneveld
5f4f1cf17e
Refactor npm scripts, clean up unused ones (#1392)
Co-Authored-By: Artur Paikin <artur@arturpaikin.com>
2019-03-29 14:55:23 +01:00
Kevin van Zonneveld
c3a7188fc0 Add back npm run web:install for Travis, but not for all 2019-03-28 15:08:56 +01:00
Kevin van Zonneveld
73f89f08d9 Speed up website deploys
By re-using local git repo for gh-pages, making it only sync changes to GitHub

Time for actual deploy going down from `1m19.204s` to `0m5.640s` in local test

/cc @arturi
2019-03-28 10:50:01 +01:00
Artur Paikin
e200e4f500 don’t use postcss-safe-important
we’ll try more specificity instead
2019-03-11 16:56:35 +03:00
Artur Paikin
27899d944f Release 2019-03-08 20:47:42 +03:00
Artur Paikin
f94bc77deb Publish
- uppy@0.30.2
 - @uppy/aws-s3-multipart@0.30.2
 - @uppy/aws-s3@0.30.2
 - @uppy/companion-client@0.28.2
 - @uppy/companion@0.17.2
 - @uppy/core@0.30.2
 - @uppy/dashboard@0.30.2
 - @uppy/drag-drop@0.30.2
 - @uppy/dropbox@0.30.2
 - @uppy/file-input@0.30.2
 - @uppy/form@0.30.2
 - @uppy/golden-retriever@0.30.2
 - @uppy/google-drive@0.30.2
 - @uppy/informer@0.30.2
 - @uppy/instagram@0.30.2
 - @uppy/progress-bar@0.30.2
 - @uppy/provider-views@0.30.2
 - @uppy/react@0.30.2
 - @uppy/redux-dev-tools@0.30.2
 - @uppy/robodog@0.30.2
 - @uppy/status-bar@0.30.2
 - @uppy/store-default@0.28.2
 - @uppy/store-redux@0.28.2
 - @uppy/thumbnail-generator@0.30.2
 - @uppy/transloadit@0.30.2
 - @uppy/tus@0.30.2
 - @uppy/url@0.30.2
 - @uppy/utils@0.30.2
 - @uppy/webcam@0.30.2
 - @uppy/xhr-upload@0.30.2
2019-02-22 22:43:58 +03:00
Kevin van Zonneveld
f379e4edfc Update bin/release 2019-02-22 19:46:06 +01:00
Artur Paikin
227b0f855f call the global Robodog in CDN build
cc @kvz
2019-02-22 17:23:46 +03:00
Kevin van Zonneveld
c66ef88dae Separately upload Robodog 2019-02-22 14:54:08 +01:00
Kevin van Zonneveld
66c1c5cd22 /dist/ replacement needs to go first 2019-02-21 17:19:10 +01:00
Kevin van Zonneveld
4a527fba84 Also support the legacy location 2019-02-21 17:15:46 +01:00
Artur Paikin
a5c39e9a35 Release 2019-02-21 19:09:22 +03:00
Artur Paikin
2d167dc4eb update sync-version-numbers to also exclude /dist
cc @kvz
2019-02-21 19:02:47 +03:00
Kevin van Zonneveld
4a6154302d Put robodog cp in a better place 2019-02-21 16:37:27 +01:00
Kevin van Zonneveld
e8a63c0d13 Merge branch 'master' of github.com:transloadit/uppy 2019-02-21 16:35:15 +01:00
Kevin van Zonneveld
2384c5070d Remove /dist/ from CDN path
Since we'll only ever want to offer stuff inside dist and the URL is long enough as it is /cc @arturi
2019-02-21 16:34:59 +01:00
Artur Paikin
61fd9861d8 Add Robodog to CDN (#1304)
* build robodog.css and robodog.js

* copy @uppy/robodog/dist to uppy/dist/robodog

* loose the robodog folder prefix — copy robodog/dist to uppy/dist

* Update upload-to-cdn.sh
2019-02-21 16:22:21 +01:00
Artur Paikin
4dcef4c3b9 Release 2019-02-15 23:55:18 +03:00
Artur Paikin
a989b391c3 add remove-accidental-git-tags.sh 2019-02-15 23:24:44 +03:00
Artur Paikin
407b4bc54c
Merge pull request #1135 from transloadit/feature/tl-preset
Add Robodog: Transloadit browser SDK
2019-02-04 23:56:14 +03:00
Kevin van Zonneveld
f877010d5b Merge branch 'master' of github.com:transloadit/uppy 2019-02-04 14:52:43 +01:00
Renée Kooi
6376d68fd5
robodoggo 2019-01-28 17:05:11 +01:00
Renée Kooi
1b1d1e1896
do the rename 2019-01-24 14:18:55 +01:00
Renée Kooi
24ec8f81d5
Merge branch 'master' into feature/tl-preset 2019-01-21 10:55:27 +01:00
Renée Kooi
5800fe9ed6
Merge branch 'master' into feature/tl-preset 2019-01-17 16:54:44 +01:00
Artur Paikin
3ddf4c7548 Release 2019-01-15 19:21:04 +03:00
Artur Paikin
2713eb4450
Merge pull request #1237 from transloadit/chore/fast-build-lib
Only rebuild changed files with `npm run build:lib`
2019-01-15 18:38:42 +03:00
Artur Paikin
36be5320b3 video to gif script, decent quality
worked well for “2hr youtube” demo
`to-gif /path/to/input.mp4 /path/to/output.gif`
2019-01-15 11:16:19 +03:00
Artur Paikin
da5fcced8d add better gif creating script
this worked well with the “2hr youtube clone” demo
2019-01-14 18:16:37 +03:00
Renée Kooi
5932e49a17
Fix crash when lib/ doesn't exist yet 2019-01-14 14:38:44 +01:00
Renée Kooi
c9e1c4d1ed
Only rebuild changed files with npm run build:lib
This makes it faster in most cases, so we have to wait less.

The FRESH=1 environment variable forces recompiling all source files,
and is used in the release script to be doubly sure that everything
we publish is up to date.

```bash
FRESH=1 npm run build:lib
```
2019-01-14 14:25:17 +01:00
Renée Kooi
7eed66d6f9
Set tsify target to ES3 2018-12-20 14:52:57 +01:00
Renée Kooi
5699e5962b
Add typescript integration test. 2018-12-20 14:52:57 +01:00
Renée Kooi
99e08ae855
Add bundle for transloadit preset. 2018-12-13 16:19:02 +01:00
Artur Paikin
fe7b02b88a add es6-promise and whatwg-fetch to Uppy bundle (CDN version) 2018-12-06 16:39:50 +03:00
Artur Paikin
094e497741 tfa property might be a boolean, add ? for optional
https://stedolan.github.io/jq/manual/#OptionalObjectIdentifier-Index:.foo? “Optional Object Identifier-Index”

//cc @goto-bus-stop
2018-11-29 23:42:10 +03:00
Artur Paikin
c68f2c7e68 Release 2018-11-29 23:36:16 +03:00
Renée Kooi
bd0cc5baa3
Fix version numbers used for website build
This is a combination of 7 commits.

test

teeeeeeeeeeeeest

Revert to current commit after building integration tests

Revert "test"

This reverts commit f0522648d2267b62d133a4b8d8867332a24476b1.

re enable integration test

deploy web to a test branch

Revert "teeeeeeeeeeeeest"

This reverts commit 29f95d3bff477f069c0cc32067086c01ef6f8d2a.
2018-11-12 13:44:48 +01:00
Renée Kooi
d4a47777e1
Fix new versions table script. 2018-11-01 13:21:59 +01:00
Artur Paikin
2049802121
Merge pull request #1124 from transloadit/chore/release-tweaks
Release fixes
2018-11-01 02:54:04 +03:00
Artur Paikin
47a68a6148 Release 2018-10-31 19:30:39 +03:00
Renée Kooi
4f4722c326
Fix ENDTOEND crash 2018-10-31 17:18:26 +01:00