Delete old, unused files (#5788)
17
.github/stale.yml
vendored
|
|
@ -1,17 +0,0 @@
|
|||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 365
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: false
|
||||
# Issues with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- Keep open
|
||||
- 🔐 Security
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: Stale
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. If the issue is still relevant, please upvote or leave a
|
||||
comment. Thank you for your contribution!
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: false
|
||||
142
BACKLOG.md
|
|
@ -1,142 +0,0 @@
|
|||
# Backlog
|
||||
|
||||
<!--lint disable no-literal-urls no-undefined-references-->
|
||||
|
||||
These are ideas that are planned for specific versions or act as a backlog
|
||||
without a clear date. PRs are welcome! Please do open an issue to discuss first
|
||||
if it's a big feature, priorities may have changed after something was added
|
||||
here.
|
||||
|
||||
## `3.0.0`
|
||||
|
||||
- [x] Switch to ES Modules (ESM)
|
||||
- [x] @uppy/image-editor: Remove silly hack to work around non-ESM.
|
||||
- [ ] Some not too breaking breaking changes. Go through TODOs (@arturi,
|
||||
@aduh95, @Murderlon)
|
||||
- [ ] Companion breaking changes, like S3 keys (@mifi)
|
||||
- [x] New remote-sources preset
|
||||
- [x] Deprecate Robodog
|
||||
- [x] Remove from 3.x branch (@aduh95)
|
||||
- [x] Update docs that refer to Robodog (@arturi)
|
||||
- [ ] Update Transloadit.com examples and docs to use @uppy/transloadit +
|
||||
@uppy/remote-sources plugins instead of @uppy/robodog (@arturi)
|
||||
|
||||
## `4.0.0`
|
||||
|
||||
- [ ] core: change the preprocessing --> uploading flow to allow for files to
|
||||
start uploading right away after their preprocessing step has finished.
|
||||
See #1738 (@goto-but-stop)
|
||||
- [ ] companion: add more reliable tests to catch edge cases in companion. For
|
||||
example testing that oauth works for multiple companion instances that use
|
||||
a master Oauth domain.
|
||||
- [ ] Consider updating the name of @uppy/aws-s3 and @uppy/aws-s3-multipart to
|
||||
reflect it also supports Google Cloud Storage, Wasabi, and other cloud
|
||||
providers.
|
||||
- [ ] Consider fixing all locale files to follow the bcp-47 standard (nl_NL -->
|
||||
nl-NL)
|
||||
|
||||
## Unplanned
|
||||
|
||||
### Core
|
||||
|
||||
- [ ] Make sure Uppy works well in VR
|
||||
- [ ] normalize file names when uploading from iOS? Can we do it with meta data?
|
||||
date? `image-${index}`? #678
|
||||
- [ ] Can Uppy upload a lot of files at once? Seems to fail now:
|
||||
https://github.com/transloadit/uppy/issues/3313 (@aduh95, @Murderlon)
|
||||
- [ ] Consider how we can make Uppy smaller. Replace some packages with smaller
|
||||
alternatives. Talk about Socket.io again (@aduh95)
|
||||
- [ ] Better events — more data, consistency, naming (@Murderlon)
|
||||
|
||||
### Dashboard
|
||||
|
||||
- [ ] Dashboard UI should support 20 providers (@arturi)
|
||||
- [ ] Allow minimizing the Dashboard during upload (Uppy then becomes just a
|
||||
tiny progress indicator) (@arturi)
|
||||
- [ ] Display data like image resolution on file cards. should be done by
|
||||
thumbnail generator maybe #783
|
||||
- [ ] Possibility to edit/delete more than one file at once. example: add
|
||||
copyrigh info to 1000 files #118, #97
|
||||
- [ ] Possibility to work on already uploaded / in progress files. We'll just
|
||||
provide the `fileId` to the `file-edit-complete` event so that folks can
|
||||
more easily roll out custom code for this themselves #112, #113, #2063
|
||||
- [ ] Focus jumps weirdly if you remove a file
|
||||
https://github.com/transloadit/uppy/pull/2161#issuecomment-613565486
|
||||
- [ ] A mini UI that features drop & progress (may involve a `mini: true`
|
||||
options for dashboard, may involve drop+progress or new plugin) (@arturi)
|
||||
- [ ] Add a Load More button so you don't have to TAB endlessly to get to the
|
||||
upload button (https://github.com/transloadit/uppy/issues/1419)
|
||||
|
||||
### New plugins
|
||||
|
||||
- [ ] WordPress Back-end plugin. Should be another Transloadit Integration based
|
||||
on Robodog Dashboard(?) we should add a provider, and possibly offer
|
||||
already-uploaded content
|
||||
- [ ] WordPress Front-end Gravity Forms Uppy plugin so one form field could be
|
||||
an Uppy-powered file input
|
||||
- [ ] A WakeLock based plugin that keeps your phone from going to sleep while an
|
||||
upload is ongoing https://github.com/transloadit/uppy/issues/1725
|
||||
- [ ] Improve image editor: filters for images, no crashes (@aduh95)
|
||||
|
||||
### New providers
|
||||
|
||||
- [ ] MediaLibrary provider which shows you files that have already been
|
||||
uploaded #450, #1121, #1112 #362
|
||||
- [ ] Giphy image search (on top of Unsplash plugin) ()
|
||||
- [ ] Image search (via Google or Bing or DuckDuckGo): use duckduckgo-images-api
|
||||
or Google Search API (@arturi)
|
||||
- [ ] Vimeo #2872
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
- [ ] goldenretriever: make it work with aws multipart
|
||||
https://community.transloadit.com/t/resumable-aws-s3-multipart-integration/14888
|
||||
(@goto-bus-stop)
|
||||
- [ ] provider: add sorting (by date) #254
|
||||
- [ ] qa: add one integration test (or add to existing test) that uses more
|
||||
exotic (tus) options such as `useFastRemoteRetry` or
|
||||
`removeFingerprintOnSuccess`
|
||||
https://github.com/transloadit/uppy/issues/1327 (@arturi,
|
||||
@ifedapoolarewaju)
|
||||
- [x] react: Add a React Hook to manage an Uppy instance
|
||||
https://github.com/transloadit/uppy/pull/1247#issuecomment-458063951
|
||||
(@goto-bus-stop)
|
||||
- [ ] rn: Uppy React Native works with Expo, now let's make it work without
|
||||
- [ ] rn: Uppy React Native works with Url Plugin, now let's make it work with
|
||||
Instagram
|
||||
- [ ] security: consider iframe / more security for Transloadit/Uppy integration
|
||||
widget and Uppy itself. Page can’t get files from Google Drive if its an
|
||||
iframe
|
||||
- [ ] statusbar: Add a confirmation of the cancel action
|
||||
(https://github.com/transloadit/uppy/issues/1418) as well as ask the user
|
||||
if they really want to navigate away while an upload is in progress via
|
||||
`onbeforeunload` (@arturi)
|
||||
- [ ] uploaders: consider not showing progress updates from the server after an
|
||||
upload’s been paused. Perhaps the button can be disabled and say
|
||||
`Pausing..` until Companion has actually stopped transmitting updates
|
||||
(@arturi, @ifedapoolarewaju)
|
||||
- [ ] xhr: allow sending custom headers per file (as proposed in #785)
|
||||
- [ ] website: It would be nice in the long run to have a dynamic package
|
||||
builder here right on the website where you can select the plugins you
|
||||
need/want and it builds and downloads a minified version of them? Sort of
|
||||
like jQuery UI: https://jqueryui.com/download/
|
||||
- [ ] webcam: Specify the resolution of the webcam images/video. We should add a
|
||||
way to specify any custom 'constraints' (aspect ratio, resolution,
|
||||
mimetype (`/video/mp4;codec=h264`), bits per second, etc) to the Webcam
|
||||
plugin #876
|
||||
- [ ] Constructor to build Uppy with what you need, “Dashboard example meets
|
||||
Transloadit Wizard”. Select language, modes, providers — get code ready to
|
||||
use. Maybe integrate Transloadit Wizard in there as well (@arturi,
|
||||
@Murderlon)
|
||||
|
||||
### Needs research
|
||||
|
||||
- [ ] Add a prepublish test that checks if `npm pack` is not massive
|
||||
(@goto-bus-stop)
|
||||
- [ ] Add https://github.com/pa11y/pa11y for automated accessibility testing?
|
||||
- [ ] Add lighthouse for automated performance testing?
|
||||
- [ ] Switch one existing e2e test to use Parcel (create-react-app already using
|
||||
webpack) (@arturi)
|
||||
- [ ] Add typescript with JSDoc for @uppy/core
|
||||
https://github.com/Microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files
|
||||
(@arturi)
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
FROM node:18.17.1-alpine
|
||||
|
||||
COPY package.json /app/package.json
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk --update add --virtual native-dep \
|
||||
make gcc g++ python3 libgcc libstdc++ git && \
|
||||
corepack yarn install && \
|
||||
apk del native-dep
|
||||
RUN apk add bash
|
||||
|
||||
COPY . /app
|
||||
RUN npm install -g nodemon
|
||||
CMD ["npm","test"]
|
||||
43
Makefile
|
|
@ -1,43 +0,0 @@
|
|||
# Licensed under MIT.
|
||||
# Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz
|
||||
#
|
||||
# https://www.npmjs.com/package/fakefile
|
||||
#
|
||||
# Please do not edit this file directly, but propose changed upstream instead:
|
||||
# https://github.com/kvz/fakefile/blob/master/Makefile
|
||||
#
|
||||
# This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts.
|
||||
# It functions as a wrapper around the actual listed in `package.json`
|
||||
# So instead of typing:
|
||||
#
|
||||
# $ npm script build:assets
|
||||
#
|
||||
# you could also type:
|
||||
#
|
||||
# $ make build-assets
|
||||
#
|
||||
# Notice that colons (:) are replaced by dashes for Makefile compatibility.
|
||||
#
|
||||
# The benefits of this wrapper are:
|
||||
#
|
||||
# - You get to keep the the scripts package.json, which is more portable
|
||||
# (Makefiles & Windows are harder to mix)
|
||||
# - Offer a polite way into the project for developers coming from different
|
||||
# languages (npm scripts is obviously very Node centric)
|
||||
# - Profit from better autocomplete (make <TAB><TAB>) than npm currently offers.
|
||||
# OSX users will have to install bash-completion
|
||||
# (http://davidalger.com/development/bash-completion-on-os-x-with-brew/)
|
||||
|
||||
define npm_script_targets
|
||||
TARGETS := $(shell node -e 'for (var k in require("./package.json").scripts) {console.log(k.replace(/:/g, "-"));}')
|
||||
$$(TARGETS):
|
||||
npm run $(subst -,:,$(MAKECMDGOALS))
|
||||
|
||||
.PHONY: $$(TARGETS)
|
||||
endef
|
||||
|
||||
$(eval $(call npm_script_targets))
|
||||
|
||||
# These npm run scripts are available, without needing to be mentioned in `package.json`
|
||||
install:
|
||||
npm install
|
||||
|
Before Width: | Height: | Size: 8 KiB |
|
Before Width: | Height: | Size: 1,004 B |
|
Before Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 4.9 MiB |
|
Before Width: | Height: | Size: 1,017 B |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1,006 B |
|
Before Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 109 KiB |
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Convert a video file to a gif.
|
||||
# `to-gif /path/to/input.mp4 /path/to/output.gif`
|
||||
palette="/tmp/to-gif-palette.png"
|
||||
filters="fps=15"
|
||||
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
|
||||
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
|
||||
|
||||
# resize after
|
||||
# gifsicle --resize-fit-width 1000 -i animation.gif > animation-1000px.gif
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Convert a video file to a gif.
|
||||
# `to-gif /path/to/input.mp4 /path/to/output.gif`
|
||||
palette="/tmp/to-gif-palette.png"
|
||||
filters="fps=15"
|
||||
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
|
||||
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
|
||||
|
||||
# gifsicle --resize-fit-width 1000 -i animation.gif > animation-1000px.gif
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
# set -o xtrace
|
||||
|
||||
# Set magic variables for current file & dir
|
||||
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
__file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
|
||||
__base="$(basename ${__file} .sh)"
|
||||
__root="$(cd "$(dirname "${__dir}")" && pwd)"
|
||||
|
||||
width=600
|
||||
speed=0.7
|
||||
input="${__root}/assets/uppy-demo-oct-2018.mov"
|
||||
base="$(basename "${input}")"
|
||||
output="${__root}/assets/${base}.gif"
|
||||
|
||||
ffmpeg \
|
||||
-y \
|
||||
-i "${input}" \
|
||||
-vf fps=10,scale=${width}:-1:flags=lanczos,palettegen "${__root}/assets/${base}-palette.png"
|
||||
|
||||
ffmpeg \
|
||||
-y \
|
||||
-i "${input}" \
|
||||
-i "${__root}/assets/${base}-palette.png" \
|
||||
-filter_complex "setpts=${speed}*PTS,fps=10,scale=${width}:-1:flags=lanczos[x];[x][1:v]paletteuse" \
|
||||
"${output}"
|
||||
|
||||
du -hs "${output}"
|
||||
open -a 'Google Chrome' "${output}"
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
version: '3.9'
|
||||
|
||||
services:
|
||||
uppy:
|
||||
image: transloadit/companion
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
volumes:
|
||||
- ./:/app
|
||||
- /app/node_modules
|
||||
- /mnt/uppy-server-data:/mnt/uppy-server-data
|
||||
ports:
|
||||
- '3020:3020'
|
||||
command: '/app/src/standalone/start-server.js --config nodemon.json'
|
||||
env_file:
|
||||
- .env
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
version: '3.9'
|
||||
|
||||
services:
|
||||
uppy:
|
||||
image: companion
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.test
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
version: '3.9'
|
||||
|
||||
services:
|
||||
uppy:
|
||||
image: transloadit/companion
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /app/node_modules
|
||||
- /mnt/uppy-server-data:/mnt/uppy-server-data
|
||||
ports:
|
||||
- '3020:3020'
|
||||
env_file:
|
||||
- .env
|
||||