Commit Graph

257 Commits

Author SHA1 Message Date
Mariusz Kogen
7575e8c1de 🏦 Start as embassy hostname from the begining (#1814)
* 🏦 start as embassy hostname from the begining

By this, we are limiting the number of hostname changes (from 3 to 2) during the first initial Embassy startup.

* Hostname change no longer needed
2022-09-21 10:56:52 -06:00
Mariusz Kogen
395db5f1cf 🧅 replace instead of adding tor repository (#1813)
I also removed the src line because we won't use the tor source repository anytime soon if ever.
2022-09-21 10:56:01 -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
Mariusz Kogen
a5f31fbf4e 🎚️ reclaiming that precious RAM memory (#1799)
* 🎚️ reclaiming that precious RAM memory

This adds 60MB of usable RAM

* 🎚️ reclaiming that precious RAM memory - sudo

* Update build/write-image.sh

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-09-14 11:24:43 -06:00
Aiden McClelland
f274747af3 fix init to exit on failure (#1788) 2022-09-10 13:31:03 -06:00
Matt Hill
50111e37da remove product key from setup flow (#1750)
* remove product key flow from setup

* feat: backend turned off encryption + new Id + no package id

* implement new encryption scheme in FE

* decode response string

* crypto not working

* update setup wizard closes #1762

* feat: Get the encryption key

* fix: Get to recovery

* remove old code

* fix build

* fix: Install works for now

* fix bug in config for adding new list items

* dismiss action modal on success

* clear button in config

* wip: Currently broken in avahi mdns

* include headers with req/res and refactor patchDB init and usage

* fix: Can now run in the main

* flatline on failed init

* update patch DB

* add last-wifi-region to data model even though not used by FE

* chore: Fix the start.

* wip: Fix wrong order for getting hostname before sql has been
created

* fix edge case where union keys displayed as new when not new

* fix: Can start

* last backup color, markdown links always new tab, fix bug with login

* refactor to remove WithRevision

* resolve circular dep issue

* update submodule

* fix patch-db

* update patchDB

* update patch again

* escape error

* decodeuricomponent

* increase proxy buffer size

* increase proxy buffer size

* fix nginx

Co-authored-by: BluJ <mogulslayer@gmail.com>
Co-authored-by: BluJ <dragondef@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-09-07 09:25:01 -06:00
Aiden McClelland
76682ebef0 switch to postgresql (#1763)
switch sqlx to postgresql
2022-09-01 10:32:01 -06:00
Stephen Chavez
2dd31fa93f Disable bluetooth properly #862 (#1745)
add disable cmd for uart

Co-authored-by: Stephen Chavez <stephen@start9labs.com>
2022-08-22 14:16:11 -06:00
Aiden McClelland
5ba0d594a2 Bugfix/dns (#1741)
* keep openresolv

* fix init
2022-08-18 10:23:04 -06:00
Aiden McClelland
07194e52cd Update README.md (#1728) 2022-08-10 16:35:53 -06:00
J M
c44eb3a2c3 fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches

* chore: Move to initialization
2022-08-02 10:44:49 -06:00
Chris Guida
365952bbe9 Add build-essential to README.md (#1716)
Update README.md
2022-08-01 15:38:05 -06:00
kn0wmad
22e84cc922 Update README.md (#1705)
* Update README.md

Updated release to 0.3.1

* use tag called latest

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-07-27 18:10:06 -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
J M
4526618c32 fix: Resolve fighting with NM (#1660) 2022-07-18 09:44:33 -06:00
Mariusz Kogen
e5de91cbe5 🐋 docker stats fix (#1630)
* entry obsolete...

* 🐋 docker stats fix
2022-07-11 18:18:22 -06:00
Mariusz Kogen
b6fdc57888 Tor repository fix for arm64 (#1623)
When doing `sudo apt update` you get this:
`N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://deb.torproject.org/torproject.org bullseye InRelease' doesn't support architecture 'armhf'`
2022-07-07 15:34:54 -06:00
gStart9
b365a60c00 Default to https:// urls for repositories, remove apt-transport-https (#1610)
As of apt 1.5 (released 2017), the package apt-transport-https is no longer required because https:// is supported out of the box.
Reference: https://packages.debian.org/bullseye/apt-transport-https "This is a dummy transitional package - https support has been moved into the apt package in 1.5. It can be safely removed."  Apt is currently at 2.2.4.

Use a sed one-liner to convert all repos in /etc/apt/sources.list and /etc/apt/sources.list.d/*.list that are http:// to https:// (https:// is available for all http:// URLs currently referenced in EmbassyOS).
2022-07-05 13:45:10 -06:00
Aiden McClelland
ec8d9b0da8 switch to utc 2022-06-29 15:43:01 -06:00
kn0wmad
70aba1605c Feat/use modern tor (#1575)
* Add guardian project repo and install latest stable tor

* Apt appendage
2022-06-28 12:28:08 -06:00
Aiden McClelland
22af45fb6e add dns server to embassy-os (#1572)
* add dns server to embassy-os

* fix initialization

* multiple ip addresses
2022-06-27 10:53:06 -06:00
Aiden McClelland
b0068a333b disable unnecessary services 2022-06-14 12:43:27 -06:00
Thomas Moerkerken
18e2c610bc add quotes to handles spaces in working dir 2022-06-06 10:10:51 -06:00
Mariusz Kogen
34729c4509 Enable Control Groups for Docker containers (#1468)
Enabling Control Groups give Docker containers the ability to track and expose missing memory metrics. Try `docker stats`
2022-06-06 08:32:33 -06:00
Thomas Moerkerken
cceef054ac remove interactive TTY requirement from cmds 2022-06-01 14:37:12 -06:00
Mariusz Kogen
84463673e2 ☯️ For the peace of mind ☯️ (#1444)
Simplifying and clarifying for first time builders
2022-05-16 11:09:11 -06:00
Dread
56efe9811d Update README.md to include yq (#1385)
Update README.md to include yq install instructions for Linux
2022-05-11 16:23:10 -06:00
Mariusz Kogen
10d7a3d585 Switching SSH keys to start9 user (#1321)
* Update ssh.rs for start9 user

* .ssh directory for uid 1000 user

* Update init.rs for start9 user

* “His name is Robert Paulson”

* typo

* just cleaning up ...
2022-05-09 15:16:24 -06:00
Aiden McClelland
7c17e26480 prevent the kernel from OOMKilling embassyd (#1402)
* prevent the kernel from OOMKilling embassyd

* privilege embassyd with respect to cpu usage

* add a docker slice
2022-04-20 11:26:41 -04:00
Aiden McClelland
8bc1ef415f add compression to rip-image script 2022-03-30 17:49:27 -06:00
Aiden McClelland
c49fe9744e actually include index.html during build 2022-03-30 17:49:27 -06:00
Aiden McClelland
eeb557860e wait for time sync up to 60s 2022-03-29 12:41:00 -06:00
Aiden McClelland
5e0b83fa4a fix init 2022-03-22 14:23:46 -05:00
Aiden McClelland
aa3af09e69 blacklist upgrade kit usb adapters 2022-02-28 15:27:31 -07:00
Aiden McClelland
a6e00449f6 fix path 2022-02-27 16:25:28 -07:00
Aiden McClelland
b1aa2ddf75 prevent initialization from writing the quirk string twice 2022-02-27 15:37:23 -07:00
kn0wmad
6ef7da9732 Fix links in UI to point to new website (#1249)
* Fix links in UI to point to new website

* Typo

* Update README.md

* Update success.page.html

* Update app.component.ts

* Update backup-drives.component.html

* Update lan.page.html
2022-02-25 17:07:33 -07:00
Aiden McClelland
16de45e4fd start with clean tor state 2022-02-24 12:04:36 -07:00
Keagan McClelland
7678cee5be fix NO_KEY initialization (#1262)
* fix NO_KEY initialization

* hex encode instead of shasum
2022-02-23 18:19:17 -07:00
Keagan McClelland
0ac52ff8ef Bugfix/fix syntax change user (#1260)
* quote users output

* change away from 'users' to /etc/passwd
2022-02-23 17:49:34 -07:00
Keagan McClelland
17fe7eaa17 Update initialization.sh 2022-02-22 15:41:36 -07:00
Keagan McClelland
4fa2c11de7 Move user change early in the process
this allows ssh'ing in and still allowing the init script to complete
2022-02-22 13:59:33 -07:00
kn0wmad
272704794c Update README.md (#1236)
* Update README.md

* Update README.md

* Update build/README.md

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

* Update README.md

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
2022-02-21 13:30:21 -07:00
Aiden McClelland
8dd54f0cca correctly handle the absence of ENVIRONMENT=dev 2022-02-17 10:49:48 -07:00
Mariusz Kogen
47a5f37bd3 🧑‍💻 implementing start9 username 2022-02-17 10:49:48 -07:00
Aiden McClelland
b57c35a3ba fix overlay disabling when looking at disk drives 2022-02-16 12:54:07 -07:00
Aiden McClelland
3d8b1cf1db update MOTD to use version properly 2022-02-15 17:33:41 -07:00
Aiden McClelland
ba06216e84 allow for making the image directly on a sdX device 2022-02-15 17:14:47 -07:00
Aiden McClelland
868edc636b add vim and jq (#1210)
* add vim and jq

* add ncdu

* fix whitespace
2022-02-15 13:12:51 -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