3015 Commits

Author SHA1 Message Date
Juan Cruz Viotti
f5e63b5441 Merge pull request #58 from resin-io/jviotti/hound/disable-scss
Do not lint scss in Hound
2015-12-01 12:21:57 -04:00
Juan Cruz Viotti
d784ed2ba8 Clarify that the drive was safely ejected 2015-12-01 11:09:00 -04:00
Juan Cruz Viotti
e2bbcdb0c9 Do not lint scss in Hound 2015-12-01 10:43:10 -04:00
Juan Cruz Viotti
739a191e66 Merge branch 'master' into jviotti/feat/41/burn-again 2015-12-01 10:41:12 -04:00
Juan Cruz Viotti
c63755205b Implement burn complete screen
This screen informs the user that the burn has completed and that the
drive can be ejected directly.

It also provides a button to burn another image without exitting the
application.

Fixes: https://github.com/resin-io/herostratus/issues/41
2015-12-01 08:21:17 -04:00
Juan Cruz Viotti
1f8aeac59c Merge pull request #56 from resin-io/jviotti/feat/50/error-dialogs
Show error dialogs on JavaScript exceptions
2015-11-30 15:10:36 -04:00
Juan Cruz Viotti
133f927234 Show error dialogs on JavaScript exceptions
Fixes: https://github.com/resin-io/herostratus/issues/50
2015-11-30 11:51:51 -04:00
Juan Cruz Viotti
a0057b35ae Merge pull request #53 from resin-io/jviotti/misc/disable-travis-emails
Disable Travis CI emails
2015-11-30 09:33:57 -04:00
Juan Cruz Viotti
e4dc8ca9ca Disable Travis CI emails 2015-11-30 00:54:17 -04:00
Juan Cruz Viotti
b59a2eb67f Merge pull request #49 from resin-io/jviotti/fix/39/consoles-windows
Upgrade windosu to v0.2.0
2015-11-29 21:28:47 -04:00
Juan Cruz Viotti
c166ff2bb8 Upgrade windosu to v0.2.0
This version contains a fix for a cmd.exe window popping in for a
fraction of a second when elevating Herostratus on Windows.

Fixes: https://github.com/resin-io/herostratus/issues/39
2015-11-29 20:23:55 -04:00
Juan Cruz Viotti
515da3b560 Merge pull request #48 from resin-io/jviotti/feature/33/devtools
Add a global shortcut to open DevTools
2015-11-25 23:06:45 -04:00
Juan Cruz Viotti
b4c1ee8d3d Add a global shortcut to open DevTools
Fixes: https://github.com/resin-io/herostratus/issues/33
2015-11-25 22:23:50 -04:00
Juan Cruz Viotti
0c76a882e6 Merge pull request #47 from resin-io/jviotti/feature/finished-state
Add finished state before done
2015-11-24 01:00:30 -04:00
Juan Cruz Viotti
f6f63bdf48 Add finished state before done
Currently we say "done" as soon as the progress is equal to 100, however
we don't wait for the drive to be ejected/unmounted.

This commit introduces a new state, called "Finishing..." which is shown
when the progress is 100, but the drive has not been unmounted.
2015-11-23 23:30:39 -04:00
Juan Cruz Viotti
915646d706 Merge pull request #46 from resin-io/jviotti/fix/40/windows-eject
Eject Windows drives after successful burning
2015-11-23 23:30:03 -04:00
Juan Cruz Viotti
da279820dc Eject Windows drives after successful burning
Use the `removedrive` for this task:

https://github.com/jviotti/removedrive

Fixes: https://github.com/resin-io/herostratus/issues/40
2015-11-23 13:40:32 -04:00
Juan Cruz Viotti
a6ec66d0b3 Pass the whole drive object to the writer
Currently we only pass the drive device. By passing all the object
(containing the mountpoint, size, etc) we allow more control to the
writer in how to treat the device before/during/after the burning
process.
2015-11-23 13:28:15 -04:00
Juan Cruz Viotti
d0d384fb6f Merge pull request #43 from resin-io/jviotti/readme/menu
Add table of contents to README.md
2015-11-20 11:21:31 -04:00
Juan Cruz Viotti
15fc311712 Add table of contents to README.md 2015-11-20 11:20:54 -04:00
Juan Cruz Viotti
e158de0396 Merge pull request #42 from resin-io/jviotti/doc/contributing
Add CONTRIBUTING guide
2015-11-20 11:20:20 -04:00
Juan Cruz Viotti
e6dda1fbe5 Add CONTRIBUTING guide 2015-11-20 11:15:38 -04:00
Juan Cruz Viotti
ee457805e6 Merge pull request #38 from resin-io/jviotti/23/fix/windows-drive-overflow
win32: Show drive letter instead of device in dropdown
2015-11-19 16:03:20 -04:00
Juan Cruz Viotti
b3f297911b Merge pull request #36 from resin-io/jviotti/fix/31/first-time-elevation-osx
osx: Fix first time elevation failure
2015-11-19 14:26:06 -04:00
Juan Cruz Viotti
32a00a0d9a win32: Show drive letter instead of device in dropdown
Physical drive names are long and cause the dropdowns to overflow.

