Commit Graph

951 Commits

Author SHA1 Message Date
Balena CI
12a4a113d7 v11.6.3 2020-06-08 19:59:01 +03:00
Balena CI
14bda050bd v11.6.2 2020-06-08 15:38:10 +03:00
Balena CI
138b1b4496 v11.6.1 2020-06-06 02:18:29 +03:00
Balena CI
5e61fc3be9 v11.6.0 2020-06-04 10:49:36 +03:00
Balena CI
0e9f527ff7 v11.5.3 2020-06-02 22:10:42 +03:00
Balena CI
139c5cdce2 v11.5.2 2020-06-02 18:34:19 +03:00
Balena CI
10a5fb6aaf v11.5.1 2020-06-01 12:42:02 +03:00
Cameron Diver
6290993a79 Remove unused dependencies and dedupe
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-01 08:50:17 +00:00
Balena CI
05546070c8 v11.5.0 2020-05-30 01:22:07 +03:00
Balena CI
15f2ac8d69 v11.4.17 2020-05-29 22:15:57 +03:00
Pagan Gazzard
1decd87c21 Update dependencies
Change-type: patch
2020-05-29 14:22:23 -04:00
Balena CI
e0187090b1 v11.4.16 2020-05-29 17:57:50 +03:00
Cameron Diver
1d7381327e Make the db module a singleton
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
Balena CI
0dc0fc77b6 v11.4.15 2020-05-27 10:51:55 +03:00
Cameron Diver
972b896c95 Check for ApiError before using it as such
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-26 14:43:59 +01:00
Balena CI
68b2b1be0b v11.4.14 2020-05-22 01:18:57 +03:00
Cameron Diver
eaaa9c257e check for 409 status code, rather than string matching uuid conflicts
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 14:57:26 -04:00
Balena CI
00a6ce84f3 v11.4.13 2020-05-21 19:32:18 +03:00
Balena CI
1bf2a7ae29 v11.4.12 2020-05-19 20:07:27 +03:00
Balena CI
860afa25c7 v11.4.11 2020-05-18 22:39:56 +03:00
Balena CI
5f35331633 v11.4.10 2020-05-18 18:15:16 +03:00
Balena CI
84b1726681 v11.4.9 2020-05-18 17:04:05 +03:00
Balena CI
62a36cbcdc v11.4.8 2020-05-18 16:13:00 +03:00
Balena CI
29dd8317d8 v11.4.7 2020-05-16 18:08:18 +03:00
Balena CI
3b1c29e0ef v11.4.6 2020-05-15 20:54:58 +03:00
Miguel Casqueira
466c7999db Remove CoffeeScript tests and all CoffeeScript tools
Closes: #1318
Change-Type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-15 13:01:51 -04:00
Balena CI
9c1110af32 v11.4.5 2020-05-15 15:04:53 +03:00
Pagan Gazzard
758f3caa48 Update to @balena/lint 5.x
Change-type: patch
2020-05-15 12:08:42 +01:00
Balena CI
e9728f7c2d v11.4.4 2020-05-15 13:31:49 +03:00
Balena CI
a03e89caf8 v11.4.3 2020-05-14 12:31:21 +03:00
Balena CI
de25751a7e v11.4.2 2020-05-14 11:38:38 +03:00
Cameron Diver
bbfd87d325 Update engine information in package.json
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-13 09:47:44 +01:00
Balena CI
71d296ab19 v11.4.1 2020-05-12 21:00:15 +03:00
Balena CI
410609041b v11.4.0 2020-05-12 05:15:25 +03:00
Miguel Casqueira
8295858b32 Added endpoint to check if VPN is connected
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-11 21:21:44 -04:00
Balena CI
a361e44b14 v11.3.11 2020-05-12 02:16:19 +03:00
Balena CI
2fa9e638f1 v11.3.10 2020-05-11 22:53:15 +03:00
Balena CI
6060e65220 v11.3.9 2020-05-11 16:28:38 +03:00
Balena CI
d21366aa51 v11.3.8 2020-05-08 15:56:32 +03:00
Balena CI
fff87127ce v11.3.7 2020-05-08 14:56:10 +03:00
Balena CI
77a7c980c8 v11.3.6 2020-05-07 22:58:31 +03:00
Balena CI
5ec86813c1 v11.3.5 2020-05-07 20:43:53 +03:00
Balena CI
94a1e5ccb1 v11.3.4 2020-05-07 11:20:07 +03:00
Balena CI
c1f546d08d v11.3.3 2020-05-06 18:41:50 +03:00
Balena CI
313ee2048a v11.3.2 2020-05-05 20:48:59 +03:00
Cameron Diver
02d088d351 Move build files into build-conf and rename to build-utils
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-05 17:55:28 +01:00
Balena CI
a9b830e68c v11.3.1 2020-05-05 14:26:08 +03:00
Balena CI
89848e6830 v11.3.0 2020-05-04 20:35:39 +03:00
Balena CI
ce39921c7b v11.2.0 2020-04-30 22:19:36 +03:00
Balena CI
71d3dcf724 v11.1.11 2020-04-28 18:45:24 +03:00
Cameron Diver
6c360c2273 Remove coverage running and modules
The coverage no longer works with es2020, and nobody really pays any
attention to the coverage as it is.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-28 13:23:03 +01:00
Balena CI
331a508d25 v11.1.10 2020-04-28 11:22:37 +03:00
Cameron Diver
7c27a561a8 Update balena-register-device to fix provisioning
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-27 18:43:49 +01:00
Balena CI
40f7ba6b2f v11.1.9 2020-04-23 23:46:45 +03:00
Balena CI
ead7d84d2e v11.1.8 2020-04-21 23:50:05 +03:00
Cameron Diver
508708aa32 Actually remove dbus-native dependency
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-21 14:27:47 +01:00
Balena CI
b051647e9d v11.1.7 2020-04-21 15:15:10 +03:00
Balena CI
ca8478a820 v11.1.6 2020-04-21 12:39:05 +03:00
Balena CI
ccfdd57887 v11.1.5 2020-04-15 16:27:09 +03:00
Cameron Diver
a43d71d1ac 📄 Upgrade knex to avoid CVE-2019-10757
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-15 13:37:50 +01:00
Balena CI
5f0d69d275 v11.1.4 2020-04-15 00:12:35 +03:00
Cameron Diver
67c3055fd4 Use livepush commands for copying and running dev specific steps
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-14 10:50:03 +01:00
Balena CI
6ed272085f v11.1.3 2020-04-13 17:39:38 +03:00
Cameron Diver
826eec2e4f 🚀 Update supervisor to node12
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-13 14:36:59 +01:00
Balena CI
862ebe3c10 v11.1.2 2020-04-13 13:23:00 +03:00
Cameron Diver
37feb7e325 Move from dbus-native to dbus
Closes: #1049
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-13 10:07:14 +01:00
Balena CI
f79b53278d v11.1.1 2020-04-10 15:47:21 +03:00
Pagan Gazzard
e5f1a6b6ed Update copy-webpack-plugin
Change-type: patch
2020-04-10 12:47:15 +01:00
Pagan Gazzard
59f300df62 Update ts-loader to 6.x
Change-type: patch
2020-04-10 12:42:52 +01:00
Pagan Gazzard
9ed36ec006 Update fork-ts-checker-webpack-plugin to 4.x
Change-type: patch
2020-04-10 12:40:31 +01:00
Balena CI
af3f278384 v11.1.0 2020-04-09 13:51:32 +03:00
Balena CI
2279430819 v11.0.9 2020-04-09 11:40:00 +03:00
Balena CI
d402bebee1 v11.0.8 2020-04-08 16:52:07 +03:00
Balena CI
2dfcbd6c69 v11.0.7 2020-04-08 16:02:38 +03:00
Pagan Gazzard
a2ec35456b Convert application-manager.coffee to javascript
Change-type: patch
2020-04-08 12:15:06 +01:00
Balena CI
2be3322fc0 v11.0.6 2020-04-08 12:46:49 +03:00
Balena CI
9f52b32146 v11.0.5 2020-04-07 18:44:40 +03:00
Balena CI
75203d0425 v11.0.4 2020-04-07 16:48:30 +03:00
Balena CI
eca8fc9208 v11.0.3 2020-04-07 14:22:32 +03:00
Balena CI
ae92ff54b2 v11.0.2 2020-04-06 23:59:49 +03:00
Pagan Gazzard
81927d7861 Update to balena-register-device 6.0.1
Change-type: patch
2020-04-06 17:45:03 +01:00
Balena CI
e3c3adceb0 v11.0.1 2020-04-06 17:28:00 +03:00
Cameron Diver
6fe3bfa4f2 Don't mangle names when minimising with webpack
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-06 13:36:11 +01:00
Balena CI
10455a4bd4 v11.0.0 2020-04-06 15:34:22 +03:00
Cameron Diver
8ab63656bd Update synchronisation scripts for supervisor development
We move the old sync.js script to tools/, and delete the now-broken
sync-debug.js.

