Alexis Svinartchouk
164fd8f022
Don't try to flash when no device is selected
...
Changelog-entry: Don't try to flash when no device is selected
Change-type: patch
2019-03-29 17:24:34 +01:00
Alexis Svinartchouk
34c98d1dcd
Use async/await in flash.js
...
Avoid a rare race condition leading to "Error: There is already a flash in progress" messages
Changelog-entry: Avoid "Error: There is already a flash in progress" errors
Change-type: patch
2019-03-29 17:24:34 +01:00
Alexis Svinartchouk
ec015da795
Avoid "Invalid state percentage: null" errors
...
Change-type: patch
2019-03-29 17:24:34 +01:00
Alexis Svinartchouk
bceb7c77d1
Better reporting of unhandled rejections to sentry
...
Changelog-entry: Better reporting of unhandled rejections to sentry
Change-type: patch
2019-03-27 19:54:28 +01:00
Alexis Svinartchouk
66b19677bf
Use APPDIR from env in the child writer
...
Change-type: patch
2019-03-12 13:30:26 +01:00
Robert Vojta
136ca282eb
fix(gui): Fix disappearing modal window
...
Changelog-entry: Fix disappearing modal window
Change-type: patch
Signed-off-by: Robert Vojta <robert@balena.io>
2019-03-01 15:09:19 +01:00
Alexis Svinartchouk
dd583a176f
Don't pass undefined sockets to ipc.server.emit()
...
Changelog-entry: Don't pass undefined sockets to ipc.server.emit()
Change-type: patch
2019-02-28 11:16:12 +01:00
Alexis Svinartchouk
5299d958f2
Fix error when event.dataTransfer.files is empty
...
Changelog-entry: Fix error when event.dataTransfer.files is empty
Change-type: patch
2019-02-28 11:16:12 +01:00
Alexis Svinartchouk
f0374cf9d9
Fix error message not showing when an unsupported image is selected
...
Changelog-entry: Fix error message not showing when an unsupported image is selected
Change-type: patch
2019-02-28 11:16:12 +01:00
Alexis Svinartchouk
6b6a0d7b4f
Avoid Invalid percentage
exceptions
...
Changelog-entry: Avoid `Invalid percentage` exceptions
Change-type: patch
2019-02-28 11:16:12 +01:00
Alexis Svinartchouk
c88245954d
Wait 100ms before disconnecting if a message is being sent
...
Change-Type: patch
2019-02-19 14:18:22 +01:00
Alexis Svinartchouk
082c77586f
Don't use drivelist directly
...
Use etcher-sdk's drive scanner instead.
Change-Type: patch
2019-02-14 19:19:19 +01:00
Alexis Svinartchouk
da072e7621
Remove etcher-cli
...
Change-type: major
2019-02-14 18:22:40 +01:00
Alexis Svinartchouk
43319853ef
Workaround a bug when 2 webviews are loaded at the same time.
...
In some cases the spectron tests time out in app:start. This should
prevent it.
Change-type: patch
2019-02-14 15:41:03 +01:00
Lorenzo Alberto Maria Ambrosi
ce9f142621
Bump electron to v3.1.3
...
Change-type: major
Changelog-entry: Upgrade to Electron v3
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2019-02-12 15:42:05 +01:00
Alexis Svinartchouk
bf29312ecf
npm6, electron 1.8.8
...
Change-type: patch
2019-01-30 16:24:01 +01:00
Alexis Svinartchouk
c4b636f80a
upgrade(package): Update to etcher-sdk@0.1.26 and fix npm-shrinkwrap
...
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:27 +01:00
Alexis Svinartchouk
534f3a7469
fix(gui): Always show the "success" screen
...
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:27 +01:00
Alexis Svinartchouk
adcc3343ec
fix(gui): Disable compute modules selection during preparation
...
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:27 +01:00
Alexis Svinartchouk
645e114a1f
fix(gui): Allow drives to be objects
...
This fixes an error when plugging usbboot devices.
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:27 +01:00
Alexis Svinartchouk
65d86460cb
fix(shared): Fix getDriveImageCompatibilityStatuses() and tests
...
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:27 +01:00
Alexis Svinartchouk
aaccd10c2a
fix(gui): Allow undefined eta
...
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:27 +01:00
Alexis Svinartchouk
871db09447
fix(tests): Fix gui tests
...
Change-type: patch
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2019-01-24 13:21:26 +01:00
Jonas Hermsmeier
fd765443e4
fix(image-selection): Only trigger digest loop after setting image
...
Change-type: patch
Signed-off-by: Jonas Hermsmeier <jhermsmeier@gmail.com>
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
63967d1558
fix(tests): Remove throw if no percentage or eta test
...
Since 25916200f2864a9b137325f919c0f8ef5d62fa60 we can handle a progress
state with no percentage or eta.
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
6b270885bf
feat(driverless) show driverless devices
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
47937d6aaa
fix(package): remove diskpart helper, it is in the sdk now
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
7d2ba45620
fix(store): Lowercase extensions before comparing
2019-01-24 13:21:26 +01:00
Jonas Hermsmeier
b270d819a8
fix(store): Restore drive object validity check
2019-01-24 13:21:26 +01:00
Jonas Hermsmeier
4f7cc7dd6b
fix(lib): Fix MIME type exclusion condition
...
As `mime.extension()` returns `false`, instead of `null` or `undefined`,
this condition simply needs to check for truthyness.
Change-type: patch
2019-01-24 13:21:26 +01:00
Jonas Hermsmeier
47f2336673
fix(lib): Fix use of non-existent dependency
...
Change-Type: patch
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
5ae93bf6d0
Update etcher-sdk and load DriverlessDeviceAdapter on windows
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
caf5f10326
lint
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
e68dbcf4ee
Remove lib/sdk and its tests
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
a42e81cf8c
Replace imageStream with etcher-sdk in the react file selector
2019-01-24 13:21:21 +01:00
Alexis Svinartchouk
98a8588c1b
Update etcher-sdk and use it in the cli
2019-01-24 13:21:21 +01:00
Alexis Svinartchouk
8630af7646
Remove usage of old sdk in supported-formats
2019-01-24 13:21:21 +01:00
Alexis Svinartchouk
268c5302e8
Handle the last fail as an error if all devices failed
2019-01-24 13:21:21 +01:00
Alexis Svinartchouk
d07d535993
Show raspberry pi usbboot update progress in devices list
2019-01-24 13:21:21 +01:00
Alexis Svinartchouk
a8a75f22b2
Allow flashing from sources for which we don't know the compressed size
...
* don't show any percentage or eta, show the bytes written instead
2019-01-24 13:21:21 +01:00
Alexis Svinartchouk
6143023502
Integrate etcher-sdk
2019-01-24 13:21:21 +01:00
Lorenzo Alberto Maria Ambrosi
8c8a0bf8eb
Fix linting error for winusb-driver-generator
...
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2019-01-18 14:48:10 +01:00
Alexis Svinartchouk
e946f388c0
ProgressBar.disabled prop is a boolean
...
Change-type: patch
2019-01-08 12:42:39 +01:00
Alexis Svinartchouk
f2ca997195
Change "Drive Contains Image" label.
...
Use "Drive Mountpoint Contains Image" instead as the image may not be on
this drive but on a drive mounted in one of the mountpoins of this
drive.
We still don't want to allow flashing this drive in that situation.
Changelog-entry: Changed “Drive Contains Image” to “Drive Mountpoint Contains Image”
Change-type: patch
2019-01-07 15:35:21 +01:00
Lorenzo Alberto Maria Ambrosi
9b76abe2ed
Restored offline success-banner style
...
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2019-01-07 14:06:05 +01:00
Lorenzo Alberto Maria Ambrosi
ad4226ace7
Invert analytics event probability
...
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2018-12-21 15:12:08 +01:00
Lorenzo Alberto Maria Ambrosi
64ec6d0e58
Convert flash results component to React
...
Change-type: minor
Changelog-entry: Added React component for the Flash Results button
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2018-12-19 16:02:38 +01:00
Lorenzo Alberto Maria Ambrosi
cf722427ab
Restyle success screen and enlarge UI elements
...
Change-type: patch
Changelog-entry: Added React component for the Flash Another button
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2018-12-19 13:20:02 +01:00
Lorenzo Alberto Maria Ambrosi
87533f4417
Remove forwarding of SafeWebview console messages
...
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2018-12-19 12:19:42 +01:00
Lorenzo Alberto Maria Ambrosi
22acc5ae96
Customize Mixpanel configs
...
Change-type: minor
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzoa@balena.io>
2018-12-18 11:32:07 +01:00