mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
Release
This commit is contained in:
parent
7882f74a5b
commit
8ae7213f78
16 changed files with 32 additions and 32 deletions
|
|
@ -69,7 +69,7 @@ $ npm install @uppy/core @uppy/dashboard @uppy/tus
|
|||
|
||||
We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
|
||||
|
||||
Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css), either to your HTML page's `<head>` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
|
||||
Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css), either to your HTML page's `<head>` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
|
||||
|
||||
Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object.
|
||||
|
||||
|
|
@ -77,10 +77,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly
|
|||
|
||||
```html
|
||||
<!-- 1. Add CSS to `<head>` -->
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css" rel="stylesheet">
|
||||
|
||||
<!-- 2. Add JS before the closing `</body>` -->
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
|
||||
<!-- 3. Initialize -->
|
||||
<div class="UppyDragDrop"></div>
|
||||
|
|
@ -179,7 +179,7 @@ const Uppy = require('@uppy/core')
|
|||
If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, so no need to include anything additionally:
|
||||
|
||||
```html
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
```
|
||||
|
||||
## FAQ
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
<title></title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<button id="uppyModalOpener">Open Modal</button>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
<script>
|
||||
const uppy = Uppy.Core({debug: true, autoProceed: false})
|
||||
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.css">
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.css">
|
||||
<style>
|
||||
body {
|
||||
font-family: Roboto, Open Sans;
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
<title></title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<button id="uppyModalOpener">Open Modal</button>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
<script>
|
||||
const uppy = Uppy.Core({debug: true, autoProceed: false})
|
||||
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ We recommend installing from npm and then using a module bundler such as [Webpac
|
|||
Alternatively, you can also use this package in a pre-built bundle from Transloadit's CDN: Edgly.
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v1.25.1/robodog.min.css">
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/robodog.min.js"></script>
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v1.25.2/robodog.min.css">
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/robodog.min.js"></script>
|
||||
```
|
||||
|
||||
Then, a global `Robodog` variable will be available. For usage instructions, please see the [main Robodog documentation](https://uppy.io/docs/robodog).
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@uppy/robodog",
|
||||
"description": "Transloadit SDK for browsers based on Uppy",
|
||||
"version": "1.10.3",
|
||||
"version": "1.10.4",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"jsnext:main": "src/index.js",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@uppy/transloadit",
|
||||
"description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more",
|
||||
"version": "1.6.19",
|
||||
"version": "1.6.20",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "uppy",
|
||||
"description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:",
|
||||
"version": "1.25.1",
|
||||
"version": "1.25.2",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
|
|
|
|||
|
|
@ -19,12 +19,12 @@ Here’s the simplest example html page with Uppy (it uses a CDN bundle, while w
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Uppy</title>
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="drag-drop-area"></div>
|
||||
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
<script>
|
||||
var uppy = Uppy.Core()
|
||||
.use(Uppy.Dashboard, {
|
||||
|
|
@ -118,12 +118,12 @@ You can also use a pre-built bundle from Transloadit's CDN: Edgly. `Uppy` will a
|
|||
1\. Add a script at the bottom of the closing `</body>` tag:
|
||||
|
||||
``` html
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
```
|
||||
|
||||
2\. Add CSS to `<head>`:
|
||||
``` html
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css" rel="stylesheet">
|
||||
```
|
||||
|
||||
3\. Initialize at the bottom of the closing `</body>` tag:
|
||||
|
|
@ -174,5 +174,5 @@ const Uppy = require('@uppy/core')
|
|||
If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, no need to include anything additionally:
|
||||
|
||||
```html
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
```
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const uppy = new Uppy({
|
|||
Add a `<script>` tag with Uppy bundle and the locale pack you’d like to use. You can copy/paste the link from the CDN column in the [locales table](#List-of-locale-packs). The locale will attach itself to the `Uppy.locales` object.
|
||||
|
||||
```html
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/locales/v1.17.1/de_DE.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ $(selector).transloadit({
|
|||
```
|
||||
```html
|
||||
<!-- The new Robodog way! -->
|
||||
<script src="//releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.js"></script>
|
||||
<script src="//releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.Robodog.form(selector, {
|
||||
|
|
@ -148,7 +148,7 @@ window.Robodog.form(selector, {
|
|||
Make sure to also include the Uppy css file in your `<head>` tag in case you want to use the `modal: true` option:
|
||||
```html
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.css">
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.css">
|
||||
</head>
|
||||
```
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
|
|||
<html>
|
||||
<head>
|
||||
<title>Testing Robodog</title>
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.css">
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<form id="upload-form" action="/uploads" enctype="multipart/form-data" method="POST">
|
||||
|
|
@ -170,7 +170,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
|
|||
<button type="submit">Upload</button>
|
||||
</form>
|
||||
|
||||
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.Robodog.form('#upload-form', {
|
||||
waitForEncoding: true,
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ require('@uppy/robodog/dist/robodog.css')
|
|||
If you are not using a bundler, you can also import Robodog using an HTML script tag.
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.css">
|
||||
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.js"></script>
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.css">
|
||||
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.js"></script>
|
||||
<!-- you can now use: window.Robodog.pick() -->
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<!-- Load Uppy CSS bundle. It is advisable to install Uppy
|
||||
from npm/yarn instead, and pick and choose the plugins/styles you need.
|
||||
But for experimenting, you can use Transloadit’s CDN, Edgly: -->
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css">
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css">
|
||||
|
||||
<div class="UppyDragDrop"></div>
|
||||
<div class="for-ProgressBar"></div>
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Load Uppy JS bundle. -->
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/locales/v1.17.1/ru_RU.min.js"></script>
|
||||
<script>
|
||||
var uppy = Uppy.Core({
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ const marked = require('marked')
|
|||
const dragdrop = require('drag-drop')
|
||||
// Add Robodog JS. It is advisable to install Robodog from npm/yarn.
|
||||
// But for experimenting, you can use also Transloadit’s CDN, Edgly:
|
||||
// <script src="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.js"></script>
|
||||
// <script src="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.js"></script>
|
||||
const robodog = require('@uppy/robodog')
|
||||
|
||||
const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!-- Add Robodog styles. It is advisable to install Robodog from npm/yarn.
|
||||
But for experimenting, you can use also Transloadit’s CDN, Edgly:
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.3/robodog.min.css"> -->
|
||||
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.4/robodog.min.css"> -->
|
||||
<link rel="stylesheet" href="/uppy/robodog.min.css">
|
||||
<form id="new" class="form-snippet">
|
||||
<h2>Create a new snippet</h2>
|
||||
|
|
|
|||
|
|
@ -167,8 +167,8 @@
|
|||
<p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
|
||||
</footer>
|
||||
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.css" rel="stylesheet">
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.1/uppy.min.js"></script>
|
||||
<link href="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.css" rel="stylesheet">
|
||||
<script src="https://releases.transloadit.com/uppy/v1.25.2/uppy.min.js"></script>
|
||||
|
||||
<script>
|
||||
var TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue