2899 Commits

Author SHA1 Message Date
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
Jonas Hermsmeier
831c9aee2a
fix(windows): Disable rebuilding bindings in electron-builder
We disable `npm rebuild` and `node-gyp rebuild` being run through
`electron-builder`, as we already rebuild native bindings against
the respective CPU arch through `make electron-develop`, and
electron-builder doesn't appear to respect package's install / rebuild scripts.

Change-Type: patch
2018-03-27 19:27:25 +02:00
Benedict Aas
cd697d7205 fix: use correct usbbot blob path in appimages
We use the `app.asar` relative path to read the usbboot blob files
instead of relative to the normal project root.

Change-Type: patch
Changelog-Entry: Use correct usbboot blob path in AppImages.
2018-03-26 18:18:05 +01:00
Jonas Hermsmeier
4be22e9ece
Merge pull request #2134 from resin-io/support-forums
docs: point users to forums instead of Gitter
2018-03-26 15:26:42 +02:00
Jonas Hermsmeier
482ea6d8f9
Merge pull request #2135 from resin-io/fix-status-dots-position
fix(GUI): fix status dots to their position
2018-03-26 14:28:56 +02:00
Jonas Hermsmeier
bcf0d80c47
doc(PUBLISHING): Remove link to Gitter channel
Change-Type: patch
2018-03-26 14:13:24 +02:00
Jonas Hermsmeier
9bb292f38e
doc(cli): Replace Gitter with forums link in CLI help
Change-Type: patch
2018-03-26 14:11:33 +02:00
Jonas Hermsmeier
1d89cf2b75
chore(ci): Remove Gitter.im webhooks from CI services
This removes notification webhook configurations from
our CI services, in anticipation of shutdown of the Gitter channel.

Change-Type: patch
2018-03-26 14:10:04 +02:00
Jonas Hermsmeier
8afc872252
doc(README): Replace Gitter badge with Discourse
This replaces the Gitter.im badge with a Discourse badge pointing
to the Etcher topics in the Resin.io Forums.

Change-Type: patch
2018-03-26 14:08:06 +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
b0562f79d2
Merge pull request #2137 from resin-io/update-drivelist
upgrade(package): Bump drivelist 6.0.4 -> 6.1.3
2018-03-26 13:50:02 +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
Benedict Aas
cf340f48c3 fix(GUI): fix status dots to their position
We ensure the status dots don't move about and stick to their position
by using absolute positioning relative to its parent element.

Change-Type: patch
Changelog-Entry: Fix status dots to their position.
2018-03-23 17:33:32 +00:00
Juan Cruz Viotti
f0e0eaace4
docs: point users to forums instead of Gitter
We plan to shut down Gitter soon.

