666 Commits

Author SHA1 Message Date
Lorenzo Alberto Maria Ambrosi
da23740f17 v1.4.5
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@resin.io>
2018-10-10 21:29:34 +02:00
Lorenzo Alberto Maria Ambrosi
7e01eca7f5 Use fork of node-usb to disable libudev
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@resin.io>
2018-10-05 18:43:29 +02:00
Alexis Svinartchouk
e9760c2100 update(sudo-prompt): Update sudo-prompt to 8.2.3
This is to avoid running the child-writer twice when the hostname isn't
set in /etc/hosts. See https://github.com/jorangreef/sudo-prompt/pull/76

Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2018-09-27 11:37:50 +02:00
Lorenzo Alberto Maria Ambrosi
1bb86fe4a8 Update drivelist to v6.4.2
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@resin.io>
2018-09-25 18:47:03 +02:00
Lorenzo Alberto Maria Ambrosi
c0ec74bbb7 fix(webpack): Add etcher.js to webpack build
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@resin.io>
2018-08-14 19:04:13 +02:00
Jonas Hermsmeier
f798fef212 upgrade(package): Bump mountutils to v1.3.15
Change-type: patch
Signed-off-by: Jonas Hermsmeier <jhermsmeier@gmail.com>
2018-08-07 03:11:10 +02:00
Jonas Hermsmeier
73d287e7ee
upgrade(package): Bump drivelist to v6.4.0
Change-type: patch
Signed-off-by: Jonas Hermsmeier <jhermsmeier@gmail.com>
2018-08-02 22:40:25 +02:00
John (Jack) Brown
45b62f0e77 resinci: Set private: true in package.json to avoid running npm builds
Change-type: patch
Signed-off-by: Jack Brown <jack@resin.io>
2018-07-18 07:25:33 -07:00
Jonas Hermsmeier
00ab816791
upgrade(package): Update winusb-driver-generator
This updates `winusb-driver-generator` to the latest version,
which supports building under VS 2015 and running under Electron 2.0+

Change-Type: patch
2018-07-04 15:12:45 +02:00
Jonas Hermsmeier
fc22e9e28a
refactor(gui): Refactor file picker fs I/O
This refactors the experimental file picker to avoid fs i/o
in as many places as possible to improve performance.
Further, rendering performance is improved by avoiding unnecessary
element state changes invalidating components.
Also, recent files & favorites have been temporarily disabled
due to lack of need for Etcher Pro.

Change-Type: patch
2018-06-12 18:51:58 +02:00
Jonas Hermsmeier
4ddac50d9b
fix(webpack): Exclude all node externals / node_modules
This adds `webpack-node-externals` to exclude node_modules,
immensely reducing bundle size and avoiding complex exclusion rules
for the etcher-sdk

Change-Type: patch
2018-06-08 16:56:21 +02:00
Jonas Hermsmeier
201995eb90
upgrade(package): Update lodash to 4.17.10
This updates `lodash` to mitigate a prototype pollution vulnerability.
See https://nodesecurity.io/advisories/577

Change-Type: patch
2018-05-30 13:17:20 +02:00
Jonas Hermsmeier
1748bf2e2a
chore(package): Add npm run script for webpack
Make life simpler

