Commit Graph

60 Commits

Author SHA1 Message Date
Keagan McClelland
a95c9f4f2d treat the old config as null when we install/recover for the first time (#1297)
* treat the old config as null when we install/recover for the first time

* reduce scope of change

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-02-28 15:24:10 -07:00
Aiden McClelland
86823e063a better rate limiting (#1296)
* better rate limiting

* actually reset counter
2022-02-28 13:06:27 -07:00
Aiden McClelland
b57f12f7ae mute crash notifs during shutdown
and increase startup grace period
2022-02-28 11:38:07 -07:00
Drew Ansbacher
61ee46f289 no init
setup complete fix and minor copy changes

return SetupResult on setup.complete
2022-02-27 22:50:23 -07:00
Aiden McClelland
c3045bcec1 update cargo.lock 2022-02-26 15:20:23 -07:00
Aiden McClelland
ec3b83eee2 update version in Cargo.toml 2022-02-26 13:28:54 -07:00
Aiden McClelland
184381b536 beta flag for backend 2022-02-25 17:24:39 -07:00
Keagan McClelland
798e17f636 adds warnings for extra manifest keys (#1278)
* adds warnings for extra manifest keys

* default to warn log level if env not specified
2022-02-25 17:18:55 -07:00
Aiden McClelland
63f0a3bca8 add success-message instead of description on health checks (#1268) 2022-02-24 12:58:56 -07:00
Keagan McClelland
df9773f8b4 Update cifs.rs 2022-02-23 16:40:12 -07:00
Chris Guida
4017d02472 speed up shutdown 2022-02-22 14:46:17 -07:00
Aiden McClelland
4fedd27faf always include dependency-info entry 2022-02-22 14:20:18 -07:00
Aiden McClelland
42e1a02a61 mute crash notifications when service is just started (#1245)
* mute crash notifications when service is just started

* mute first service crash if within 15s of start
2022-02-21 16:53:06 -07:00
Aiden McClelland
6a7ab4d188 validate description length 2022-02-21 11:41:27 -07:00
Aiden McClelland
77da4a7e0c re-add logging now that it isn't part of rpc context 2022-02-18 14:03:31 -07:00
Aiden McClelland
075e68c254 fix bug that prevents rpc context from dropping without server shutdown 2022-02-17 15:03:34 -07:00
Aiden McClelland
c443ab1419 retry file copies during migration (#1221)
* retry file copies during migration up to 10x

* fix build

* readonly mounts, and validation on v2 recovery

* banish booleans
2022-02-16 17:33:08 -07:00
J M
4a69b1138d Fixes/recover dying during starting (#1224)
* fix: Fix the panic becaues of the double install logging

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

* fix: Clippy fix for docker

* chore: Add notification on top of error

Co-authored-by: Aiden McClelland <dr-bonez@users.noreply.github.com>
2022-02-16 16:38:59 -07:00
Aiden McClelland
23f39e6bf0 fix (de)serialization of min and max 2022-02-15 23:13:13 -07:00
Aiden McClelland
dca71e62d2 cleaner ecryptfs invocation 2022-02-15 23:07:19 -07:00
Aiden McClelland
5ab2ddf267 fix backup completion on unstable 2022-02-15 23:07:19 -07:00
Aiden McClelland
cd7bb07de5 add version to cli utils 2022-02-15 17:33:41 -07:00
Aiden McClelland
3ab2a93ea7 use explicit version when downloading s9pk 2022-02-15 16:03:34 -07:00
Aiden McClelland
6789ff5a8c add version-priority to installs 2022-02-15 16:03:34 -07:00
Aiden McClelland
64e38393df handle crash loops better 2022-02-15 13:13:28 -07:00
Aiden McClelland
1837e719b6 fix wifi for raspios (#1207)
* Wip: Fix most of the wifi and 80% of initialization.sh

* fix wifi

* reorganize code

Co-authored-by: J M <mogulslayer@gmail.com>
2022-02-15 10:27:25 -07:00
Aiden McClelland
fd37bbf712 use product key instead of id for drive verification 2022-02-15 09:40:03 -07:00
Keagan McClelland
b4269ce09b prevents packages from producing conflicting ssl configs (#1195)
* prevents packages from producing conflicting ssl configs

* remove commented code

commits missing file

fix builds
2022-02-14 17:53:46 -07:00
Keagan McClelland
1df49e42fc fix autostart to use ntp 2022-02-14 12:49:01 -07:00
Keagan McClelland
350bbf88ab add time-wait-sync to embassy-init dependencies 2022-02-14 09:13:28 -07:00
Aiden McClelland
15a6bce382 fix lock scope (#1165)
* fix lock scope

* explicit unmount

* Quick Fixes

Authored: Aiden McClelland

* place E lock in transaction

Co-authored-by: J M <mogulslayer@gmail.com>
2022-02-11 14:37:36 -07:00
Aiden McClelland
76c2679600 implement delete-recovered 2022-02-11 10:39:32 -07:00
Aiden McClelland
55f5e78ae7 fix double mount 2022-02-10 21:32:32 -07:00
Aiden McClelland
e3fd98f8c9 fix label parser 2022-02-10 21:32:32 -07:00
Keagan McClelland
1d8512e1dd removes charge tune 2022-02-10 15:25:35 -07:00
Keagan McClelland
1fa524dfed preserves ssh host keys and machine ids
explicitly await unmounts
2022-02-10 15:22:19 -07:00
Keagan McClelland
4b24c583cb remove redundant imports 2022-02-10 14:26:22 -07:00
Keagan McClelland
cdaf57713f remove error log reporting from backend 2022-02-10 14:26:22 -07:00
Keagan McClelland
5326de9b84 fixes calculation of disk percentage 2022-02-10 13:58:18 -07:00
Aiden McClelland
3c8b6e4f83 bugfix: inverts mapping for lan config 2022-02-09 15:10:43 -07:00
Aiden McClelland
f57f7022a1 limit icon size to 100K 2022-02-09 14:05:39 -07:00
Aiden McClelland
1d97856922 better devtools 2022-02-09 14:05:39 -07:00
Aiden McClelland
c413814ac4 fix s9pk reader pos update 2022-02-09 14:05:39 -07:00
Aiden McClelland
3f096bae60 exclude backup volume 2022-02-09 14:05:39 -07:00
Aiden McClelland
08770567d2 add validation to s9pks 2022-02-09 14:05:39 -07:00
Aiden McClelland
d3c5648608 pre-download static files, and add api versioning 2022-02-09 10:18:22 -07:00
Aiden McClelland
691d567d31 attach api and better pubkey serialization 2022-02-09 10:18:22 -07:00
Aiden McClelland
5c7c23459d take marketplace as an argument from the frontend 2022-02-09 10:18:22 -07:00
Aiden McClelland
79e4c6880a switch base os to raspberry pi os
minor fixes

more robust
2022-02-08 09:55:39 -07:00
Aiden McClelland
cd494f4f4b perform docker state build if folder doesn't exist 2022-02-02 10:43:24 -07:00