Commit Graph

236 Commits

Author SHA1 Message Date
Aiden McClelland
172762ce0e misc fixes 2021-09-01 14:47:53 -06:00
Aiden McClelland
19eb4e2100 custom_cli 2021-08-31 22:53:48 -06:00
Aiden McClelland
34e599f826 overhaul context 2021-08-31 19:16:33 -06:00
Aiden McClelland
72f3fee54a initialize database better 2021-08-31 11:53:49 -06:00
Aiden McClelland
33dba5853f load os tor key from db 2021-08-31 11:44:08 -06:00
Aiden McClelland
18df3c77b4 address bugs 2021-08-30 13:31:56 -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
Lucy Cifferello
e304995c7f update torut with fork for dependency fix 2021-08-26 09:52:57 -06:00
Aiden McClelland
bc1e698a22 fix for volumeid serializer 2021-08-24 22:48:39 -06:00
Aiden McClelland
e411cfb7b0 cleanup wip; change cbor lib 2021-08-24 16:26:13 -06:00
Aiden McClelland
0aca612f2a completion bool fixes 2021-08-24 11:01:46 -06:00
Aiden McClelland
94e7ae9bd4 config changes; cleanup wip 2021-08-19 13:12:06 -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
Keagan McClelland
0f43414e25 Feature/server metrics (#405)
* adds skeleton structure to task runners

* finishes server metrics

* Apply suggestions from code review

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

* cleans up meminfo call

* changes error creation method

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2021-08-17 17:32:07 -06:00
Aiden McClelland
be7b2ec016 migrations 2021-08-17 17:21:05 -06:00
Aiden McClelland
5e50a9b7b5 more idempotent installs 2021-08-17 12:12:17 -06:00
Aiden McClelland
1a61c5450c allow access to readonly volumes during sandboxed 2021-08-16 17:48:50 -06:00
Aiden McClelland
c223894943 assorted fixes 2021-08-13 12:35:03 -06:00
Keagan McClelland
b55f82bcf3 adds log querying (#401)
* adds log querying

* Apply suggestions from code review

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

* formatting

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2021-08-12 10:35:49 -06:00
Keagan McClelland
acd72060e9 Feature/sound (#389)
* WIP sound lib

* basically finishes sound interface, still needs circle of fifths for updates etc.

* finishes sound interface, includes light testing

* fixes loops to use euclidian remainder

* implements locking for the sound interface

* stop sleeping on blocks
2021-08-12 10:20:36 -06:00
Matt Hill
6a9ec0ea05 error flattening, remain to details, and delete old config stuff 2021-08-09 14:05:21 -06:00
Matt Hill
ae09f5a4f2 fix types 2021-08-09 14:05:21 -06:00
Aiden McClelland
0ee8361430 minor fixes, add nginx conf 2021-08-09 14:05:21 -06:00
Keagan McClelland
8eaf8f47e4 Feature/ssh (#382)
* wip ssh feature

* add and remove complete, list remains

* list half way done

* should finish the ssh module completely

* minor fixes

* formatting and offline queries

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2021-08-09 14:05:21 -06:00
Aiden McClelland
d657eceb08 reconcile types 2021-08-09 14:04:56 -06:00
Aiden McClelland
ea949487f1 ws subscription 2021-08-09 14:03:12 -06:00
Aiden McClelland
764c921eec add cookie expiration 2021-08-09 14:03:12 -06:00
Aiden McClelland
711766a8a4 auth middleware 2021-08-09 14:03:12 -06:00
Aiden McClelland
ce9495c6cc authentication 2021-08-09 14:00:48 -06:00
Aiden McClelland
0b579d9813 middleware 2021-08-09 14:00:48 -06:00
Aiden McClelland
8de595fafb installs working 2021-08-09 14:00:47 -06:00
Aiden McClelland
c4f38a979e add support for yaml and json manifests 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
36275f4a81 move manifest to parent 2021-08-09 13:59:19 -06:00
Aiden McClelland
d26e08014f compat 2021-08-09 13:59:19 -06:00
Aiden McClelland
a2188be4cd fix feature flag for avahi 2021-08-09 13:59:13 -06:00
Aiden McClelland
8035fb285c fix toml 2021-08-09 13:59:08 -06:00
Aiden McClelland
0fe91c023f appmgr inspect is back 2021-08-09 13:59:08 -06:00
Aiden McClelland
7bbbb5463e fix pack 2021-08-09 13:59:08 -06:00
Aiden McClelland
dcd02c03a0 migrations 2021-08-09 13:58:52 -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
d09adb76bd appmgr: offline queries 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
8871c6eec4 appmgr: minor fixes 2021-08-09 13:58:27 -06:00
Aiden McClelland
de96a54cc1 switch back to path deps cause we can't have nice things yet 2021-08-09 13:58:27 -06:00
Aiden McClelland
17fd149b58 appmgr: publish to crates.io 2021-08-09 13:57:43 -06:00