Change-Type: patch
2018-05-22 18:44:59 +02:00
Jonas Hermsmeier
4a239cc217 upgrade(package): Update React to v16 (#2355)
Change-Type: patch
2018-05-21 11:23:42 +01:00
Benedict Aas
7782f94daa
feat(GUI): add electron-native file-picker component (#2333)
We add a file-picker written with Rendition/React. It is activated with
the `ETCHER_EXPERIMENTAL_FILE_PICKER` environment variable. Further
customisation can be done with the `ETCHER_FILE_BROWSER_CONSTRAIN_FOLDER`
variable that takes a path and allows one to constrain the file-picker to
a folder.

Related: https://github.com/resin-io/etcher/issues/2238
Related: https://github.com/resin-io/etcher/issues/2285
Change-Type: patch
Changelog-Entry: Add electron-native file-picker component.
2018-05-16 20:34:04 +01:00
Jonas Hermsmeier
bb2dac7504
feat(gui): Add resin update lock based on inactivity
This adds functionality to acquire & release the update lock
when running under resinOS, re-using the `ELECTRON_RESIN_UPDATE_LOCK`
environment variable from `resin-electronjs`.

Further this adds the `ETCHER_INTERACTION_TIMEOUT_MS` env var, to
facilitate adjusting the inactivity period required to release the lock.

Change-Type: minor
2018-05-10 19:15:31 +02:00
Jonas Hermsmeier
e6ea3879c3
upgrade(package): Bump drivelist 6.1.7 -> 6.2.2
This will enable use of unique device paths on Linux

Change-Type: patch
2018-05-10 13:33:50 +02:00
Jonas Hermsmeier
28cb21db13
Merge pull request #2292 from resin-io/bench-verify
feat(writer): Use xxHash instead of SHA512 for verification
2018-05-09 16:46:02 +02:00
Benedict Aas
7f37f4ca41
feat(GUI): add font-awesome (#2177)
We add font-awesome icons as this is more in-line with the designs.

Change-Type: patch
Changelog-Entry: Add font-awesome.
2018-05-09 15:44:03 +01:00
Jonas Hermsmeier
d3a4753b79
feat(writer): Use xxHash instead of SHA512 for verification
This switches from SHA512 to xxHash for verification hashing,
as xxHash provides more throughput.

Change-Type: patch
2018-04-27 21:51:05 +02:00
Jonas Hermsmeier
a8bbe02e21
v1.4.4 2018-04-25 20:58:17 +02:00
Jonas Hermsmeier
b63bb1ac0c
v1.4.3 2018-04-20 15:46:38 +02:00
Jonas Hermsmeier
4190a87171
v1.4.2 2018-04-18 23:09:49 +02:00
Jonas Hermsmeier
5867edcc70
Revert "feat(lib): Use win-drive-clean instead of diskpart"
This reverts commit 47fc1b7357bdb9e9aa8e2d7476690435087d984e
in order to prevent a possible regression, until properly investigated
and fixed.

Change-Type: patch
Changelog-Entry: Revert using native binding to clean disks on Windows
2018-04-18 21:55:08 +02:00
Jonas Hermsmeier
1d44eff896
upgrade(package): Update drivelist 6.1.5 -> 6.1.7
This fixes a ReferenceError that could occur when the DeviceNode was null,
as well as devices being null when run after the system recovers from sleep / standby.

Change-Type: patch
2018-04-17 00:36:54 +02:00
Jonas Hermsmeier
741f540f77
v1.4.1 2018-04-10 18:31:06 +02:00
Jonas Hermsmeier
950f853fa3
v1.4.0 2018-04-06 20:59:56 +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
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
1f8e09868d
upgrade(package): Bump spectron 3.7.2 -> 3.7.3
Change-Type: patch
2018-03-29 19:46:38 +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
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
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
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
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
559036518c
Merge pull request #2121 from resin-io/update-winusb-driver
upgrade(package): Update winusb-driver-generator to v1.1.7
2018-03-26 13:52:57 +02:00
Jonas Hermsmeier
f57df3f2c1
upgrade(package): Bump drivelist 6.0.4 -> 6.1.3
Change-Type: patch
2018-03-23 22:28:46 +01:00
Jonas Hermsmeier
0da123265c
upgrade(package): Update winusb-driver-generator to v1.1.7
Change-Type: patch
2018-03-23 21:58:44 +01:00
Jonas Hermsmeier
497e8b5f28
Merge pull request #2095 from resin-io/update-packaging-deps
upgrade(package): Update release packaging deps
2018-03-21 22:39:01 +01:00
Benedict Aas
faf9b113a9
feat(CSS): use roboto font instead of helvetica (#2114)
We replace Helvetica with Roboto as the main font.

Change-Type: patch
Changelog-Entry: Replace Helvetica as the main font with Roboto.
2018-03-12 16:38:01 +00:00
Jonas Hermsmeier
49dd6553fb
chore(package): Remove crc32-stream dependency 2018-03-08 22:14:03 +01:00
Jonas Hermsmeier
d116cd7e90
upgrade(package): Update asar 0.10.0 -> 0.14.2
Change-Type: patch
2018-03-08 22:00:31 +01:00
Jonas Hermsmeier
ed18842281
upgrade(package): Update bindings 1.2.1 -> 1.3.0
Change-Type: patch
2018-03-08 21:58:51 +01:00
Jonas Hermsmeier
4a3bd5fe7a
upgrade(package): Update nan 2.3.5 -> 2.9.2
Change-Type: patch
2018-03-08 21:58:51 +01:00
Jonas Hermsmeier
8a70cb59d1
upgrade(package): Update pkg 4.1.1 -> 4.3.0
Change-Type: patch
2018-03-08 21:58:51 +01:00
Jonas Hermsmeier
0b306219c1
Revert "upgrade(package): versionist 2.8.1 -> 2.13.0"
This reverts commit 2604da104d08671742bd4a8b62e07dab1cfb4702.
2018-03-05 22:15:14 +01:00
Jonas Hermsmeier
bdd05a3f71
upgrade(package): Update electron-mocha 6.0.0 -> 6.0.1
See https://github.com/jprichardson/electron-mocha/issues/123

Change-Type: patch
2018-03-05 16:38:53 +01:00
Jonas Hermsmeier
a12bb4ee7c
upgrade(package): mochainon 1.0.0 -> 2.0.0
Change-Type: patch
2018-03-05 16:38:52 +01:00
Jonas Hermsmeier
1cc5422557
upgrade(package): eslint-plugin-import 2.8.0 -> 2.9.0
Change-Type: patch
2018-03-05 16:38:52 +01:00