Alexis Svinartchouk
bf26d4ec95
Remove dead code
...
Change-type: patch
2020-05-25 15:32:05 +02:00
Alexis Svinartchouk
09a6a340c9
Use electron.app.getAppPath() instead of reading it from argv in catalina-sudo
...
Changelog-entry: Use electron.app.getAppPath() instead of reading it from argv in catalina-sudo
Change-type: patch
2020-05-22 19:42:05 +02:00
Alexis Svinartchouk
1ebc8e9362
Webpack everything, reduce package size
...
Changelog-entry: Webpack everything, reduce package size
Change-type: patch
2020-05-22 19:42:05 +02:00
Lorenzo Alberto Maria Ambrosi
c9cbe41f9e
Init param in correct place
...
Change-type: patch
Changelog-entry: Minor fix - Init isSourceDrive param in correct place
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
2020-05-21 12:27:33 +02:00
Rob Evans
31bd8ce7ae
Fix undefined image from DriveCompatibilityWarning
...
Fixes : #3160
Change-type: patch
Changelog-entry: Fix undefined image from DriveCompatibilityWarning
2020-05-21 10:07:14 +02:00
Alexis Svinartchouk
d90e3a816e
Update leds behaviour
...
Changelog-entry: Update leds behaviour
Change-type: patch
2020-05-20 14:50:56 +02:00
Alexis Svinartchouk
e62add6893
Remove some any
s
...
Change-type: patch
2020-04-30 11:35:31 +02:00
Alexis Svinartchouk
44fc429f64
Factorize duplicated configUrl code
...
Change-type: patch
2020-04-30 11:35:30 +02:00
Alexis Svinartchouk
9bf58c89d4
Update resin-lint -> @balena/lint
...
Change-type: patch
2020-04-30 11:35:25 +02:00
Lorenzo Alberto Maria Ambrosi
39ed67d667
Allow http/https only for Flash from URL
...
Change-type: patch
Changelog-entry: Allow http/https only for Flash from URL
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
2020-04-24 15:24:22 +02:00
Lorenzo Alberto Maria Ambrosi
ac2e973cb0
Add generic error's message
...
Change-type: patch
Changelog-entry: Add generic error's message
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
2020-04-24 12:37:14 +02:00
Alexis Svinartchouk
63ad3739fd
Fix FlashResults component
...
Change-type: patch
2020-04-08 17:20:41 +02:00
Lorenzo Alberto Maria Ambrosi
6f58344e7b
Prefix temp permissions script name
...
Change-type: patch
Changelog-entry: Prefix temp permissions script name
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
2020-02-05 18:14:14 +01:00
Alexis Svinartchouk
a4e87982a6
Convert drive-constraints.spec.ts to typescript
...
Change-type: patch
2020-01-27 12:35:24 +01:00
Alexis Svinartchouk
d633b36b23
Remove useless export.
...
Change-type: patch
2020-01-27 12:35:15 +01:00
Alexis Svinartchouk
2eda6601c0
Remove remaining Promise.then
...
Change-type: patch
2020-01-27 12:35:15 +01:00
Alexis Svinartchouk
6202393637
Don't run eslint on lib, run ts-lint on webpack.config.ts
...
Change-type: patch
2020-01-27 12:35:14 +01:00
Alexis Svinartchouk
90921a74ea
Convert target-selector.jsx to typescript
...
Also fix showing the drive compatibility warnings
Change-type: patch
2020-01-27 12:35:13 +01:00
Alexis Svinartchouk
2671c83337
Use Dictionary type from lodash
...
Change-type: patch
2020-01-27 12:35:09 +01:00
Alexis Svinartchouk
bfe895c690
Convert image-writer.js to typescript
...
Change-type: patch
2020-01-27 12:35:08 +01:00
Alexis Svinartchouk
c85896845f
Convert drive-constraints.js to typescript
...
Change-type: patch
2020-01-21 17:54:08 +01:00
Alexis Svinartchouk
efe953d8cd
Convert permissions.js to typescript
...
Change-type: patch
2020-01-21 17:54:07 +01:00
Alexis Svinartchouk
b5593ef5b2
Convert utils.js to typescript
...
Change-type: patch
2020-01-21 17:54:05 +01:00
Alexis Svinartchouk
d08d2e00ee
Convert messages.js to typescript
...
Change-type: patch
2020-01-21 17:54:04 +01:00
Alexis Svinartchouk
bc8908cca1
Convert units.js to typescript
...
Change-type: patch
2020-01-21 17:54:02 +01:00
Alexis Svinartchouk
9109f0ccd5
Convert errors.js to typescript
...
Change-type: patch
2020-01-21 17:54:01 +01:00
Alexis Svinartchouk
30c2ef58cd
Convert supported-formats.js to typescript
...
Change-type: patch
2020-01-21 17:54:00 +01:00
Alexis Svinartchouk
23b295c7c1
Convert file-extensions.js to typescript
...
Change-type: patch
2020-01-21 17:53:58 +01:00
Alexis Svinartchouk
db24ee4d37
Convert catalina-sudo/sudo.js to typescript
...
Change-type: patch
2020-01-21 17:53:57 +01:00
Alexis Svinartchouk
e737a1edbd
Convert exit-codes.js to typescript
...
Change-type: patch
2020-01-21 17:53:55 +01:00
Alexis Svinartchouk
e2f5775b07
Remove no longer needed angular specific utils.memoize
...
Change-type: patch
2020-01-21 17:53:19 +01:00
Alexis Svinartchouk
fe230e7d30
Rename resin -> balena
...
Change-type: patch
2019-12-12 18:25:54 +01:00
Alexis Svinartchouk
2ef38fe06d
Fix elevation on macos in development
...
Changelog-entry: Fix elevation on macos in development
Change-type: patch
2019-12-06 01:25:24 +01:00
Alexis Svinartchouk
59230a0f9e
Fix windows elevation module import
...
Change-type: patch
2019-12-03 13:48:47 +01:00
Alexis Svinartchouk
4f36b00ec3
Simplify webpack config
...
Change-type: patch
2019-12-03 13:45:11 +01:00
Alexis Svinartchouk
572f7d826a
Use bash instead of sh for running the elevated process on Linux and Mac
...
Change-type: patch
Changelog-entry: Use bash instead of sh for running the elevated process on Linux and Mac
2019-11-22 15:45:27 +01:00
Alexis Svinartchouk
9b82891abb
Use sudo instead of sudo-prompt on macOS >= Catalina
...
Change-type: patch
2019-11-05 00:49:15 +01:00
Alexis Svinartchouk
ef4d2fcc72
Don't use sudo-prompt when already elevated
...
Changelog-entry: Don't use sudo-prompt when already elevated
Change-type: patch
2019-06-13 15:22:10 +02:00
Alexis Svinartchouk
6d8346b13a
Fix elevation on windows when the path contains "&" or "'"
...
Change-type: patch
Changelog-entry: Fix elevation on windows when the path contains "&" or "'"
2019-05-29 17:52:01 +02:00
Alexis Svinartchouk
1f7e4c886b
Don't show a dialog when the write fails.
...
There is already an error modal and the error detail will be shown in the console.
Changelog-entry: Don't show a dialog when the write fails.
2019-04-22 18:25:26 +02:00
Giovanni Garufi
3d3b4f4a46
Add electron autoupdater
...
Change-type: patch
Changelog-entry: Add support for auto-updating feature
Signed-off-by: Giovanni Garufi <giovanni@balena.io>
2019-04-19 17:13:37 +02: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
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
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
caf5f10326
lint
2019-01-24 13:21:26 +01:00
Alexis Svinartchouk
8630af7646
Remove usage of old sdk in supported-formats
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