mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 18:35:54 +00:00
* boilerplate for Box provider
TODO:
- adapter
- index
- website/src/docs
- tests
* Box provider implementation
- adapter
- index
- npm bufoonery
- lil' fixes
and MORE!
TODO:
- thumbnails 🤬
- tests
- docs
* Box provider: add brand icon, fix file icons
- token issues with thumbnail/logout
* Box provider: fix thumbnails, upload
- fix tokens for box
- implement `size()`
- make debug logging easier to find (bold blue)
learned:
- box needs cookie auth
- thumbnail requests come back as 202s
TODO:
- fix logout with form POST (zoom example)
* Box provider: fix logout
- add client info as formData to revoke post
TODO:
- tests cleanup
- package-lock fix
- docs
* Box provider: docs
TODO:
- tests
* Box provider: cleanup
TODO:
- tests
* fix error msg path for Box
- remove comment
* keeping up
- update ProviderViews import
- fix version string on Box package.json
* companion,box: exclude box from global module/examples while in beta
Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
39 lines
1.9 KiB
Bash
39 lines
1.9 KiB
Bash
# Rename this file to env.sh, it will be kept out of Git.
|
|
# So suitable for adding secret keys and such
|
|
|
|
export NODE_ENV="${NODE_ENV:-development}"
|
|
export COMPANION_DROPBOX_KEY="***"
|
|
export COMPANION_DROPBOX_SECRET="***"
|
|
export COMPANION_BOX_KEY="***"
|
|
export COMPANION_BOX_SECRET="***"
|
|
export COMPANION_GOOGLE_KEY="***"
|
|
export COMPANION_GOOGLE_SECRET="***"
|
|
export COMPANION_INSTAGRAM_KEY="***"
|
|
export COMPANION_INSTAGRAM_SECRET="***"
|
|
export COMPANION_FACEBOOK_KEY="***"
|
|
export COMPANION_FACEBOOK_SECRET="***"
|
|
export EDGLY_KEY="***"
|
|
export EDGLY_SECRET="***"
|
|
export GITHUB_TOKEN="***"
|
|
export COMPANION_ZOOM_KEY="***"
|
|
export COMPANION_ZOOM_SECRET="***"
|
|
|
|
# Let's not set this by default, because that will make acceptance tests Always run on Saucelabs
|
|
## export SAUCE_ACCESS_KEY="***"
|
|
## export SAUCE_USERNAME="***"
|
|
|
|
# travis encrypt --add GHPAGES_URL=https://secret_access_token@github.com/transloadit/uppy.git
|
|
# travis encrypt --add env.global "COMPANION_DROPBOX_KEY=${COMPANION_DROPBOX_KEY}"
|
|
# travis encrypt --add env.global "COMPANION_DROPBOX_SECRET=${COMPANION_DROPBOX_SECRET}"
|
|
# travis encrypt --add env.global "COMPANION_BOX_KEY=${COMPANION_BOX_KEY}"
|
|
# travis encrypt --add env.global "COMPANION_BOX_SECRET=${COMPANION_BOX_SECRET}"
|
|
# travis encrypt --add env.global "COMPANION_GOOGLE_KEY=${COMPANION_GOOGLE_KEY}"
|
|
# travis encrypt --add env.global "COMPANION_GOOGLE_SECRET=${COMPANION_GOOGLE_SECRET}"
|
|
# travis encrypt --add env.global "COMPANION_INSTAGRAM_KEY=${COMPANION_INSTAGRAM_KEY}"
|
|
# travis encrypt --add env.global "COMPANION_INSTAGRAM_SECRET=${COMPANION_INSTAGRAM_SECRET}"
|
|
|
|
# The Travis Sauce Connect addon exports the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables,
|
|
# and relays connections to the hub URL back to Sauce Labs.
|
|
# See: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-Sauce-Labs
|
|
# travis encrypt --add addons.sauce_connect.username "${SAUCE_USERNAME}"
|
|
# travis encrypt --add addons.sauce_connect.access_key "${SAUCE_ACCESS_KEY}"
|