We add a command `npm run sync`, which starts a livepush process
with the supervisor on a device.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-06 13:05:38 +01:00
Balena CI
91d590bed4 v10.11.3 2020-04-02 20:09:40 +03:00
Balena CI
364fabd749 v10.11.2 2020-03-31 16:48:09 +03:00
Balena CI
921a74f04f v10.11.1 2020-03-30 21:19:40 +03:00
Balena CI
23b370c207 v10.11.0 2020-03-30 19:03:08 +03:00
Balena CI
fe0fd453d8 v10.10.15 2020-03-30 13:10:00 +03:00
Balena CI
8fdd5a4e65 v10.10.14 2020-03-29 04:10:00 +03:00
Balena CI
f8c432ff96 v10.10.13 2020-03-28 01:37:48 +02:00
Pagan Gazzard
c1e5b98ae5 Convert proxyvisor to javascript
Change-type: patch
2020-03-27 17:49:01 +00:00
Balena CI
b3cbed3567 v10.10.12 2020-03-27 19:45:48 +02:00
Balena CI
12d79ddcb4 v10.10.11 2020-03-25 19:18:50 +02:00
Balena CI
5e20e4d94e v10.10.10 2020-03-25 10:05:40 +02:00
Cameron Diver
2ff8fccb5e Update livepush
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-24 18:06:59 +00:00
Balena CI
466045a0e9 v10.10.9 2020-03-24 20:05:32 +02:00
Pagan Gazzard
9c3295c912 Add type checking for javascript files
Change-type: patch
2020-03-24 16:37:28 +00:00
Balena CI
4fbd015083 v10.10.8 2020-03-24 18:22:29 +02:00
Cameron Diver
35e73941c5 Pin resin-cli-visuals to avoid build error of lzma-native
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-24 14:52:22 +00:00
Cameron Diver
f2c606e1f9 Update dependencies
We also pin livepush in place while
https://github.com/balena-io-modules/livepush/issues/67
is fixed.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-24 14:52:22 +00:00
Balena CI
e7bd708639 v10.10.7 2020-03-24 16:50:10 +02:00
Balena CI
233cf4bfaa v10.10.6 2020-03-24 13:20:20 +02:00
Pagan Gazzard
8fc11df959 Add transpilation for javascript files to ease node 6 compatibility
Change-type: patch
2020-03-24 09:28:14 +00:00
Pagan Gazzard
7945bb5a77 Add a precheck that linting/tests work on node 10
This allows us to avoid re-linting for every arch

