* play song unconditionally
* double bep-bep frequency
* play song during firmware update
---------
Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com>
* fix automated tests
* automated test gh workflow
* rename workflow
* ignore test that relies on physical hardware
* use HOME env var when relevant
* optimize
* fix test
* move enter-click directive to shared
* allow enter click to continue to login in kiosk mode; adjust styling
* cleanup
* add styling to ca wizard
* rebase new changes
* mobile fixes
* cleanup
* cleanup
* update styling
* cleanup import
* minor css changes
---------
Co-authored-by: Matt Hill <mattnine@protonmail.com>
* rework ntp faiure handling and display to user
* uptime in seconds
* change how we handle ntp
---------
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* simplify db sync on rpc endpoints
* switch to patch-db master
* update fe for websocket only stream
* fix api
---------
Co-authored-by: Matt Hill <mattnine@protonmail.com>
* fix some causes of start wonkiness on update
* fix race condition with manager
Co-authored-by: J H <Blu-J@users.noreply.github.com>
* only restart if running
* fix start function
* clean up clode
* fix restart logic
---------
Co-authored-by: J H <Blu-J@users.noreply.github.com>
* fix: Add in logging for the podman in the system logs
* https as default for main tor address
---------
Co-authored-by: agent <kn0wmad@protonmail.com>
* set governor to "performance" if available
* add linux-cpupower
* fix: Boolean blindness, thanks @dr-bones
---------
Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com>
* feat: Change all the dependency errors at once
* remove deprecated dependency-errors field
* set pointers to [] by default
* chore: Something about fixing the build
* fix migration
---------
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* registryadmin scripts
Add `start-sdk publish` command which can potentially replace
the Haskell implementation of `registry-publish upload`
* restructure modules
---------
Co-authored-by: Sam Sartor <me@samsartor.com>
* the only way to begin is by beginning
* chore: Convert over 3444 migration
* fix imports
* wip
* feat: convert volume
* convert: system.rs
* wip(convert): Setup
* wip properties
* wip notifications
* wip
* wip migration
* wip init
* wip auth/control
* wip action
* wip control
* wiip 034
* wip 344
* wip some more versions converted
* feat: Reserialize the version of the db
* wip rest of the versions
* wip s9pk/manifest
* wip wifi
* chore: net/keys
* chore: net/dns
* wip net/dhcp
* wip manager manager-map
* gut dependency errors
* wip update/mod
* detect breakages locally for updates
* wip: manager/mod
* wip: manager/health
* wip: backup/target/mod
* fix: Typo addresses
* clean control.rs
* fix system package id
* switch to btreemap for now
* config wip
* wip manager/mod
* install wip
Co-authored-by: J H <Blu-J@users.noreply.github.com>
* chore: Update the last of the errors
* feat: Change the prelude de to borrow
* feat: Adding in some more things
* chore: add to the prelude
* chore: Small fixes
* chore: Fixing the small errors
* wip: Cleaning up check errors
* wip: Fix some of the issues
* chore: Fix setup
* chore:fix version
* chore: prelude, mod, http_reader
* wip backup_bulk
* chore: Last of the errors
* upadte package.json
* chore: changes needed for a build
* chore: Removing some of the linting errors in the manager
* chore: Some linting 101
* fix: Wrong order of who owns what
* chore: Remove the unstable
* chore: Remove the test in the todo
* @dr-bonez did a refactoring on the backup
* chore: Make sure that there can only be one override guard at a time
* resolve most todos
* wip: Add some more tracing to debug an error
* wip: Use a mv instead of rename
* wip: Revert some of the missing code segments found earlier
* chore: Make the build
* chore: Something about the lib looks like it iis broken
* wip: More instrument and dev working
* kill netdummy before creating it
* better db analysis tools
* fixes from testing
* fix: Make add start the service
* fix status after install
* make wormhole
* fix missing icon file
* fix data url for icons
* fix: Bad deser
* bugfixes
* fix: Backup
* fix: Some of the restor
* fix: Restoring works
* update frontend patch-db types
* hack it in (#2424)
* hack it in
* optimize
* slightly cleaner
* handle config pointers
* dependency config errs
* fix compat
* cache docker
* fix dependency expectation
* fix dependency auto-config
---------
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <mattnine@protonmail.com>
Co-authored-by: J H <Blu-J@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* enable switching to https on login page
* add trust Root CA to http login page
* add node-jose back for setup wiz
* add tooltips, branding, logic for launch box spinner display, and enable config to toggle https mode on mocks
* cleanup
* copy changes
* style fixes
* abstract component, fix https mocks
* always show login from localhost
* launch .local when on IP
---------
Co-authored-by: Matt Hill <mattnine@protonmail.com>
* wip: Pulling in the features of the refactor since march
* chore: Fixes to make the system able to build
* chore: Adding in the documentation for the manager stuff
* feat: Restarting and wait for stop
* feat: Add a soft shutdown not commit to db.
* chore: Remove the comments of bluj
* chore: Clean up some of the linting errors
* chore: Clean up the signal
* chore: Some more cleanup
* fix: The configure
* fix: A missing config
* fix: typo
* chore: Remove a comment of BLUJ that needed to be removed
fronend: ui: bugfix: consistent password length.
* The password set dialogue forces maxlenght=64 but when logging in,
the dialogue does not forces this. This makes an issue when the user
copy/pastes a longer than 64 character password in boxes. closes#2375
* update deno
* add proxy
* remove query params, now auto added by BE
* add hardware requirements and BE reg query params
* update query params for BE requests
* allow multiple arches in hw reqs
* explain git hash mismatch
* require lshw
---------
Co-authored-by: Matt Hill <mattnine@protonmail.com>
* revert patch for string parsing fix due to out of date yq version
* reorganize conditionals
* use ng-container
* alertButton needs to be outside of template or container
* fix ROFS error on os install
* attempt to prompt browser to update manifest data with id and modified start_url
* update icon with better shape for ios
* add additional options for refreshing on pwas
* add loader to pwa reload
* fix pwa icon and add icon for ios
* add logic for refresh display depending on if pwa
* fix build for ui; fix numeric parsing error on osx
* typo
---------
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* fix reset tor, delete http redirect, show message for tor http, update release notes
* potentially fix doubel req to registries
* change language arund LAN and root ca
* link locally instead of docs
* support http2 alpn handshake
* fix protocol name
* switch to https for tor
* update setup wizard and main ui to accommodate https (#2356)
* update setup wizard and main ui to accommodate https
* update wording in download doc
* fix accidential conversion of tor https for services and allow ws still
* redirect to https if available
* fix replaces to only search at beginning and ignore localhost when checking for https
---------
Co-authored-by: Lucy <12953208+elvece@users.noreply.github.com>
* better transfer progress
* frontend for calculating transfer size
* fixes from testing
* improve internal api
---------
Co-authored-by: Matt Hill <mattnine@protonmail.com>
* make it faster
* better pipelining
* remove unnecessary test
* use tmpfs for debspawn
* don't download intermediate artifacts
* fix upload dir path
* switch to buildjet
* use buildjet cache on buildjet runner
* native builds when fast
* remove quotes
* always use buildjet cache
* remove newlines
* delete data after done with it
* skip aarch64 for fast dev builds
* don't tmpfs for arm
* don't try to remove debspawn tmpdir
* update display obj on union change
* deelete unnecessary changes
* more efficient
* fix: properly change height of form object
* more config examples
---------
Co-authored-by: waterplea <alexander@inkin.ru>
* fix spacing and font size
* fix spacing reverted by linting
* fix styles and event propagation on updates tab
* fix login theme
* remove global font setting
* remove taiga theming for now
* move website button and bump shared and marketplace libs
---------
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* display message not object on login page
* more release notes
* fix firefox ssl issue
* fix no pubkey error
* Fix/missing main (#2194)
fix: Main during migration
---------
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com>
* update version to 0.3.4
* update release guide with sdk instructions
* remove comment
* update page styling
* closes#2152, closes#2155, closes#2157
* move marketing site link to description block
* re-arrange setup wizard recovery options
* move divider for update list item
* fix bug in mocks to display lnd as aavailable for update
---------
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* refactor networking and account
* add interfaces from manifest automatically
* use nistp256 to satisfy firefox
* use ed25519 if available
* fix ip signing
* fix SQL error
* update prettytable to fix segfault
* fix migration
* fix migration
* bump welcome-ack
* add redirect if connecting to https over http
* misc rebase fixes
* fix compression
* bump rustc version
* chore: Update version to 0.3.4"
* chore: Update others to the latest code
* release notes
* registry not marketplace
---------
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* feat: add themes
* fix: remove obvious issues with light theme
* chore: improve light theme a bit
* comment out theme swticher
* chore: make login dark
* add theme and widgets to seeds
* add theme and widgets to migration
---------
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* feat: Add in the read dir.
Have a test that proves that this is working.
* chore: Let the read dir work while in a read only mode
* revert: To old sync
* wip
* should be working now
* delete unused function
* delete 2 more unused functions
* update fixture to include beta registry
* address comments
* wait for connection to get local packages
* prevent excessive nesting for unions, closes#2107, and genrally refactor config
* a littel cleaner
* working but with inefficiencies
* remove warning from union list
* introduce messaging for config with only pointers
* feat(shared): `ElasticContainer` add new component (#2134)
* feat(shared): `ElasticContainer` add new component
* chore: fix imports
* revert to 250 for resize
* remove logs
Co-authored-by: Alex Inkin <alexander@inkin.ru>
* closes#2084, rearranges marketplace show, app show, and donation link for Start9
* use url query param if present when fetching license and instructions
* remove log
* chore: Add some checking
* chore: Update something about validation
* chore: Update to use correct default
Co-authored-by: BluJ <mogulslayer@gmail.com>
* re-add community marketplace and handle missing dependency
* feat: Add in the community to migration
* chore: Add in the community marketplace_url update
* change var name to hidden
* chore: Add in the down
Co-authored-by: BluJ <mogulslayer@gmail.com>
* wip: Working on sockets, but can't connect?
* simplify unix socket connection
* wip: Get responses back from the server at least once.
* WIP: Get the sockets working'
* feat: Sockets can start/ stop/ config/ properites/ uninstall
* fix: Restart services
* Fix: Sockets work and can stop main and not kill client
* chore: Add logging to service
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* wip: Working on sockets, but can't connect?
* simplify unix socket connection
* wip: Get responses back from the server at least once.
* WIP: Get the sockets working'
* feat: Sockets can start/ stop/ config/ properites/ uninstall
* fix: Restart services
* Fix: Sockets work and can stop main and not kill client
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* feat: Conver from the copy all bytes over to file-file transer
* use pi-beep
* fix minor mistakes
* recursive rm
* add fs resize
Co-authored-by: BluJ <mogulslayer@gmail.com>
* make procfs an optional dependency so sdk can build on macos
* flag dependency as linux only
* remove optional procfs dep
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* fix html displaying in marketplace banner description
* always bold install risk copy
* display correct pkg in marketplace when diff registry, copy changes
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* wait for monitor to be attached before launching firefox
* add code to kill firefox on monitor disconnect
* fix detection for the pi
* Remove Pi only logic
* chore: Remove the kiosk mode
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* user must click continue in kiosk on success page
* hide source disk when target list for transfer and shpw indeterminate bar when 100%
* minor copy
* also check for guid on disk
* reuse va
* do not start progress at 0 before diff complete
* fix: Test rsync
* don't report progress of 0
* drop initialization value from progress stream
Co-authored-by: BluJ <mogulslayer@gmail.com>
* better migration progress bar
* show different messages based on setup type and fix modal height
* type safety
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* remove community registry from FE defaults
* fix: Changes requested from matt (#1989)
* fix: Changes requested from matt
* chore: Remove more of the migration for the community
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
* ensure arch is calways present in config
* add eos version to params when fetching marketplace info
* fix build script
* choose arch based on make goals
* conditionally send different arch param to registry
* better type for qp
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* fuck it: no patchdb locks
* fix: Add the locking to the package during the backup. (#1979)
* fix: Add the locking to the package during the backup.
* fix: Lock for the uninstall of the package
* switch patch-db to next
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
* remove updates from marketplace, fix search, link updates to marketplace, styling
* add dependency checks and error handling to updates tab
* add circle around back buttons
* get pubkey and encrypt password on login
* only encrypt password if insecure context
* fix logic
* fix secure context conditional
* get-pubkey to auth api
* save two lines
* feat: Add the backend to the ui (#1968)
* hide app show if insecure and update copy for LAN
* show install progress when insecure and prevent backup and restore
* ask remove USB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
* fix login error message spacing and ensure not longer than 64 chars
* spinner color to tertiary
* totally responsive homepage cards
* copy changes, back button for marketplace, minor styling
* center setup wizard tiles; adjust external link style
* remove cert note from setup success
* convert launch card to go to login button
* change system settings to system; update icons
* refactor card widget input as full card details; more card resizing for home page
* cleanup
* clean up widget params
* delete contructor
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* add new card widget for empty services page
* add homepage
* fix icons
* copy and arrangement changes
* minor changes
* edit login page
* rcreate widget list component
* cchange change detection strategy
* show header in home, welcome in list (#1957)
* show hear in home but not in list
* adjust padding
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* base srevampof home page
* update sembassy page
* update all ephemeral pages
* matrix animation working
* wip success
* refactor styling of success page
* modal and mobile adjustments
* cleanup
* make chnages to styles and copy (#1955)
* make chnages to styles and copy
* fix responsiveness of downloadable page
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* refactor success page
* cleanup headers
* revert isKiosk testing
* udpate patch DB
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* fix: Cleanup by sending a command and kill when dropped
* chore: Fix the loadModule run command
* fix: cleans up failed health
* refactor long-running
* chore: Fixes?"
* refactor
* run iso ci on pr
* fix debuild
* fix tests
* switch to libc kill
* kill process by parent
* fix graceful shutdown
* recurse submodules
* fix compat build
* feat: Add back in the timeout
* chore: add the missing types for the unnstable
* inherited logs
Co-authored-by: J M <Blu-J@users.noreply.github.com>
* fix deleted code
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: J M <Blu-J@users.noreply.github.com>
* feat: For ota update using rsyncd
* chore: Fix where we rsync to.
* chore: Getting rsync to work
* chore: Add in the is raspberry pi
* chore: Update is raspberry pi
* refactor setup backend
* rework setup wizard according to new scheme
* fix bug with partitions in SW and warning message in IW
* treat localhost as LAN for launching services
* misc backend fixes
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* load docker images directly from s9pk to ensure fatties can be loaded across platform
* don't migrate tmpdir
* init after package data transfer
* set default rsync options
chore: Make the commit do by checksum.
chore: Remove the logging at the start
chore: use the defaults of the original.
chore: Convert the error into just the source.
chore: Remove some of the unwraps
* feat: Change migration to use empty name
* chore: Add in the default routes just in case
* Fix/remove merge with seed during init (#1917)
* fix kiosk
* chore: Remove the duplicate loggging information that is making usele… (#1912)
chore: Remove the duplicate loggging information that is making useless noise in the system.
* fix: Remove the init merge with seed
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: BluJ <mogulslayer@gmail.com>
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
* display git hash in marketplace show and app show. Add additional info to app show
* bump marketplace lib version
* disbaled links if site not provided, fix bug with license-instructions
* fix import
* stupid
* feat: Add in the packing side git hash
* chore: Remove the test that is breaking the build.
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* adding skeleton for new http_proxy.
* more stuff yay
* more stuff yay
* more stuff
* more stuff
* "working" poc
* more stuff
* more stuff
* fix mored stuff
* working proxy
* moved to handler style for requests
* clean up
* cleaning stuff up
* more stuff
* refactoring code
* more changes
* refactoring handle
* refactored code
* more stuff
* Co-authored-by: J M <Blu-J@users.noreply.github.com>
* Co-authored-by: J M <Blu-J@users.noreply.github.com>
* more stuff
* more stuff
* working main ui handle
* Implement old code to handler in static server
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* remove recovered services and drop reordering feature (#1829)
* chore: Convert the migration to use receipt. (#1842)
* feat: remove ionic storage (#1839)
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* update patch DB
* workring http server
* Feat/community marketplace (#1790)
* add community marketplace
* Update embassy-mock-api.service.ts
* expect ui/marketplace to be undefined
* possible undefined from getpackage
* fix marketplace pages
* rework marketplace infrastructure
* fix bugs
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* remove unwrap
* cleanup code
* d
* more stuff
* fix: make `shared` module independent of `config.js` (#1870)
* cert stuff WIP
* MORE CERT STUFF
* more stuff
* more stuff
* more stuff
* abstract service fn
* almost ssl
* fix ssl export
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* remove recovered services and drop reordering feature (#1829)
* chore: Convert the migration to use receipt. (#1842)
* feat: remove ionic storage (#1839)
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* update patch DB
* Feat/community marketplace (#1790)
* add community marketplace
* Update embassy-mock-api.service.ts
* expect ui/marketplace to be undefined
* possible undefined from getpackage
* fix marketplace pages
* rework marketplace infrastructure
* fix bugs
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* fix: make `shared` module independent of `config.js` (#1870)
* fix: small fix for marketplace header styles (#1873)
* feat: setup publishing of share and marketplace packages (#1874)
* inlcude marketplace in linter
* fix npm publish scrips and bump versions of libs
* feat: add assets to published packages and fix peerDeps versions (#1875)
* bump peer dep
* fix: add assets to published paths (#1876)
* allow ca download over lan (#1877)
* only desaturate when logged in and not fully
* Feature/multi platform (#1866)
* wip
* wip
* wip
* wip
* wip
* wip
* remove debian dir
* lazy env and git hash
* remove env and git hash on clean
* don't leave project dir
* use docker for native builds
* start9 rust
* correctly mount registry
* remove systemd config
* switch to /usr/bin
* disable sound for now
* wip
* change disk list
* multi-arch images
* multi-arch system images
* default aarch64
* edition 2021
* dynamic wifi interface name
* use wifi interface from config
* bugfixes
* add beep based sound
* wip
* wip
* wip
* separate out raspberry pi specific files
* fixes
* use new initramfs always
* switch journald conf to sed script
* fixes
* fix permissions
* talking about kernel modules not scripts
* fix
* fix
* switch to MBR
* install to /usr/lib
* fixes
* fixes
* fixes
* fixes
* add media config to cfg path
* fixes
* fixes
* fixes
* raspi image fixes
* fix test
* fix workflow
* sync boot partition
* gahhhhh
* more stuff
* remove restore warning and better messaging for backup/restore (#1881)
* Update READMEs (#1885)
* docs
* fix host key generation
* debugging eos with tokio console
* fix recursive default
* build improvements (#1886)
* build improvements
* no workdir
* kiosk fully working
* setup profile prefs
* Feat/js long running (#1879)
* wip: combining the streams
* chore: Testing locally
* chore: Fix some lint
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* wip: making the mananger create
* wip: Working on trying to make the long running docker container command
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* feat: Use the long running feature in the manager
* remove recovered services and drop reordering feature (#1829)
* wip: Need to get the initial docker command running?
* chore: Add in the new procedure for the docker.
* feat: Get the system to finally run long
* wip: Added the command inserter to the docker persistance
* wip: Added the command inserter to the docker persistance
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* remove recovered services and drop reordering feature (#1829)
* chore: Convert the migration to use receipt. (#1842)
* feat: remove ionic storage (#1839)
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* update patchDB
* feat: Move the run_command into the js
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* remove recovered services and drop reordering feature (#1829)
* chore: Convert the migration to use receipt. (#1842)
* feat: remove ionic storage (#1839)
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* update patch DB
* chore: Change the error catching for the long running to try all
* Feat/community marketplace (#1790)
* add community marketplace
* Update embassy-mock-api.service.ts
* expect ui/marketplace to be undefined
* possible undefined from getpackage
* fix marketplace pages
* rework marketplace infrastructure
* fix bugs
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* WIP: Fix the build, needed to move around creation of exec
* wip: Working on solving why there is a missing end.
* fix: make `shared` module independent of `config.js` (#1870)
* feat: Add in the kill and timeout
* feat: Get the run to actually work.
* chore: Add when/ why/ where comments
* feat: Convert inject main to use exec main.
* Fix: Ability to stop services
* wip: long running js main
* feat: Kill for the main
* Fix
* fix: Fix the build for x86
* wip: Working on changes
* wip: Working on trying to kill js
* fix: Testing for slow
* feat: Test that the new manifest works
* chore: Try and fix build?
* chore: Fix? the build
* chore: Fix the long input dies and never restarts
* build improvements
* no workdir
* fix: Architecture for long running
* chore: Fix and remove the docker inject
* chore: Undo the changes to the kiosk mode
* fix: Remove the it from the prod build
* fix: Start issue
* fix: The compat build
* chore: Add in the conditional compilation again for the missing impl
* chore: Change to aux
* chore: Remove the aux for now
* chore: Add some documentation to docker container
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
Co-authored-by: Alex Inkin <alexander@inkin.ru>
* use old resolv.conf until systemd is on
* update patchdb
* update patch db submodule
* no x11 wrapper config
* working poc
* fixing misc stuff
* switch patchdb to next
* Feat/update tab (#1865)
* implement updates tab for viewing all updates from all marketplaces in one place
* remove auto-check-updates
* feat: implement updates page (#1888)
* feat: implement updates page
* chore: comments
* better styling in update tab
* rework marketplace service (#1891)
* rework marketplace service
* remove unneeded ?
* fix: refactor marketplace to cache requests
Co-authored-by: waterplea <alexander@inkin.ru>
Co-authored-by: Alex Inkin <alexander@inkin.ru>
* misc fixes (#1894)
* changing hostname stuff
* changes
* move marketplace settings into marketplace tab (#1895)
* move marketplace settings into marketplace tab
* Update frontend/projects/ui/src/app/modals/marketplace-settings/marketplace-settings.page.ts
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* bump marketplace version
* removing oldd code
* working service proxy
* fqdn struct wwip
* new types for ssl proxy
* restructure restore.rs and embassyd.rs
* adding dbg
* debugging proxy handlers
* add lots of debugging for the svc handler removal bug
* debugging
* remove extra code
* fixing proxy and removing old debug code
* finalizing proxy code to serve the setup ui and diag ui
* final new eos http proxy
* remove uneeded trace error
* remove extra file
* not needed flags
* clean up
* Fix/debug (#1909)
chore: Use debug by default"
* chore: Fix on the rsync not having stdout. (#1911)
* install wizard project (#1893)
* install wizard project
* reboot endpoint
* Update frontend/projects/install-wizard/src/app/pages/home/home.page.ts
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* Update frontend/projects/install-wizard/src/app/pages/home/home.page.ts
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* Update frontend/projects/install-wizard/src/app/pages/home/home.page.ts
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* update build
* fix build
* backend portion
* increase image size
* loaded
* dont auto resize
* fix install wizard
* use localhost if still in setup mode
* fix compat
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* fix kiosk
* integrate install wizard
* fix build typo
* no nginx
* fix build
* remove nginx stuff from build
* fixes
Co-authored-by: Stephen Chavez <stephen@start9labs.com>
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
Co-authored-by: Alex Inkin <alexander@inkin.ru>
* feat: Most of the ui conversions and removing the package-recovered
* chore: Include the down process.
* feat: Add in the potential community packages.
* chore: Add in the services
* Make it so we skip rebuil.
* update version to 033 in FE
* chore: Revert to next version for patch-db
* fix: Build and check
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* add migrate component
* finish out migrate page and adjust recover options
* fix typo
* rename migrate -> transfer, adjust copy and typos, update transfer component logic
* add alert for old drive data when transferring
* comments for clarity
* auto adjust swiper slide height
* cleanup uneeded imports from transfer module
* pr feedback suggestions
* remove 02x from setup wiz
* clean up copy/styling for recover flow
* add support for migrating from old drive
* add RecoverySource lifted type
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* wip: combining the streams
* chore: Testing locally
* chore: Fix some lint
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* wip: making the mananger create
* wip: Working on trying to make the long running docker container command
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* feat: Use the long running feature in the manager
* remove recovered services and drop reordering feature (#1829)
* wip: Need to get the initial docker command running?
* chore: Add in the new procedure for the docker.
* feat: Get the system to finally run long
* wip: Added the command inserter to the docker persistance
* wip: Added the command inserter to the docker persistance
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* remove recovered services and drop reordering feature (#1829)
* chore: Convert the migration to use receipt. (#1842)
* feat: remove ionic storage (#1839)
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* update patchDB
* feat: Move the run_command into the js
* Feat/long running (#1676)
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* remove recovered services and drop reordering feature (#1829)
* chore: Convert the migration to use receipt. (#1842)
* feat: remove ionic storage (#1839)
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* update patch DB
* chore: Change the error catching for the long running to try all
* Feat/community marketplace (#1790)
* add community marketplace
* Update embassy-mock-api.service.ts
* expect ui/marketplace to be undefined
* possible undefined from getpackage
* fix marketplace pages
* rework marketplace infrastructure
* fix bugs
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* WIP: Fix the build, needed to move around creation of exec
* wip: Working on solving why there is a missing end.
* fix: make `shared` module independent of `config.js` (#1870)
* feat: Add in the kill and timeout
* feat: Get the run to actually work.
* chore: Add when/ why/ where comments
* feat: Convert inject main to use exec main.
* Fix: Ability to stop services
* wip: long running js main
* feat: Kill for the main
* Fix
* fix: Fix the build for x86
* wip: Working on changes
* wip: Working on trying to kill js
* fix: Testing for slow
* feat: Test that the new manifest works
* chore: Try and fix build?
* chore: Fix? the build
* chore: Fix the long input dies and never restarts
* build improvements
* no workdir
* fix: Architecture for long running
* chore: Fix and remove the docker inject
* chore: Undo the changes to the kiosk mode
* fix: Remove the it from the prod build
* fix: Start issue
* fix: The compat build
* chore: Add in the conditional compilation again for the missing impl
* chore: Change to aux
* chore: Remove the aux for now
* chore: Add some documentation to docker container
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
Co-authored-by: Alex Inkin <alexander@inkin.ru>
* feat: remove ionic storage
* grayscal when disconncted, rename local storage service for clarity
* remove storage from package lock
* update patchDB
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* feat: Start the long running container
* feat: Long running docker, running, stoping, and uninstalling
* feat: Just make the folders that we would like to mount.
* fix: Uninstall not working
* chore: remove some logging
* feat: Smarter cleanup
* feat: Wait for start
* wip: Need to kill
* chore: Remove the bad tracing
* feat: Stopping the long running processes without killing the long
running
* Mino Feat: Change the Manifest To have a new type (#1736)
* Add build-essential to README.md (#1716)
Update README.md
* write image to sparse-aware archive format (#1709)
* fix: Add modification to the max_user_watches (#1695)
* fix: Add modification to the max_user_watches
* chore: Move to initialization
* [Feat] follow logs (#1714)
* tail logs
* add cli
* add FE
* abstract http to shared
* batch new logs
* file download for logs
* fix modal error when no config
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: BluJ <mogulslayer@gmail.com>
* Update README.md (#1728)
* fix build for patch-db client for consistency (#1722)
* fix cli install (#1720)
* highlight instructions if not viewed (#1731)
* wip:
* [ ] Fix the build (dependencies:634 map for option)
* fix: Cargo build
* fix: Long running wasn't starting
* fix: uninstall works
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* chore: Fix a dbg!
* chore: Make the commands of the docker-inject do inject instead of exec
* chore: Fix compile mistake
* chore: Change to use simpler
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* adjust types
for patchdb ui data and create seed file
* feat: For init and the migration use defaults
* fix update path
* update build for ui seed file
* fix accidential revert
* chore: Convert to do during the init
* chore: Update the commit message
Co-authored-by: BluJ <mogulslayer@gmail.com>
* 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
* 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>
* add descriptions to marketplace list page
* clean up unused styling
* rip descriptions from registry marketplace, use binary choice custom default and alternative messages
* cleanup
* fix selected type and remove uneeded conditional
* conditional color
* cleanup
* better comparision of marketplace url duplicates
* add logic to handle marketplace description display based on url
* decrease font size
* abstract helper fn to get url hostname; add error toast when adding duplicate marketplace
* move helper function to more appropriate file location
* rework marketplace list and don't worry about patch db firing before bootstrapped
* remove aes-js
* reinstall aes just to please things for now
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* 🏦 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
* remove falsey check when getting marketplaces, as no alts could exist
* filter boolean but start with object
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* bump version with stubbed release notes
* increase BE timeout
* 032 release notes
* hide developer menu for now
* remove unused sub/import
* remoce reconnect from disks res in setup wiz
* remove quirks
* flatten drives response
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* 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>
* replace offline toast with global indicator
* use hostname from patchDB as default server name
* add alert to marketplace delete and reword logout alert
* refactor how we handle rpc responses and patchdb connection monitoring
* websockets only
* remove unused global error handlers
* chore: clear storage inside auth service
* feat: convert all global toasts to declarative approach (#1754)
* no more reference to serverID
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: waterplea <alexander@inkin.ru>
* add build backend for x86_64
* remove unnecessary build steps
* install backend dependency
* build and run backend unittest
* fix cache key
* buildx is required, qemu is not.
* Add missing steps from Makefile
* fix build_command var is unused
* select more common test env
* update pipeline names and docs
* use variable for node version
* use correct artifact name
* update pipeline references
* skip unittest that needs ca-cert installed
* correct pipeline name
* use nextest pre-built binary; add term color
* fix cache permissions warning
* update documentation
* chore: enable strict mode
* refactor: remove sync data access from PatchDbService
* launchable even when no LAN url
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* handle case where selected union enum is invalid after migration
* revert necessary ternary and fix types
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
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'`
* show available marketplace updates in menu
* complete feature
* delete unused class
* update tsmatches to remove console log
* fix merge conflict
* change config header font size
* fix new options emission for config elements
* delete unecessary import
* add custom modal for service marketplace conflict action
* cleanup
* remove unecessary imports
* pr cleanup of unused imports and classes
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
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).
* fix conditional display state
* fix footer
* fix empty case
* remove select all from backup restore
* fix styling and add warning message to service restore
* update copy
* display bottom item in backup list and refactor for cleanliness
* fix spelling mistake
* display initial toggle to deselect all, as all are selected by default
* add select/deselect all to backup restore and handle backup case when no services intalled
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* stop expansion when description icon clicked
* add test for ensuring string sanitization
* rename log out to terminate in sessions component and remove sanitization bypass as unneeded
* remove unecessary instances of safe string
* feat: fetch effect
* fix: Make not available in sandbox
* chore: Update to use text(), and to use headers
* chore: use the postman echo for testing
* chore: add json
* chore: Testing the json
* chore: Make the json lazy
* selective backups and better drive selection interface
* fix disabled checkbox and backup drives menu styling
* feat: package-ids
* only show services that are backing up on backup page
* refactor for performace and cleanliness
Co-authored-by: Matt Hill <matthill@Matt-M1.start9.dev>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
Co-authored-by: J M <mogulslayer@gmail.com>
* add content type to icon dataURL
* better handling of blob reading; remove verifying loader and reorganize html
* clean up PR feedback and create validation fn instead of boolean
* grpup upload state into one type
* better organize validation
* add server id to eos check for updates req
* fix patchdb to latest
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* 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
* fix connection failure display monitoring and other style chnages
* display updates more clearly in marketplace
* remove scrolling from release notes and long description
* remove unnecessary bangs
Co-authored-by: Matt Hill <matthill@Matt-M1.local>
Co-authored-by: Matt Hill <matthill@Matt-M1.start9.dev>
* adjust service marketplace button for installation source relevance
* cleanup
* show marketplace name instead of url; cleanup from PR feedback
* fix spacing
* further cleanup
* fix bugs with config and clean up dev options
* dont down down arrow in logs prematurely
* change config error border to match error text red color
* change restart button color
* fix error when sideloading and update copy
* adds back in param cloning as this bug creeped up again
* make restarting text match button color
* fix version comparision for updates category
Co-authored-by: Matt Hill <matthill@Matt-M1.local>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* refactor(patch-db): use PatchDB class declaratively
* chore: remove initial source before init
* chore: show spinner
* fix: show Connecting to Embassy spinner until first connection
* fix: switching marketplaces
* allow for subscription to end with take when installing a package
* update patchdb
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* add restart button to service show page and restart rpc api
* Feature/restart rpc (#1555)
* add restart rpc and status
* wire up rpc
* add restarting bool
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* check if service is restarting
* filter package when restarting to avoid glitch
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* no more app wiz or dry calls
* change spinner type
* better display for update available
* reintroduce dep breakages for update/downgrade and style alerts everywhere
* only show install alert on first install
Co-authored-by: Matt Hill <matthill@Matt-M1.local>
Co-authored-by: Matt Hill <matthill@Matt-M1.start9.dev>
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
* base styling and action placeholders for package sideload
* apparently didnt add new folder
* wip
* parse manifest and icon from s9pk to upload
* wip handle s9pk upload
* adjust types, finalize actions, cleanup
* clean up and fix data clearing and response
* include rest rpc in proxy conf sample
* address feedback to use shorthand falsy coercion
* update copy and invalid package file ux
* do not wait package upload, instead show install progress
* fix proxy for rest rpc
rename sideload package page titles
* make text selectable on mobile
* make logs copyable and adjust copy format
* fix linting
* fix linting further
* linting
* add formatting to copied logs
* fix copy abstraction and add formatting for server log copy
feat: enable `noImplicitAny`
chore: remove sync data access
fix loading package data for affected dependencies
chore: properly get alt marketplace data
update patchdb client to allow for emit on undefined values
* feat: known errors for js
* chore: add expected exports
* Update js_scripts.rs
* chore: Use agreed upon shape
* chore: add updates to d.ts
* feat: error case
* chore: Add expectedExports as a NameSpace`
* chore: add more documentation to the types.d.ts
* fix: potential fix for the docker leaking the errors and such
* chore: Make sure that the buffer during reading the output will not exceed 10mb ish
* Chore: Add testing
* fix: Docker buffer reading to lines now works
* chore: fixing the broken responses
* fix: potential fix for the docker leaking the errors and such
* chore: Make sure that the buffer during reading the output will not exceed 10mb ish
* Chore: Add testing
* fix: Change the git to always give a maybe, then create the error in the failure cases
* fix: No wifi last
* chore: Revert to older api
* fix: build for sdk
* fix: build for sdk
* chore: update patch db
* chore: use the master patch db
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
* refactor: isolate network toast and login redirect to separate services
* chore: remove accidentally committed sketch of a service
* chore: tidying things up
* feat: add `GlobalModule` encapsulating all global subscription services
* remove angular build cache when building deps
* chore: fix more issues found while testing
* chore: fix issues reported by testing
* chore: fix template error
* chore: fix server-info
* chore: fix server-info
* fix: switch to Observable to fix race conditions
* fix embassy name display on load
* update patchdb
* clean up patch data watch
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* 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
* add server proxy configurations
* change address to host due to compliation warning
* adjust config sample to more accurately reflect production version
* Add nginx config for proxy redirect protocol prefix
* Update proxy_redirect config to use scheme variable
* Only include proxy redirect directive when ssl is true
* 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
* 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 ...
* Feat: Multi-lock capabilities add to config
* wip: RPC.rs fixes, new combinatoric
* wip: changes
* chore: More things that are bulk
* fix: Saving
* chore: Remove a dyn object
* chore: Add tests + remove unused
* Fix/feat bulk locking (#1427)
* fix: health check
* fix: start/stop service
* fix: install/uninstall services
* chore: Fix the notifications
* fix: Version
* fix: Version as serde
* chore: Update to latest patch db
* chore: Change the htLock to something that makes more sense
* chore: Fix the rest of the ht
* "chore: More ht_lock":
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.
* add disk repair actions to diagnostic ui and server menu
* only display repair disk button when activated
* fix typo
* add repairDrive fn with restart to diagnostic ui
* fix copy
* add alert before repairing disk in diagnostic ui
* fix repair disk message spacing and hidden display
* fix version comparisons and enable dismissable refresh modal
* eager load medkit and fix storefront to outline icon
* 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
* feat(marketplace): extract common components
* chore: fix service provide
* feat(markdown): allow Observable content
* chore: remove unnecessary module import
* minor styling for marketplacee list
* only show loading for marketplace show if version change
* chore: get rid of unnecessary server request
* chore: fix version switching
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* feat(marketplace): add separate package and move some entities in it
* feat(marketplace): refactor release notes and list
* feat(marketplace): refactor showing a package
* chore: fix install progress
* chore: fix angular.json
* chore: properly share stream
* snek height fix
* close button to od welcome plus snek reposition
* remove console logs
Co-authored-by: Drew Ansbacher <drew@start9labs.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* basic info
* preview manifest
* textarea not long
* show error message details always
* reinstall button in marketplace
Co-authored-by: Drew Ansbacher <drew@start9labs.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
* 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>
* adds some investigative logging and improves error handling for mdns
* re-adds client error to mdns controller so that memory isn't deallocated while still in use by AvahiClient
* 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>
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>
* added clarification on the embassy.local address being turned off after successful setup.
* adding troubleshooting section to README.md file.
* removing duplicate information
* updates per PR review.
* metrics leak potential fix:
* typo
* max of that or zero
* page movement
* animation edit
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
* refactor(app-show): refactor component
* chore: remove precommit hook for the time being
* chore: fix mutation by spreading
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
* allow mdns cifs shares
* regex and messaging for cifs
* Update install-wizard.component.ts
* refactor
* always include leading slash when saving path
* add avahi-utils
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* 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>
* usbstoraged
* set quirks on demand
* remove reference to usbstoraged.service
* comments
* use sysfs instead of modprobe and address comments
* fix ro fs and missing comma
* Apply suggestions from code review
* don't recurse overlayroot
* sleep before reconnect
* reset twice
* sync between writes
* fix build
* fix build
* adds drive to storage quirk whitelist
* long sleep
* another thing to try
* fix: Ensure that the changes take effect
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
Co-authored-by: Justin Miller <dragondef@gmail.com>
* 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>
* move SslManager to NetController and out of NginxController
* always generate the certs, move that functionality to the net controller before any nginx configs are written
* add info log
* refactor to make net controller not responsible for nginx stuff
* diff minimization
* diff minimization
* diff minimization
* diff minimization
* use net controller cert path instead of nginx controller cert path
* remove unused imports
* move location of cert mounts
* use df for getting disk info
* fix import
* fix type errors
* add duplicity flag for different source hosts
* fix borrow
* reorder args
* update cargo lock
* use 1byte block sizes and using floating point numbers
* makes debounces a property of calls to notify rather than a global property of the notification manager
* Update appmgr/src/status/mod.rs
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
* rework cutofing processing
* fix default generation bug
* dont hard code all dependent ids to 'hello'
* fix recommendation display and bug with health cehck not updating
* fix key name
* fix dependency error updates and retain order on backup
* fix health check display
* 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
* allows for root/int certificate imports, certain invariants are not checked at this time
* refactor ssl module to only import root certificate
* implements certificate export, propagates import functionality all the way to NetController::init
* feat: static server
* WIP: Idea (#685)
* wip: New Idea
Use tokens as proofs.
Use proofs as arguments.
Return proofs as indication of side effects?
Forced constructor pattern?
* chore: Use the has notation for reciepts
* chore: Example to main db mod
* feat: Content headers
* polish
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* rename variables for clarity
* return altered dep config
* add utils system image, move compat into system-images
* rename variables for clarity
* sync integration and add debug instrumentation
* debugging
* add trace instrumentation
* fix compilation for instrumentation
* fix potential deadlocking behavior
* fix import
* fix dep check response return
* hook back up to rpc, was overwritten in rebase
* fix package command
* get proper package config
* testing dep config
* version/volume for dep
* vars
* compat debugs
* clean up
* remove tar
Co-authored-by: Chris Guida <chrisguida@gmail.com>
* initializes wifi system correctly
* add packages to initialization
* restart wpa_supplicant after conf file is sync'ed
* fix cli rendering for set_network
* debug statements
* more debug stuff, trim network id on return
* possibly solves all dhcp problems on startup, I wish I understood better why it starts by default for eth0 but not wlan0
* make consistent with new logging
* new flow and endpoints
* functional
* prod build errors addressed
* little more cleanup
* transfer progress fixed
* tor address fix
* remove eslint cause sucks
* fix skeleton text color and wording
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
* change health check result to remove time
* rename health check result
* Update appmgr/src/dependencies.rs
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
* fixes issue where mdns.sync would reset the entry group without readding the original A record, causing CNAME's to point to nothing
* make analyzer mad to make cargo happy
* please both analyzer and cargo
* debug logs
* demote successful healthcheck logs to trace since they happen once every second
* I have no words for this commit message
* 2 is 3
* implement package.action rpc/cli command
* use action id instead of name
* make ActionResult display impl nicer
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* Synchronizes Wifi config during the 'embassy-init' startup sequence
* Apply suggestions from code review
make directories polymorphic over AsRef
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
* make resilient to existing symlink
* make this more idiomatic
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* wip: package logs
* fixes from code review
* fix reverse flag behavior
* only embassyd uses -u, packages use CONTAINER_NAME
* make id param an enum, clean up code
* changes from rebase
* change package IDs to be of type PackageId
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* wip
* wraps up core tor health check feature, still need to fix the boundaries with the rest of embassyd
* need to please borrow checker
* please the borrow checker
* wire it in
* finishes the feature
* Apply suggestions from code review
* fixes tor restart functionality
* makes tor replacement more resilient, adds embassyd service in init and replace
* initial commit for wifi feature
* implements wifi.get
* implements signal strength, removes macro system, makes compatible with rust stable
* remove selected row from wifi info
* refactor to correctly use rpc-toolkit
* remove redundant line from invoke error rendering
* Apply suggestions from code review
* adds display for wifi.get
* use invoke
* use remove
* use tokio native timeout
* use correct null output
* Apply suggestions from code review
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
* fix borrowing issues
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
* adds avahi base service to init function of mdns controller
* Apply suggestions from code review
* adds hostname set to startup sequence
* Apply suggestions from code review
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
* WIP sound lib
* basically finishes sound interface, still needs circle of fifths for updates etc.
* finishes sound interface, includes light testing
* fixes loops to use euclidian remainder
* implements locking for the sound interface
* stop sleeping on blocks
* wip ssh feature
* add and remove complete, list remains
* list half way done
* should finish the ssh module completely
* minor fixes
* formatting and offline queries
Co-authored-by: Aiden McClelland <me@drbonez.dev>
* begin subnav implementation
* implement subnav AND angular forms for comparison
* unions working-ish, list of enums working
* new form approach almost complete
* finish new forms approach for action inputs and config
* expandable list items and handlebars display
* Config animation (#394)
* config cammel
* config animation
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
* improve server settings inputs, still needs work
* delete all notifications, styling, and bugs
* contracted by default
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
* accordion works
* cleanup
* styling
* more styling
* App show change (#387)
* show page change
* no marketplace
* app show changes
* update marketplace list
* icon
* top left icon
* toolbar
* right size
* out of toolbar
* no service details
* fix skeleton text and server metrics page
* stuck
* add session management
* complete sessions feature
* app show page
* remove unnecessary icons
* add cli to list of possible sessions
* Modal global (#383)
* modal checkpoint
* global modal
* black looks good now
* black looks good now
* not smaller
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
* looking for unnecessary watches
* on init data initialization
* prog pipe
* install progress everywhere
* titlecase status
* include updateing state in app show for install progress
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
ui: adds overlay layer to patch-db-client
ui: getting towards mocks
ui: cleans up factory init
ui: nice type hack
ui: live api for patch
ui: api service source + http
starts up
ui: api source + http
ui: rework patchdb config, pass stashTimeout into patchDbModel
wires in temp patching into api service
ui: example of wiring patchdbmodel into page
begin integration
remove unnecessary method
linting
first data rendering
rework app initialization
http source working for ssh delete call
temp patches working
entire Embassy tab complete
not in kansas anymore
ripping, saving progress
progress for API request response types and endoint defs
Update data-model.ts
shambles, but in a good way
progress
big progress
progress
installed list working
big progress
progress
progress
begin marketplace redesign
Update api-types.ts
Update api-types.ts
marketplace improvements
cosmetic
dependencies and recommendations
begin nym auth approach
install wizard
restore flow and donations
* self-repair and prevention of ssl cert renewal bug
* bump to 0.2.17
* adjust ui for 0.2.17
* adds db migration
* add extra protection around ssl directory target
* liftIO
* remove all apt-get calls from check phase of startup
* Fix "n is undefined" config spec change bug (#392)
Fixes the issue where an old config with a new config spec sometimes renders the config inaccessible, with the error `n is undefined`
* updates version numbers
* version change for appmgr
* updates version numbers and welcome message
* adds migration for 0.2.15 to the agent
* actually add 0.2.15 migration to appmgr
Co-authored-by: Chris Guida <chrisguida@users.noreply.github.com>
* Create BuildGuide.md
* bug fixes
* Update BuildGuide.md
* Update make_image.sh
* Update BuildGuide.md
* Update make_image.sh
additional improvements and "done" message added. Thanks @k0gen!
* Update BuildGuide.md
Added intro notes and made minor adjustments to the guide.
* Update setup.sh
Required adjustments to prevent reboot when following BuildGuide.md
* Update BuildGuide.md
Improvements to final setup steps
* bug fix
additional improvements and "done" message added. Thanks @k0gen!
* Update Makefile
Changes to facilitate building process when using the BuildGuide
* Update BuildGuide.md
Avoiding manual changes to Makefile and cleaning up step 7
* Update BuildGuide.md
Switching from sftp to cp for one line command simplification
* Update BuildGuide.md
Simplified method of transferring .img to desktop. Thanks @k0gen!
* Update BuildGuide.md
update to latest openssl https://www.openssl.org/news/openssl-1.1.1-notes.html
* Update BuildGuide.md
Simplified step 6 and added new required dependency
* Update BuildGuide.md
Added hint on how to check `agent` log
* Update setup.sh
Added missing dependency
* Update BuildGuide.md
Simplified step 6
* Simplifying Rust installation
One line install, reboot is no longer needed.
* make_image.sh +x
Make it executable before running
* Step no longer needed
chmod +x done by Makefile
* Update BuildGuide.md
Added dependency for Rust setup
* Adding BuildGuide branch for the ease of use
* Forgot about the guide file :)
* Update BuildGuide.md
apt -y by default and some environment add-ons
Co-authored-by: Tommy Smith <63304263+t0mmysm1th@users.noreply.github.com>
* backports tor security fix to 0.2.10, adds functionality to allow for ssh key management during an update (#263)
* actually upgrade to 0.3.5.14-1
* update lan services on backup restore
* reload nginx, update welcome message, move reset lan to handler
* moves lan refresh after backup restore to asynchronous part of restore
* fix certificate generation
* match guards
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
First off, thanks for taking the time to contribute! ❤️
This guide is for contributing to the StartOS. If you are interested in packaging a service for StartOS, visit the [service packaging guide](https://docs.start9.com/latest/developer-docs/). If you are interested in promoting, providing technical support, creating tutorials, or helping in other ways, please visit the [Start9 website](https://start9.com/contribute).
All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
> And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
> - Star the project
> - Tweet about it
> - Refer this project in your project's readme
> - Mention the project at local meetups and tell your friends/colleagues
> If you want to ask a question, we assume that you have read the available [Documentation](https://docs.start9labs.com).
## Project Structure
Before you ask a question, it is best to search for existing [Issues](https://github.com/Start9Labs/embassy-os/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
```bash
/
├── assets/
├── core/
├── build/
├── debian/
├── web/
├── image-recipe/
├── patch-db
└── system-images/
```
#### assets
screenshots for the StartOS README
If you then still feel the need to ask a question and need clarification, we recommend the following:
#### core
An API, daemon (startd), CLI (start-cli), and SDK (start-sdk) that together provide the core functionality of StartOS.
- Open an [Issue](https://github.com/Start9Labs/embassy-os/issues/new).
#### build
- Provide as much context as you can about what you're running into.
Auxiliary files and scripts to include in deployed StartOS images
- Provide project and platform versions, depending on what seems relevant.
We will then take care of the issue as soon as possible.
#### debian
Maintainer scripts for the StartOS Debian package
<!--
#### web
You might want to create a separate issue tag for questions and include it in this description. People should then tag their issues accordingly.
Web UIs served under various conditions and used to interact with StartOS APIs.
Depending on how large the project is, you may want to outsource the questioning, e.g. to Stack Overflow or Gitter. You may add additional contact and information possibilities:
#### image-recipe
- IRC
Scripts for building StartOS images
- Slack
- Gitter
- Stack Overflow tag
- Blog
- FAQ
- Roadmap
- E-Mail List
- Forum
-->
## I Want To Contribute
#### patch-db (submodule)
A diff based data store used to synchronize data between the web interfaces and server.
> ### Legal Notice <!-- omit in toc -->
#### system-images
> When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
#### Load the PatchDB submodule
```sh
git submodule update --init --recursive
```
- Make sure that you are using the latest version.
#### Continue to your project of interest for additional instructions:
-Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://docs.start9labs.com). If you are looking for support, you might want to check [this section](#i-have-a-question)).
-[`core`](core/README.md)
-To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/Start9Labs/embassy-osissues?q=label%3Abug).
-[`web-interfaces`](web-interfaces/README.md)
-Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
- Client OS, Platform and Version (Windows/Linux/macOS/iOS/Android, Firefox/Tor Browser/Consulate)
- Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant.
- Possibly your input and the output
- Can you reliably reproduce the issue? And can you also reproduce it with older versions?
<!-- omit in toc -->
## Building
#### How Do I Submit a Good Bug Report?
This project uses [GNU Make](https://www.gnu.org/software/make/) to build its components. To build any specific component, simply run `make <TARGET>` replacing `<TARGET>` with the name of the target you'd like to build
> You must never report security related issues, vulnerabilities or bugs to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <security@start9labs.com>.
### Requirements
<!-- You may add a PGP key to allow the messages to be sent encrypted as well. -->
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
### Environment variables
-`PLATFORM`: which platform you would like to build for. Must be one of `x86_64`, `x86_64-nonfree`, `aarch64`, `aarch64-nonfree`, `raspberrypi`
- NOTE: `nonfree` images are for including `nonfree` firmware packages in the built ISO
-`ENVIRONMENT`: a hyphen separated set of feature flags to enable
-`dev`: enables password ssh (INSECURE!) and does not compress frontends
-`unstable`: enables assertions that will cause errors on unexpected inconsistencies that are undesirable in production use either for performance or reliability reasons
-`docker`: use `docker` instead of `podman`
-`GIT_BRANCH_AS_HASH`: set to `1` to use the current git branch name as the git hash so that the project does not need to be rebuilt on each commit
- Open an [Issue](https://github.com/Start9Labs/embassy-os/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
### Useful Make Targets
-Explain the behavior you would expect and the actual behavior.
-`iso`: Create a full `.iso` image
- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
- Only possible from Debian
- Provide the information you collected in the previous section.
- Not available for `PLATFORM=raspberrypi`
- Additional Requirements:
Once it's filed:
- [debspawn](https://github.com/lkhq/debspawn)
-`img`: Create a full `.img` image
- The project team will label the issue accordingly.
- Only possible from Debian
- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
- Only available for `PLATFORM=raspberrypi`
- If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution).
- Additional Requirements:
- [debspawn](https://github.com/lkhq/debspawn)
<!-- You might want to create an issue template for bugs and errors that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
-`format`: Run automatic code formatting for the project
- Additional Requirements:
- [rust](https://rustup.rs/)
### Suggesting Enhancements
-`test`: Run automated tests for the project
- Additional Requirements:
This section guides you through submitting an enhancement suggestion for Embassy OS, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
- [rust](https://rustup.rs/)
-`update`: Deploy the current working project to a device over ssh as if through an over-the-air update
<!-- omit in toc -->
- Requires an argument `REMOTE` which is the ssh address of the device, i.e. `start9@192.168.122.2`
#### Before Submitting an Enhancement
-`reflash`: Deploy the current working project to a device over ssh as if using a live `iso` image to reflash it
- Requires an argument `REMOTE` which is the ssh address of the device, i.e. `start9@192.168.122.2`
-Make sure that you are using the latest version.
-`update-overlay`: Deploy the current working project to a device over ssh to the in-memory overlay without restarting it
- Read the [documentation](https://docs.start9labs.com) carefully and find out if the functionality is already covered, maybe by an individual configuration.
- WARNING: changes will be reverted after the device is rebooted
- Perform a [search](https://github.com/Start9Labs/embassy-os/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- WARNING: changes to `init` will not take effect as the device is already initialized
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
- Requires an argument `REMOTE` which is the ssh address of the device, i.e. `start9@192.168.122.2`
-`wormhole`: Deploy the `startbox` to a device using [magic-wormhole](https://github.com/magic-wormhole/magic-wormhole)
<!-- omit in toc -->
- When the build it complete will emit a command to paste into the shell of the device to upgrade it
#### How Do I Submit a Good Enhancement Suggestion?
Enhancement suggestions are tracked as [GitHub issues](https://github.com/Start9Labs/embassy-os/issues).
- `clean`: Delete all compiled artifacts
- Use a **clear and descriptive title** for the issue to identify the suggestion.
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. <!-- this should only be included if the project has a GUI -->
- **Explain why this enhancement would be useful** to most Embassy OS users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
<!-- You might want to create an issue template for enhancement suggestions that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
### Project Structure
Embassy OS has 3 main components: `agent`, `appmgr`, and `ui`.
- The `ui` (Typescript Ionic Angular) is the code that is deployed to the browser to provide the user interface for Embassy OS
- The `agent` (Haskell) is a daemon that provides the interface for the `ui` to interact with the Embassy, as well as manage system state.
-`appmgr` (Rust) is a command line utility and (soon to be) daemon that sets up and manages services and their environments.
### Your First Code Contribution
#### Setting up your development environment
##### agent
There are two main workflows to consider when developing on the agent. During the development process you will spend
most of your time developing in an environment where you cannot actually run the agent. This is because we make heavy
platform specific assumptions (by nature of the project) around what folders get used and what package management tools
are used for the underlying system. If you are running this on a platform besides Linux you won't even be able to run
the agent effectively on your dev machine. Even if you are on Linux you may not want to turn administrative control over
to the software you are currently developing. So how do you know that anything you are doing is right? We make extensive
use of Haskell's type system and surrounding tooling. For this you will want to make sure you are using the [haskell-language-server](https://github.com/haskell/haskell-language-server)
and [stack](https://github.com/commercialhaskell/stack)
At some point though you will want to build the agent for the target platform (Raspberry Pi 4). This is the second build
flow that you will need to consider.
At Start9 we build the agent in two different ways. The primary way we have done it is on the Raspberry Pi itself. To do
this you will need stack built for the Raspberry Pi. Unfortunately, however, FPComplete no longer
distributes ARMv7 binaries for stack. Though hopefully soon we will be able to submit the binaries we've built for this
project back to them and have them hosted more visibly. The way we bootstrap through this problem is by downloading version
[2.1.3](https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-arm.tar.gz) and using that
to compile v2.5.1. Before you can successfully compile anything with GHC on the Raspberry Pi. You will need to tweak the
relevant GHC config. You will need to edit the file at `~/.stack/programs/arm-linux/ghc-8.10.2/lib/ghc-8.10.2/settings`
and change the line `("C compiler flags", " -marm -fno-stack-protector -mcpu=cortex-a7")` to include `-mcpu=cortex-a7`.
You will also need to make sure you've downloaded and installed LLVM 9.
Once you have done these things, you simply need to `cd` into the embassy-os project and then run `make agent`.
-`ext4fs` (available if running on the Linux kernel)
- [Docker](https://docs.docker.com/get-docker/)
- GNU Make
- Building
- build the [agent](#agent)
- make sure resulting artifact is agent/dist/agent
- run `make`
### Improving The Documentation
You can find the repository for Start9's documentation [here](https://github.com/Start9Labs/documentation). If there is something you would like to see added, let us know, or create an issue yourself. Welcome are contributions for lacking or incorrect information, broken links, requested additions, or general style improvements.
Contributions in the form of setup guides for integrations with external applications are highly encouraged. If you struggled through a process and would like to share your steps with others, check out the docs for each [service](https://github.com/Start9Labs/documentation/blob/master/source/user-manuals/available-services/index.rst) we support. The wrapper repos contain sections for adding integration guides, such as this [one](https://github.com/Start9Labs/bitcoind-wrapper/tree/master/docs). These not only help out others in the community, but inform how we can create a more seamless and intuitive experience.
## Styleguides
### Formatting
Code must be formatted with the formatter designated for each component:
Commits [should be atomic](https://en.wikipedia.org/wiki/Atomic_commit#Atomic_commit_convention) and diffs should be easy to read.
Do not mix any formatting fixes or code moves with actual code changes.
### Commit Messages
If a commit touches only 1 component, prefix the message with the affected component. i.e. `appmgr: update to tokio v0.3`.
### Pull Requests
The body of a pull request should contain sufficient description of what the changes do, as well as a justification.
You should include references to any relevant [issues](https://github.com/Start9Labs/embassy-os/issues).
### Rebasing Changes
When a pull request conflicts with the target branch, you may be asked to rebase it on top of the current target branch. The git rebase command will take care of rebuilding your commits on top of the new base.
This project aims to have a clean git history, where code changes are only made in non-merge commits. This simplifies auditability because merge commits can be assumed to not contain arbitrary code changes.
## Join The Discussion
Current or aspiring contributors? Join our community developer Matrix channel: `#community-dev:matrix.start9labs.com`.
Just interested in or using the project? Join our community [Telegram](https://t.me/start9_labs) or Matrix channel: `#community:matrix.start9labs.com`.
## Join The Project Team
Interested in becoming a part of the Start9 Labs team? Send an email to <jobs@start9labs.com>
<!-- omit in toc -->
## Attribution
This guide is based on the **contributing-gen**. [Make your own](https://github.com/bttger/contributing-gen)!
This license governs the use of the accompanying Software. If you use the Software, you accept this license. If you do not accept the license, do not use the Software.
1.**Definitions.**
1. “Licensor” means the copyright owner, Start9 Labs, Inc, or its successor(s) in interest, or a future assignee of the copyright.
2. “Source Code” means the preferred form of the Software for making modifications to it.
3. “Object Code” means any non-source form of the Software, including the machine-language output by a compiler or assembler.
4. “Distribute” means to convey or to publish and generally has the same meaning here as under U.S. Copyright law.
5. “Sell” means practicing any or all of the rights granted to you under the License to provide to third parties, for a fee or other consideration (including without limitation fees for hosting or consulting/support services related to the Software), a product or service whose value derives, entirely or substantially, from the functionality of the Software.
2.**Grant of Rights.** Subject to the terms of this license, the Licensor grants you, the licensee, a non-exclusive, worldwide, royalty-free copyright license to:
1. Access, audit, copy, modify, compile, or distribute the Source Code or modifications to the Source Code.
2. Run, test, or otherwise use the Object Code.
3.**Limitations.**
1. The grant of rights under the License will NOT include, and the License does NOT grant you the right to:
1. Sell the Software or any derivative works based thereon.
2. Distribute the Object Code.
2. If you Distribute the Source Code, or if permission is separately granted to Distribute the Object Code, you expressly undertake not to remove, or modify, in any manner, the copyright notices attached to the Source Code, and displayed in any output of the Object Code when run, and to reproduce these notices, in an identical manner, in any distributed copies of the Software together with a copy of this license. If you Distribute a modified copy of the Software, or a derivative work based thereon, the work must carry prominent notices stating that you modified it, and giving a relevant date.
3. The terms of this license will apply to anyone who comes into possession of a copy of the Software, and any modifications or derivative works based thereon, made by anyone.
4.**Contributions.** You hereby grant to Licensor a perpetual, irrevocable, worldwide, non-exclusive, royalty-free license to use and exploit any modifications or derivative works based on the Source Code of which you are the author.
5.**Disclaimer.** THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. LICENSOR HAS NO OBLIGATION TO SUPPORT RECIPIENTS OF THE SOFTWARE.
StartOS is an open source Linux distribution optimized for running a personal server. It facilitates the discovery, installation, network configuration, service configuration, data backup, dependency management, and health monitoring of self-hosted software services.
> StartOS is in beta. It lacks features. It doesn't always work perfectly. Start9 servers are not plug and play. Using them properly requires some effort and patience. Please do not use StartOS or purchase a server if you are unable or unwilling to follow instructions and learn new concepts.
### _Anyone can do it. No one can stop it._ ###
### 💰 Buy a Start9 server
This is the most convenient option. Simply [buy a server](https://store.start9.com) from Start9 and plug it in.
EmbassyOS is a mass-market, graphical operating system designed to facilitate the discovery, installation, configuration, private self-hosting, and reliable operation of open-source software services and applications. It aims to eliminate trust and custodianship from personal computing.
### 👷 Build your own server
This option is easier than you might imagine, and there are 4 reasons why you might prefer it:
1. You already have hardware
1. You want to save on shipping costs
1. You prefer not to divulge your physical address
To pursue this option, follow one of our [DIY guides](https://start9.com/latest/diy).
## ⚠️ Caution
## ❤️ Contributing
Some technologies supported by this software, such as [Lightning](https://lightning.network/), are considered in active development and might experience issues. Do not commit any funds you are not willing to loose. Be #reckless at your own risk.
There are multiple ways to contribute: work directly on StartOS, package a service for the marketplace, or help with documentation and guides. To learn more about contributing, see [here](https://start9.com/contribute/).
## Running EmbassyOS
To report security issues, please email our security team - security@start9.com.
There are multiple ways to obtain and begin using EmbassyOS.
### Buy an Embassy
## 🌎 Marketplace
This is the most convenient option. Simply [buy an Embassy](https://start9labs.com) from Start9 Labs and plug it in. Depending on where you live, shipping costs and import duties may vary.
There are dozens of services available for StartOS, and new ones are being added all the time. Check out the full list of available services [here](https://marketplace.start9.com/marketplace). To read more about the Marketplace ecosystem, check out this [blog post](https://blog.start9.com/start9-marketplace-strategy/)
### Build your own Embassy
## 🖥️ User Interface Screenshots
While not as convenient as buying an Embassy, this option is easier than you might imagine, and there are 4 reasons why you might prefer it:
1. You already have a Raspberry Pi and would like to re-purpose it.
1. You want to save on shipping costs.
1. You prefer not to divulge your physical shipping address.
1. You just like building things.
To pursue this option, follow this [guide](https://docs.start9labs.com/getting-started/diy.html).
<img src="assets/community.png" alt="StartOS Community Registry" width="49%">
To build EmbassyOS from source, or to contribute to its development, see [here](https://github.com/Start9Labs/embassy-os/blob/master/CONTRIBUTING.md#building-the-image).
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.