Commit Graph

74 Commits

Author SHA1 Message Date
Aiden McClelland
331ca17fb4 rename symbols about dependencies 2022-01-21 20:35:52 -07:00
Aiden McClelland
2384e60d0f update patch-db 2022-01-21 20:35:52 -07:00
Aiden McClelland
b29060e0af fixes #849 2022-01-21 20:35:52 -07:00
Aiden McClelland
a2528a13df correctly handle self as current dependent 2022-01-21 20:35:52 -07:00
Aiden McClelland
e6fb74a800 Feature/cloud backups (#889)
* cifs for cloud backups on lan

* password spelling fix

* fix spelling and fix rpc method

* fix other methods

* remove old code and rename method

* add support for cifs backup targets

wip

cifs api

simplify idiom

add doc comment

wip

wip

should work™

* add password hash to server info

* fix type

* fix types for cifs

* minor fixes for cifs feature

* fix rpc structure

* fix copy, address some TODOs

* add subcommand

* backup path and navigation

* wizard edits

* rebased success page

* wiz conflicts resolved

* current change actually

* only unsub if done

* no fileter if necessary

* fix copy for cifs old password

* setup complete (#913)

* setup complete

* minor fixes

* setup.complete

* complete bool

* setup-wizard: complete boolean

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
e6d1e49984 remove unnecessary debug 2022-01-21 20:35:52 -07:00
Keagan McClelland
351cef4141 refactor logic around migrations to be more representative of reality 2022-01-21 20:35:52 -07:00
Aiden McClelland
3382469fe0 fix package.install return type 2022-01-21 20:35:52 -07:00
Keagan McClelland
aea5dfe04a Bugfix/protocol consistency (#846)
* fix eos <-> registry protocol

* fix ui <-> eos protocol

* redoes the embassyd api to accept an optional version spec argument, still allowing for CLI @ syntax

* redo the front end in accordance with the new api

* Update appmgr/src/install/mod.rs

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

* fix more query params

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
d4b41f3163 address #774 & #801 (#839) 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
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
e3f7e857e3 eos-version-compat 2022-01-21 20:35:52 -07:00
Aiden McClelland
d55586755d closes #661 and #737 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
Keagan McClelland
5eca577152 Feature/issue notifications (#695)
* issues notification for installation failure

* issues notification for uninstall failure

* fixes notification api
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
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
Lucy C
c68342ee10 add system images to os build process (#620)
* update compat build and add to os build process

* copy to explicit file

* fix paths and loading input

* temp save docker images output

* add docker config file to suppress warning

* notes and first attempt of load image script

* pr fixes

* run as root, fix executable path

* wip fixes

* fix pool name and stop docker before umount

* start docker again

* reset docker fs

* remove mkdir

* load system images during embassy-init

* add utils to make build

* fix utils source

* create system-images dir as root

* cleanup

* make loading docker images datadir agnostic

* address PR feedback

* rework load images

* create shutdown channel on failed embassy-init run

* pr feedback

* fix import
2022-01-21 20:35:52 -07:00
Lucy Cifferello
7adb66cf4c add spantrace debug logs 2022-01-21 20:35:52 -07:00
Aiden McClelland
492cb7440b improve patch-db locking 2022-01-21 20:35:52 -07:00
Aiden McClelland
69382f788d instrument all the things 2022-01-21 20:35:52 -07:00
Lucy C
6dcddafcd4 update breakage response type (#642) 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
Justin Miller
dc96e74391 chore: Refactor out big fn 2022-01-21 20:35:52 -07:00
Aiden McClelland
c2150efb69 reorganize 2022-01-21 20:35:52 -07:00
Aiden McClelland
e58df7ec4a v2 migration 2022-01-21 20:35:52 -07:00
Chris Guida
89dcf693e0 only remove existing dependents
also update patch-db submodule to pull in logging updates
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
Lucy Cifferello
c931a922fb parent 792c8b2c63
author Lucy Cifferello <12953208+elvece@users.noreply.github.com> 1633389065 -0600
committer Lucy Cifferello <12953208+elvece@users.noreply.github.com> 1633392210 -0600
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIzBAABCAAdFiEE3X0bBKW79BqaYR/F8FBkfE2sxvMFAmFbllIACgkQ8FBkfE2s
 xvOMxQ/9GA3sBp0dH3X2Gm0Rao0pdBppNx0sYbNfliQulP0n62fzoSFJ2fKkwDOj
 IpcvL7R6lVqO58JD04GSTCfnpSJCKC3YtbgQ5kNhKbZLupLONrdbmk4DZp2hp2ng
 +6Q6e0soPcXbzm1Q63ovCasrQwEMmePEMq1WI4aeCuQhtVJz0D8uWy5kkiF1gNT0
 29jqQQJsMtr2bG1OrHfg+f8ZPBYYsH+cW2LEUyR7sIIAWVAZYn0KYQQb6n+7tYv+
 +dNRCx+k6BW7NX1df7HK3yhN7zr1oR1ETrojShFjA6i4rbCM1fgfX3Gfchu8SiKQ
 FTtZ1nIqVo8NvK6dM2ut6GBB5TdFE3tG3a/xhSnBwSXHcgyTD2vMO0yHJe2Uizq2
 3dylgnEcFQPTZZmQWvW5Vh95fhgGd8KhH10NWnbWotTtOvDsTe6abNZfkSat6S1J
 SDK0jI1CxDyj3m1CCSbmCyMMEXqAUDlVq9AFbQEAIsr80plBrKg28Z9Y4/Qs/u4x
 5LKqPu9479uQfDdJixFUKG6eSRowMhjBYaV7ylfExm6BDjBuzEPVcj5sC65WoKNb
 3an7+jQK5gb7IeGzzEWw4+DmmMKVv+mM2FOA0eCCR7xFQne72CDxaAepAKi3FxuS
 OsorndhT+nWzP388Selj+D3B077XIMErSZKEl4gGtOXqIDbmi6Y=
 =LuAW
 -----END PGP SIGNATURE-----

fix rpc context argument for embassy init

fix rpc context argument for embassy init

pass in datadir rather than entire rpc context

fix config path reference

fix merge conflict

cleanup imports

fix reference convention

remove uneeded import
2022-01-21 20:35:52 -07:00
Lucy Cifferello
7185478137 absolute path to package docker dir 2022-01-21 20:35:52 -07:00
Aiden McClelland
ef1cd70fbc dry uninstall 2022-01-21 20:35:52 -07:00
Aiden McClelland
796e3300b9 patches for dependency errors 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
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
Aiden McClelland
a28f6ca5e2 change dependency requirement structure 2022-01-21 20:35:52 -07:00
Aiden McClelland
e3d8861199 miscellaneous fixes 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
5154fcf9da docker image persistence 2022-01-21 20:35:52 -07:00
Aiden McClelland
55b003cb72 setup flow fixes 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
5fa826fdc3 lock package-data during install 2022-01-21 20:35:52 -07:00
Aiden McClelland
0847389cd1 purge the word app 2022-01-21 20:35:52 -07:00
Aiden McClelland
2f8e71d459 unpack assets 2022-01-21 20:35:52 -07:00
Aiden McClelland
ccf505d0d3 misc fixes 2022-01-21 20:35:52 -07:00