Commit Graph

375 Commits

Author SHA1 Message Date
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
Aiden McClelland
d55586755d closes #661 and #737 2022-01-21 20:35:52 -07:00
Aiden McClelland
d4297b16d2 Feature/full embassy recovery (#775)
* kinda working

* recovery working

* Update appmgr/src/manager/mod.rs

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-01-21 20:35:52 -07:00
Lucy Cifferello
46cb0c2aa8 add deserializer for string or utf8 array 2022-01-21 20:35:52 -07:00
Lucy C
eac7db091f Bugfix/disk info (#770)
* use df for getting disk info

* fix import

* fix type errors

* add duplicity flag for different source hosts

* fix borrow

* reorder args

* update cargo lock

* use 1byte block sizes and using floating point numbers
2022-01-21 20:35:52 -07:00
Aiden McClelland
44324b7127 allow setup of disk previously used with lvm 2022-01-21 20:35:52 -07:00
Aiden McClelland
e4a40ac32d refactor: remove sync daemon (#765)
* refactor: remove sync daemon

* improve code organization
2022-01-21 20:35:52 -07:00
Keagan McClelland
57092cd240 Feature/eos disk filtering (#764)
* misc fixes

* magic

* set types

* disk guid labeling

* remove erroneous guid assignment

* fix borrow check issues

* remove unnecessary imports

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-01-21 20:35:52 -07:00
Aiden McClelland
a5266c2e41 include root ca in response 2022-01-21 20:35:52 -07:00
Aiden McClelland
34429d89d6 refactor: use data_dir fn 2022-01-21 20:35:52 -07:00
Aiden McClelland
ea76811902 fixes #719 2022-01-21 20:35:52 -07:00
Aiden McClelland
2a0425e968 switch to LVM + LUKS + ext4 (#747)
* code complete

* misc fixes

* magic
2022-01-21 20:35:52 -07:00
Keagan McClelland
5eca577152 Feature/issue notifications (#695)
* issues notification for installation failure

* issues notification for uninstall failure

* fixes notification api
2022-01-21 20:35:52 -07:00
Aiden McClelland
1e7492e915 adds recovery (#731)
* should work

* works for real

* fix build
2022-01-21 20:35:52 -07:00
Aiden McClelland
8056285a7f Backups Rework (#698)
* wip: Backup al

* wip: Backup

* backup code complete

* wip

* wip

* update types

* wip

* fix errors

* Backups wizard (#699)

* backup adjustments

* fix endpoint arg

* Update prod-key-modal.page.ts

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>

* build errs addressed

* working

* update backup command input, nix, and apk add

* add ecryptfs-utils

* fix build

* wip

* fixes for macos

* more mac magic

* fix typo

* working

* fixes after rebase

* chore: remove unused imports

Co-authored-by: Justin Miller <dragondef@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
78dcce7be5 adds package list functionality 2022-01-21 20:35:52 -07:00
Keagan McClelland
678fa0731e Change debounce time to notify callsite (#726)
* makes debounces a property of calls to notify rather than a global property of the notification manager

* Update appmgr/src/status/mod.rs

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
elvece
c6e379bffa heal dependents when config changes 2022-01-21 20:35:52 -07:00
Lucy C
25977292e1 Feature/gen dep config (#714)
* update ui readme

* adjust dry auto-configure to generate config for dependency and return necessary details

* fix types
2022-01-21 20:35:52 -07:00
Keagan McClelland
9c1d2ed96d Bugfix/service misdirection (#711) 2022-01-21 20:35:52 -07:00
Keagan McClelland
f431b79ed6 adds revision information to the share_stats endpoint (#703) 2022-01-21 20:35:52 -07:00