Juan Cruz Viotti
138bbafdae
Merge pull request #228 from resin-io/refactor/finish-page
...
Group finish page components in a common directory
2016-03-31 15:57:00 -04:00
Juan Cruz Viotti
472f91a504
Group finish page components in a common directory
2016-03-31 15:33:03 -04:00
Juan Cruz Viotti
224b6fa318
Merge pull request #227 from resin-io/refactor/progress-bar-component
...
Group all parts of the progress-button component in a single directory
2016-03-31 15:30:19 -04:00
Juan Cruz Viotti
797a253158
Group all parts of the progress-button component in a single directory
2016-03-31 15:14:10 -04:00
Juan Cruz Viotti
47cbad8626
Merge pull request #226 from resin-io/feat/drive-modal
...
Implement a drive selector modal
2016-03-31 13:33:55 -04:00
Juan Cruz Viotti
18a1606988
Implement a drive selector modal
...
This modal provides a more advanced way to select a drive. It prevents
certain issues the dropdown was having, like the contents overflowing
when there were many connected drives.
Fixes: https://github.com/resin-io/etcher/issues/202
2016-03-31 12:18:23 -04:00
Juan Cruz Viotti
1a6b3d9688
Merge pull request #225 from resin-io/feat/extensible-buttons
...
Make button element more extensible
2016-03-31 10:19:57 -04:00
Juan Cruz Viotti
c75b4b307a
Style btn-sm
2016-03-31 10:01:33 -04:00
Juan Cruz Viotti
7b48eeb993
Make a CSS class for fixed-width step buttons
2016-03-31 10:01:24 -04:00
Juan Cruz Viotti
3a5310c317
Merge pull request #224 from resin-io/fix/step-bar-alignment
...
Fix step vertical bars slight misalignment
2016-03-31 09:27:25 -04:00
Juan Cruz Viotti
bac70c667f
Fix step vertical bars slight misalignment
2016-03-31 08:52:57 -04:00
Juan Cruz Viotti
50e0fcb7e9
Merge pull request #223 from resin-io/refactor/merge-drives-and-drive-scanner
...
Merge src/drives.js with DriveScannerService
2016-03-31 08:49:36 -04:00
Juan Cruz Viotti
ef16f69df9
Merge pull request #222 from resin-io/fix/use-same-image
...
Fix "Use same image" not preserving the image selection
2016-03-31 08:49:18 -04:00
Juan Cruz Viotti
568781f8c6
Merge pull request #221 from resin-io/refactor/components
...
Style refactoring
2016-03-31 08:48:57 -04:00
Juan Cruz Viotti
34907765df
Merge src/drives.js with DriveScannerService
...
`src/drives.js` made little on its own, and only caused extra thinking
overhead due to indirection.
2016-03-30 16:51:39 -04:00
Juan Cruz Viotti
e541357450
Fix "Use same image" not preserving the image selection
2016-03-30 16:28:22 -04:00
Juan Cruz Viotti
8b5c1a7c41
Remove unnecessary empty line in success partial
2016-03-30 16:11:13 -04:00
Juan Cruz Viotti
e3ed0af0f9
Move Boostrap style customisations to a boostrap.scss file
2016-03-30 16:11:08 -04:00
Juan Cruz Viotti
9bd0ccd550
Normalise step footers captions
2016-03-30 15:53:26 -04:00
Juan Cruz Viotti
79b16beaf0
Make caption's uppercase by default
2016-03-30 15:49:59 -04:00
Juan Cruz Viotti
6f7ea4e772
Convert hero-progress-button into an Angular directive
2016-03-30 15:46:48 -04:00
Juan Cruz Viotti
482b0a52ee
Move title normalisation to desktop.css
2016-03-30 14:56:59 -04:00
Juan Cruz Viotti
abdee7fe10
Refactor tick as a scss component
2016-03-30 14:17:03 -04:00
Juan Cruz Viotti
5d52b19c2b
Refactor hero-button as a scss component
2016-03-30 14:11:18 -04:00
Juan Cruz Viotti
01ec52f4d7
Refactor caption as a scss component
2016-03-30 14:02:03 -04:00
Juan Cruz Viotti
d47eaa8a2a
Refactor badge as a scss component
2016-03-30 13:47:36 -04:00
Juan Cruz Viotti
a252b3a7e7
v1.0.0-beta.1
v1.0.0-beta.1
2016-03-28 13:26:24 -04:00
Juan Cruz Viotti
8187fdf4db
Merge pull request #220 from resin-io/feat/win32-sign
...
Setup code-signing in Windows
2016-03-28 13:21:05 -04:00
Juan Cruz Viotti
05a5790400
Setup code-signing in Windows
...
Fixes: https://github.com/resin-io/etcher/issues/173
2016-03-28 13:06:13 -04:00
Juan Cruz Viotti
04f6217258
Merge pull request #219 from resin-io/misc/package-metadata
...
Add missing package metadata
2016-03-25 10:18:47 -04:00
Juan Cruz Viotti
5cf570fca8
Merge pull request #218 from resin-io/misc/rm-deploy-osx
...
Remove .travis.yml deploy section
2016-03-25 10:12:39 -04:00
Juan Cruz Viotti
5098a06c98
Merge pull request #217 from resin-io/fix/uncaught-exception-sudo-prompt
...
Return to avoid any further code execution after an elevation error
2016-03-25 10:12:20 -04:00
Juan Cruz Viotti
cb8da11b89
Add missing package metadata
...
- Legal copyright.
- Company name.
- File description.
- Original filename.
- Product name.
- Internal name.
2016-03-25 10:10:07 -04:00
Juan Cruz Viotti
eaa3782f06
Remove .travis.yml deploy section
...
Deploy will be done locally for now given security concerns with CI
servers and certificates.
2016-03-25 09:52:22 -04:00
Juan Cruz Viotti
f530dfcc3c
Return to avoid any further code execution after an elevation error
...
Turns out that even by using `process.exit(1)`, the electron main
process doesn't exit instantly, but continues executing code.
This causes electron to throw on `electron.globalShortcut` because this
functionality is not available given that we didn't create a renderer
view.
Fixes: https://github.com/resin-io/etcher/issues/215
2016-03-25 09:41:30 -04:00
Juan Cruz Viotti
34147fb4cb
Merge pull request #216 from resin-io/upgrade/drivelist
...
Upgrade drivelist to v2.0.9
2016-03-24 14:08:42 -04:00
Juan Cruz Viotti
53a026eee0
Upgrade drivelist to v2.0.9
...
This new version contains various fixes to better detect removable
drives.
2016-03-24 13:36:47 -04:00
Juan Cruz Viotti
84b5117a93
Merge pull request #214 from resin-io/fix/error-dialog-analytics
...
Throw error after displaying it with dialog
2016-03-21 10:42:08 -04:00
Juan Cruz Viotti
75bdc0e6d8
Merge pull request #213 from resin-io/misc/trackjs-user-id
...
Configure TrackJS with userId
2016-03-21 10:41:54 -04:00
Juan Cruz Viotti
3166dbe4a6
Throw error after displaying it with dialog
...
Currently, we "swallow" errors by only showing them with the "dialog"
module, causing them to not be logged to TrackJS.
2016-03-21 09:23:53 -04:00
Juan Cruz Viotti
ad082fc268
Configure TrackJS with userId
...
Otherwise, all we get in TrackJS are "anonymous" users, without a way to
link them to Mixpanel users.
2016-03-21 09:19:20 -04:00
Juan Cruz Viotti
dfcedffedd
Merge pull request #211 from resin-io/fix/length-of-undefined
...
Fix Cannot read property 'length' of undefined
2016-03-17 10:09:15 -04:00
Juan Cruz Viotti
fda6f8a6a5
Fix Cannot read property 'length' of undefined
...
This error was reported by TrackJS various times:
```
TypeError: Cannot read property 'length' of undefined
at EventEmitter.<anonymous> (file:///Users/jviotti/Projects/resin/etcher/lib/browser/app.js:104:15)
at emitOne (events.js:77:13)
at EventEmitter.emit (events.js:169:7)
at /Users/jviotti/Projects/resin/etcher/lib/browser/modules/drive-scanner.js:131:17
at processQueue (/Users/jviotti/Projects/resin/etcher/node_modules/angular/angular.js:15616:28)
at /Users/jviotti/Projects/resin/etcher/node_modules/angular/angular.js:15632:27
at Scope.$eval (/Users/jviotti/Projects/resin/etcher/node_modules/angular/angular.js:16884:28)
at Scope.$digest (/Users/jviotti/Projects/resin/etcher/node_modules/angular/angular.js:16700:31)
at /Users/jviotti/Projects/resin/etcher/node_modules/angular/angular.js:16923:26
at completeOutstandingRequest (/Users/jviotti/Projects/resin/etcher/node_modules/angular/angular.js:5825:10),
```
The error refers to the following line in `app.js`:
```js
if (drives.length === 1 && self.selection.hasImage()) {
```
Which indicates that the array of detected drives returned to the main
controller is `undefined` for some reason.
The problem resides in the `.scan()` method of `DriveScannerService`:
```js
this.scan = function() {
return $q.when(drives.listRemovable()).catch(dialog.showError);
};
```
When an error is thrown when scanning the drives, the `.catch()` block
is called. This means that the error is not propagated to the outer code
and the promise resolves with `undefined`.
The solution is to move `.catch()` to the place `.scan()` is called,
instead of making use of it in the low-level parts of the process.
2016-03-17 09:36:43 -04:00
Juan Cruz Viotti
4fba9d532c
Merge pull request #209 from resin-io/misc/osx-travis
...
Enable OS X in Travis CI
2016-03-16 13:34:00 -04:00
Juan Cruz Viotti
05e8cb06fc
Enable OS X in Travis CI
2016-03-16 13:06:22 -04:00
Juan Cruz Viotti
78bb151387
Merge pull request #208 from resin-io/feat/window-drag
...
Allow window to be dragged from anywhere
2016-03-13 15:52:55 -04:00
Juan Cruz Viotti
a40ad6fd54
Allow window to be dragged from anywhere
...
Fixes: https://github.com/resin-io/etcher/issues/191
2016-03-13 15:10:16 -04:00
Juan Cruz Viotti
3ef3567d89
Merge pull request #206 from resin-io/misc/makefile-npm-force
...
Wipe-out node_modules/ and force-install npm dependencies
2016-03-11 13:22:52 -04:00
Juan Cruz Viotti
8a9abc2c97
Wipe-out node_modules/ and force-install npm dependencies
2016-03-11 08:30:28 -04:00
Juan Cruz Viotti
e0861b25da
Merge pull request #204 from resin-io/fix/finish-settings
...
Fix broken state when going to settings in the success screen
2016-03-10 17:43:05 -04:00