2979 Commits

Author SHA1 Message Date
Juan Cruz Viotti
9dcc7b40ac Merge pull request #95 from resin-io/fix/window-lint-warn
Require electron-window as ElectronWindow
2016-01-18 15:29:32 -04:00
Juan Cruz Viotti
a45b0fdc95 Merge pull request #66 from resin-io/feat/burning-speed
Show burn speed information during write
2016-01-18 15:28:29 -04:00
Juan Cruz Viotti
7f724b6295 Show burn speed information during write
The speed is shown right below the Burn button.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
cf41b6279d Save burn progress speed in image writer state 2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
d9641fc557 Rename setProgress to setProgressState
It shows the intention more clearly now that the function not only
accepts a plain percentage.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
a46a716512 Make setProgress accept an options object
This allows us to pass more things than just the percentage to
`setProgress`.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
e30de45707 Implement ImageWriterService.reset()
This function allows the client to easily reset the progress state
without breaking encapsulation.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
3705d0fc3a Namespace ImageWriter progress in state object
This change allows us to scale the state information to more properties
than just the percentage.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
139e9c29c5 Merge pull request #92 from resin-io/misc/jshint-maxlen
Set an explicit maxlen
2016-01-18 14:48:49 -04:00
Juan Cruz Viotti
b8cb722ad6 Merge pull request #93 from resin-io/misc/ci-iojs
Only target v4 in CI servers
2016-01-18 14:48:45 -04:00
Juan Cruz Viotti
320cbba9ef Merge pull request #94 from resin-io/misc/rebuilt-browserify
Rebuild browserify browser code
2016-01-18 14:48:37 -04:00
Juan Cruz Viotti
6a50015ddc Require electron-window as ElectronWindow
JSHint complains about `Window` as a redefinition warning.
2016-01-18 14:12:54 -04:00
Juan Cruz Viotti
ee913639af Rebuild browserify browser code 2016-01-18 14:12:00 -04:00
Juan Cruz Viotti
7e4d583f03 Merge pull request #91 from resin-io/feat/autoselect-single-drive
Autoselect the drive if only one drive is present
2016-01-18 14:07:16 -04:00
Juan Cruz Viotti
568cae7ded Only target v4 in CI servers
We're only targetting Electron, which uses only modern versions of
NodeJS.
2016-01-18 14:05:28 -04:00
Juan Cruz Viotti
cdb863c7cf Set an explicit maxlen
Hound CI uses it's default otherwise, which is too short.
2016-01-18 14:03:50 -04:00
Juan Cruz Viotti
9ffc642784 Autoselect a single drive by using DriveScanner scan event
- The autoselection only happens once the user has selected an image to
prevent weird behaviour.

- The autoselection happens only if the current selected drive is
different from the new drive in order to avoid selecting the same driver
over and over again if it still is the only one.
2016-01-18 13:46:52 -04:00
Juan Cruz Viotti
f218cc1b59 Make DriveScanner.start() return an EventEmitter instance 2016-01-18 13:46:51 -04:00
Juan Cruz Viotti
491a0ae9c9 Trigger drive scans after slight delays
This allows unit tests to easily capture the first run, as otherwise
happens too fast.
2016-01-18 13:46:51 -04:00
Juan Cruz Viotti
b7da4dfeda Autoselect the drive if only one drive is present 2016-01-18 13:46:29 -04:00
Juan Cruz Viotti
79ebe75472 Merge pull request #85 from resin-io/style/68/footer-logo
Implement new footer with the Resin.io logo
2016-01-18 11:26:53 -04:00
Juan Cruz Viotti
da4748a1a1 Implement new footer with the Resin.io logo
Fixes: https://github.com/resin-io/resin-etcher/issues/68
2016-01-18 10:36:39 -04:00
Juan Cruz Viotti
0a8e89c782 Only append label if this exists in hero-icon
Currently, an empty element was appended to hero-icon template to hold
the label even if this didn't exist, causing some vertical bottom
spacing.

We use Polymer's `dom-if` to conditional show this element. The label
was changed to be passed as an HTML property since it seems to be really
difficult to access the inner HTML of a polymer element programatically.
2016-01-18 10:32:27 -04:00
Juan Cruz Viotti
79b33cea1c Allow customising hero-icon size using HTML attributes 2016-01-18 10:05:13 -04:00
Juan Cruz Viotti
d759fecf3e Merge pull request #83 from resin-io/doc/cli
Reference the experimental Etcher CLI
2016-01-18 09:19:53 -04:00
Juan Cruz Viotti
98c45556a4 Reference the experimental Etcher CLI 2016-01-17 23:51:29 -04:00
Juan Cruz Viotti
9a63b62cf4 Merge pull request #82 from resin-io/ci/notifications
Improve Travis CI and Appveyor notifications
2016-01-15 10:04:00 -04:00
Juan Cruz Viotti
f56ffebfdc Merge pull request #81 from resin-io/doc/contributing-guidelines-pr
Improve pull request contributing guidelines
2016-01-14 10:50:04 -04:00
Juan Cruz Viotti
e696b01fb6 Improve Travis CI and Appveyor notifications 2016-01-14 10:48:08 -04:00
Juan Cruz Viotti
bf17b09fff Improve pull request contributing guidelines 2016-01-14 10:22:46 -04:00
Juan Cruz Viotti
c6cbd1da59 Merge pull request #78 from resin-io/feat/badge-waffle
Add Waffle badge
2016-01-12 14:26:16 -04:00
Juan Cruz Viotti
f46d6e24d2 Add Waffle badge 2016-01-12 08:15:16 -04:00
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