Change-Type: patch
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
2018-03-23 12:40:54 -04:00
Benedict Aas
4140d49db3
refactor: multi-writes preparatory changes (#2124)
We add some preparatory changes including new utility functions, as well
as changes throughout the codebase that reflect the change from single
drives to a list of drives, given multi-writes is coming.

Change-Type: patch
Changelog-Entry: Various preparatory changes to account for
multi-writes.
2018-03-23 14:36:39 +00:00
Jonas Hermsmeier
8bd9ff58c4
Merge pull request #2131 from resin-io/fix-device-pass
fix(gui): Fix devices passed to writer
2018-03-22 18:12:53 +01:00
Jonas Hermsmeier
fecccb0b28
fix(gui): Fix devices passed to writer
Change-Type: patch
2018-03-22 16:52:01 +01:00
Jonas Hermsmeier
43d79ebd05
Merge pull request #2084 from resin-io/sdk-multiwrite
feat(writer): Impl multi-writes in writer modules
2018-03-22 00:12:02 +01:00
Jonas Hermsmeier
ad7c8760eb
Merge pull request #1807 from resin-io/patch-1136
feat(gui): Display image size when drive too small

Close #1136
Close #2004
2018-03-21 23:37:22 +01:00
Jonas Hermsmeier
22f6cc1c6f
Merge pull request #2118 from resin-io/fix-linux-usbboot
fix(scanner): Enable usbboot on Linux if run as root
2018-03-21 22:56:15 +01:00
Jonas Hermsmeier
98dcb13201
Merge pull request #2112 from resin-io/store-fix-autoselect-stale
fix: stop autoselecting empty value in store
2018-03-21 22:52:20 +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
Jonas Hermsmeier
4108979b65
feat(gui): Display image size when drive too small
This adds a display of the determined image size to the
drive label when the drive has been determined to be too small.

Change-Type: patch
Changelog-Entry: Display image size for comparison if drive is too small
2018-03-21 20:35:47 +01:00
Jonas Hermsmeier
e01aec7b52
Merge pull request #2100 from resin-io/disable-timer-throttle
fix(gui): Disable throttling timers when in background
2018-03-21 20:34:31 +01:00
Jonas Hermsmeier
c5b311359a
Merge pull request #2111 from resin-io/store-efficient-plainify
minifix: remove stale json object plainifying in store
2018-03-21 20:32:45 +01:00
Jonas Hermsmeier
624b95921a
Merge pull request #2123 from lurch/etcher-2120
chore: Allow namespaced requires to be sanity-checked
2018-03-21 20:27:26 +01:00
Jonas Hermsmeier
69c35f7f79
fix(drive-scanner): Warn on usbboot load error on Linux
Change-Type: patch
2018-03-21 20:21:24 +01:00
Jonas Hermsmeier
3424b996c8
fix(writer): Fix state verification count
Change-Type: patch
2018-03-21 19:52:37 +01:00
Jonas Hermsmeier
ef634227aa
feat(cli): Display number of active cards
Change-Type: patch
2018-03-21 18:42:34 +01:00
Jonas Hermsmeier
c724e4cb20
feat(writer): Impl multi-writes in writer modules
Implement writing to multiple destinations simultaneously

Change-Type: minor
Changelog-Entry: Implement writing to multiple destinations simultaneously
2018-03-20 22:21:01 +01:00
Jonas Hermsmeier
936142cf7e
fix(gui): Fix usbboot blob dir path
Change-Type: patch
2018-03-15 16:42:34 +01:00
Jonas Hermsmeier
2aa37571f0
fix(gui): Fix usbboot drive icon path
Change-Type: patch
2018-03-15 16:41:38 +01:00
Jonas Hermsmeier
9b42960b2f
fix(scanner): Enable usbboot on Linux if run as root
This re-enables the usbboot scanner dynamically if Etcher
is run as root on Linux.

Change-Type: patch
2018-03-15 14:45:04 +01:00
Andrew Scheller
6647167d02 chore: Allow namespaced requires to be sanity-checked
Fixes #2120

Change-type: patch
2018-03-15 01:41:34 +00:00
Benedict Aas
835f2cf769
feat(GUI): add colorised multi-writes progress status dots (#2115)
We add colorised progress status dots with quantities of `flashing`,
`validating`, `succeeded`, and `failed` devices.

Change-Type: patch
Changelog-Entry: Add colorised multi-writes progress status dots.
2018-03-14 17:05:01 +00:00
Benedict Aas
3fe5d7711f
minifix: use svg contents list in main template (#2113)
We use a list instead of element with `svg-icon` in `main.tpl.html`, as
required by the `svg-icon` component and will return an error
otherwise.

Fixes: https://github.com/resin-io/etcher/issues/2078
Change-Type: patch
Changelog-Entry: Use SVG contents list in main template.
2018-03-14 17:03:31 +00: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
f72cc6bbbc
Merge pull request #2108 from resin-io/switch-chksm-algo
fix(perf): Remove support for CRC32 checksumming

Close #643
2018-03-09 15:11:32 +01:00
Benedict Aas
69e85a7ac6 fix: stop autoselecting empty value in store
We fix store autoselection, which selects an empty value when one
drive is selected and then ejected, leaving one drive that is
supposed to be autoselectable. Now it instead properly autoselects the
last drive.

Change-Type: patch
Changelog-Entry: Stop store autoselection from selecting empty values on
drive ejection.
2018-03-09 13:52:38 +00:00
Benedict Aas
82b65399af minifix: remove stale json object plainifying in store
Change-Type: patch
Changelog-Entry: Remove stale JSON object plainifying in store
2018-03-09 13:20:38 +00:00
Benedict Aas
a83e397643
refactor: move memoize function to shared utils (#2090)
We move the memoize function to `lib/shared/utils.js` and expose it to
modules across the project.

Change-Type: patch
Changelog-Entry: Move memoize function to shared utils.
2018-03-09 12:12:34 +00:00
Jonas Hermsmeier
f02c090b8d
fix(package): Fix extraneous dependencies 2018-03-08 22:53:22 +01: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