Fixes: https://github.com/resin-io/herostratus/issues/23
2015-11-19 14:22:50 -04:00
Juan Cruz Viotti
ff10d8a70e Merge pull request #37 from resin-io/jviotti/fix/24/button-outline
all: Fix button outline on focus
2015-11-19 14:16:28 -04:00
Juan Cruz Viotti
56248efbce Merge pull request #32 from resin-io/jviotti/25/footer-text
Change footer text
2015-11-19 13:56:54 -04:00
Juan Cruz Viotti
65fa720666 all: Fix button outline on focus
Fixes: https://github.com/resin-io/herostratus/issues/24
2015-11-19 13:52:32 -04:00
Juan Cruz Viotti
479205c2c6 osx: Fix first time elevation failure
Currently we fire and forget `sudoPrompt.exec()` and run a timeout for
`process.exit(0)` right away, however this means that the timeout will
start as soon as the elevation dialog is shown when no sudo cache exists
and therefore the timeout will finish before the user can type his
password and submit.

The fix is to keep the parent alive until the children dies, but call
`app.dock.hide()` to make the parent completely invisible to the
operating system.

Fixes: https://github.com/resin-io/herostratus/issues/31
2015-11-19 13:31:45 -04:00
Juan Cruz Viotti
f7c0a229a5 Change footer text
Change "POWERED BY RESIN.IO" to "AN OPEN SOURCE PROJECT BY RESIN.IO".

Fixes: https://github.com/resin-io/herostratus/issues/25
2015-11-19 13:16:28 -04:00
Juan Cruz Viotti
146256be28 Merge pull request #27 from resin-io/jviotti/docs/npm-force
Document the need of npm install --force
2015-11-18 15:39:28 -04:00
Juan Cruz Viotti
dc9f9ebcc9 Document the need of npm install --force
This is needed to avoid optional dependencies not being installed.

Fixes: https://github.com/resin-io/herostratus/issues/22
2015-11-18 15:39:01 -04:00
Juan Cruz Viotti
2dd39c25e8 Merge pull request #19 from resin-io/jviotti/osx/asar-remove
osx(package) Build without --asar
2015-11-18 14:22:01 -04:00
Juan Cruz Viotti
fef79c6143 osx(package) Build without --asar
This change fixes the following issues:

- https://github.com/resin-io/herostratus/issues/17
- https://github.com/resin-io/herostratus/issues/18
2015-11-18 14:20:18 -04:00
Juan Cruz Viotti
1b04b56d85 Merge pull request #16 from resin-io/jviotti/fix/increase-osx-killtime
Increase OS X parent kill time to 500ms
2015-11-18 13:58:25 -04:00
Juan Cruz Viotti
86d7424f90 Increase OS X parent kill time to 500ms 2015-11-17 15:38:36 -04:00
Juan Cruz Viotti
4925d1d722 Merge pull request #13 from resin-io/jviotti/fix/package-electron
Package Electron with 0.31.2
2015-11-13 15:33:01 -04:00
Juan Cruz Viotti
bbd03f590c Merge pull request #11 from resin-io/jviotti/feature/package-icons
Add application icon
2015-11-13 15:32:50 -04:00
Juan Cruz Viotti
f2213ddb21 Merge pull request #14 from resin-io/jviotti/fix/double-os-x-windows
Fire and forget OS X sudo prompt
2015-11-13 15:32:42 -04:00
Juan Cruz Viotti
f0f6deb3c0 Merge pull request #15 from resin-io/jviotti/refactor/bluebird
Use Bluebird instead of native promises
2015-11-13 15:31:58 -04:00
Juan Cruz Viotti
f55400ec98 Use Bluebird instead of native promises
Native promises showed strange behaviour from time to time.
2015-11-13 14:43:42 -04:00
Juan Cruz Viotti
6e3c000576 Fire and forget OS X sudo prompt
Currently, the parent application will not be closed until the children
process is closed, leading to two Herostratus applications running at
the same time on OS X.
2015-11-13 13:53:58 -04:00
Juan Cruz Viotti
abcf142379 Add application icon 2015-11-12 14:33:54 -04:00
Juan Cruz Viotti
f50c324170 Package Electron with 0.31.2
This was the last known version to work on Ubuntu.

See https://github.com/resin-io/herostratus/pull/10
2015-11-12 14:07:22 -04:00
Juan Cruz Viotti
a0417cdda0 Merge pull request #9 from resin-io/jviotti/fix/mocha-mock
Remove window.mocha stub
2015-11-09 11:05:15 -04:00
Juan Cruz Viotti
c5418e7cde Remove window.mocha stub
The real issue was fixed in
https://github.com/jprichardson/electron-mocha/pull/20
2015-11-09 10:42:23 -04:00
Juan Cruz Viotti
9707587627 Merge pull request #10 from resin-io/jviotti/electron/downgrade
Downgrade to Electron v0.31.2
2015-11-09 10:41:56 -04:00
Juan Cruz Viotti
ee3c7d4e33 Downgrade to Electron v0.31.2
This version is the last one that works on GNU/Linux.
2015-11-09 10:08:28 -04:00
Juan Cruz Viotti
4f8a6c66ca Merge pull request #8 from resin-io/jviotti/disable-icons
Disable icons when step is disabled
2015-10-30 17:29:59 -04:00
Juan Cruz Viotti
3f0abf1737 Disable icons when step is disabled 2015-10-30 17:03:35 -04:00