Commit graph

1095 commits

Author SHA1 Message Date
Mohammed Nafees
f25eae0142 Copy-pasta: Generalise comment phrase (#469) 2017-12-27 15:52:04 +01:00
Artur Paikin
8ef9f3a89e input hidden="true" should not be focusable too, add licence info 2017-12-26 15:35:22 -05:00
Janko Marohnić
8fbb293570
Make ordering of plugin options consistent
It's easier to scan the options if "locale" is at the end.
2017-12-23 13:38:12 +01:00
Artur Paikin
82d9eeee84 DragDrop: don’t use the whole DnD area as a click target for now 2017-12-21 23:50:55 -05:00
Artur Paikin
b293945531 add missing space between informer message and balloon (JSX) 2017-12-21 22:37:45 -05:00
Artur Paikin
d615b1504f Merge branch 'master' of https://github.com/transloadit/uppy 2017-12-21 19:53:05 -05:00
Artur Paikin
45bbbb28f2 ops, call updateDashboardElWidth right away (for inline Dashboard) 2017-12-21 19:11:58 -05:00
Artur Paikin
07b5e3c2ee remove comment 2017-12-21 17:16:28 -05:00
Artur Paikin
5498c3e62e fix JSX quotes 2017-12-21 16:52:36 -05:00
Artur Paikin
57c80c99bf refactor Form plugin, append whole result to hidden input 2017-12-21 16:51:49 -05:00
Artur Paikin
60cf71325a remove getMetaFromForm and unused options 2017-12-21 16:39:20 -05:00
Artur Paikin
83d604c859 Merge branch 'master' into feature/meta-result-form 2017-12-21 14:42:04 -05:00
Artur Paikin
578d8ebe31 fix quotes, use custom components instead of functions in some places 2017-12-20 18:33:52 -05:00
Artur Paikin
7d696e6984 use template string 2017-12-20 18:03:42 -05:00
Artur Paikin
aec8d26d6c
Merge branch 'master' into refactor-preact 2017-12-20 00:42:14 -05:00
Artur Paikin
8e6694fbc1 Dashboard --> DashboardUI --> Dashboard 2017-12-20 00:32:37 -05:00
Artur Paikin
45a2e70719 uppy- prefix for Webcam too 2017-12-20 00:15:01 -05:00
Artur Paikin
276e730a85 🚨 convert all remaining hyperx strings to JSX
things might be broken! tested to the best of my abilities, fixed multiple issues on the way
2017-12-20 00:11:30 -05:00
Artur Paikin
1f3fb07098 fix defaultTabIcon 2017-12-19 15:14:50 -05:00
Artur Paikin
9eb2763be3 Refactor FileInput to JSX and minor tweaks 2017-12-19 15:03:53 -05:00
Artur Paikin
7f906a8282 Convert Informer and ProgressBar to JSX 2017-12-18 11:43:54 -05:00
Renée Kooi
a5f990556b
core: Move progress recalculation after restore into core 2017-12-18 10:49:24 +01:00
Renée Kooi
8147ee0905
restore: Add comment about get-data event. 2017-12-18 10:44:50 +01:00
Renée Kooi
3177ad415e
transloadit: Fix log calls 2017-12-18 10:44:50 +01:00
Renée Kooi
0fecd5c190
restore: use private method 😱 2017-12-18 10:44:50 +01:00
Renée Kooi
a86ce3e074
transloadit: Fix associating non-tus uploaded files with local files. 2017-12-18 10:44:50 +01:00
Renée Kooi
3d6ecae65f
transloadit: Consistent naming for assemblies state key 2017-12-18 10:44:50 +01:00
Renée Kooi
e81101aab4
transloadit: Move default getAssemblyOptions up, makes default options a bit more readable 2017-12-18 10:44:49 +01:00
Renée Kooi
82a66f443d
tl: Remove debug log 2017-12-18 10:44:49 +01:00
Renée Kooi
99080300df
transloadit: Move assembly status diffing to a separate method 2017-12-18 10:44:49 +01:00
Renée Kooi
87baeab224
transloadit: Make missed events sequencing less hacky (slightly) 2017-12-18 10:44:49 +01:00
Renée Kooi
c1075daa44
transloadit: Do not run restore code if there were no assemblies. 2017-12-18 10:44:49 +01:00
Renée Kooi
d9e419c9dd
restore: Add [GoldenRetriever] tag to logs 2017-12-18 10:44:49 +01:00
Renée Kooi
7171901b38
restore: Also restore if there are uploads without files. 2017-12-18 10:44:49 +01:00
Renée Kooi
3d267046e7
transloadit: Save uploadsAssemblies map for restoring. 2017-12-18 10:44:34 +01:00
Renée Kooi
dfa1bf6797
transloadit: Fix finding correct file for a tus upload URL when upload has not completed. 2017-12-18 10:44:34 +01:00
Renée Kooi
efc248c93f
transloadit: Fix restore attempt crash when there were no uploads or assemblies yet 2017-12-18 10:44:34 +01:00
Renée Kooi
2e52d27717
transloadit: Use this.core.log 2017-12-18 10:44:34 +01:00
Renée Kooi
4e3a642756
transloadit: Emit transloadit:complete correctly after restore with waitForMetadata. 2017-12-18 10:44:34 +01:00
Renée Kooi
d7e3e0d9ee
transloadit: Emit file upload error if assembly fails. 2017-12-18 10:44:33 +01:00
Renée Kooi
4aa450db7c
transloadit: Fix transloadit:complete being emitted twice when waitForMetadata: true 2017-12-18 10:44:33 +01:00
Renée Kooi
cdaa99eb75
restore: Calculate current progress after restoring file state. 2017-12-18 10:44:33 +01:00
Renée Kooi
d5a6b0fe3c
transloadit: Emit missed events on restore.
Diffs assembly status to find new `uploads` and `results`, and emits
`transloadit:upload` and `transloadit:result` events accordingly.
Also emits `transloadit:complete` for newly finished assemblies
and `transloadit:assembly-error` for assemblies that failed.

This feature needs to store some custom data with the RestoreFiles
plugin. It does this by adding a `restore:get-data` event that gets a
callback as a parameter. This callback stores custom plugin data. It's
not great but idk.

    core.on('restore:get-data', (setData) => {
      setData({ whatever: 'beepboop' })
    })
2017-12-18 10:44:33 +01:00
Renée Kooi
452a9a5a0e
transloadit: load assembly statuses on restore 2017-12-18 10:44:33 +01:00
Artur Paikin
c6382ce93b add eslint-config-standard-preact, use h as JSX pragma
also added custom rule `"jsx-quotes": ["error", "prefer-double"]`, because single quote attributes were forced for some reason: https://eslint.org/docs/rules/jsx-quotes
2017-12-14 16:27:19 -05:00
Artur Paikin
b4d2d05422 turn Tabs into a component too 2017-12-13 21:41:12 -05:00
Artur Paikin
fdffdb0cb8 refactor ActionBrowseTagline into a component 2017-12-13 19:55:43 -05:00
Artur Paikin
0f2258e990 on --> handle, use style object 2017-12-13 18:42:02 -05:00
Artur Paikin
2fb00baec0 rename event 2017-12-13 18:33:37 -05:00
Artur Paikin
2b9a6cdfd1 wait for addFile before proceeding 2017-12-13 18:24:04 -05:00