Commit Graph

45 Commits

Author SHA1 Message Date
Aiden McClelland
1e7492e915 adds recovery (#731)
* should work

* works for real

* fix build
2022-01-21 20:35:52 -07:00
Aiden McClelland
8056285a7f Backups Rework (#698)
* wip: Backup al

* wip: Backup

* backup code complete

* wip

* wip

* update types

* wip

* fix errors

* Backups wizard (#699)

* backup adjustments

* fix endpoint arg

* Update prod-key-modal.page.ts

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>

* build errs addressed

* working

* update backup command input, nix, and apk add

* add ecryptfs-utils

* fix build

* wip

* fixes for macos

* more mac magic

* fix typo

* working

* fixes after rebase

* chore: remove unused imports

Co-authored-by: Justin Miller <dragondef@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
78dcce7be5 adds package list functionality 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
Lucy C
effcd5ea57 Feature/dry auto configure (#584)
* rename variables for clarity

* return altered dep config

* add utils system image, move compat into system-images

* rename variables for clarity

* sync integration and add debug instrumentation

* debugging

* add trace instrumentation

* fix compilation for instrumentation

* fix potential deadlocking behavior

* fix import

* fix dep check response return

* hook back up to rpc, was overwritten in rebase

* fix package command

* get proper package config

* testing dep config

* version/volume for dep

* vars

* compat debugs

* clean up

* remove tar

Co-authored-by: Chris Guida <chrisguida@gmail.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
f4b70f653f misc fixes 2022-01-21 20:35:52 -07:00
Justin Miller
4d110eb613 Feat: Compare versions for update 2022-01-21 20:35:52 -07:00
Aiden McClelland
d4aa75ea93 separate context for sdk 2022-01-21 20:35:52 -07:00
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
Keagan McClelland
b8679141a0 wires up notifications 2022-01-21 20:35:52 -07:00
Aiden McClelland
6b4909750c diagnostic mode changes 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
91d08ca650 recovery mode 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
Chris Guida
7002c12fbe package properties rpc endpoint (#462) 2022-01-21 20:35:52 -07:00
Aiden McClelland
f3c6edc5c6 remove unneccesary file 2022-01-21 20:35:52 -07:00
Aiden McClelland
0847389cd1 purge the word app 2022-01-21 20:35:52 -07:00
Keagan McClelland
2f2feaf4ca adds wifi command to top level 2022-01-21 20:35:52 -07:00
Aiden McClelland
e7a594b48d enable ssh 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
Chris Guida
ee381ebce7 package logs rpc endpoint (#427)
* wip: package logs

* fixes from code review

* fix reverse flag behavior

* only embassyd uses -u, packages use CONTAINER_NAME

* make id param an enum, clean up code

* changes from rebase

* change package IDs to be of type PackageId

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-01-21 20:35:52 -07:00
Aiden McClelland
e9faf1f74d misc fixes 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
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
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
73526976a1 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>
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
Aiden McClelland
84916ad9d5 minor fixes, add nginx conf 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
281dde2462 auth middleware 2022-01-21 20:35:52 -07:00
Aiden McClelland
2dc896ef04 authentication 2022-01-21 20:35:52 -07:00
Aiden McClelland
01ed3318cb middleware 2022-01-21 20:35:52 -07:00
Aiden McClelland
b807323fa4 installs working 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
0739690dcb appmgr inspect is back 2022-01-21 20:35:52 -07:00
Aiden McClelland
3f416dda1b fix pack 2022-01-21 20:35:52 -07:00
Aiden McClelland
8b3a7c6df5 pack 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
Aiden McClelland
1c8889a60c appmgr: feature flag for avahi 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
95d3845906 0.2.5 initial commit
Makefile incomplete
2020-11-23 13:44:28 -07:00