Commit Graph

203 Commits

Author SHA1 Message Date
Chris Guida
80def81fbb implement package.action rpc/cli command (#503)
* implement package.action rpc/cli command

* use action id instead of name

* make ActionResult display impl nicer

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-01-21 20:35:52 -07:00
Aiden McClelland
3dfecb88c4 write nginx conf in diagnostic mode 2022-01-21 20:35:52 -07:00
Aiden McClelland
9b6bae7e94 fix lock held on different handle 2022-01-21 20:35:52 -07:00
Aiden McClelland
8a2622c05f use new locking api 2022-01-21 20:35:52 -07:00
Keagan McClelland
eafe7f7348 removes dependency errors when there are none 2022-01-21 20:35:52 -07:00
Aiden McClelland
2716535705 status daemon no longer deadlocking 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
d5e59db7cc fixes revisions for notifications (#511) 2022-01-21 20:35:52 -07:00
Keagan McClelland
d7ecc0b6e7 fix sqlx build issues 2022-01-21 20:35:52 -07:00
Keagan McClelland
b5f74cdde4 return full ssh key response on add 2022-01-21 20:35:52 -07:00
Keagan McClelland
1fa97164ea fix fingerprint return 2022-01-21 20:35:52 -07:00
Keagan McClelland
25cf20dee3 rename hash to fingerprint 2022-01-21 20:35:52 -07:00
Keagan McClelland
f9d91b3cfb adds context to filesystem calls for nginx 2022-01-21 20:35:52 -07:00
Keagan McClelland
e111e83c49 removes all dbg! macros 2022-01-21 20:35:52 -07:00
Keagan McClelland
55346c2115 remove dbg! 2022-01-21 20:35:52 -07:00
Keagan McClelland
ddeb5f372d rename ssh 'remove' to 'delete' 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
f8f64e8d6e fixes self-dependency bug (#486)
* fixes self-dependency bug

* fixes build errors, hopefully memory usage isn't garbage

* reduces allocations

* spurious import
2022-01-21 20:35:52 -07:00
Keagan McClelland
b8679141a0 wires up notifications 2022-01-21 20:35:52 -07:00
Keagan McClelland
e75ac1e1b8 fix octaves for mario death 2022-01-21 20:35:52 -07:00
Keagan McClelland
a7363ae4e1 fixes logging 2022-01-21 20:35:52 -07:00
Keagan McClelland
b04892f5f4 properly renames share-stats 2022-01-21 20:35:52 -07:00
Aiden McClelland
a59036d438 todos for diagnostic mode 2022-01-21 20:35:52 -07:00
Aiden McClelland
6b4909750c diagnostic mode changes 2022-01-21 20:35:52 -07:00
Aiden McClelland
5154fcf9da docker image persistence 2022-01-21 20:35:52 -07:00
Aiden McClelland
9fe132fcac todo for actions 2022-01-21 20:35:52 -07:00
Aiden McClelland
4906375cbd force pool creation 2022-01-21 20:35:52 -07:00
Aiden McClelland
6556caf55d fixes for disk list 2022-01-21 20:35:52 -07:00
Aiden McClelland
55b003cb72 setup flow fixes 2022-01-21 20:35:52 -07:00
Keagan McClelland
f4d184ccb0 replace todo with actual notify call 2022-01-21 20:35:52 -07:00
Keagan McClelland
c5724f40b7 Implements a notification system for EmbassyOS 2022-01-21 20:35:52 -07:00
Aiden McClelland
8dc3377bbd mdns and nginx for main service 2022-01-21 20:35:52 -07:00
Aiden McClelland
9fb57d038a mario death 2022-01-21 20:35:52 -07:00
Aiden McClelland
6b3570e150 recovery mode in embassyd 2022-01-21 20:35:52 -07:00
Aiden McClelland
df50197c5f fix build 2022-01-21 20:35:52 -07:00
Aiden McClelland
91d08ca650 recovery mode 2022-01-21 20:35:52 -07:00
Aiden McClelland
a8688474f7 fix dependency error 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
a4ef11a60f make bep less intense 2022-01-21 20:35:52 -07:00
Aiden McClelland
80cbca25b9 fix missing borrow 2022-01-21 20:35:52 -07:00
Chris Guida
c75ac3ec62 fix package properties container name 2022-01-21 20:35:52 -07:00
Aiden McClelland
8a54775afb more aggressive locks on health check daemon 2022-01-21 20:35:52 -07:00
Aiden McClelland
5fa826fdc3 lock package-data during install 2022-01-21 20:35:52 -07:00
Keagan McClelland
288ad14060 adds bep to embassy startup sequence (#468)
* adds bep to embassy startup sequence

* always run postinit

* Update appmgr/src/bin/embassy-init.rs

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
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
Keagan McClelland
561e09016d 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>
2022-01-21 20:35:52 -07:00
Keagan McClelland
c91790d1eb 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>
2022-01-21 20:35:52 -07:00
Aiden McClelland
5b7cd2a565 dont set guid until setup is complete 2022-01-21 20:35:52 -07:00