Commit Graph

53 Commits

Author SHA1 Message Date
Justin Miller
4d110eb613 Feat: Compare versions for update 2022-01-21 20:35:52 -07:00
Aiden McClelland
4e9849cd38 refactor dependency errors (#574)
* refactor dependency errors

* fix hostname after restart

* fix errors from testing

* fix updating of current_dependents

* fixes
2022-01-21 20:35:52 -07:00
Aiden McClelland
66e7d2c703 misc fixes 2022-01-21 20:35:52 -07:00
Aiden McClelland
1a86f393d6 use btreemap instead of indexmap
to establish canonical lock ordering
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
Aiden McClelland
8a2622c05f use new locking api 2022-01-21 20:35:52 -07:00
Lucy C
6b62f0a883 Update compatibility image (#440)
* backup create compiling

* backup restore compiling

* wip

* wip

* backups compiling

* wip

* wip update set result

* fix config set

* wip remove async

* make synchronous

* add build steps

* remove tokio

* add restore subcommand

* fix set to read stdin

* add package properties key

* proper error handle

* create config path if it doesnt exist

* fix merge conflict

* make config a path and koin config file when needed

* update cargo lock

* fix cargo lock

* update properties sub command

* fix dependency check and auto configure; clean up error handling

* fix errors

* fix properties subcommand order

* fix cargo lock

* update cargo.lock

* update appmgr cargo lock with build-portable

* fix error strings and input dependency config in dependency commands

* rename temp file instead

* read dependent config file

* fix temp config file creation

* create config file regardless if it exists

* add curl

* wip refactor config

* wip refactor config

* update rules to use embassyos config type

Co-authored-by: Chris Guida <chrisguida@gmail.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
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
90516855d6 update deps 2022-01-21 20:35:52 -07:00
Aiden McClelland
45d945db2e fix tor addressing for realzies 2022-01-21 20:35:52 -07:00
Aiden McClelland
2f8e71d459 unpack assets 2022-01-21 20:35:52 -07:00
Aiden McClelland
8f362e7d1e begin setup flow 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
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
Lucy Cifferello
89246b4dd4 update torut with fork for dependency fix 2022-01-21 20:35:52 -07:00
Aiden McClelland
1f48fcfb97 cleanup wip; change cbor lib 2022-01-21 20:35:52 -07:00
Keagan McClelland
6c7dc71ed4 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>
2022-01-21 20:35:52 -07:00
Keagan McClelland
da5a0d622b 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>
2022-01-21 20:35:52 -07:00
Keagan McClelland
f92db6fac8 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
2022-01-21 20:35:52 -07:00
Keagan McClelland
1059ccfc96 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>
2022-01-21 20:35:52 -07:00
Aiden McClelland
a1f1dc2ce7 reconcile types 2022-01-21 20:35:52 -07:00
Aiden McClelland
0d9101841c ws subscription 2022-01-21 20:35:52 -07:00
Aiden McClelland
281dde2462 auth middleware 2022-01-21 20:35:52 -07:00
Aiden McClelland
01ed3318cb middleware 2022-01-21 20:35:52 -07:00
Aiden McClelland
34e4c12af3 switch to managers: wip 2022-01-21 20:35:52 -07:00
Aiden McClelland
2e3e551564 compat 2022-01-21 20:35:52 -07:00
Aiden McClelland
3f416dda1b fix pack 2022-01-21 20:35:52 -07:00
Aiden McClelland
351ce2495d appmgr: offline queries 2022-01-21 20:35:52 -07:00
Aiden McClelland
04b9ef8222 appmgr: basic tor sync 2022-01-21 20:35:52 -07:00
Aiden McClelland
6e314f4ca9 appmgr: publish to crates.io 2022-01-21 20:35:52 -07:00
Aiden McClelland
8954e3e338 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
2022-01-21 20:35:52 -07:00
Keagan McClelland
183f91859a fixes apt-update issue 100 where Suites changed, kills update sound t… (#422)
* fixes apt-update issue 100 where Suites changed, kills update sound thread, sets updating to false if synchronization fails

* cleans up code

* appmgr changes

* ui changes

* updates required appmgr in agent

* actually upgrade current version in appmgr
2021-08-23 14:30:08 -06:00
Keagan McClelland
18a069e6fd Release/0.2.15 (#411)
* remove all apt-get calls from check phase of startup

* Fix "n is undefined" config spec change bug (#392)

Fixes the issue where an old config with a new config spec sometimes renders the config inaccessible, with the error `n is undefined`

* updates version numbers

* version change for appmgr

* updates version numbers and welcome message

* adds migration for 0.2.15 to the agent

* actually add 0.2.15 migration to appmgr

Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
2021-08-18 15:28:32 -06:00
Keagan McClelland
6334d79c01 updates appmgr to 0.2.14 ceremonial 2021-07-20 16:54:50 -06:00
Matt Hill
8f9111ce3d Integration/0.2.13 (#324)
* updates to 8.10.4, adjusts dependencies, adds license info feature

* add toJSON

* add licesne info to services

* remove mocks

* adds license info to available show

* prepare upgrade messaging

* better welcome message

* update backend versioning to 0.2.13

* add version migration file

* update ui build scripts

* update eos image

* update eos image with embassy

* add migration files

* update welcome page

* explicity add migration files

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2021-05-19 11:46:37 -06:00
Aiden McClelland
6ef46ae309 bump version 2021-04-02 10:55:52 -06:00
Aiden McClelland
7e7a9dc140 appmgr: version bump 2021-03-12 15:42:18 -07:00
Keagan McClelland
5339b23ea6 0.2.10 version bump stuff (#238)
* agent -> 0.2.10

* appmgr -> 0.2.10

* updates to 0.2.10 for the UI

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2021-03-08 16:38:24 -07:00
Aiden McClelland
d9894d4082 appmgr: pin yajrc to c2952a4a 2021-03-03 10:29:09 -07:00
Keagan McClelland
7fb8f88c8d pins yajrc to git 2021-03-03 10:29:09 -07:00
Keagan McClelland
c83baec363 Appmgr/feature/lan (#209)
* WIP: Lan with blocking

* stuff

* appmgr: non-ui lan services

* dbus linker errors

* appmgr: allocate on stack

* dns resolves finally

* cleanup

* appmgr: generate ssl if missing

* appmgr: remove -p for purge

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2021-03-03 10:29:09 -07:00
Aiden McClelland
53720130b3 appmgr: add support for actions 2021-03-03 10:29:09 -07:00
Aiden McClelland
6f09738b49 appmgr: write nginx conf when writing tor conf (#177)
* appmgr: write nginx conf when writing tor conf

* appmgr: fix hardcoded certs

* appmgr: add down for 0.2.9
2021-03-03 10:29:09 -07:00
Aiden McClelland
25c55ea426 appmgr: sync after deleting hostname 2021-01-25 09:55:02 -07:00
Aiden McClelland
c72b7425fc appmgr: fix tokio-tar 2021-01-25 09:55:02 -07:00
Aaron Greenspan
0874d77403 appmgr: version to 0.2.8 2021-01-25 09:55:02 -07:00
Aiden McClelland
7b0f99881b appmgr: update tokio tar to v3 2020-12-09 13:49:47 -07:00
Aiden McClelland
3a082c108b appmgr: update to tokio 0.3.4 2020-12-08 12:22:57 -07:00