2947 Commits

Author SHA1 Message Date
Juan Cruz Viotti
672a9f18b4 Merge pull request #76 from resin-io/feat/gitter
Add Gitter badge
2016-01-11 13:19:45 -04:00
Juan Cruz Viotti
c509e50ced Add Gitter badge 2016-01-11 11:29:04 -04:00
Juan Cruz Viotti
8303064e86 Merge pull request #73 from resin-io/refactor/drive-name
Simplify drive letter / device conditional
2016-01-11 09:04:47 -04:00
Juan Cruz Viotti
5af3cf3fb9 Simplify drive letter / device conditional
The `drivelist` module includes a new property called `name` in `2.0.7`
that resolves to the drive letter (mount point) on Windows, and to the
drive otherwise.
2016-01-11 01:24:52 -04:00
Juan Cruz Viotti
c589165e40 Merge pull request #72 from resin-io/fix/windows-backslash-drive-letter
Do not append a backslash after drive letter in Windows
2016-01-11 01:23:03 -04:00
Juan Cruz Viotti
13bb330298 Merge pull request #75 from resin-io/fix/appveyor
Update Appveyor badge
2016-01-11 01:22:37 -04:00
Juan Cruz Viotti
42457b5f0e Merge pull request #71 from resin-io/doc/change-license-to-apache-2
Change license to Apache 2.0
2016-01-11 01:22:24 -04:00
Juan Cruz Viotti
30988d6893 Update Appveyor badge
An update was needed after renaming the project to `resin-etcher`.
2016-01-11 00:45:35 -04:00
Juan Cruz Viotti
07ca592cab Do not append a backslash after drive letter in Windows
After checking Windows file manager and some other programs that display
drive letters, we can see that a backslash at the end is not mandatory.
2016-01-04 00:14:32 -04:00
Juan Cruz Viotti
35c3351533 Change license to Apache 2.0 2016-01-03 22:42:44 -04:00
Juan Cruz Viotti
4bf3c03374 Merge pull request #69 from resin-io/feat/rename-etcher
Rename Herostratus to Resin Etcher
2016-01-03 22:30:40 -04:00
Juan Cruz Viotti
408a3096fc Rename Herostratus to Resin Etcher 2016-01-01 18:07:45 -04:00
Juan Cruz Viotti
f7d4a39da5 Merge pull request #67 from resin-io/feat/split-footer-anchor
Split footer caption anchor
2016-01-01 17:59:08 -04:00
Juan Cruz Viotti
77c51fb63c Split footer caption anchor
Make "AN OPEN SOURCE PROJECT" link to the project's GitHub page and
"RESIN.IO" to the Resin.io website.
2016-01-01 17:42:30 -04:00
Juan Cruz Viotti
85712fabe6 Merge pull request #64 from resin-io/fix/29/windows-uac-three-instances
Replace windosu with elevator
2016-01-01 15:38:41 -04:00
Juan Cruz Viotti
f888527e39 Merge branch 'master' into fix/29/windows-uac-three-instances 2016-01-01 15:11:59 -04:00
Juan Cruz Viotti
a26ba942d3 Merge pull request #65 from resin-io/feat/win-mountpoint-selection
Show drive letter on selection on Windows
2016-01-01 15:10:53 -04:00
Juan Cruz Viotti
95d94d36d4 Show drive letter on selection on Windows
Showing `\\.\PhysicalDriveN` makes no sense for a Windows user after
selecting based on drive letters on the dropdown.
2015-12-31 22:04:42 -04:00
Juan Cruz Viotti
328adfe60b Replace windosu with elevator
For some reason, when using `windosu`, the app is elevated three times.
However this only happens when the application is packaged for
distribution.

After a couple of days debugging this issue, we have no clue about
what's going on, but `elevator` seems to work fine.

Fixes: https://github.com/resin-io/herostratus/issues/29
2015-12-17 14:12:59 -04:00
Juan Cruz Viotti
255309aa76 Merge pull request #63 from resin-io/fix/unstyled-flash
Prevent flash of unstyled content at startup
2015-12-15 10:36:40 -04:00
Juan Cruz Viotti
69935b4ca7 Merge branch 'master' into fix/unstyled-flash 2015-12-15 10:00:45 -04:00
Juan Cruz Viotti
186d3847fe Prevent white flash when running application
We accomplish this by setting the background color of the `html` element
to match the greyish background color of the application.
2015-12-15 09:57:44 -04:00
Juan Cruz Viotti
2cb79090d1 Implement poor man's ngCloak based on app controller
ngCloak is removed by angular when parsing the template, however this
doesn't seem to be enough to keep the content hidden until the
application is completely ready.

We accomplish this by setting `display: none` to the `body` element and
maing it display again when our main controller starts, at which point
we know everything is up and running.
2015-12-15 09:54:24 -04:00
Juan Cruz Viotti
e01e3591e9 Use ngBind instead of curly braces interpolation 2015-12-15 09:43:03 -04:00
Juan Cruz Viotti
fae1876a1a Merge pull request #60 from resin-io/upgrade/electron
Package application with electron v0.36.0
2015-12-15 08:11:08 -04:00
Juan Cruz Viotti
2f914d283e Package application with electron v0.36.0 2015-12-14 16:44:50 -04:00
Juan Cruz Viotti
8644358bbe Merge pull request #51 from resin-io/jviotti/fix/asar-drivelist
Fix drivelist spawn issues inside asar package
2015-12-14 16:43:37 -04:00
Juan Cruz Viotti
fce58a3ad0 Fix drivelist spawn issues inside asar package
The following libraries were upgraded to versions that include this fix:

- electron-prebuilt
- drivelist

Fixes: https://github.com/resin-io/herostratus/issues/35
Fixes: https://github.com/resin-io/herostratus/issues/18
2015-12-14 16:29:08 -04:00
Juan Cruz Viotti
36cf378095 Merge pull request #59 from resin-io/fix/20/windows-package-elevation
Fix Windows not asking for elevation when packaged
2015-12-14 15:04:45 -04:00
Juan Cruz Viotti
c4a446cb6a Fix Windows not asking for elevation when packaged
The issue is that the `windosu-elevate.cmd` script that `windosu`
internally calls to perform the elevation.

After some investigation this is due one of our ignore regular
expressions used to filter out unnecessary files from the production
package:

```
(.*).md
```

The period matches anything but a space, causing file ending in `cmd` to
be matched, and therefore excluded from the package.

Since the intention of this regex was to match a literal period,
escaping does the trick.

Partly-Fixes: https://github.com/resin-io/herostratus/issues/20
2015-12-14 14:48:00 -04:00
Juan Cruz Viotti
f1bd700507 Merge pull request #57 from resin-io/jviotti/feat/41/burn-again
Implement burn complete screen
2015-12-01 14:40:38 -04:00
Juan Cruz Viotti
5601bc7e44 Merge branch 'master' into jviotti/feat/41/burn-again 2015-12-01 12:22:10 -04:00
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