Artur Paikin
45bbbb28f2
ops, call updateDashboardElWidth right away (for inline Dashboard)
2017-12-21 19:11:58 -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
Artur Paikin
c5a815a35b
fix instagram getNextPagePath and remove ”px” from width
2017-12-13 14:40:54 -05:00
Artur Paikin
26b049c674
uppy.emit
2017-12-13 00:10:57 -05:00
Artur Paikin
52175e57fe
Merge pull request #448 from transloadit/remote-error-handling
...
fix: handle remote upload error events #446
2017-12-13 00:10:08 -05:00
Artur Paikin
ab12663213
Experimental switch to JSX in DragDrop; also cleanup
2017-12-12 23:35:31 -05:00
Artur Paikin
b062ba4236
Update html to use hyperx; use Component where lifecycle needed, refs;
...
also fix bugs here and there
2017-12-12 23:32:09 -05:00
Artur Paikin
9aa3e00411
don’t set metadata values for new files in Dashboard, use uppy.opts.meta instead
2017-12-10 20:47:56 -05:00
Ifedapo Olarewaju
4e11e43755
fix: handle remote upload error events #446
2017-12-11 01:06:18 +01:00
Artur Paikin
ed9aa1a537
🚨 this.core to this.uppy everywhere
...
danger again
2017-12-08 17:34:33 -05:00
Artur Paikin
59263c59a2
remove unused methods, use getState()
2017-12-08 00:47:08 -05:00
Artur Paikin
08df43b39a
Revert (move Provider plugin again) "Revert "move generic-provider-views and Provider to /plugins/Provider""
...
This reverts commit 49b4480222 .
2017-12-07 23:41:18 -05:00
Artur Paikin
6f510f4679
Merge branch 'master' into chore/refactors
2017-12-07 17:03:55 -05:00