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
Benedict Aas
3498d59258
fix(GUI): line wrap selector size subtitles wholly
...
We line wrap the main-page image and drive size labels as a whole
instead of partially, if the drive or image title is long enough for a
line wrap.
Change-Type: patch
Changelog-Entry: Line wrap selector size subtitles wholly
2018-03-29 15:45:38 +01:00
Benedict Aas
f8accd62ed
fix(GUI): hide the size label given multiple devices
...
We hide the size label when there are multiple selected devices, as this
doesn't make sense because you could only logically show the sum size,
which isn't very helpful on its own.
Change-Type: patch
Changelog-Entry: Hide the size label given multiple devices.
2018-03-29 15:36:18 +01:00
Jonas Hermsmeier
25b10490a1
chore(webpack): Enable realtime progress display
...
This enables realtime progress display for webpack, which can be
governed by setting WEBPACK_PROGRESS to various values.
See https://github.com/dominique-mueller/simple-progress-webpack-plugin
Change-Type: patch
2018-03-29 16:35:00 +02:00
Jonas Hermsmeier
800f0f45e5
Merge pull request #2155 from resin-io/dont-lint-frontend-files-cli
...
chore: don't lint frontend files (ie HTML) on the Node CLI pipeline
2018-03-29 16:34:25 +02:00
Benedict Aas
57c4a285d8
refactor: inline middle-ellipsis package as util
...
We remove our dependency on the `middle-ellipses` package and include
and expose the function in `lib/shared/utils`, alongside the regular
Angular filter it exposes. This allows use of the middle ellipsis
method in React.
Change-Type: patch
Changelog-Entry: Inline middle-ellipsis package as util.
2018-03-29 15:25:55 +01:00
Jonas Hermsmeier
1104987b9b
Merge pull request #2157 from resin-io/replace-require-deps-check
...
chore(package): Replace custom missing require check
2018-03-29 16:08:48 +02:00
Jonas Hermsmeier
3dd646485f
chore(package): Replace custom missing require check
...
This replaces the custom bash script with rules from the eslint-node plugin
to check for `require()`d modules that don't exist.
This will also check requires of local modules, and installed packages,
yielding a more thorough check.
Change-Type: patch
2018-03-28 18:49:32 +02:00
Juan Cruz Viotti
13eb1718aa
chore: don't lint frontend files (ie HTML) on the Node CLI pipeline
...
Change-Type: patch
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
2018-03-27 17:16:58 -04:00
Jonas Hermsmeier
e41d4dad3c
Merge pull request #2152 from resin-io/fix-concourse-symlinks
...
fix(webpack): Use fixed enhanced-resolve
2018-03-27 20:21:02 +02:00
Juan Cruz Viotti
9c1e32d4ba
fix(webpack): Use fixed enhanced-resolve
...
This diverts to using a custom webpack branch to resolve
cyclic symlink issues with `enhanced-resolve` on Concourse.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Change-Type: patch
2018-03-27 20:20:10 +02:00
Jonas Hermsmeier
ce71b81dbe
Merge pull request #2140 from resin-io/fix-usbboot-appimages
...
fix: use correct usbbot blob path in appimages
2018-03-27 19:48:36 +02:00
Jonas Hermsmeier
62cc2201b0
Merge pull request #2154 from resin-io/disable-builder-rebuild
...
fix(windows): Disable rebuilding bindings in electron-builder
2018-03-27 19:46:38 +02:00