CameronDiver
3c910db730
Merge pull request #741 from resin-io/fixes
...
Minor bugfixes
2018-09-04 16:09:07 -07:00
Cameron Diver
08b1c90ea1
fix: Fix event-tracker being passed no options object
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-04 16:02:06 -07:00
Cameron Diver
c1748436d8
fix: Import logger properly and add startup test
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-04 15:53:49 -07:00
CameronDiver
dfe95157b2
Merge pull request #738 from resin-io/rate-limit-mixpanel
...
Add mixpanel rate limiting, and supervisor version reporting
2018-09-04 14:53:42 -07:00
Cameron Diver
8ca42062a3
events: Report supervisor version with any mixpanel events
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-04 13:17:20 -07:00
Cameron Diver
607c722b0b
events: Add rate limiting based on event name when reporting to mixpanel
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-04 13:17:17 -07:00
CameronDiver
687dfcd124
Merge pull request #739 from resin-io/reduce-memory-usage
...
memory: Reduce memory usage by applying node command line flags
2018-09-04 13:13:19 -07:00
Mathew Heard
23013709b5
memory: Reduce memory usage by applying node command line flags
...
Change-type: patch
Closes : #690
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-04 12:52:22 -07:00
Resin CI
c7f812b993
v7.19.2
2018-09-04 11:44:27 -07:00
CameronDiver
8aaa50ba4e
Merge pull request #733 from resin-io/ts-changes
...
Further typescipt conversions
2018-09-04 11:43:07 -07:00
Cameron Diver
0c2c566da8
fix: Add es2015 lib to tsconfig.json
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:43:14 -07:00
Cameron Diver
8bd895d24f
refactor: Use Dictionary<T> type in ports module
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:39:07 -07:00
Cameron Diver
328b07a092
fix: Respect logging enabling on instantiation of logger
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:39:07 -07:00
Cameron Diver
67b5503ac4
Fix: Change import of ports module to be extensionless in tests
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:39:06 -07:00
Cameron Diver
d3a18da573
Refactor: Convert logging module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:39:06 -07:00
Cameron Diver
a0710d39ef
types: Add global typings file containing Dictionary<T> type
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:39:06 -07:00
Cameron Diver
99c807a48c
Refactor: Make exported log-types implement interface
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:36:21 -07:00
Cameron Diver
8ee26adbbe
Refactor: Convert event tracker module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:36:21 -07:00
Resin CI
524f2580d8
v7.19.1
2018-08-30 11:12:58 -07:00
CameronDiver
1336e3f91f
Merge pull request #737 from resin-io/736-device-name-at-init-restart-all
...
fix: Dont bind service class methods in declaration
2018-08-30 11:11:20 -07:00
Cameron Diver
16e102b3ba
fix: Dont bind service class methods in declaration
...
This was causing a bug where the applications were cloned when
restarting all of them. These clones did not carry over the binds, so
when starting the containers back up, two different versions of `this`
were being used.
Change-type: patch
Closes : #736
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-29 15:32:03 -07:00
Resin CI
6f0728ba56
v7.19.0
2018-08-29 13:58:12 -07:00
CameronDiver
69a5f623ee
Merge pull request #735 from resin-io/734-more-array-fields
...
feature(host_config): Support gpio config as an array
2018-08-29 12:44:39 -07:00
Cameron Diver
afd544f440
housekeeping: Add private:true to package.json
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-29 09:05:30 -07:00
Cameron Diver
0a93b9c18a
feature(host_config): Support gpio field as an array
...
Change-type: minor
Closes : #734
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-29 08:58:05 -07:00
resin-io-versionbot[bot]
d1be931029
Auto-merge for PR #713 via VersionBot
...
network: Add MDNS support for `.local` domains
2018-08-24 15:50:54 +00:00
resin-io-versionbot[bot]
01db7c448f
v7.18.0
2018-08-24 15:35:56 +00:00
Heds Simons
f716624f89
network: Add MDNS support for .local
domains
...
This requires the initialisation of both DBus and
Avahi in the `entry.sh` script to allow resolution
via libc.
Due to issues with Avahi's `init.d` script, the previous
PIDfile is explicitly removed.
Connects-to: #712
Change-type: minor
Signed-off-by: Heds Simons <heds@resin.io>
2018-08-23 18:41:55 +01:00
resin-io-versionbot[bot]
688b5c2a35
Auto-merge for PR #729 via VersionBot
...
ux: Warn on invalid device name when trying to start a service
2018-08-17 09:20:54 +00:00
resin-io-versionbot[bot]
8003ab830b
v7.17.1
2018-08-17 09:07:20 +00:00
Cameron Diver
ae446c01b2
ux: Warn on invalid device name when trying to start a service
...
Device names with newlines cause reboot loops, due to newlines not being
supported by docker. This PR will warn when a device name contains a
newline.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 21:52:49 +01:00
resin-io-versionbot[bot]
88b0e2fc45
Auto-merge for PR #726 via VersionBot
...
dev: Add package.json tasks to aid debugging supervisor tests
2018-08-16 16:25:33 +00:00
resin-io-versionbot[bot]
aa45e9c955
v7.17.0
2018-08-16 16:09:23 +00:00
Cameron Diver
f7240ccce1
fix: Fix importing of service type location
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 16:38:43 +01:00
Cameron Diver
1060e70e82
dev: Add package.json tasks to aid debugging supervisor tests
...
Running mocha on the coffee and ts sources resulted in unreliable
sourcemaps, and breakpoints not working, among other things. To solve
this, this commit adds package.json tasks which will build both the
coffeescript and typescript files with their sourcemaps and places it
into a build directory. It also copies over other dependent files, such
as test data and migrations.
Another task adds a mocha debugging command, which can be connected to
using a node debugger.
Another tasks runs mocha without a debugging interface, but also without
running linters etc first. This enables the tests to be run much faster.
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 16:38:40 +01:00
resin-io-versionbot[bot]
a4959f2ac3
Auto-merge for PR #727 via VersionBot
...
Add more typescript support
2018-08-16 15:37:36 +00:00
resin-io-versionbot[bot]
e55193151a
v7.16.7
2018-08-16 15:02:03 +00:00
Cameron Diver
cb2349dbb6
Update docker-toolbelt to pull in typings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 15:35:31 +01:00
Cameron Diver
3a4f1594e0
Refactor: Add docker-utils typings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 15:35:31 +01:00
Cameron Diver
b504306f28
Refactor: Convert log-types module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 15:35:30 +01:00
resin-io-versionbot[bot]
003cb8af2c
Auto-merge for PR #722 via VersionBot
...
Docs: Add documentation for the v2/applications/state endpoint
2018-08-13 12:17:10 +00:00
resin-io-versionbot[bot]
9415d04bc3
v7.16.6
2018-08-13 12:00:10 +00:00
Cameron Diver
409a582507
Docs: Add documentation for the v2/applications/state endpoint
...
Change-type: patch
Closes : #719
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-13 10:51:32 +01:00
resin-io-versionbot[bot]
233f4af1df
Auto-merge for PR #724 via VersionBot
...
fix: Apply device name before generating container config
2018-08-13 09:49:50 +00:00
resin-io-versionbot[bot]
840ec03b3e
v7.16.5
2018-08-13 09:33:26 +00:00
Cameron Diver
b7d991b98e
fix: Apply device name before generating container config
...
Currently the service has the device name applied after the docker
config is generated. This means that is has no effect until the next
restart.
This commit ensures that the device name is applied before the docker
config is generated, meaning that the env var gets applied to the
upcoming container.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-13 10:02:53 +01:00
resin-io-versionbot[bot]
b8c178d113
Auto-merge for PR #721 via VersionBot
...
Fix: Restart a service when it's memory limit changes
2018-08-07 13:30:19 +00:00
resin-io-versionbot[bot]
51f008a44f
v7.16.4
2018-08-07 12:54:52 +00:00
Cameron Diver
430e45d6fb
Fix: Restart a service when it's memory limit changes
...
Change-type: patch
Closes : #720
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-07 13:15:37 +01:00
resin-io-versionbot[bot]
50e9df08fc
Auto-merge for PR #715 via VersionBot
...
Add a backoff mechanism for state reporting errors.
2018-08-01 19:58:34 +00:00