Jonas Hermsmeier
cc848ef9f2
fix(child-writer): Fix handling of user errors over IPC
...
This fixes transmission of user errors over IPC, as the `report`
property was previously missing. Further it also adds more properties
to `errors.toJSON`, like `syscall`, `errno`, etc. and re-uses the method
for failure signalling.
Change-Type: patch
2018-04-13 18:36:29 +02:00
Jonas Hermsmeier
1c43ee1b18
Merge pull request #2192 from resin-io/release-1.4.1
...
Release v1.4.1
v1.4.1
2018-04-11 00:14:21 +02:00
Jonas Hermsmeier
741f540f77
v1.4.1
2018-04-10 18:31:06 +02:00
Jonas Hermsmeier
fdd26ba8f1
Merge pull request #2190 from resin-io/webpack-exclude-package
...
fix(webpack): Exclude package.json from UI bundle
2018-04-10 17:42:38 +02:00
Jonas Hermsmeier
bec61f4ce7
fix(webpack): Exclude package.json from UI bundle
...
Change-Type: patch
2018-04-10 16:47:55 +02:00
Jonas Hermsmeier
2af1496f11
Merge pull request #2186 from resin-io/fix-readme-ci-badge
...
doc(README): Remove Mac OS from Travis CI badge label
2018-04-10 15:45:26 +02:00
Jonas Hermsmeier
f9e23a17d9
Merge pull request #2189 from resin-io/enable-node-gyp-rebuild
...
Enable nodeGypRebuild for Etcher builds
2018-04-09 19:31:39 +02:00
John (Jack) Brown
8050fa58a5
Enable nodeGypRebuild for Etcher builds
...
This will ensure we have all bindings built, even when using cached
modules.
Change-Type: patch
2018-04-09 09:20:58 -07:00
Jonas Hermsmeier
e04023bdfc
Merge pull request #2138 from resin-io/release-1.4.0
...
Release v1.4.0
2018-04-07 00:05:14 +02:00
Jonas Hermsmeier
950f853fa3
v1.4.0
v1.4.0
2018-04-06 20:59:56 +02:00
Jonas Hermsmeier
c3c15e222d
Merge pull request #2183 from resin-io/fix-ui-writer-errors
...
fix(writer): Fix erronous event handling in write pipeline
2018-04-06 20:59:34 +02:00
Jonas Hermsmeier
3906816e67
doc(README): Remove Mac OS from Travis CI badge label
...
This removes the "mac" from the Travis CI badge label, as we're not
running Mac OS builds on Travis CI anymore.
Change-Type: none
2018-04-06 20:53:51 +02:00
Jonas Hermsmeier
fe43e21484
fix(writer): Fix erronous event handling in write pipeline
...
This fixes the use and handling of events in the write pipeline,
such that the pipeline would not be prematurely stalled or terminated.
Also, a new `fail` event is introduced, to signal non-fatal errors.
Change-Type: patch
2018-04-06 20:26:01 +02:00
Jonas Hermsmeier
5f7fd506a3
Merge pull request #2181 from resin-io/fix-menu-about
...
fix(gui): Fix "about" menu entry
2018-04-06 14:51:31 +02:00
Jonas Hermsmeier
65a3e51ff9
Merge pull request #2180 from resin-io/fix-writer-progress-state
...
fix(writer): Fix writer progress state values
2018-04-05 23:44:48 +02:00
Jonas Hermsmeier
722c1c6257
Merge pull request #2179 from resin-io/update-drivelist
...
upgrade(package): Bump drivelist to v6.1.5
2018-04-05 23:26:56 +02:00
Jonas Hermsmeier
2f872375ef
fix(gui): Fix "about" menu entry
...
This fixes the capitalization of the "About Etcher" entry in the application menu
Change-Type: patch
2018-04-05 21:56:33 +02:00
Jonas Hermsmeier
f119ca683e
fix(writer): Fix writer progress state values
...
This force-defaults the individual stream speeds to zero,
in order to avoid null values when not available yet.
Change-Type: patch
2018-04-05 21:51:00 +02:00
Jonas Hermsmeier
176c6b76cd
upgrade(package): Bump drivelist to v6.1.5
...
Change-Type: patch
2018-04-05 21:35:30 +02:00
Jonas Hermsmeier
64604dbcc6
Merge pull request #2156 from resin-io/fix-store-quantity-guards
...
fix: ensure flash quantity fields are finite
2018-04-05 18:54:05 +02:00
Jonas Hermsmeier
0344a3f104
Merge pull request #2173 from resin-io/label-size-newline
...
fix(gui): Ensure image/drive size displayed on new line
2018-04-05 18:53:34 +02:00
Benedict Aas
c17247da58
feat(GUI): move drive selector warning to flash step ( #1917 )
...
We move the drive selector warning to the flash step, and concatenate
warning messages when more than one needs to be displayed at once.
Change-Type: patch
Changelog-Entry: Move the drive selector warning dialog to the flash step.
2018-04-05 17:26:16 +01:00
Jonas Hermsmeier
9601daedb7
Merge pull request #2174 from resin-io/update-codespell
...
test(lint): Update codespell 1.11.0 -> 1.12.0
2018-04-05 17:18:03 +02:00
Jonas Hermsmeier
f958f3751d
fix(gui): Ensure image/drive size displayed on new line
...
This forces the image and device size to always be displayed on the
second line for visual consistency.
Change-Type: patch
2018-04-05 16:52:26 +02:00
Jonas Hermsmeier
0d1b9641c7
Merge pull request #2172 from resin-io/fix-inherit-env-windows
...
fix(image-writer): Don't inherit environment on Windows
2018-04-05 16:43:13 +02:00
Jonas Hermsmeier
9a9dd43646
Merge pull request #2175 from resin-io/fix-succeeded-count
...
fix(writer): Fix succeeded flash count in progress state
2018-04-05 16:42:50 +02:00
Jonas Hermsmeier
222257d25d
fix(writer): Fix succeeded flash count in progress state
...
This fixes a bug where succeeded flashes could become negative due to
improper math
Change-Type: patch
2018-04-04 21:03:48 +02:00
Jonas Hermsmeier
dd961ad30b
test(lint): Update codespell 1.11.0 -> 1.12.0
...
This updates codespell, and fixes new spelling error detections
```
lib/shared/models/selection-state.js:377: Unselect ==> Deselect
lib/gui/app/components/modal/styles/_modal.scss:72: programatically ==> programmatically
tests/shared/errors.spec.js:88: prioritise ==> prioritize
tests/shared/errors.spec.js:94: prioritise ==> prioritize
tests/shared/errors.spec.js💯 prioritise ==> prioritize
tests/gui/components/svg-icon.spec.js💯 prioritise ==> prioritize
docs/MAINTAINERS.md:19: artefacts ==> artifacts
docs/MAINTAINERS.md:21: artefacts ==> artifacts
docs/MAINTAINERS.md:25: artefacts ==> artifacts
docs/MAINTAINERS.md:36: artefacts ==> artifacts
docs/MAINTAINERS.md:96: artefacts ==> artifacts
docs/MAINTAINERS.md:147: artefacts ==> artifacts
CHANGELOG.md:492: interferring ==> interfering
```
Change-Type: patch
2018-04-04 21:00:34 +02:00
Jonas Hermsmeier
abf2dc3efc
fix(image-writer): Don't inherit environment on Windows
...
Due to improper command escaping, cmd metacharacters lead to failure
in spawning the child writer process on Windows when the entire environment
is passed through the command line. The user's environment will still
be inherited by default on Windows.
Change-Type: patch
2018-04-04 20:23:33 +02:00
Benedict Aas
99f819dfbf
minifix: add spacing to drive warning icon ( #2169 )
...
Change-Type: patch
Changelog-Entry: Add spacing to the drive warning icon.
2018-04-04 14:53:20 +01:00
Benedict Aas
dc484d79ed
fix: ensure flash quantity fields are finite
...
We replace the `_.identity` predicate with `_.isFinite` to ensure
the flash quantity fields are numbers.
Change-Type: patch
Changelog-Entry: Ensure flash quantity fields are finite.
2018-04-03 21:25:49 +01:00
Jonas Hermsmeier
42f522532e
Merge pull request #2171 from resin-io/electron-1.7.13
...
upgrade(package): Bump Electron to v1.7.13
2018-04-03 22:00:04 +02:00
Benedict Aas
f97b439bc0
minifix: use multi-drive methods with drive-list warning button ( #2170 )
...
Change-Type: patch
Changelog-Entry: Use multi-drive methods with drive-list warning button.
2018-04-03 20:33:20 +01:00
Benedict Aas
65a4a959bb
feat: expose all flash state fields to the store ( #2153 )
...
We expose all the flash state fields to the store, and mirror
`speed`'s format with `totalSpeed` with MB as the size unit.
We also format the progress state messages to use information
available with multiwrites.
Change-Type: patch
Changelog-Entry: Expose all flash state fields to the store.
2018-04-03 20:32:38 +01:00
Jonas Hermsmeier
07d6fde34e
upgrade(package): Bump Electron to v1.7.13
...
This updates Electron to v1.7.13 in order to mitigate 2 vulnerabilities:
[CVE-2018-1000136] and [CVE-2018-1000118]
[CVE-2018-1000136]: https://nvd.nist.gov/vuln/detail/CVE-2018-1000136
[CVE-2018-1000118]: https://nvd.nist.gov/vuln/detail/CVE-2018-1000118
Change-Type: patch
Changelog-Entry: Update Electron to v1.7.13
2018-04-03 20:49:52 +02:00
Jonas Hermsmeier
b1dfbcbceb
Merge pull request #2166 from resin-io/fix-html-lint
...
fix(lint): Fix html-lint error about "lang" attr
2018-04-02 18:24:15 +02:00
Jonas Hermsmeier
5e6f7e41e6
fix(lint): Fix html-lint error about "lang" attr
...
This avoids a new error from `html-lint` about the "lang" attr
on `<html>` tags, which isn't applicable to templates.
Change-Type: patch
2018-04-02 17:37:40 +02:00
Jonas Hermsmeier
df95ab1217
Merge pull request #2167 from resin-io/replace-ascii-only-check
...
test(lint): Replace ASCII-only check with ESLint rule
2018-04-02 17:37:12 +02:00
Jonas Hermsmeier
edf924d012
test(lint): Replace ASCII-only check with ESLint rule
...
This replaces the `ensure-all-text-files-only-ascii` sanity-check
with an ESLint rule to only check identifiers in code against being
printable ASCII, as there are places where UTF-8 in content is required,
which would make the previous check fail.
Change-Type: patch
2018-04-02 17:10:23 +02:00
Jonas Hermsmeier
8886732b21
Merge pull request #2163 from resin-io/update-resinci-copyright
...
chore(ci): Update copyright years in .resinci.json
2018-03-30 16:29:28 +02:00
Jonas Hermsmeier
543098cba3
chore(ci): Update copyright years in .resinci.json
...
Change-Type: patch
2018-03-30 00:12:59 +02:00
Jonas Hermsmeier
8bb20de912
Merge pull request #2161 from resin-io/local-test-blobs
...
test(image-stream): Use local dir instead of tmpdir
2018-03-30 00:02:52 +02:00
Jonas Hermsmeier
7f118c9841
Merge pull request #2162 from resin-io/refactor-spectron-tests
...
test(spectron): Refactor tests, dereference app after use
2018-03-30 00:02:18 +02:00
Jonas Hermsmeier
73155cca66
Merge pull request #2159 from resin-io/hide-size-multiple-devices
...
fix(GUI): hide the size label given multiple devices
2018-03-29 22:55:03 +02:00
Jonas Hermsmeier
267ccf6f97
Merge pull request #2160 from resin-io/wrap-button-sizes-cleanly
...
fix(GUI): line wrap selector size subtitles wholly
2018-03-29 22:53:55 +02:00
Jonas Hermsmeier
1f8e09868d
upgrade(package): Bump spectron 3.7.2 -> 3.7.3
...
Change-Type: patch
2018-03-29 19:46:38 +02:00
Jonas Hermsmeier
c9a2a47ee1
test(spectron): Refactor tests, dereference app after use
...
Change-Type: patch
2018-03-29 19:45:54 +02:00
Jonas Hermsmeier
58f7811c7d
Merge pull request #2148 from resin-io/webpack-progress
...
chore(webpack): Enable realtime progress display
2018-03-29 19:28:11 +02:00
Jonas Hermsmeier
a32ecb032e
Merge pull request #2158 from resin-io/utils-middle-ellipses
...
refactor: inline middle-ellipsis package as util
2018-03-29 18:32:27 +02:00
Jonas Hermsmeier
bc2ad581ba
test(image-stream): Use local dir instead of tmpdir
...
This changes the image-stream tests to use a local directory,
instead of the OS's tmpdir to avoid issues with sandboxing on Concourse CI.
Change-Type: patch
2018-03-29 17:22:52 +02:00