Commit graph

7003 commits

Author SHA1 Message Date
Artur Paikin
a7d7bbd710
docs: Talk about using a custom file input, instead of the file-input plugin (#1765)
* Talk about using a custom file input, instead of file-input plugin

* move to the end, handle restriction errors instead of ignoring
2019-08-09 19:24:29 +03:00
arggh
a57fb08b39 Add translations in Swedish (#1771) 2019-08-09 18:13:36 +03:00
Evgenia Karunus
f486a89cdc /examples/xhrupload - more obvious UI, added a list of uploaded files (#1768)
* /examples/xhrupload - created a list of uploaded files, made progress bar more obvious

* Tiny style nit: spaces before the bracket
2019-08-07 16:06:14 +03:00
Artur Paikin
6431e90c80 we'll use the .browserslistrc config in uppy root instead 2019-08-05 18:10:14 +03:00
Artur Paikin
90f33b0bdf fix “compate” link in the examples 2019-08-05 17:20:07 +03:00
Artur Paikin
b5086f7ea2 publish the 1.3 post 2019-08-05 16:56:07 +03:00
Artur Paikin
a8ce6dbb19 Improve fi_FI locale after #1744 2019-08-05 15:37:29 +03:00
Evgenia Karunus
8ac57c1ad8 Fix log duplication and excessive ResizeObserver log (#1747)
* everywhere - decorative changes

* /examples - fix duplicate logs in examples

* @uppy/dashboard - only fire the safety resize if we're not in a closed modal

* website/examples - made sure console.debug works in IE10
2019-08-05 15:16:10 +03:00
Artur Paikin
5b42223fb4
website: blog post Uppy 1.3: Accessibility and performance, new languages (#1760)
* Add 1.3 post draft

* blog: iteration

* Update website/src/_posts/2019-08-1.3.md

Co-Authored-By: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>

* Some polish

* Uncapitalized headers

* final tweaks and publish
2019-08-05 14:59:27 +03:00
Artur Paikin
1bbee08e1f cleanup: remove duplicates 2019-08-05 14:58:22 +03:00
Matteo Padovano
2f092da106 fix wrong definition for metaFields property (#1763)
* fix wrong definition for metaFields property

* dashboard: add type test for metaFields
2019-08-02 13:10:37 +02:00
Renée Kooi
0962677c83 docs: explicitly document supported tus-js-client options (#1755)
* docs: explicitly document supported tus-js-client options

* docs: add removeFingerprintOnSuccess
2019-08-01 16:30:03 +03:00
Artur Paikin
5a0055c15d fix docs/locales code escaping and css overflow 2019-07-31 17:48:50 +03:00
Renée Kooi
d05f37488d
core: use setFileState inside retryUpload (#1759)
Makes it a bit easier to follow. It also logs a warning now when you do
`.retryUpload(SomeNonsenseFileID)` instead of silently adding an invalid
object to the state.
2019-07-31 14:46:49 +02:00
Renée Kooi
95a13ff52f website: fix highlighting again (#1757)
* website: fix unhighlighted code block detection

* website: fix html inside inline code tags
2019-07-30 15:16:52 +02:00
Evgenia Karunus
8331676559 /examples/dragdrop - added more obvious 'file was uploaded' indicator (#1750) 2019-07-29 16:01:57 +02:00
Ifedapo .A. Olarewaju
7d22931efb
Merge pull request #1754 from transloadit/allowed-http-methods
companion: set allowed http methods internally
2019-07-29 12:46:16 +01:00
Ifedapo Olarewaju
88fa56e1bd companion: set allowed http methods internally 2019-07-29 12:28:09 +01:00
Renée Kooi
29b82fc036
companion: fix main field 2019-07-29 12:56:42 +02:00
Ifedapo Olarewaju
6559f953e9 companion: rename uppy file -> companion 2019-07-29 11:23:54 +01:00
Ifedapo .A. Olarewaju
b6085edbb6
Merge pull request #1706 from transloadit/providers-e2e-again
e2e: reintroduce e2e test for providers locally
2019-07-29 08:43:58 +01:00
Ifedapo Olarewaju
abeb5f76cb docs: update changelog and docs about companion preflight gotcha
cc @arturi
2019-07-26 10:07:06 +01:00
Nemanja Novicic
ddd65d695d Update sr_RS_Latin.js (#1749)
Uniform translation of the word "folder".
2019-07-24 15:40:40 +02:00
Nemanja Novicic
59d9f224dc Create sr_RS_Cyrillic.js (#1748)
Serbian Cyrillic.
2019-07-24 15:23:02 +02:00
Miika Jukakoski
9e487ed82b Finnish semantics improved and fixed some typos. (#1744)
* Finnish locale semantics improved

* Finnish semantics improved
2019-07-23 10:09:52 +02:00
Ifedapo .A. Olarewaju
bba0f70ba2
Merge pull request #1743 from transloadit/companion-errors
Companion errors
2019-07-22 21:34:34 +01:00
Ifedapo Olarewaju
e991169249 test: working provider e2e test for local env 2019-07-22 13:02:50 +01:00
Renée Kooi
1442d069a6
Update hexo-filter-github-emojis to fix install issues
The previous version included a .git folder which trips npm up.
2019-07-22 12:09:49 +02:00
Artur Paikin
97a05f0b8e changelog for 1.3 2019-07-21 15:55:34 +02:00
Ifedapo Olarewaju
3582c9c650 e2e: reintroduce e2e test for providers locally 2019-07-21 10:29:28 +01:00
Ifedapo Olarewaju
06f30811a1 companion: handle status code errors thrown in google drive 2019-07-20 16:26:10 +01:00
Ifedapo Olarewaju
edf6d687fc companion-client: better auth state check 2019-07-20 16:25:12 +01:00
Elio Capella Sánchez
ef2cf98de4 Improve addFile API (#1739)
* return file id of added files

* add documentation for returned value

* fix linting

* update test to new addFile API

* add docs for the change in the addFile API
2019-07-19 14:48:08 +02:00
Renée Kooi
93117cedba
Lockfile fix 2019-07-19 13:06:35 +02:00
Renée Kooi
9bd18e9fd8
companion: add necessary devDependencies for isolated build 2019-07-19 13:01:16 +02:00
Renée Kooi
f40605548e
ci: post-merge tweaks 2019-07-19 12:31:15 +02:00
Renée Kooi
a2b04f0ee1
ci: tweak job run order (#1740) 2019-07-19 12:16:56 +02:00
Renée Kooi
10bc79574e
lerna link convert (#1730)
* lerna link convert

* ci: use npm ci

* update lockfile

* companion: set `bin` to source file

Since typescript doesn't actually transform anything, we can just use
this.

In a next major version we could set `noEmit: true` in the tsconfig and
stop publishing `lib`.

* companion: do chmod +x on start-server.js

* build: remove obsolete lerna config

* build: explicitly install latest versions when building e2e tests for ci

* Remove versions from private packages

* fix regex

* try fix

* ci: force npm to install to endtoend folder

* ci: fold up e2e build output

* Update netlify deploy preview command

* Remove mentions of npm run bootstrap

* Edit .github/CONTRIBUTING.md instead

* companion: add proxy executable

* companion: fix publish

* Downgrade jest to appease create-react-app
2019-07-19 12:16:36 +02:00
Artur Paikin
bd2beedcff Release 2019-07-18 17:21:42 +02:00
Artur Paikin
885c7956ae move things around before 1.3 2019-07-18 16:37:50 +02:00
Artur Paikin
78c643ae61 we don’t need no padding-top, we don’t need no space control 2019-07-18 16:35:57 +02:00
Artur Paikin
b3902a1dfc
provider-views: Select 5 files --> Select 5, because there are also folders (#1697)
* Select 5 files --> Select 5, because there are also folders

not ideal, but better

* selectXFiles --> selectX

* update selectX in all locales

* Update fi_FI.js
2019-07-18 14:42:38 +02:00
Artur Paikin
4aef626a52
core: Added heic file type, refactor getFileType (#1734)
* add .heic and .heif file types

* refactor getFileType — we don’t need special condition for isRemote anymore
2019-07-17 19:54:06 +02:00
Artur Paikin
dc4e982280 remove prettier-bytes from dependencies, follow up for #1732 2019-07-17 19:53:14 +02:00
Renée Kooi
b42f904f2b core: adjust ID generation to keep non-latin characters (#1722)
* core: add test for ID generation with non-latin names

* core: adjust ID generation to keep non-latin characters

This shouldn't be bc-breaking!

Now, non-latin characters are encoded as their charcode in base 32, so
files that only differ by name in a non-latin language will generate
different IDs.
2019-07-17 16:12:51 +02:00
magumbo
f71ec6a5de Missing build step from readme, npm start will fail without this (#1735) 2019-07-17 11:43:26 +02:00
Artur Paikin
6a9616b78a
Update CHANGELOG.md 2019-07-16 16:47:10 +02:00
Renée Kooi
94efbd3ad9 robodog: allow customizing triggerUploadOnSubmit (#1691)
* robodog: allow customizing `triggerUploadOnSubmit`

* robodog: explain when to use triggerUploadOnSubmit: false
2019-07-16 15:27:40 +02:00
Artur Paikin
7873f057ca
utils: prettyBytes 1000 --> 1024 (#1732)
* Replace prettier-bytes with its copy, only use 1024 instead of 1000 to justify KB vs kB

* Add tests

* added License

* pretty-bytes to @uppy/utils/lib/prettyBytes everywhere
2019-07-16 15:21:47 +02:00
Evgenia Karunus
0b8674a1ce @uppy/dashboard - made Add More always stick to the right (#1733) 2019-07-15 16:07:11 +02:00