Commit graph

247 commits

Author SHA1 Message Date
Harry Hedger
7ffc0ee990 GoogleDrive UI markup and some styling. New render method for UI. 2016-04-21 11:18:40 -04:00
Harry Hedger
df1abea11d Aw yiss. Mothafn breadcrumbs. 2016-04-20 15:41:31 -04:00
Artur Paikin
664ae6004a Fix bug that caused last open tab in Modal to remain open 2016-04-19 01:19:42 -04:00
Artur Paikin
a48c5faaf3 Rethink rendering architecture: in Modal, use a render method for each plugin, instead of a pre-rendered element
Using pre-rendered elements was making `morphdom` (which is used inside
`yo-yo`) replace each plugin’s content, when that plugin was used in
Modal.
2016-04-19 00:38:13 -04:00
Artur Paikin
05c1d045f8 Use directory root 2016-04-18 11:21:06 -04:00
Artur Paikin
7f174ea638 Fix Google Drive? 2016-04-18 10:52:55 -04:00
Artur Paikin
7c258a0f4b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	CHANGELOG.md
#	src/core/Core.js
2016-04-17 22:17:09 -04:00
Artur Paikin
01fc2d2268 Files state refactor: selected / inProgress / uploaded 2016-04-17 22:08:37 -04:00
Artur Paikin
c7cf6296dd Comment in Google Drive state 2016-04-17 16:17:20 -04:00
Artur Paikin
52901dcdab Add total progress to Core, set plugin state by the plugin itself 2016-04-17 15:24:06 -04:00
Artur Paikin
5b42927a71 Cleanup 2016-04-17 15:22:44 -04:00
Artur Paikin
9feeb9f01f Fix and enable ProgressBar again (hipster version) 2016-04-17 15:12:53 -04:00
Artur Paikin
9114ab09e7 Better plugin install log 2016-04-16 00:44:32 -04:00
Harry Hedger
c6b076048b Fixed defaultState issue. 2016-04-13 14:57:17 -04:00
Harry Hedger
f37df87069 Pass location.href for oauth redirect. Fixed tests to use mock core. Added logout button. 2016-04-13 06:35:53 -04:00
Harry Hedger
cfa388bceb Updated to get dirs 2016-04-13 04:15:13 -04:00
Harry Hedger
84fc9b01f4 Merge branch 'master' of https://github.com/transloadit/uppy 2016-04-12 11:05:38 -04:00
Harry Hedger
f0b6738682 Added event listeners to folders/files. 2016-04-12 01:40:11 -04:00
Artur Paikin
d6cbf7a59f Dont’s use Array.from — Babel doesn’t transplie it 2016-04-11 18:38:16 -04:00
Kevin van Zonneveld
6707e35b7c Change uppy-server port to 3020 2016-04-08 19:52:54 +02:00
Artur Paikin
781f2ab867 Core state debugging 2016-04-08 13:51:19 -04:00
Artur Paikin
50f15f8ae7 Refactor ProgressDrawer, DragDrop style 2016-04-08 13:51:19 -04:00
Harry Hedger
ad79f6687d Google Drive (#80)
* Added two more unit tests for GoogleDrive.  Prettified test reporting.  Added 'every' and 'groupBy' utils.

* GoogleDrive state/rendering. Env variable file. Add state to core.

* corrected small lint errors.
2016-04-08 08:26:06 +02:00
Artur Paikin
9f1fa7bbac Show link to the uploaded file 2016-04-08 01:27:30 -04:00
Artur Paikin
51524f0b60 Add file.type handling to Core and ProgressDrawer 2016-04-08 01:08:32 -04:00
Artur Paikin
ebc17c4426 Events in DragDrop & minor changes 2016-04-08 00:51:20 -04:00
Artur Paikin
98a54406f6 Force Tus to always upload files, for developing 2016-04-08 00:02:00 -04:00
Artur Paikin
9eeeb232d7 ProgressDrawer: show uploaded and selected, don’t hide after upload 2016-04-07 23:35:23 -04:00
Artur Paikin
481761691b Return Modal target 2016-04-07 21:46:55 -04:00
Artur Paikin
6de36e9c03 DragDrop: refactor & improve 2016-04-07 21:44:13 -04:00
Harry Hedger
7935266d7f checkAuth and getFile unit tests for Google Drive. added nock and node-fetch. 2016-04-07 12:54:37 -04:00
Kevin van Zonneveld
b4350c127d Use ES5 exports for non-classes. Fixes bundle examples 2016-04-07 16:25:21 +02:00
Artur Paikin
b0edc3006e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	CHANGELOG.md
2016-04-06 11:36:11 -04:00
Artur Paikin
fd427e3417 cleanup 2016-04-06 11:08:44 -04:00
Kevin van Zonneveld
37c622faf5 Add a test-acceptance script which spins up servers in the background 2016-04-06 10:32:04 +02:00
Harry Hedger
894778b296 Added yo to template strings 2016-04-05 21:13:35 -04:00
Harry Hedger
38fa2b1ebd Yoyo rendering 2016-04-05 21:11:13 -04:00
Artur Paikin
8b1a5741d0 is-UppyModal-open class instead of inline styles 2016-04-04 21:59:52 -04:00
Artur Paikin
2250e82921 Modal refactor 2016-04-03 23:50:17 -04:00
Artur Paikin
d53ee40ded Test command fix, modal hidden/visible/selected attr refactor 2016-04-03 23:04:39 -04:00
Artur Paikin
ff7152165b Refactor, autoProceed in ProgressDrawer 2016-04-03 01:02:25 -04:00
Artur Paikin
eb98736f3e Cleanup, updateState, getState, move events from core to methods of Modal 2016-04-03 01:01:05 -04:00
Artur Paikin
1824d0f7b3 Continue yo-yo integration, modal plugin rendering, no waterfall for now 2016-03-31 22:57:55 -04:00
Artur Paikin
96d4ae1b9a Use drag-drop module 2016-03-31 22:55:13 -04:00
Artur Paikin
7de611f936 Converting Modal and everything else to components & shared state 2016-03-30 22:44:13 -04:00
Artur Paikin
53e39cc201 For now: remove upload button from Modal itself,, don’t use Presenter, Dummy and ProgressBar. Update styles 2016-03-28 00:08:42 -04:00
Artur Paikin
14c6970151 ProgressDrawer img upload preview, styles and refactoring 2016-03-27 23:58:00 -04:00
Artur Paikin
33196d9388 Added uploaded-success event and uploadedFiles container, added readImgPreview method that reads img as DataURL to display while uploading 2016-03-27 23:56:57 -04:00
Artur Paikin
6ea0649f32 Move all actions to core, introduce global state 2016-03-24 22:01:40 -04:00
Artur Paikin
78a3420115 Move generateFileID to Utils 2016-03-24 22:01:03 -04:00