Change-type: patch
2020-03-24 09:28:13 +00:00
Pagan Gazzard
81966446d9 Update to balena-lint and enable javascript linting
Change-type: patch
2020-03-24 09:28:12 +00:00
Balena CI
34e28173a0 v10.10.5 2020-03-23 22:41:28 +02:00
Balena CI
15446929eb v10.10.4 2020-03-23 18:40:12 +02:00
Balena CI
c37079188f v10.10.3 2020-03-16 22:48:08 +02:00
Balena CI
9e7a226741 v10.10.2 2020-03-16 17:26:09 +02:00
Balena CI
bae4e21c85 v10.10.1 2020-03-16 14:08:58 +02:00
Pagan Gazzard
6e3db3bd60 Update dependencies
Change-type: patch
2020-03-13 17:18:05 +00:00
Balena CI
0bc6fc9a4a v10.10.0 2020-03-06 18:13:09 +02:00
Balena CI
255c46c92e v10.9.2 2020-03-05 17:12:19 +02:00
Balena CI
23de9e90e7 v10.9.1 2020-02-25 14:57:19 +02:00
Cameron Diver
adf6d427fc
Upgrade pretty-ms to pick up typings
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:15 +07:00
Balena CI
1d6c57b196 v10.9.0 2020-02-25 06:17:38 +02:00
Balena CI
0df6b225ff v10.8.0 2020-02-13 12:05:20 +02:00
Balena CI
48c80dd747 v10.7.0 2020-02-12 13:24:53 +02:00
Cameron Diver
c47ef6d42a
Add a noinit option to sync-debug
The noinit option will avoid doing a complete sync to the supervisor
on startup. This is useful when there has only been code changes, and no
modules etc have been added. It can be helpful when running on a network
with no external internet access, as everything needed is already inside
the container.

