Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website: update links to work under the new URL #4371

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Source: https://github.com/tommy351/hexo/

# Theme
root_domain: uppy.io
root_domain: transloadit.github.io

# Site
title: Uppy
Expand All @@ -27,8 +27,8 @@ language: English

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://uppy.io
root: /
url: https://transloadit.github.io/uppy
root: /uppy/
permalink: blog/:year/:month/:title/
tag_dir: tags
archive_dir: archives
Expand Down
2 changes: 1 addition & 1 deletion website/src/_posts/2016-11-0.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Here's what we have been up to, in some more detail.

## Dashboard: example features, StatusBar and updated UI

**Dashboard example** [on our website](https://uppy.io/examples/dashboard/) now features several options:
**Dashboard example** [on our website](/uppy/examples/dashboard/) now features several options:

- switchting between “inline” and “modal dialog / popup” mode;
- toggling the `autoProceed` option that starts uploads automatically, without waiting for a click on the “upload” button;
Expand Down
4 changes: 2 additions & 2 deletions website/src/_posts/2017-02-0.14.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ It used to be the case that when you clicked that stylish “authenticate” \[w
<img class="border" src="/images/blog/0.14/smooth-auth.png">

**Dropbox plugin**
Dropbox support made it into Uppy this release! 🎉 [Ife](https://github.com/ifedapoolarewaju) rocks like that. (A shoutout here as well to [Harry](https://github.com/hedgerh) for the initial work on Uppy Server and the Google Drive plugin!) Why don't you [give it a try](https://uppy.io/examples/dashboard/)!
Dropbox support made it into Uppy this release! 🎉 [Ife](https://github.com/ifedapoolarewaju) rocks like that. (A shoutout here as well to [Harry](https://github.com/hedgerh) for the initial work on Uppy Server and the Google Drive plugin!) Why don't you [give it a try](/uppy/examples/dashboard/)!

<img class="border" src="/images/blog/0.14/uppy-dropbox.png">

Expand Down Expand Up @@ -62,7 +62,7 @@ Total and uploaded sizes have been added to the StatusBar, allowing you and your

<img src="/images/blog/0.14/statusbar-uploaded-total-size.png">

You can play with all of these new features on [the Dashboard example page](https://uppy.io/examples/dashboard/).
You can play with all of these new features on [the Dashboard example page](/uppy/examples/dashboard/).

<!-- more -->

Expand Down
2 changes: 1 addition & 1 deletion website/src/_posts/2017-03-0.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Spring is in the air and Uppy is feeling particularly full of life. In this post

## Yo-yoify for NPM-installed Uppy

In [`0.14`](https://uppy.io/blog/2017/02/0.14/), we added `yo-yoify` transform to give Uppy some extra speed and eliminate `Function.caller` issues. As it turned out, we [forgot](https://github.com/transloadit/uppy/issues/158) about our Babel-transpiled `lib` version of Uppy that gets published to NPM 🙀. We then spent some time creating a standalone version of `yo-yoify` that would be able to parse `yo-yo` template strings before Babel-transpilation, only to discover that there already is a [`babel-plugin-yo-yoify`](https://www.npmjs.com/package/babel-plugin-yo-yoify) that not only does precisely that, but also frees us from jumping through a lot of unnecessary hoops. It did [have](https://github.com/goto-bus-stop/babel-plugin-yo-yoify/issues/9) [a few](https://github.com/goto-bus-stop/babel-plugin-yo-yoify/pull/8) [issues](https://github.com/goto-bus-stop/babel-plugin-yo-yoify/issues/11) at first, but luckily our friend [Renée](https://github.com/goto-bus-stop) was available to colaborate with us on this. Renée has also agreed to join Uppy for a while to help us with other pressing issues. So, silver linings — bugs can sometimes lead to new friends and wonderful beginnings. We are very excited about what this all means for Uppy in the months to come.
In [`0.14`](/uppy/blog/2017/02/0.14/), we added `yo-yoify` transform to give Uppy some extra speed and eliminate `Function.caller` issues. As it turned out, we [forgot](https://github.com/transloadit/uppy/issues/158) about our Babel-transpiled `lib` version of Uppy that gets published to NPM 🙀. We then spent some time creating a standalone version of `yo-yoify` that would be able to parse `yo-yo` template strings before Babel-transpilation, only to discover that there already is a [`babel-plugin-yo-yoify`](https://www.npmjs.com/package/babel-plugin-yo-yoify) that not only does precisely that, but also frees us from jumping through a lot of unnecessary hoops. It did [have](https://github.com/goto-bus-stop/babel-plugin-yo-yoify/issues/9) [a few](https://github.com/goto-bus-stop/babel-plugin-yo-yoify/pull/8) [issues](https://github.com/goto-bus-stop/babel-plugin-yo-yoify/issues/11) at first, but luckily our friend [Renée](https://github.com/goto-bus-stop) was available to colaborate with us on this. Renée has also agreed to join Uppy for a while to help us with other pressing issues. So, silver linings — bugs can sometimes lead to new friends and wonderful beginnings. We are very excited about what this all means for Uppy in the months to come.

Uppy from NPM is now good to go and the issue has been completely resolved. You can update at: <https://www.npmjs.com/package/uppy>. And yeah, if you use `yo-yo`, give [`babel-plugin-yo-yoify`](https://www.npmjs.com/package/babel-plugin-yo-yoify) a try.

Expand Down
4 changes: 2 additions & 2 deletions website/src/_posts/2017-05-0.17.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Yes, Instagram is now supported in Uppy, so you can easily import all of your ca
<img class="border" src="/images/blog/0.17/instagram-ui.jpg">
</figure>

You can try it live in the [Dashboard example](https://uppy.io/examples/dashboard/).
You can try it live in the [Dashboard example](/uppy/examples/dashboard/).

The UI for all “provider” plugins, which is the way we call Google Drive, Dropbox and other external services, have been revamped to make better use of the space.

Expand Down Expand Up @@ -123,7 +123,7 @@ Here is the full list of changes for version 0.17:
- core: added `uppy.reset()` as discussed in #179 (@arturi)
- core: added nanoraf <https://github.com/yoshuawuyts/choo/pull/135/files?diff=unified> (@goto-bus-stop, @arturi)
- core: file type detection: archives, markdown (possible modules: file-type, identify-filetype) example: <http://requirebin.com/?gist=f9bea9602030f1320a227cf7f140c45f>, <http://stackoverflow.com/a/29672957> (@arturi)
- dashboard: made file icons prettier: <https://uppy.io/images/blog/0.16/service-logos.png> (@arturi, @nqst / #215)
- dashboard: made file icons prettier: </uppy/images/blog/0.16/service-logos.png> (@arturi, @nqst / #215)
- fileinput: allow retrieving fields/options from form (@arturi #153)
- server: configurable server port (@ifedapoolarewaju)
- server: added support for custom providers (@ifedapoolarewaju)
Expand Down
6 changes: 3 additions & 3 deletions website/src/_posts/2017-08-0.18.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Hi! Another month — a new Uppy release 🎉

## New documentation

Documentation for Uppy has been re-written, and now features chapters on Uppy’s settings and API, using various plugins, and running Uppy Server. Check it out: <https://uppy.io/docs/>. More chapters to come!
Documentation for Uppy has been re-written, and now features chapters on Uppy’s settings and API, using various plugins, and running Uppy Server. Check it out: </uppy/docs/>. More chapters to come!

## The GoldenRetriever

The GoldenRetriever has been released as a public beta. For details, please refer to the previous post, [The GoldenRetriever: Making uploads survive browser crashes](https://uppy.io/blog/2017/07/golden-retriever/), but the gist is: when enabled, this plugin will save uppy-state to localStorage on every change, and then if your browser crashes, or you accidentaly navigate away from a tab,later when you return, your uploads will resume like nothing happened. Spoiler: it uses Service Workers and IndexedDB.
The GoldenRetriever has been released as a public beta. For details, please refer to the previous post, [The GoldenRetriever: Making uploads survive browser crashes](/uppy/blog/2017/07/golden-retriever/), but the gist is: when enabled, this plugin will save uppy-state to localStorage on every change, and then if your browser crashes, or you accidentaly navigate away from a tab,later when you return, your uploads will resume like nothing happened. Spoiler: it uses Service Workers and IndexedDB.

<img class="border" src="/images/blog/0.18/golden-retriever.jpg">

Expand All @@ -41,7 +41,7 @@ uppy.use(AwsS3, {
})
```

Please find [more info and examples](https://uppy.io/docs/aws-s3/) in the docs.
Please find [more info and examples](/uppy/docs/aws-s3/) in the docs.

## Transloadit `getAssemblyOptions`

Expand Down
4 changes: 2 additions & 2 deletions website/src/_posts/2017-09-0.19.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Uppy 0.19: Tests, Informer details and better APIs"
image: "https://uppy.io/images/blog/0.19/informer-details.jpg"
image: "/uppy/images/blog/0.19/informer-details.jpg"
date: 2017-09-21
author: arturi
published: true
Expand Down Expand Up @@ -33,7 +33,7 @@ button.addEventListener('click', () => {
})
```

Check out [the docs](https://uppy.io/docs/dashboard/#Methods).
Check out [the docs](/uppy/docs/dashboard/#Methods).

<!--more-->

Expand Down
2 changes: 1 addition & 1 deletion website/src/_posts/2017-10-0.20.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Uppy 0.20: React, Retry & Time Travel"
image: "https://uppy.io/images/blog/0.20/dnd-gray.jpg"
image: "/uppy/images/blog/0.20/dnd-gray.jpg"
date: 2017-10-05
author: renee
published: true
Expand Down
2 changes: 1 addition & 1 deletion website/src/_posts/2017-10-0.21.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ uppy.on('core:complete', ({ successful, failed }) => {
})
```

See [`uppy.upload()`](https://uppy.io/docs/uppy/#uppy-upload) and [`core:complete`](https://uppy.io/docs/uppy/#core-complete) in docs, as well as [#404 PR](https://github.com/transloadit/uppy/pull/404) for more details.
See [`uppy.upload()`](/uppy/docs/uppy/#uppy-upload) and [`core:complete`](/uppy/docs/uppy/#core-complete) in docs, as well as [#404 PR](https://github.com/transloadit/uppy/pull/404) for more details.

## End to end tests

Expand Down
14 changes: 7 additions & 7 deletions website/src/_posts/2017-12-0.22.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Uppy 0.22: Preact, Form, Improved Dashboard, Custom Stores"
date: 2017-12-23
author: arturi
image: "https://uppy.io/images/blog/0.22/uppy-dashboard-updated.jpg"
image: "/uppy/images/blog/0.22/uppy-dashboard-updated.jpg"
published: true
---

Expand All @@ -28,7 +28,7 @@ See [#451 PR](https://github.com/transloadit/uppy/pull/451) for details on why w
- **⚠️ Breaking** Events have been renamed to remove the `core:` prefix. So `core:success` becomes just `success`, and this also results in now having `error`, `upload-started` and so on. Prefixed event names are used for plugin-specific event sometimes, like `dashboard:file-card`.
- **⚠️ Breaking** CSS class names have been altered to use the `uppy-` namespace, so `.UppyDashboard-files` becomes `.uppy-Dashboard-files` and so on.
- **⚠️ Breaking** `getMetaFromForm` was removed in favor of the new `Form` plugin (see below).
- **⚠️ Breaking** `MetaData` plugin was removed in favor of the `metaFields` option in Dashboard, [see docs](https://uppy.io/docs/dashboard/#metaFields) for more details.
- **⚠️ Breaking** `MetaData` plugin was removed in favor of the `metaFields` option in Dashboard, [see docs](/uppy/docs/dashboard/#metaFields) for more details.
- Plugins now use `this.el` to refer to their UI element instead of `this.target`.
- `setPluginState` and `getPluginState` are now used in Providers.

Expand All @@ -39,7 +39,7 @@ See [#451 PR](https://github.com/transloadit/uppy/pull/451) for details on why w
- File cards are simpler, we’ve removed the excess white backgrounds, improved the remove icon, reduced paddings, added slight shadows.
- Cicular upload button in the Dashboard has been moved to the StatusBar. It’s also not circular anymore, and there’s no cloud icon. Plain and simple.
- Redesigned “retry” and “add +1 file” buttons.
- Added `metaFields` option: an array of settings for UI field objects, which previousely lived in a separate `MetaData` plugin: `{ id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }`, [see docs](https://uppy.io/docs/dashboard/#metaFields) for more details.
- Added `metaFields` option: an array of settings for UI field objects, which previousely lived in a separate `MetaData` plugin: `{ id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }`, [see docs](/uppy/docs/dashboard/#metaFields) for more details.

See [#434 PR](https://github.com/transloadit/uppy/pull/451) for more screenshots and details.

Expand All @@ -49,7 +49,7 @@ Thanks to [@sadovnychyi](https://github.com/sadovnychyi), you can now select mul

![Uppy Dashboard UI with 3 files selected](/images/blog/0.22/uppy-dashboard-provider-select.jpg)

[Check it out →](https://uppy.io/examples/dashboard/)
[Check it out →](/uppy/examples/dashboard/)

## Stores

Expand Down Expand Up @@ -83,7 +83,7 @@ const uppy = Uppy({

Now Uppy will use your app’s Redux store instead of its own, so you have a “single source of truth” 🔮

Read [more on stores](https://uppy.io/docs/stores/) in docs.
Read [more on stores](/uppy/docs/stores/) in docs.

## Form

Expand All @@ -100,11 +100,11 @@ uppy.use(Form, {
})
```

Read [more about the Form plugin](https://uppy.io/docs/form/) in docs.
Read [more about the Form plugin](/uppy/docs/form/) in docs.

## Encoding support in GoldenRetriever

Our browser crash / page refresh restore plugin `GoldenRetriever` (read [more about it](https://uppy.io/docs/golden-retriever/)) now supports correctly restoring [Transloadit](https://transloadit.com) assemblies!
Our browser crash / page refresh restore plugin `GoldenRetriever` (read [more about it](/uppy/docs/golden-retriever/)) now supports correctly restoring [Transloadit](https://transloadit.com) assemblies!

Also, we’ve fixed restoring from paused state. Now uploads will remain paused and not get out of sync.

Expand Down
8 changes: 4 additions & 4 deletions website/src/_posts/2018-02-0.23.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ We’ve also fixed previews in Safari and tweaked the code slightly after readin

## Processing results

Processing results from encoding plugins like [`Transloadit`](https://uppy.io/docs/transloadit/), are now added to `complete` event:
Processing results from encoding plugins like [`Transloadit`](/uppy/docs/transloadit/), are now added to `complete` event:

```js
uppy.on('complete', (result) => {
Expand All @@ -51,7 +51,7 @@ uppy.upload().then((result) => {
})
```

You can still use events like [`transloadit:result`](https://uppy.io/docs/transloadit/#transloadit-result), its just easier when things are in the same place. Plugins can use the new `uppy.addResultData()` API to add data to the `result`, like so:
You can still use events like [`transloadit:result`](/uppy/docs/transloadit/#transloadit-result), its just easier when things are in the same place. Plugins can use the new `uppy.addResultData()` API to add data to the `result`, like so:

```js
uppy.addResultData(uploadID, { transloadit: assemblies })
Expand All @@ -61,11 +61,11 @@ uppy.addResultData(uploadID, { transloadit: assemblies })

The Webcam plugin now mirrors image previews by default, so when you are making a selfie and wave with your right hand, you see that right hand in the Webcam preview, just like in the mirror. This option can be disabled via `uppy.use(Webcam, { mirror: false }`. Note that the resulting image will not be mirrored, so your hand will actually be waving on the left. This mimics the behaviour of smarphone selfie cameras.

We’ve also added an option to select which camera will be used to capture pictures or video: [facingMode](https://uppy.io/docs/webcam/#facingMode-39-user-39), set to `user` (front camera) by default.
We’ve also added an option to select which camera will be used to capture pictures or video: [facingMode](/uppy/docs/webcam/#facingMode-39-user-39), set to `user` (front camera) by default.

## Server

- You can now specify a config path when starting the standalone Uppy Server like so `uppy-server --config /path/to/uppyconf.json`. The config file is expected to be a JSON file with the same schema as the [Uppy Server options](https://uppy.io/docs/server/#Options).
- You can now specify a config path when starting the standalone Uppy Server like so `uppy-server --config /path/to/uppyconf.json`. The config file is expected to be a JSON file with the same schema as the [Uppy Server options](/uppy/docs/server/#Options).
- A periodic cleanup job has been added to Uppy Server, to delete stale upload files from the specified `filePath`. Even though we'd rarely expect uploaded files to go undeleted immediately, there could be cases where an error occurs during an upload, and so Uppy Server leaves the file undeleted to give room for upload retries. With the cleanup job in place, we can ensure that this file would eventually be deleted after the file upload is done.
- Responses from Multipart uploads are now relayed to Uppy Client as they are received from the target server. With this in place, you can now handle responses from local and remote XHRUpload in nearly the same way.

Expand Down
8 changes: 4 additions & 4 deletions website/src/_posts/2018-04-0.24.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Uppy 0.24: Refreshed Dashboard, StatusBar and Provider UI, revamped XHR Response Handling"
date: 2018-04-17
author: arturi
image: "https://uppy.io/images/blog/0.24/uppy-screenshot.jpg"
image: "/uppy/images/blog/0.24/uppy-screenshot.jpg"
published: true
---

Expand Down Expand Up @@ -30,7 +30,7 @@ Import from URL (Link):

<img class="border" src="/images/blog/0.24/import-from-url.jpg">

And more, check out the [Dashboard example page](https://uppy.io/examples/dashboard/).
And more, check out the [Dashboard example page](/uppy/examples/dashboard/).

## A Cleaner StatusBar

Expand Down Expand Up @@ -126,7 +126,7 @@ Other non-security improvements are:

## Other Fixes & Improvements

- ⚠️ **breaking** `addFile()`, `onBeforeFileAdded()` and `onBeforeUpload()` are now synchronous and have to return nothing or file objects to proceed, or false to abort; please check out the update docs for details: [onBeforeFileAdded()](https://uppy.io/docs/uppy/#onBeforeFileAdded) and [onBeforeUpload()](https://uppy.io/docs/uppy/#onBeforeUpload).
- ⚠️ **breaking** `addFile()`, `onBeforeFileAdded()` and `onBeforeUpload()` are now synchronous and have to return nothing or file objects to proceed, or false to abort; please check out the update docs for details: [onBeforeFileAdded()](/uppy/docs/uppy/#onBeforeFileAdded) and [onBeforeUpload()](/uppy/docs/uppy/#onBeforeUpload).
- ⚠️ **breaking** Most events now emit the whole `file` object instead of a `fileId`. So you can access `file.name` right away, for example, so you no longer have to fish for the file using its id.
- ⚠️ **breaking** We’ve added `postcss-safe-important` to our style build step, so now 90% of rules got `!important` declaration added to them. This is done to prevent page styles (especially global ones like from Bootstrap) from leaking into the Uppy widget. There are other solutions we are looking into, like iFrames and WebComponents, this is an experiment. Keep in mind that to override Uppy styles, you now have to also use `!important`.
- dashboard: ⚠️ **breaking** `maxWidth`, `maxHeight` options have been converted to `width` and `height`, because this makes more sense, `maxWidth` and `maxHeight` are actually `100%`.
Expand All @@ -137,7 +137,7 @@ Other non-security improvements are:
- Provider views now have `showFilter` and `showBreadcrumbs` options, those are `false` for the Instagram plugin, for example.
- Uppy Server to Client communication has been refactored into `Provider` and `Request` modules. `Request` can be used when a simple request needs to be made to Uppy Server, like in the URL plugin. `Provider` is used for more complex implementations shared between Google Drive and Instagram, for example.

Finally, we’ve added a Transloadit example to the website, [check it out](https://uppy.io/examples/transloadit/).
Finally, we’ve added a Transloadit example to the website, [check it out](/uppy/examples/transloadit/).

Have fun,

Expand Down
2 changes: 1 addition & 1 deletion website/src/_posts/2018-06-0.25.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Uppy 0.25: Drag & Drop Links Urls & Images, Improved File Selecting in Providers, Interactive Components In i18n"
date: 2018-06-07
author: arturi
image: "https://uppy.io/images/blog/0.25/new-select-provider.jpg"
image: "/uppy/images/blog/0.25/new-select-provider.jpg"
published: true
---

Expand Down
2 changes: 1 addition & 1 deletion website/src/_posts/2018-07-0.26.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Uppy 0.26: Lerna"
date: 2018-07-12
author: renee
image: "https://uppy.io/images/blog/0.26/uppy-multiple-packages.png"
image: "/uppy/images/blog/0.26/uppy-multiple-packages.png"
published: true
---

Expand Down
Loading