Commit graph

3210 commits

Author SHA1 Message Date
Dmytro Sadovnychyi
e6eec30783 Add another message for empty folders 2017-11-17 19:08:20 +08:00
Dmytro Sadovnychyi
912b6b8714 Add i18n for folder message 2017-11-17 18:44:47 +08:00
Dmytro Sadovnychyi
48844282c4 Fix wrong i18n assignment in dashboard 2017-11-17 18:44:07 +08:00
Dmytro Sadovnychyi
5c94437bdc Update folder state when file is removed from main screen 2017-11-17 18:14:07 +08:00
Dmytro Sadovnychyi
0bde3083db Remove unused argument 2017-11-17 17:34:28 +08:00
Dmytro Sadovnychyi
998178d215 Remove isCheckbox core property; Manually call hideAllPanels instead 2017-11-17 17:33:23 +08:00
Dmytro Sadovnychyi
47b0434c9f fileToId -> providerFileToId 2017-11-17 17:06:16 +08:00
Dmytro Sadovnychyi
35b16241f7 Add info message with number of files added from folder 2017-11-17 15:32:13 +08:00
Dmytro Sadovnychyi
f046d3ddcd Handle errors when adding a folder 2017-11-17 15:24:15 +08:00
Dmytro Sadovnychyi
f1dd42c916 No need to check for isFinite since folders are no longer displayed 2017-11-16 18:37:07 +08:00
Dmytro Sadovnychyi
5f17d0d001 Remove isFolder property from files 2017-11-16 18:24:16 +08:00
Dmytro Sadovnychyi
e8971eb735 Add/remove folder contents on checkbox change 2017-11-16 18:21:57 +08:00
Dmytro Sadovnychyi
2718837201 Use lodash.isFinite instead of isNaN for IE support 2017-11-16 15:49:26 +08:00
Dmytro Sadovnychyi
70471d47a8 Merge branch 'multiselect' of github.com:sadovnychyi/uppy into multiselect 2017-11-16 15:40:41 +08:00
Dmytro Sadovnychyi
258343c9dc Merge branch 'master' of https://github.com/transloadit/uppy into multiselect 2017-11-16 15:40:04 +08:00
Dmytro Sadovnychyi
37bbaa2fd6
Merge branch 'master' into multiselect 2017-11-16 10:37:06 +08:00
Ifedapo .A. Olarewaju
4725f44795
update changelog 2017-11-14 18:54:29 +01:00
Artur Paikin
cb4bc92c38 Release 0.21.0 2017-11-14 12:11:34 -05:00
Artur Paikin
24b1fe781b changelog for 0.21.0 and #next 2017-11-14 12:11:22 -05:00
Artur Paikin
69a21daacb
Merge pull request #414 from transloadit/improvement/a11y
[WIP] Improve accessibility: focus handling, tweak labels and more
2017-11-13 16:13:11 -05:00
Artur Paikin
e3246c85df skip test that uses nanoraf 2017-11-13 15:31:56 -05:00
Artur Paikin
c2accaa0fe
Merge pull request #421 from transloadit/feature/is-supproted
webcam,dashboard: Add `isSupported()` API for providers
2017-11-13 15:11:26 -05:00
Artur Paikin
ff0efcc7ba
Merge pull request #418 from transloadit/feature/custom-plugin-ids
Support custom plugin IDs to allow using multiple copies of a plugin and more
2017-11-13 11:17:40 -05:00
Artur Paikin
0010ca4536
Merge pull request #420 from transloadit/chore/s3-translator
s3: Use Translator for localised strings
2017-11-13 11:16:48 -05:00
Renée Kooi
4654ee1378
webcam,dashboard: Add isSupported() API for providers
Providers can signal whether they support the current environment using
an optional `isSupported()` method. Providers that always work (eg.
Google Drive) do not need to specify this method.

The check for the Webcam currently only checks if the `getUserMedia`
method exists at all. We could maybe do some more checks, like, if the
mode is `video-only` or `video-audio` but MediaRecorder is not
supported.
2017-11-13 15:21:37 +01:00
Renée Kooi
06ba8adf50
s3: Use Translator for localised strings 2017-11-13 12:36:05 +01:00
Renée Kooi
e4ed315173
Fix log "tag" (Tag:[Tag]) so it's the same as the other ones 2017-11-13 11:08:47 +01:00
Renée Kooi
7f921672fe
Fix some RestoreFiles occurrences 2017-11-13 11:07:18 +01:00
Artur Paikin
6794faba2f little clean up 2017-11-13 00:52:50 -05:00
Artur Paikin
8001b17bf7 role and aria-label for file list 2017-11-12 11:38:48 -05:00
Artur Paikin
0c71a306cb files in providers should be selectable with a keyboard too 🙀 2017-11-12 11:38:30 -05:00
Artur Paikin
2eb6b584a5 restructure hidden input, add tabindex="-1" 2017-11-12 11:37:53 -05:00
Artur Paikin
dbe4ec08ee hide inner content of a tab when it’s inactive 2017-11-12 11:36:59 -05:00
Artur Paikin
da7ef3ba72 hide inner content of the FileCard when its inactive 2017-11-12 11:34:07 -05:00
Artur Paikin
22174816f7 remove extra input 2017-11-12 11:33:47 -05:00
Artur Paikin
e40dd66bed maintain (trap) focus/tab inside the modal 2017-11-12 11:33:35 -05:00
Artur Paikin
73d1a9ab83 remove duplicate hidden input, set tabindex 2017-11-12 11:30:14 -05:00
Artur Paikin
e967a57afb show outlines, remove unused code 2017-11-12 11:29:46 -05:00
Dmytro Sadovnychyi
0f12dc8187 Add isFolder property for each file 2017-11-12 18:23:55 +08:00
Dmytro Sadovnychyi
5e8d5cf11c Do not display NaN for folder sizes 2017-11-12 16:12:11 +08:00
Dmytro Sadovnychyi
cca123b55e Allow to select multiple files using shift and click 2017-11-11 21:11:42 +08:00
Dmytro Sadovnychyi
e976d1f711 Fix for styleguide 2017-11-11 18:13:19 +08:00
Dmytro Sadovnychyi
ef0f708f8f Allow to select multiple files at once from remote providers 2017-11-11 18:12:46 +08:00
Artur Paikin
54fa19b3e5
Merge pull request #404 from transloadit/feature/successful-failed
Return { successful, failed } object from .upload().
2017-11-10 23:19:36 -05:00
Artur Paikin
78320a2b6f naming in comments 2017-11-10 20:16:44 -05:00
Artur Paikin
cb6c1aeff0 add this.opts.id || [name] to this.id for all UI plugins 2017-11-10 20:15:59 -05:00
Artur Paikin
53e61462c1 css fix: tag panel should overlay FileItems 2017-11-10 18:47:47 -05:00
Renée Kooi
f02c89d5c0
core: Tests for { successful, failed } 2017-11-10 17:11:45 +01:00
Renée Kooi
4682f59fc6
xhrupload,tus,transloadit: Ignore errored files. 2017-11-10 16:55:57 +01:00
Renée Kooi
189450da90
s3: Emit upload-error when generating upload parameters fails. 2017-11-10 16:55:57 +01:00