Commit Graph

395 Commits

Author SHA1 Message Date
Aiden McClelland
7df953d5fb only sleep for 1 second before first health check 2022-01-21 20:35:52 -07:00
Aiden McClelland
b29060e0af fixes #849 2022-01-21 20:35:52 -07:00
Aiden McClelland
a2528a13df correctly handle self as current dependent 2022-01-21 20:35:52 -07:00
Aiden McClelland
cf8536da2b enable gzip compression (#936) 2022-01-21 20:35:52 -07:00
Aiden McClelland
7c6cd7cfa3 delete container before action (#931) 2022-01-21 20:35:52 -07:00
Aiden McClelland
f69d4a386c disable docker health checks 2022-01-21 20:35:52 -07:00
Aiden McClelland
13f08242dd reduce health check locking 2022-01-21 20:35:52 -07:00
Keagan McClelland
45f0adde18 default to 0.2.0 2022-01-21 20:35:52 -07:00
Aiden McClelland
ace479b8f2 Feature/setup attach (#921)
* add setup.attach

* fix setup attach
2022-01-21 20:35:52 -07:00
Aiden McClelland
e6fb74a800 Feature/cloud backups (#889)
* cifs for cloud backups on lan

* password spelling fix

* fix spelling and fix rpc method

* fix other methods

* remove old code and rename method

* add support for cifs backup targets

wip

cifs api

simplify idiom

add doc comment

wip

wip

should work™

* add password hash to server info

* fix type

* fix types for cifs

* minor fixes for cifs feature

* fix rpc structure

* fix copy, address some TODOs

* add subcommand

* backup path and navigation

* wizard edits

* rebased success page

* wiz conflicts resolved

* current change actually

* only unsub if done

* no fileter if necessary

* fix copy for cifs old password

* setup complete (#913)

* setup complete

* minor fixes

* setup.complete

* complete bool

* setup-wizard: complete boolean

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
6ee0bf8636 fix typo in metrics 2022-01-21 20:35:52 -07:00
Aiden McClelland
a71d07f353 Bugfix/disable uasp (#878)
* usbstoraged

* set quirks on demand

* remove reference to usbstoraged.service

* comments

* use sysfs instead of modprobe and address comments

* fix ro fs and missing comma

* Apply suggestions from code review

* don't recurse overlayroot

* sleep before reconnect

* reset twice

* sync between writes

* fix build

* fix build

* adds drive to storage quirk whitelist

* long sleep

* another thing to try

* fix: Ensure that the changes take effect

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
Co-authored-by: Justin Miller <dragondef@gmail.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
e968a1cca7 add spantrace to use-after-exit of RpcContext 2022-01-21 20:35:52 -07:00
Keagan McClelland
e6d1e49984 remove unnecessary debug 2022-01-21 20:35:52 -07:00
Aiden McClelland
92ff208bb7 fixes #868 2022-01-21 20:35:52 -07:00
Aiden McClelland
c453f5c144 fix uasp regression 2022-01-21 20:35:52 -07:00
Keagan McClelland
71f1432cee fix configuration logic to always set package to configured if the configuration step succeeds 2022-01-21 20:35:52 -07:00
Keagan McClelland
351cef4141 refactor logic around migrations to be more representative of reality 2022-01-21 20:35:52 -07:00
Keagan McClelland
e578062082 adds flag to manager shared state describing whether health checks should be committed, sets that flag on stop and signal 2022-01-21 20:35:52 -07:00
Keagan McClelland
781c25e4c4 fixes issue where packages that were already broken would not report breakages ever, even if the severity of the dependency error worsens (#870) 2022-01-21 20:35:52 -07:00
Keagan McClelland
848c5d4e6f fixes #820 for real this time 2022-01-21 20:35:52 -07:00
Keagan McClelland
5bda871e00 adds defaults to healthcheck severity (#857)
* adds defaults to healthcheck severity

* qualify
2022-01-21 20:35:52 -07:00
Keagan McClelland
a90c3cb3a1 adds name, description; changes critical boolean to severity enum (#855) 2022-01-21 20:35:52 -07:00
Aiden McClelland
53e076726f Feature/starting status (#852)
* add starting status

* fixes
2022-01-21 20:35:52 -07:00
Aiden McClelland
3382469fe0 fix package.install return type 2022-01-21 20:35:52 -07:00
Aiden McClelland
0aba77867c #796 2022-01-21 20:35:52 -07:00
Aiden McClelland
eacc07081c #821 2022-01-21 20:35:52 -07:00
Aiden McClelland
7a16917971 #819 2022-01-21 20:35:52 -07:00
Aiden McClelland
9f1d140911 #820 2022-01-21 20:35:52 -07:00
Keagan McClelland
aea5dfe04a Bugfix/protocol consistency (#846)
* fix eos <-> registry protocol

* fix ui <-> eos protocol

* redoes the embassyd api to accept an optional version spec argument, still allowing for CLI @ syntax

* redo the front end in accordance with the new api

* Update appmgr/src/install/mod.rs

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>

* fix more query params

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
13c227399b Bugfix/wifi race conditions (#831)
* puts wifi manager behind mutex

* remove commented code

* use rwlocks instead of mutexes to allow for better interlocking
2022-01-21 20:35:52 -07:00
Aiden McClelland
d4b41f3163 address #774 & #801 (#839) 2022-01-21 20:35:52 -07:00
Aiden McClelland
1effb50b79 clean up transient state on boot (#816)
* Should Work™

* fix remove

* do not sleep on exit 0
2022-01-21 20:35:52 -07:00
Keagan McClelland
fee358918a remove debug log 2022-01-21 20:35:52 -07:00
Keagan McClelland
25775ab2a1 fixes websocket access on tor 2022-01-21 20:35:52 -07:00
Keagan McClelland
18e9d260d0 Feature/s9pk sideload (#808)
* adds rpc continuations endpoint, rewires websocket endpoint

* sideload processor finished

* cli portion

* bugfixes

* moar bugfixes

* cleanup

* unfuck rust

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>

* fixes url source

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
fd07d0208d formatting 2022-01-21 20:35:52 -07:00
Aiden McClelland
1d1844e092 kill action on timeout even if exec 2022-01-21 20:35:52 -07:00
Aiden McClelland
071f6cec03 stability fixes 2022-01-21 20:35:52 -07:00
Keagan McClelland
c2513f0dba implement cert download endpoint (#794)
* implement cert download endpoint

* Apply suggestions from code review

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
923ed6fe4e set default log level to debug 2022-01-21 20:35:52 -07:00
Aiden McClelland
9e1e3e167b Feature/rate limiting (#786)
* rate limiting

* 10s rate limit
2022-01-21 20:35:52 -07:00
Keagan McClelland
c723ee6a15 Feature/always gen certs (#784)
* move SslManager to NetController and out of NginxController

* always generate the certs, move that functionality to the net controller before any nginx configs are written

* add info log

* refactor to make net controller not responsible for nginx stuff

* diff minimization

* diff minimization

* diff minimization

* diff minimization

* use net controller cert path instead of nginx controller cert path

* remove unused imports

* move location of cert mounts
2022-01-21 20:35:52 -07:00
Keagan McClelland
9f3909188a fixes leaf certs to use leaf cert extensions (#776)
* fixes leaf certs to use leaf cert extensions

* adds CN to SAN because Firefox is a fussbucket
2022-01-21 20:35:52 -07:00
Aiden McClelland
e3f7e857e3 eos-version-compat 2022-01-21 20:35:52 -07:00
Lucy Cifferello
38e2fb9acd fix log parsing for null case 2022-01-21 20:35:52 -07:00
Aiden McClelland
3d3a7500a2 fix error log reporting 2022-01-21 20:35:52 -07:00
Keagan McClelland
2660437e78 start dhclient 2022-01-21 20:35:52 -07:00
Keagan McClelland
87c10b7fbe sub ifupdown for ifconfig to save cpu power 2022-01-21 20:35:52 -07:00
Aiden McClelland
f922a6f08c closes #659 2022-01-21 20:35:52 -07:00