Commit Graph

58 Commits

Author SHA1 Message Date
Aiden McClelland
c728f1a694 restructure initialization (#1816)
* reorder enabling of systemd-resolved

* set dns at end

* don't disable interfaces

* let networkmanager manage ifupdown

* restructure initialization

* use pigz when available

* cleanup

* fetch key before adding registry

* fix build

* update patch-db

* fix build

* fix build

* wait for network reinit

* add dynamic wait for up to 60s for network to reinit
2022-09-22 11:40:36 -06:00
Lucy C
28f9fa35e5 Fix/encryption (#1811)
* change encryption to use pubkey and only encrypt specific fields

* adjust script names for convenience

* remove unused fn

* fix build script name

* augment mocks

* remove log

* fix prod build

* feat: backend keys

* fix: Using the correct name with the public key

* chore: Fix the type for the encrypted

* chore: Add some tracing

* remove aes-js from package lock file

Co-authored-by: BluJ <mogulslayer@gmail.com>
2022-09-21 14:03:05 -06:00
Aiden McClelland
ca53793e32 stop leaking avahi clients (#1802)
* stop leaking avahi clients

* separate avahi to its own binary
2022-09-15 12:53:46 -06:00
Aiden McClelland
76682ebef0 switch to postgresql (#1763)
switch sqlx to postgresql
2022-09-01 10:32:01 -06:00
Lucy C
9e7526c191 fix build for patch-db client for consistency (#1722) 2022-08-10 16:48:44 -06:00
Aiden McClelland
8207770369 write image to sparse-aware archive format (#1709) 2022-08-01 15:39:36 -06:00
Aiden McClelland
13b97296f5 formatting (#1698) 2022-07-27 18:00:48 -06:00
Aiden McClelland
f455b8a007 ask for sudo password immediately during make (#1693) 2022-07-26 10:32:32 -06:00
Aiden McClelland
9a01a0df8e refactor build process (#1675)
* add nc-broadcast to view initialization.sh logs

* include stderr

* refactor build

* add frontend/config.json as frontend dependency

* fix nc-broadcast

* always run all workflows

* address dependabot alerts

* fix build caching

* remove registries.json

* more efficient build
2022-07-21 15:18:44 -06:00
Aiden McClelland
bbcf2990f6 fix build (#1639) 2022-07-13 11:14:50 -06:00
Thomas Moerkerken
36e0ba0f06 Add basic GitHub workflows builds (#1578)
* add easy target for backend build

* add reusable backend build workflow

* add reusable frontend build workflow

* add full build workflow

* add some comments
2022-07-05 13:46:06 -06:00
J M
ee66395dfe chore: commit the snapshots (#1592) 2022-06-30 12:39:51 -06:00
Lucy C
123f71cb86 Fix/mask generic inputs (#1570)
* add masking to generic input component

* clear inputs after submission

* adjust convenience FE make steps

* cleaner masking

* remove mask pipe from module

* switch to redacted font
2022-06-27 13:51:35 -06:00
J M
477d37f87d feat: Make sdk (#1564) 2022-06-21 10:25:54 -06:00
Lucy Cifferello
37304a9d92 chore: cleanup and small misc fixes
display success alert if on latest EOS after check for update

fix bug with loader dismiss after alert present

fix restart button on update complete alert and fix mocks to account for this state

fix make clean and adjust default registry names
2022-06-19 13:46:09 -06:00
J M
b8751e7add Chore/version 0 3 1 0 (#1475)
* feat: move over to workspaces

* chore: Move to libs

* chore:fix(build): Compat

* chore: fixing pr
2022-06-01 10:22:00 -06:00
J M
7f2494a26b Fix/making js work (#1456)
* Feat: js action

wip: Getting async js

feat: Have execute get action config

feat: Read + Write

chore: Add typing for globals

chore: Change the default path, include error on missing function, and add json File Read Write

chore: Change the default path, include error on missing function, and add json File Read Write

wip: Fix the unit test

wip: Fix the unit test

feat: module loading

* fix: Change the source + add input

* fix: Change the source + add input

wip: Fix missing js files during running

fix: Change the source + add input

wip: Fix missing js files during running

* fix: other paths

* feat: Build the arm js snapshot

* fix: test with more

* chore: Make the is_subset a result
2022-05-25 12:19:40 -06:00
Lucy C
8cf000198f Fix/id params (#1414)
* watch config.json for changes when just building frontend

* fix version for data consistency

* clone param ids so not recursively stringified; add global type for stringified instances

* ensure only most recent data source grabbed to fix issue with service auto update on marketplace switch

* use take instead of shallow cloning data
2022-05-10 12:20:32 -06:00
Mariusz Kogen
1ac711c864 smarter wget
If for some reason make will be interrupted, wget will try to download .zip file and cause the name is taken it will download it to .zip1 which wont be recognized. This fixes it.
2022-04-15 15:26:00 -04:00
kn0wmad
82c2adbc7b Update Makefile (#1400)
Remove FE config file during a `make clean`
2022-04-15 10:57:25 -06:00
Lucy C
39a2685506 Fix/config obj list (#1351)
* remove deprecated build check

* fixed config types for object and union; cleaned up mock api fixtures

* make form object element transition times consistent and emit expand event on list object items
2022-03-23 09:39:55 -06:00
Aiden McClelland
faf0b4db6e update Makefile to use js script 2022-02-26 10:58:12 -07:00
Aiden McClelland
79e4c6880a switch base os to raspberry pi os
minor fixes

more robust
2022-02-08 09:55:39 -07:00
Lucy C
4c14ce70c6 fix circular dependency warning (#1161)
* fix circular dependency warning
2022-02-01 13:52:13 -07:00
Keagan McClelland
261eac6802 Changes to ubuntu 21.10 at the base image 2022-02-01 10:36:44 -07:00
Aiden McClelland
574539faec feat: move all frontend projects under the same Angular workspace (#1141)
* feat: move all frontend projects under the same Angular workspace

* Refactor/angular workspace (#1154)

* update frontend build steps

Co-authored-by: waterplea <alexander@inkin.ru>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-01-31 14:01:33 -07:00
Aiden McClelland
edde478382 rename appmgr 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
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
Keagan McClelland
1a63c61ae2 adds support for no product key builds as well as chosen product key builds (#1030) 2022-01-21 20:35:52 -07:00
Aiden McClelland
071f6cec03 stability fixes 2022-01-21 20:35:52 -07:00
Keagan McClelland
9df65e12ad add gzip target 2022-01-21 20:35:52 -07:00
Keagan McClelland
24cffaacee remove erroneous dependency 2022-01-21 20:35:52 -07:00
Keagan McClelland
d5dd37b165 change relevant git files 2022-01-21 20:35:52 -07:00
Keagan McClelland
19cb09188c fix dependencies of git hash 2022-01-21 20:35:52 -07:00
Drew Ansbacher
3c9aff57e4 Update Makefile
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-01-21 20:35:52 -07:00
Drew Ansbacher
f64ee113c5 git hash makefile 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
Keagan McClelland
46f24f94e3 change random to urandom in build process 2022-01-21 20:35:52 -07:00
Aiden McClelland
516db0a3ba add submodules to makefile 2022-01-21 20:35:52 -07:00
Aiden McClelland
69382f788d instrument all the things 2022-01-21 20:35:52 -07:00
kn0wmad
36f0959bc2 Buildguide and Makefile updates (#617)
* Buildguide and Makefile updates

* Removed package-lock removal
2022-01-21 20:35:52 -07:00
Justin Miller
7fc4cb175c feat: Make the start clear
Have messaging to let user know of update complete/ failure
2022-01-21 20:35:52 -07:00
Aiden McClelland
2b2451d22f fix makefile 2022-01-21 20:35:52 -07:00
Keagan McClelland
cf4bed6620 add build scripts to embassy src 2022-01-21 20:35:52 -07:00
Aiden McClelland
f995b5a12a disable gateway timeout 2022-01-21 20:35:52 -07:00
Keagan McClelland
ed20e04586 use echo from /usr/bin 2022-01-21 20:35:52 -07:00
kn0wmad
0d237a299a Makefile fix 2022-01-21 20:35:52 -07:00
Keagan McClelland
861f6a0054 disable mocks 2022-01-21 20:35:52 -07:00
kn0wmad
33fe3e1059 Setup Scripts (#472)
* Init commit of setup scripts

* Minor edit

* Script edit and dir rename

* Oops

* Updated README

* Updated scripts/readme

* Additional Script/README updates

* Further Script updates

* BuildGuide updates

* More git fuckery

* Init commit of setup scripts

* Minor edit

* Script edit and dir rename

* Oops

* Updated scripts/readme

* Script/README updates

* Additional Script/README updates

* Script/README edits

* Copy script edit

* Copy script edit

* Filesystem script edit

* More edits

* Guide edit

* Makefile

* fixes ui build scripts to use submodules (#546)

* fix product key generation

Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-01-21 20:35:52 -07:00