Commit Graph

66 Commits

Author SHA1 Message Date
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
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
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
f922a6f08c closes #659 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
Aiden McClelland
e4a40ac32d refactor: remove sync daemon (#765)
* refactor: remove sync daemon

* improve code organization
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
Aiden McClelland
1e7492e915 adds recovery (#731)
* should work

* works for real

* fix build
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
Keagan McClelland
f7465da797 Certificate Imports/Exports (#687)
* allows for root/int certificate imports, certain invariants are not checked at this time

* refactor ssl module to only import root certificate

* implements certificate export, propagates import functionality all the way to NetController::init
2022-01-21 20:35:52 -07:00
J M
516ce9672c Feat--auth-static (#684)
* feat: static server

* WIP: Idea (#685)

* wip: New Idea

Use tokens as proofs.
Use proofs as arguments.
Return proofs as indication of side effects?
Forced constructor pattern?

* chore: Use the has notation for reciepts

* chore: Example to main db mod

* feat: Content headers

* polish

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-01-21 20:35:52 -07:00
Aiden McClelland
69382f788d instrument all the things 2022-01-21 20:35:52 -07:00
Aiden McClelland
77d34c2a64 re-add share stats 2022-01-21 20:35:52 -07:00
Justin Miller
c3ac27865d chore: Get the tracing in 2022-01-21 20:35:52 -07:00
Justin Miller
81164f974f chore: moving to color_eyre 2022-01-21 20:35:52 -07:00
Aiden McClelland
b2fa955ad5 fix recovery 2022-01-21 20:35:52 -07:00
Aiden McClelland
e58df7ec4a v2 migration 2022-01-21 20:35:52 -07:00
Aiden McClelland
f4b70f653f misc fixes 2022-01-21 20:35:52 -07:00
Keagan McClelland
d58a950762 implements notification debouncing 2022-01-21 20:35:52 -07:00
Aiden McClelland
f46d935bb0 fix imports 2022-01-21 20:35:52 -07:00
Aiden McClelland
381b5c4855 increase sqlite timeout 2022-01-21 20:35:52 -07:00
Keagan McClelland
b7e6729272 adds metrics task to launch sequence 2022-01-21 20:35:52 -07:00
Keagan McClelland
81bbb734fa fixes socks port on tor health checks 2022-01-21 20:35:52 -07:00
Aiden McClelland
8c6fab319a shutdown setup rpc server after setup 2022-01-21 20:35:52 -07:00
Aiden McClelland
7622616856 prefer btreemap over hashmap 2022-01-21 20:35:52 -07:00
Aiden McClelland
d4aa75ea93 separate context for sdk 2022-01-21 20:35:52 -07:00
Keagan McClelland
a3e307dd38 implements module level logging 2022-01-21 20:35:52 -07:00
Aiden McClelland
e3d8861199 miscellaneous fixes 2022-01-21 20:35:52 -07:00
Keagan McClelland
6de22116ce fixes build issues 2022-01-21 20:35:52 -07:00
Keagan McClelland
eaa04f1b8c fix build issue 2022-01-21 20:35:52 -07:00
Keagan McClelland
0517e2d4e8 exclusive lock on cookie file 2022-01-21 20:35:52 -07:00
Keagan McClelland
68fbc34bce 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
2022-01-21 20:35:52 -07:00
Keagan McClelland
a7363ae4e1 fixes logging 2022-01-21 20:35:52 -07:00
Aiden McClelland
6b4909750c diagnostic mode changes 2022-01-21 20:35:52 -07:00
Aiden McClelland
55b003cb72 setup flow fixes 2022-01-21 20:35:52 -07:00
Aiden McClelland
df50197c5f fix build 2022-01-21 20:35:52 -07:00
Keagan McClelland
ce543b7d69 fixes error log reporting (#469) 2022-01-21 20:35:52 -07:00
Keagan McClelland
6cb706785d implements error log reporting (#464)
* implements error log reporting

* changes api post variables, includes warnings
2022-01-21 20:35:52 -07:00
Aiden McClelland
bf701e2e28 setup flow mvp complete 2022-01-21 20:35:52 -07:00
Keagan McClelland
c6a0cf90bf implements session counter (#463)
* implements session counter

* implements session ids
2022-01-21 20:35:52 -07:00
Aiden McClelland
f848697e99 fix config.set 2022-01-21 20:35:52 -07:00
Aiden McClelland
ccf505d0d3 misc fixes 2022-01-21 20:35:52 -07:00
Aiden McClelland
483e02a41b init, shutdown and restart 2022-01-21 20:35:52 -07:00
Aiden McClelland
3877e43b84 configure datadir on context 2022-01-21 20:35:52 -07:00
Aiden McClelland
064c905bd3 custom_cli 2022-01-21 20:35:52 -07:00
Aiden McClelland
9fb02c6a1e overhaul context 2022-01-21 20:35:52 -07:00
Aiden McClelland
6093518e46 load os tor key from db 2022-01-21 20:35:52 -07:00
Aiden McClelland
cdca5e1b67 address bugs 2022-01-21 20:35:52 -07:00
Keagan McClelland
982ebc01a4 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
2022-01-21 20:35:52 -07:00