Commit Graph

1459 Commits

Author SHA1 Message Date
Aiden McClelland
3372da9f80 include download errors in error handler 2022-01-21 20:35:52 -07:00
Aiden McClelland
0b1f544fd7 fix lock type escalation 2022-01-21 20:35:52 -07:00
Lucy C
5b87aca298 Bugfix/backup lock (#1093)
* add write lock before getting model

* update compat cargo.lock file

* update encryptfs passphrase cmd

* add additional safeguards around dropping stdin handles

* proper lock ordering for server status
2022-01-21 20:35:52 -07:00
Drew Ansbacher
5d9f7e412c rebase 2022-01-21 20:35:52 -07:00
Drew Ansbacher
199ce9a56f Update server-show.page.ts 2022-01-21 20:35:52 -07:00
Drew Ansbacher
0809ff9f57 hard restart feature 2022-01-21 20:35:52 -07:00
Keagan McClelland
1dccde4923 reorder image loads on rebuilds 2022-01-21 20:35:52 -07:00
Keagan McClelland
e2ab4f4fe1 restart -> rebuild 2022-01-21 20:35:52 -07:00
Aiden McClelland
4a97908b2b only reset docker state on hard-restart 2022-01-21 20:35:52 -07:00
Keagan McClelland
5278a22aef fixes shutdown issues (#1106) 2022-01-21 20:35:52 -07:00
Aiden McClelland
75dbc0bd76 return null for tor-key pointer if doesn't exist 2022-01-21 20:35:52 -07:00
Keagan McClelland
666f1bc0eb Integration/02x migration fixes (#1105)
* migrate root ca from 0.2.x

* migrate tor key, fix threading

* fixes lan address divergence across setup scenarios

* verifies that data drive matches the OS key on attachment

* fix 0.2.x recovery flow

* fixes issues with reading the product_key.txt file when it doesn't exist (NO_KEY=1)

* migrate tor key before initializing patchdb

* move patchdb lock guard acquisition into deferred async block

* pass product_key by parameter

* works, fucking finally

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-01-21 20:35:52 -07:00
Aiden McClelland
9d13c48640 use cloud-init correctly 2022-01-21 20:35:52 -07:00
J M
38d4da9f86 Fix/show errors (#1075)
* chore: Show errors

* chore: Quick fix
2022-01-21 20:35:52 -07:00
Drew Ansbacher
49541c7b27 unplug notification 2022-01-21 20:35:52 -07:00
Aiden McClelland
a16eacd3f8 clear dmsetup before import 2022-01-21 20:35:52 -07:00
Aiden McClelland
8e5a7ea9a7 fix bug where migrations would only run if the service was previously configured 2022-01-21 20:35:52 -07:00
Matt Hill
badf8c508f fixes #1096 2022-01-21 20:35:52 -07:00
J M
577b75a76c Fix: Show A Message such that the user will know there is something wrong (#1092)
* Fix: Show A Message such that the user will know there is something wrong

Fixes #31

* Update main.rs

* Apply suggestions from code review

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

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Matt Hill
1dd1d21694 minor wording 2022-01-21 20:35:52 -07:00
Matt Hill
ebfea51571 fix copy 2022-01-21 20:35:52 -07:00
Drew Ansbacher
fc081f1924 highlight text 2022-01-21 20:35:52 -07:00
Drew Ansbacher
4c6abe7e60 refresh button in embassy drive page in wizard 2022-01-21 20:35:52 -07:00
Drew Ansbacher
13c6201893 dont need patch 2022-01-21 20:35:52 -07:00
Drew Ansbacher
84775bb8ba no more feature 2022-01-21 20:35:52 -07:00
Drew Ansbacher
20d7f7b236 suggest ssh key 2022-01-21 20:35:52 -07:00
Lucy C
f29608576d add protocol header for proxied services (#1076) 2022-01-21 20:35:52 -07:00
Keagan McClelland
4189da20e1 reconfigures dependents with live pointers when package is installed … (#1053)
* reconfigures dependents with live pointers when package is installed or removed

* fixes bugs with pointer remapping
2022-01-21 20:35:52 -07:00
J M
b1c63aafa7 fix: Add conversion for old type (#1070) 2022-01-21 20:35:52 -07:00
Drew Ansbacher
87f9078b54 health name off manifest (#1064)
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00
Matt Hill
63e03f7bd7 listen for expand event in list object 2022-01-21 20:35:52 -07:00
Keagan McClelland
cb8c339e99 make nginx resilient to intermittent DNS resolution failure if it coincides with nginx startup 2022-01-21 20:35:52 -07:00
Keagan McClelland
00735d3a4d make things work when NO_KEY isn't specified 2022-01-21 20:35:52 -07:00
Keagan McClelland
486976eea0 fixes issue where hostnames would change on package reinstall/update 2022-01-21 20:35:52 -07:00
Aiden McClelland
702253a18c copy change 2022-01-21 20:35:52 -07:00
Drew Ansbacher
78065e7f95 warning for reconnect 2022-01-21 20:35:52 -07:00
Aiden McClelland
eaffa8e53c reconnect flag 2022-01-21 20:35:52 -07:00
Lucy Cifferello
48409c33d4 git ignore gzipped img files 2022-01-21 20:35:52 -07:00
Alex Inkin
f9628f0230 fix: progress not updating (#1055) 2022-01-21 20:35:52 -07:00
Chris Guida
502b179eef add .embassy domains to system-generated ssl certs (#1052) 2022-01-21 20:35:52 -07:00
Aiden McClelland
bb674c454b update patch-db 2022-01-21 20:35:52 -07:00
J M
abe3ac464d Fix/timeout errors (#1051)
* wip: Working with docker timeouts

* fix: Make the fixes

* chore: small fixes

* chore: Remove not used 143

* chore: Put back
2022-01-21 20:35:52 -07:00
Keagan McClelland
da9fa31cff destroy all warnings
make idiomatic binding elision

remove unused struct line item

put back warning about not handling mdns errors T.T
2022-01-21 20:35:52 -07:00
Keagan McClelland
adeaabfa5f fixes an issue where if a package had multiple port mappings, only the last one would get an nginx config
include the nginx paths when *removing* a package
2022-01-21 20:35:52 -07:00
Keagan McClelland
cc0535ad5b change default registry based on 'beta' feature flag, make 'beta' default for now 2022-01-21 20:35:52 -07:00
Keagan McClelland
d3ab3cb46b fix lock ordering 2022-01-21 20:35:52 -07:00
Keagan McClelland
8c1016b3eb removed broken packages entry in patchdb 2022-01-21 20:35:52 -07:00
Drew Ansbacher
f6d67142cb enter click hack (#1048)
* enter click hack

* css class fix:

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00
J M
1086ce13d2 feature: Swapping to use nmcli (#1015)
The reason is that we get better errors and that we get signal strength.
Reworking all the commands to use nmcli instead.
Feat: Wifi List Available
Feat: strength sort for available
fix: Backend to match the frontend asking
feat: New get with all information
chore: Make backend changing country not for NonWire

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00
Drew Ansbacher
689b449d7a intialize setup wizard with no routing (#1047)
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00