3397 Commits

Author SHA1 Message Date
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
35772b0370
fix(perf): Remove support for CRC32 checksumming
As crc32-stream was identified as a massive performance bottleneck,
we remove it, and default to Node's crypto API with md5 instead.

Change-Type: minor
2018-03-08 20:33:00 +01:00
Jonas Hermsmeier
68b33fcfb9
Merge pull request #2096 from resin-io/update-test-deps
upgrade(package): Update test related dependencies
2018-03-08 17:21:52 +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
c11205f3cd
fix(shrinkwrap): Fix resolved URL of git repo
Change-Type: patch
2018-03-05 16:38:53 +01:00
Jonas Hermsmeier
11a0aa322f
test(available-drives): Fix set expected set property
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
Jonas Hermsmeier
55ed4dbc51
upgrade(package): eslint-plugin-jsdoc 3.3.1 -> 3.5.0
Change-Type: patch
2018-03-05 16:38:52 +01:00
Jonas Hermsmeier
201b8dccaa
upgrade(package): eslint-plugin-node 6.0.0 -> 6.0.1
Change-Type: patch
2018-03-05 16:38:52 +01:00
Jonas Hermsmeier
544cd96e3d
upgrade(package): html-angular-validate 0.1.9 -> 0.2.3
Change-Type: patch
2018-03-05 16:38:52 +01:00
Jonas Hermsmeier
2604da104d
upgrade(package): versionist 2.8.1 -> 2.13.0
Change-Type: patch
2018-03-05 16:38:51 +01:00
Jonas Hermsmeier
a392d3b1b4
upgrade(package): sass-lint 1.10.2 -> 1.12.1
Change-Type: patch
2018-03-05 16:38:51 +01:00
Jonas Hermsmeier
b7ef95f68c
upgrade(package): nock 9.0.9 -> 9.2.3
Change-Type: patch
2018-03-05 16:38:51 +01:00
Jonas Hermsmeier
d12166a872
upgrade(package): mocha 3.2.0 -> 5.0.1
Change-Type: patch
2018-03-05 16:38:51 +01:00
Jonas Hermsmeier
74d9fcdbbc
upgrade(package): electron-mocha 5.0.0 -> 6.0.0
Change-Type: patch
2018-03-05 16:38:51 +01:00
Jonas Hermsmeier
3e9536cef8
Merge pull request #2099 from resin-io/update-cli-visuals
upgrade(package): Update resin-cli-visuals to 1.4.1
2018-03-05 05:52:30 -08:00
Jonas Hermsmeier
95c2c25f1b
Merge pull request #2098 from resin-io/update-contributing
doc(CONTRIBUTING): Add webpack step to instructions

Close #2079
2018-03-02 05:10:46 -08:00
Jonas Hermsmeier
81932e5d9f
Merge pull request #2097 from resin-io/fix-error-image-writer
fix(image-writer): Fix missing error argv
2018-03-02 05:09:52 -08:00
Jonas Hermsmeier
d91d957777
fix(gui): Disable throttling timers when in background
This disables Electron throttling timers when not in the foreground.

Change-Type: patch
2018-03-01 20:04:34 +01:00
Jonas Hermsmeier
804ac8b4dc
upgrade(package): Update resin-cli-visuals to 1.4.1
This updates `resin-cli-visuals` in order to fix drive selection in
the CLI, which was caused by incompatibility of two different `drivelist` versions

Change-Type: patch
2018-03-01 19:12:29 +01:00
Jonas Hermsmeier
bde1e32e29
doc(CONTRIBUTING): Add webpack step to instructions
Change-Type: patch
2018-03-01 18:50:45 +01:00
Jonas Hermsmeier
cb25db2556
fix(image-writer): Fix missing error argv
This fixes a missing error argument being passed in .emit()

