Commit Graph

28 Commits

Author SHA1 Message Date
Aiden McClelland
800bf8dbde use btreemap instead of indexmap
to establish canonical lock ordering
2021-09-27 17:19:58 -06:00
Keagan McClelland
28bb518d6b adds context to filesystem calls for nginx 2021-09-20 12:32:21 -06:00
Keagan McClelland
0a9d1b2b1d Feature/nginx management (#483)
* Implements nginx controller and initialization

* adds nginx controller add to netmod add

* adds nginx remove to netmod remove

* fix code review issues
2021-09-20 11:13:04 -06:00
Keagan McClelland
dc7461746c Feature/wifi sync (#446)
* Synchronizes Wifi config during the 'embassy-init' startup sequence

* Apply suggestions from code review

make directories polymorphic over AsRef

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

* make resilient to existing symlink

* make this more idiomatic

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
2021-09-13 11:38:50 -06:00
Keagan McClelland
96dee95260 Feature/ssl cert management (#442)
* Adds core logic API for SSL Certificate Management

* Update appmgr/src/net/ssl.rs

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2021-09-13 11:24:45 -06:00
Aiden McClelland
e4e2fbce8d purge the word app 2021-09-09 12:53:40 -06:00
Aiden McClelland
2d8f49e877 fix tor addressing for realzies 2021-09-08 19:13:36 -06:00
Aiden McClelland
e7aa79548f fix tor address field on update 2021-09-08 18:08:39 -06:00
Aiden McClelland
f0bfcd9c02 misc fixes 2021-09-06 17:58:51 -06:00
Aiden McClelland
967664561a configure datadir on context 2021-09-03 14:07:46 -06:00
Aiden McClelland
5f16f69af9 fix warnings 2021-09-01 17:57:24 -06:00
Aiden McClelland
172762ce0e misc fixes 2021-09-01 14:47:53 -06:00
Aiden McClelland
34e599f826 overhaul context 2021-08-31 19:16:33 -06:00
Aiden McClelland
33dba5853f load os tor key from db 2021-08-31 11:44:08 -06:00
Keagan McClelland
3160da6e9f Feature/tor health checks (#426)
* wip

* wraps up core tor health check feature, still need to fix the boundaries with the rest of embassyd

* need to please borrow checker

* please the borrow checker

* wire it in

* finishes the feature

* Apply suggestions from code review

* fixes tor restart functionality

* makes tor replacement more resilient, adds embassyd service in init and replace
2021-08-26 17:30:22 -06:00
Keagan McClelland
cc211b85a4 Feature/wifi (#409)
* initial commit for wifi feature

* implements wifi.get

* implements signal strength, removes macro system, makes compatible with rust stable

* remove selected row from wifi info

* refactor to correctly use rpc-toolkit

* remove redundant line from invoke error rendering

* Apply suggestions from code review

* adds display for wifi.get

* use invoke

* use remove

* use tokio native timeout

* use correct null output

* Apply suggestions from code review

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

* fix borrowing issues

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2021-08-19 12:26:16 -06:00
Keagan McClelland
1ff0db0b84 adds avahi base service to init function of mdns controller (#407)
* adds avahi base service to init function of mdns controller

* Apply suggestions from code review

* adds hostname set to startup sequence

* Apply suggestions from code review

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2021-08-19 11:42:17 -06:00
Aiden McClelland
5e50a9b7b5 more idempotent installs 2021-08-17 12:12:17 -06:00
Aiden McClelland
d657eceb08 reconcile types 2021-08-09 14:04:56 -06:00
Aiden McClelland
8de595fafb installs working 2021-08-09 14:00:47 -06:00
Aiden McClelland
d9fa354e85 switch to managers: wip 2 2021-08-09 14:00:47 -06:00
Aiden McClelland
7eaf6dabcc switch to managers: wip 2021-08-09 14:00:47 -06:00
Aiden McClelland
7bbbb5463e fix pack 2021-08-09 13:59:08 -06:00
Aiden McClelland
7bb11652d2 pack 2021-08-09 13:58:52 -06:00
Aiden McClelland
d7e06797a8 appmgr: mdns controller 2021-08-09 13:58:51 -06:00
Aiden McClelland
707a5b1d90 appmgr: wrap up tor 2021-08-09 13:58:51 -06:00
Aiden McClelland
08bb7caa81 appmgr: basic tor sync 2021-08-09 13:58:51 -06:00
Aiden McClelland
ad12bf395c appmgr 0.3.0 rewrite pt 1
appmgr: split bins

update cargo.toml and .gitignore

context

appmgr: refactor error module

appmgr: context

begin new s9pk format

appmgr: add fields to manifest

appmgr: start action abstraction

appmgr: volume abstraction

appmgr: improved volumes

appmgr: install wip

appmgr: health daemon

appmgr: health checks

appmgr: wip

config get

appmgr: secret store

wip

appmgr: config rewritten

appmgr: delete non-reusable code

appmgr: wip

appmgr: please the borrow-checker

appmgr: technically runs now

appmgr: cli

appmgr: clean up cli

appmgr: rpc-toolkit in action

appmgr: wrap up config

appmgr: account for updates during install

appmgr: fix: #308

appmgr: impl Display for Version

appmgr: cleanup

appmgr: set dependents on install

appmgr: dependency health checks
2021-08-09 13:57:43 -06:00