Juan Cruz Viotti
|
aead4c7531
|
Make use of resin-register-device
|
2015-10-13 13:42:25 -03:00 |
|
Pagan Gazzard
|
4003bd4828
|
Write the registered_at time to config.json as well, in case there is a failure between writing to config.json and writing to knex [Page]
|
2015-10-13 13:39:39 -03:00 |
|
Pagan Gazzard
|
1ee3072c75
|
Force a newer bluebird so that we can rely on error properties also being available on the root error.
|
2015-10-13 13:39:39 -03:00 |
|
Pagan Gazzard
|
52d4cfb9d9
|
Fix an error where mixpanel events would have the wrong uuid set on first provision.
|
2015-10-13 13:39:39 -03:00 |
|
Pagan Gazzard
|
ab26c6a401
|
Don't cache config.json
|
2015-10-13 13:39:38 -03:00 |
|
Praneeth Bodduluri
|
cb24f338af
|
Add /etc/resolv.conf bind mounts
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
e56d9b678e
|
Stop displaying an error message when trying to start a container that is already started.
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
a959660f90
|
Improve error messages reported to the user in the case of finding an empty string.
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
e38796e92a
|
Fix trying to delete supervisor container when it reports an alternate tag instead of the primary tag.
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
099c13446a
|
Switch to using the dockerode pull progress mechanism.
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
b6a1388c56
|
mixpanelTrack expects the error property to be called error
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
4d3a179fcb
|
Nicer error when image tag isn't found
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
0063eaf7e7
|
Reset download progress to null when starting up the supervisor.
|
2015-10-13 13:39:38 -03:00 |
|
Pagan Gazzard
|
b4306e85db
|
Fix reporting errors without a "cause"
|
2015-10-13 13:39:37 -03:00 |
|
Pagan Gazzard
|
1b0cdfe094
|
Remove some logging from supervisor that wasn't that useful (and caused a lot of noise when looking for issues).
|
2015-10-13 13:39:37 -03:00 |
|
Eugene Mirotin
|
0cb3316ad9
|
use pinejs request for env vars retrieval
|
2015-10-13 13:39:37 -03:00 |
|
Eugene Mirotin
|
9b14babc78
|
use API endpoint to get merged env vars
|
2015-10-13 13:39:37 -03:00 |
|
Pagan Gazzard
|
98ae03cf67
|
Add success/failure messages for better user info when there are issues.
|
2015-10-13 13:39:09 -03:00 |
|
Pagan Gazzard
|
368a23b823
|
Centralise the logging logic.
|
2015-10-13 13:39:09 -03:00 |
|
Pagan Gazzard
|
7a3d5b06c2
|
Report failures to start the container (eg bad CMD in a Dockerfile)
|
2015-10-13 13:39:09 -03:00 |
|
Pagan Gazzard
|
84b5746111
|
Share request settings between request and pinejs-client, and make sure a 30s timeout is used.
|
2015-10-13 13:39:09 -03:00 |
|
Pagan Gazzard
|
c29e0720c6
|
Switch to monitoring if the host is reachable via tcp, rather than a using a full http request.
|
2015-10-13 13:39:09 -03:00 |
|
Pagan Gazzard
|
a97cd40b44
|
Close the tty.js server as well as the ngrok listener.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
5f5b6f5be1
|
Fix stopping a tty session via the api using the wrong app id.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
cd6dbedfa2
|
Be very careful about marking an update attempt finished
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
c8df0b2f9e
|
Make use of the new cache feature of the request backend for pinejs-client 1.2.0 to make use of an ETags based cache for requests to the api.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
82873d2ef2
|
Add a comment about updateDeviceState
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
48c21e9275
|
Keep track of target and actual device state, and make sure we keep updating the api with any differences until the two match.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
7765bc6a59
|
Just consume the stream for publish, avoiding any chance of it returning a value and getting stored up in the stream.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
2c94ea57a2
|
Only load ngrok/tty on demand.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
d578bbfba3
|
Use the new status/send/sendStatus style.
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
6144ea3aeb
|
Update to express ^4.0.0
|
2015-10-13 13:39:08 -03:00 |
|
Pagan Gazzard
|
933cbdedad
|
Be more frugal with the bandwidth used for device updates.
|
2015-10-13 13:37:56 -03:00 |
|
Pagan Gazzard
|
5b82667b3b
|
Remove unused require.
|
2015-10-13 13:37:56 -03:00 |
|
Pagan Gazzard
|
73c7f29c65
|
Update pinejs-client to ^1.0.0
|
2015-10-13 13:37:53 -03:00 |
|
Pagan Gazzard
|
8ca8f96f46
|
Switch to npm deps for blinking and network-checker
|
2015-10-13 13:37:08 -03:00 |
|
Eugene Mirotin
|
433d0bc0f0
|
shorter defaults setting, also allows manual timestamps should someone need them
|
2015-10-13 13:36:13 -03:00 |
|
Eugene Mirotin
|
d47fdf8a3c
|
log compound messages with timestamp and proper system flag
|
2015-10-13 13:36:13 -03:00 |
|
Pagan Gazzard
|
3d83c03868
|
The SUPERVISOR_IMAGE is now the fully qualified image (since it can be on another registry) - update to work with this and stop attempting to delete the actual supervisor image.
|
2015-10-13 13:36:13 -03:00 |
|
Pagan Gazzard
|
16dea4efcc
|
Download the new version of an application before stopping/deleting the old.
|
2015-10-13 13:36:13 -03:00 |
|
Aleksis Brezas
|
af89179886
|
reset provisioning progress to null when supervisor starts
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
2d5dca2171
|
Make sure the supervisor version update is also retried until succeeding.
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
1784c75c57
|
Add secret/apikey based authentication to the supervisor.
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
fafef6cc6f
|
Post the supervisor api port to the resin api.
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
c8023e0780
|
Add a config var to determine what port for the api to listen on.
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
644ad14295
|
Use the api to do the filtering, avoiding fetching unnecessary data.
|
2015-10-13 13:36:12 -03:00 |
|
Eugene Mirotin
|
3c9be7e2ed
|
update Open terminal button styles
|
2015-10-13 13:36:12 -03:00 |
|
Aleksis Brezas
|
7161c04123
|
update config.json on device registration
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
3f94b353f5
|
Remove VPN from the supervisor
|
2015-10-13 13:36:12 -03:00 |
|
Aleksis Brezas
|
c667b55025
|
move uncaught exception to the top of app.coffee
|
2015-10-13 13:36:12 -03:00 |
|