Change-Type: patch
2018-03-01 18:12:38 +01:00
Jonas Hermsmeier
1536e62734
Merge pull request #2093 from resin-io/fix-about-copyright
chore(package): Update copyright years
2018-02-28 11:32:00 -08:00
Jonas Hermsmeier
401c2c7cc1
chore(package): Update copyright years
Change-Type: patch
2018-02-28 18:18:35 +01:00
Jonas Hermsmeier
d0faf9bc2f
Merge pull request #2091 from resin-io/webpack-json
fix(webpack): Fix not resolving .json
2018-02-27 13:19:59 -08:00
Jonas Hermsmeier
81b5016168
fix(webpack): Fix not resolving .json
Change-Type: patch
2018-02-27 18:26:05 +01:00
Andrew Scheller
dcbe41bc40
fix(scripts): Add missing types to architecture-convert.sh usage (#2089)
Change-type: patch
2018-02-26 18:37:54 +00:00
Benedict Aas
4e112dc98c
minifix: add missing parameter to verifyNoNilFields example (#2081)
We add the missing `name` parameter to the `verifyNoNilFields` JSDoc
example.

Change-Type: patch
Changelog-Entry: Add missing name param to verifyNoNilFields JSDoc example.
2018-02-26 11:34:46 +00:00
Jonas Hermsmeier
d233558b44
Merge pull request #2080 from resin-io/sdk-write-prepare
feat(sdk): Move CLI writer logic into SDK writer
2018-02-23 10:26:36 -08:00
Benedict Aas
207c2ef5b6
feat: add drive multi-selection in store (#1736)
We lay the foundation for multi-selecting drives by implementing it into
the `store` and relevant modules interacting with the `store`.

Change-Type: patch
Changelog-Entry: Add drive multi-selection to the store.
2018-02-23 17:45:49 +00:00
Jonas Hermsmeier
d9ccc43d15
feat(sdk): Move CLI writer logic into SDK writer
This moves the preparation logic from the CLI into the SDK
in preparation for further SDK rearchitecturing, and to allow
standalone usage of SDK.

Change-Type: minor
Changelog-Entry: Move CLI write preparation logic into SDK
2018-02-23 16:06:07 +01:00
Andrew Scheller
ee93013220
chore: fixup 'distclean' rule to also delete generated directory (#2077)
Change-type: patch
2018-02-23 12:43:13 +00:00
Juan Cruz Viotti
677fc5aa68
chore: only publish production packages to Bintray (#2076)
The devel channels will be completely deprecated. The deb/rpm snapshot
builds will still be accessible through GitHub Releases as part of Resin
CI builds.

Change-Type: patch
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
2018-02-23 11:47:11 +00:00
Juan Cruz Viotti
8a86d0e655
chore: add "make webpack" as a Concourse build step (#2070)
We also have to add the generated directory to the final package.

Change-Type: patch
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
2018-02-21 19:06:35 +00:00
Jonas Hermsmeier
27c4c0c749 fix(package): Add fsevents to platform specific deps (#2065)
This adds `fsevents` to the platform specific dependencies,
in order to avoid shrinkwrap disagreements between platforms.

Change-Type: patch
2018-02-21 17:45:47 +00:00
Benedict Aas
2c0cdcf947
refactor(GUI): remove selection-state clear options to simplify (#2043)
We refactor and simplify the selection-state `.clear()` by removing the
options argument.

Change-Type: patch
Changelog-Entry: Remove `selectionState.clear()` options argument to
simplify.
2018-02-21 15:56:42 +00:00
Benedict Aas
a56755e2c6
feat(GUI): add spacing to drive-selector labels (#2059)
We add a right margin to the drive-selector labels so they look nicer
when there are multiple.

Change-Type: patch
Changelog-Entry: Add spacing to the drive-selector warning/error labels.
2018-02-20 21:07:13 +00:00
Benedict Aas
765de94ca3
refactor: consolidate store-state nil-checking (#2062)
We make the nil-checking of store state fields generic through a
`verifyNoNilFields` function that throws an error if any fields are
nil.

Change-Type: patch
Changelog-Entry: Consolidate store state nil-checking with helper
function.
2018-02-20 13:13:29 +00:00
Benedict Aas
f060dc896f
feat: resolve jsx files (#2063)
We resolve `.jsx` files such that they get handled by babel and bundled
with webpack.

Change-Type: patch
Changelog-Entry: Resolve JSX files
2018-02-20 13:03:47 +00:00
Jonas Hermsmeier
1dcbcef705
Merge pull request #2054 from resin-io/fix-debug-namespaces
fix(lib): Fix debug namespaces
2018-02-20 04:37:37 -08:00
Jonas Hermsmeier
5be64e124b
Merge pull request #2023 from resin-io/drive-clean
feat(lib): Use win-drive-clean instead of diskpart
2018-02-20 03:40:10 -08:00
Jonas Hermsmeier
f70df03b1a
Merge pull request #2056 from resin-io/fix-debug-enable
fix(app): Fix enabling debug output
2018-02-20 03:35:08 -08:00
Benedict Aas
8b577ca12f
feat(GUI): separate svg path and content attributes (#1677)
We separate the SVG component path and content into attributes
`paths` and `contents` which take lists of strings that are
tried until one succeeds. `contents` takes precedence over `paths`,
i.e. it is tried first.

Change-Type: patch
Changelog-Entry: Separate SVG component's path and content attributes.
2018-02-20 09:51:13 +00:00
Benedict Aas
91719435d9
feat(GUI): warn the user on large drive selection (#2045)
We warn the user when they select a large drive to confirm they want to
flash in case the device is important.

Fixes: https://github.com/resin-io/etcher/issues/1916
Change-Type: patch
Changelog-Entry: Warn the user on selection of large drives.
2018-02-19 19:12:48 +00:00
Benedict Aas
b1b82301d9
fix(GUI): make all class label text bold (#2060)
We make all tags with `.label` have bold text and remove the need for
`<b>` tags.

Change-Type: patch
Changelog-Entry: Make all `.label` tags' text bold and remove need for `<b>` tags.
2018-02-19 18:38:03 +00:00
Benedict Aas
fdf15f53d7
feat(GUI): warning makes drive-selector button orange (#2044)
We make the drive-selector button orange when there is a warning attached
to the image-drive pair.

Change-Type: patch
Changelog-Entry: Make the drive-selector button orange on warnings.
2018-02-19 11:27:30 +00:00
Jonas Hermsmeier
4802854cff
Merge pull request #2055 from resin-io/remove-direct-io
fix(cli): Remove O_DIRECT & O_EXCL
2018-02-16 10:53:28 -08:00
Jonas Hermsmeier
b0538099cf
fix(lib): Fix debug namespaces
This fixes some debug namespaces not being prefixed with `etcher:`
and their respective subsystems.

Change-Type: patch
2018-02-16 19:01:26 +01:00