To aid this we also move to yargs, rather than try to do all of the
parsing ourselves.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-12 16:34:25 +07:00
Balena CI
de57bf4372 v10.6.37 2020-02-11 06:16:48 +02:00
Balena CI
c69942233b v10.6.36 2020-02-10 14:19:23 +02:00
Pagan Gazzard
ab63f46b7e Switch to using resin-lint for automatic lint fixing
Change-type: patch
2020-02-10 10:43:14 +00:00
Balena CI
3a8209f4ba v10.6.35 2020-02-10 08:41:56 +02:00
Balena CI
a5b80b9b69 v10.6.34 2020-02-06 16:24:09 +02:00
Balena CI
13b5c2c79c v10.6.33 2020-01-30 13:36:02 +02:00
Balena CI
6bb7a5fd57 v10.6.32 2020-01-28 13:32:10 +02:00
Balena CI
9a1ffb2557 v10.6.31 2020-01-17 19:16:23 +02:00
Balena CI
9290ee05c1 v10.6.30 2020-01-17 17:33:56 +02:00
Pagan Gazzard
027701297b Update knex types
Change-type: patch
2020-01-17 13:59:24 +00:00
Pagan Gazzard
1a393dbb19 Update lodash types
Change-type: patch
2020-01-17 13:51:55 +00:00
Pagan Gazzard
0ef9cc189b Update types and fix issue with treating string as a number
Change-type: patch
2020-01-17 13:06:27 +00:00
Balena CI
6c801794cc v10.6.29 2020-01-17 14:48:54 +02:00
Balena CI
0b69e98c1e v10.6.28 2020-01-09 10:56:59 +02:00
Balena CI
7811ab4f22 v10.6.27 2019-12-19 15:42:30 +02:00
Balena CI
231284e06b v10.6.26 2019-12-18 18:32:52 +02:00
Balena CI
71b856fa7c v10.6.25 2019-12-18 17:01:19 +02:00
Balena CI
e14b07390e v10.6.24 2019-12-17 14:18:21 +02:00
Balena CI
4e0b942fc5 v10.6.23 2019-12-16 17:08:59 +02:00
Balena CI
6270adf6e8 v10.6.22 2019-12-16 14:36:05 +02:00
Cameron Diver
6db1f03411
fix: ⬇️ Force a regular pull when moving from v2 to v3 deltas
Change-type: patch
Fixes: #1072
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-16 10:42:46 +00:00
Balena CI
64b9391f0f v10.6.21 2019-12-12 20:40:42 +02:00
Balena CI
023af863d2 v10.6.20 2019-12-11 20:47:14 +02:00
Balena CI
107b2939f6 v10.6.19 2019-12-09 15:22:49 +02:00
Balena CI
2a1d82ced2 v10.6.18 2019-12-02 14:14:56 +02:00
Balena CI
a29784a58c v10.6.17 2019-11-29 14:59:08 +02:00
Balena CI
b7ac14a6a3 v10.6.16 2019-11-29 13:01:40 +02:00
Balena CI
8e662110ce v10.6.15 2019-11-28 18:00:30 +02:00
Balena CI
c04ec45f96 v10.6.14 2019-11-27 20:25:20 +02:00