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
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
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
Alexis Svinartchouk
26779ef1fb
fix(sdk): Load usbboot adapter on start
...
Change-type: patch
Changelog-entry: Load usbboot adapter on start on GNU/Linux if running as root.
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2018-08-07 04:01:13 +02:00
Benedict Aas
5863319c0b
fix(GUI): file-picker performance and design improvements
...
- Replace onClick arrow functions in all components that use them for
efficiency reasons: 300-500% speed-up
- Sort by folders and ignore case for better UX
- Remove use of `rendition.Button` in files, leading to a 10-20%
performance increase when browsing files
- Proper sidebar width and spacing
- Recents and favorites are now filtered by existence async for a tiny
performance improvement
- Make Breadcrumbs and Icon pure components to stop frequent re-rendering
- Initial support for array constraints
- Use first constraint as initial path instead of homedir if a
constraint is set
- Use correct design height on modal, `calc(100vh - 20px)`
- Reset scroll position when browsing a new folder
- Fuse Bluebird `.map()` and `.reduce()` in
`files.getAllFilesMetadataAsync`.
- Use `localeCompare`'s own case-insensitive option instead of calling
`.toLowerCase()` twice on `n-2` files compared.
- Use 16px font sizes in sidebar and files to match design.
- Disable `$locationProvider.html5Mode.rewriteLinks`, which seemed to
take 50ms of the directory changing time.
- Leave file extension as-is in `files.getFileMetadataSync` and the
async counterpart for a very minor performance improvement.
Change-Type: patch
2018-05-30 12:39:59 +02:00
Jonas Hermsmeier
687e0b563b
refactor(gui): Move shared models to app/models
2018-05-25 20:35:59 +02:00