mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
0.2.10 version bump stuff (#238)
* agent -> 0.2.10 * appmgr -> 0.2.10 * updates to 0.2.10 for the UI Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
committed by
GitHub
parent
bd61510c24
commit
5339b23ea6
@@ -1,9 +1,9 @@
|
|||||||
# Values formatted like "_env:YESOD_ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
|
# Values formatted like "_env:YESOD_ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
|
||||||
# See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables
|
# See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables
|
||||||
|
|
||||||
static-dir: "_env:YESOD_STATIC_DIR:static"
|
static-dir: "_env:YESOD_STATIC_DIR:static"
|
||||||
host: "_env:YESOD_HOST:*4" # any IPv4 host
|
host: "_env:YESOD_HOST:*4" # any IPv4 host
|
||||||
port: 5959 # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
|
port: 5959 # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
|
||||||
ip-from-header: "_env:YESOD_IP_FROM_HEADER:false"
|
ip-from-header: "_env:YESOD_IP_FROM_HEADER:false"
|
||||||
detailed-logging: "_env:DETAILED_LOGGING:false"
|
detailed-logging: "_env:DETAILED_LOGGING:false"
|
||||||
|
|
||||||
@@ -33,6 +33,5 @@ database:
|
|||||||
database: "start9_agent.sqlite3"
|
database: "start9_agent.sqlite3"
|
||||||
poolsize: "_env:YESOD_SQLITE_POOLSIZE:10"
|
poolsize: "_env:YESOD_SQLITE_POOLSIZE:10"
|
||||||
|
|
||||||
app-mgr-version-spec: "=0.2.9"
|
app-mgr-version-spec: "=0.2.10"
|
||||||
|
|
||||||
#analytics: UA-YOURCODE
|
#analytics: UA-YOURCODE
|
||||||
|
|||||||
1
agent/migrations/0.2.9::0.2.10
Normal file
1
agent/migrations/0.2.9::0.2.10
Normal file
@@ -0,0 +1 @@
|
|||||||
|
SELECT TRUE;
|
||||||
@@ -1,117 +1,117 @@
|
|||||||
name: ambassador-agent
|
name: ambassador-agent
|
||||||
version: 0.2.9
|
version: 0.2.10
|
||||||
|
|
||||||
default-extensions:
|
default-extensions:
|
||||||
- NoImplicitPrelude
|
- NoImplicitPrelude
|
||||||
- BlockArguments
|
- BlockArguments
|
||||||
- ConstraintKinds
|
- ConstraintKinds
|
||||||
- DataKinds
|
- DataKinds
|
||||||
- DeriveAnyClass
|
- DeriveAnyClass
|
||||||
- DeriveFunctor
|
- DeriveFunctor
|
||||||
- DeriveGeneric
|
- DeriveGeneric
|
||||||
- DerivingStrategies
|
- DerivingStrategies
|
||||||
- EmptyCase
|
- EmptyCase
|
||||||
- FlexibleContexts
|
- FlexibleContexts
|
||||||
- FlexibleInstances
|
- FlexibleInstances
|
||||||
- GADTs
|
- GADTs
|
||||||
- GeneralizedNewtypeDeriving
|
- GeneralizedNewtypeDeriving
|
||||||
- InstanceSigs
|
- InstanceSigs
|
||||||
- KindSignatures
|
- KindSignatures
|
||||||
- LambdaCase
|
- LambdaCase
|
||||||
- MultiParamTypeClasses
|
- MultiParamTypeClasses
|
||||||
- MultiWayIf
|
- MultiWayIf
|
||||||
- NamedFieldPuns
|
- NamedFieldPuns
|
||||||
- NumericUnderscores
|
- NumericUnderscores
|
||||||
- OverloadedStrings
|
- OverloadedStrings
|
||||||
- PolyKinds
|
- PolyKinds
|
||||||
- RankNTypes
|
- RankNTypes
|
||||||
- StandaloneDeriving
|
- StandaloneDeriving
|
||||||
- StandaloneKindSignatures
|
- StandaloneKindSignatures
|
||||||
- TupleSections
|
- TupleSections
|
||||||
- TypeApplications
|
- TypeApplications
|
||||||
- TypeFamilies
|
- TypeFamilies
|
||||||
- TypeOperators
|
- TypeOperators
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.9.1.0 && <5
|
- base >=4.9.1.0 && <5
|
||||||
- aeson
|
- aeson
|
||||||
- aeson-flatten
|
- aeson-flatten
|
||||||
- attoparsec
|
- attoparsec
|
||||||
- bytestring
|
- bytestring
|
||||||
- casing
|
- casing
|
||||||
- comonad
|
- comonad
|
||||||
- conduit
|
- conduit
|
||||||
- conduit-extra
|
- conduit-extra
|
||||||
- connection
|
- connection
|
||||||
- containers
|
- containers
|
||||||
- cryptonite
|
- cryptonite
|
||||||
- cryptonite-conduit
|
- cryptonite-conduit
|
||||||
- data-default
|
- data-default
|
||||||
- directory
|
- directory
|
||||||
- errors
|
- errors
|
||||||
- exceptions
|
- exceptions
|
||||||
- exinst
|
- exinst
|
||||||
- fast-logger
|
- fast-logger
|
||||||
- file-embed
|
- file-embed
|
||||||
- filelock
|
- filelock
|
||||||
- filepath
|
- filepath
|
||||||
- fused-effects
|
- fused-effects
|
||||||
- fused-effects-th
|
- fused-effects-th
|
||||||
- git-embed
|
- git-embed
|
||||||
- http-api-data
|
- http-api-data
|
||||||
- http-client
|
- http-client
|
||||||
- http-client-tls
|
- http-client-tls
|
||||||
- http-conduit
|
- http-conduit
|
||||||
- http-types
|
- http-types
|
||||||
- interpolate
|
- interpolate
|
||||||
- iso8601-time
|
- iso8601-time
|
||||||
- json-rpc
|
- json-rpc
|
||||||
- lens
|
- lens
|
||||||
- lens-aeson
|
- lens-aeson
|
||||||
- lifted-async
|
- lifted-async
|
||||||
- lifted-base
|
- lifted-base
|
||||||
- memory
|
- memory
|
||||||
- mime-types
|
- mime-types
|
||||||
- monad-control
|
- monad-control
|
||||||
- monad-logger
|
- monad-logger
|
||||||
- network
|
- network
|
||||||
- persistent
|
- persistent
|
||||||
- persistent-sqlite
|
- persistent-sqlite
|
||||||
- persistent-template
|
- persistent-template
|
||||||
- process
|
- process
|
||||||
- process-extras
|
- process-extras
|
||||||
- protolude
|
- protolude
|
||||||
- resourcet
|
- resourcet
|
||||||
- regex-compat # TODO: trim this dep
|
- regex-compat # TODO: trim this dep
|
||||||
- shell-conduit
|
- shell-conduit
|
||||||
- singletons
|
- singletons
|
||||||
- stm
|
- stm
|
||||||
- streaming
|
- streaming
|
||||||
- streaming-bytestring
|
- streaming-bytestring
|
||||||
- streaming-conduit
|
- streaming-conduit
|
||||||
- streaming-utils
|
- streaming-utils
|
||||||
- tar-conduit
|
- tar-conduit
|
||||||
- template-haskell
|
- template-haskell
|
||||||
- text >=0.11 && <2.0
|
- text >=0.11 && <2.0
|
||||||
- time
|
- time
|
||||||
- transformers
|
- transformers
|
||||||
- transformers-base
|
- transformers-base
|
||||||
- typed-process
|
- typed-process
|
||||||
- unix
|
- unix
|
||||||
- unliftio # TODO: trim this dep
|
- unliftio # TODO: trim this dep
|
||||||
- unliftio-core # TODO: trim this dep
|
- unliftio-core # TODO: trim this dep
|
||||||
- unordered-containers
|
- unordered-containers
|
||||||
- uuid
|
- uuid
|
||||||
- wai
|
- wai
|
||||||
- wai-cors
|
- wai-cors
|
||||||
- wai-extra
|
- wai-extra
|
||||||
- warp
|
- warp
|
||||||
- yaml
|
- yaml
|
||||||
- yesod
|
- yesod
|
||||||
- yesod-auth
|
- yesod-auth
|
||||||
- yesod-core
|
- yesod-core
|
||||||
- yesod-form
|
- yesod-form
|
||||||
- yesod-persistent
|
- yesod-persistent
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
library-only:
|
library-only:
|
||||||
@@ -129,56 +129,56 @@ flags:
|
|||||||
library:
|
library:
|
||||||
source-dirs: src
|
source-dirs: src
|
||||||
when:
|
when:
|
||||||
- condition: (flag(dev)) || (flag(library-only))
|
- condition: (flag(dev)) || (flag(library-only))
|
||||||
then:
|
then:
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -Wall
|
||||||
- -Wunused-packages
|
- -Wunused-packages
|
||||||
- -fwarn-tabs
|
- -fwarn-tabs
|
||||||
- -O0
|
- -O0
|
||||||
- -fdefer-typed-holes
|
- -fdefer-typed-holes
|
||||||
else:
|
else:
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -Wall
|
||||||
- -Wunused-packages
|
- -Wunused-packages
|
||||||
- -fwarn-tabs
|
- -fwarn-tabs
|
||||||
- -O2
|
- -O2
|
||||||
- -fdefer-typed-holes
|
- -fdefer-typed-holes
|
||||||
- condition: (flag(disable-auth))
|
- condition: (flag(disable-auth))
|
||||||
cpp-options: -DDISABLE_AUTH
|
cpp-options: -DDISABLE_AUTH
|
||||||
tests:
|
tests:
|
||||||
agent-test:
|
agent-test:
|
||||||
source-dirs: test
|
source-dirs: test
|
||||||
main: Main.hs
|
main: Main.hs
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -Wall
|
||||||
- -fdefer-typed-holes
|
- -fdefer-typed-holes
|
||||||
dependencies:
|
dependencies:
|
||||||
- ambassador-agent
|
- ambassador-agent
|
||||||
- hspec >=2.0.0
|
- hspec >=2.0.0
|
||||||
- hspec-expectations
|
- hspec-expectations
|
||||||
- hedgehog
|
- hedgehog
|
||||||
- yesod-test
|
- yesod-test
|
||||||
- random
|
- random
|
||||||
when:
|
when:
|
||||||
- condition: false
|
- condition: false
|
||||||
other-modules: Paths_ambassador_agent
|
other-modules: Paths_ambassador_agent
|
||||||
|
|
||||||
executables:
|
executables:
|
||||||
agent:
|
agent:
|
||||||
source-dirs: app
|
source-dirs: app
|
||||||
main: main.hs
|
main: main.hs
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -Wall
|
||||||
- -threaded
|
- -threaded
|
||||||
- -rtsopts
|
- -rtsopts
|
||||||
- -with-rtsopts=-N
|
- -with-rtsopts=-N
|
||||||
- -fdefer-typed-holes
|
- -fdefer-typed-holes
|
||||||
dependencies:
|
dependencies:
|
||||||
- ambassador-agent
|
- ambassador-agent
|
||||||
when:
|
when:
|
||||||
- buildable: false
|
- buildable: false
|
||||||
condition: flag(library-only)
|
condition: flag(library-only)
|
||||||
- condition: false
|
- condition: false
|
||||||
other-modules: Paths_ambassador_agent
|
other-modules: Paths_ambassador_agent
|
||||||
|
|||||||
@@ -97,12 +97,12 @@ parseKernelVersion = do
|
|||||||
pure $ KernelVersion (Version (major', minor', patch', 0)) arch
|
pure $ KernelVersion (Version (major', minor', patch', 0)) arch
|
||||||
|
|
||||||
synchronizer :: Synchronizer
|
synchronizer :: Synchronizer
|
||||||
synchronizer = sync_0_2_9
|
synchronizer = sync_0_2_10
|
||||||
{-# INLINE synchronizer #-}
|
{-# INLINE synchronizer #-}
|
||||||
|
|
||||||
sync_0_2_9 :: Synchronizer
|
sync_0_2_10 :: Synchronizer
|
||||||
sync_0_2_9 = Synchronizer
|
sync_0_2_10 = Synchronizer
|
||||||
"0.2.9"
|
"0.2.10"
|
||||||
[ syncCreateAgentTmp
|
[ syncCreateAgentTmp
|
||||||
, syncCreateSshDir
|
, syncCreateSshDir
|
||||||
, syncRemoveAvahiSystemdDependency
|
, syncRemoveAvahiSystemdDependency
|
||||||
|
|||||||
2
appmgr/Cargo.lock
generated
2
appmgr/Cargo.lock
generated
@@ -41,7 +41,7 @@ checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "appmgr"
|
name = "appmgr"
|
||||||
version = "0.2.9"
|
version = "0.2.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"avahi-sys",
|
"avahi-sys",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
authors = ["Aiden McClelland <me@drbonez.dev>"]
|
authors = ["Aiden McClelland <me@drbonez.dev>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "appmgr"
|
name = "appmgr"
|
||||||
version = "0.2.9"
|
version = "0.2.10"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "appmgrlib"
|
name = "appmgrlib"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ mod v0_1_4;
|
|||||||
mod v0_1_5;
|
mod v0_1_5;
|
||||||
mod v0_2_0;
|
mod v0_2_0;
|
||||||
mod v0_2_1;
|
mod v0_2_1;
|
||||||
|
mod v0_2_10;
|
||||||
mod v0_2_2;
|
mod v0_2_2;
|
||||||
mod v0_2_3;
|
mod v0_2_3;
|
||||||
mod v0_2_4;
|
mod v0_2_4;
|
||||||
@@ -26,7 +27,7 @@ mod v0_2_7;
|
|||||||
mod v0_2_8;
|
mod v0_2_8;
|
||||||
mod v0_2_9;
|
mod v0_2_9;
|
||||||
|
|
||||||
pub use v0_2_9::Version as Current;
|
pub use v0_2_10::Version as Current;
|
||||||
|
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
@@ -48,6 +49,7 @@ enum Version {
|
|||||||
V0_2_7(Wrapper<v0_2_7::Version>),
|
V0_2_7(Wrapper<v0_2_7::Version>),
|
||||||
V0_2_8(Wrapper<v0_2_8::Version>),
|
V0_2_8(Wrapper<v0_2_8::Version>),
|
||||||
V0_2_9(Wrapper<v0_2_9::Version>),
|
V0_2_9(Wrapper<v0_2_9::Version>),
|
||||||
|
V0_2_10(Wrapper<v0_2_10::Version>),
|
||||||
Other(emver::Version),
|
Other(emver::Version),
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,6 +161,7 @@ pub async fn init() -> Result<(), failure::Error> {
|
|||||||
Version::V0_2_7(v) => v.0.migrate_to(&Current::new()).await?,
|
Version::V0_2_7(v) => v.0.migrate_to(&Current::new()).await?,
|
||||||
Version::V0_2_8(v) => v.0.migrate_to(&Current::new()).await?,
|
Version::V0_2_8(v) => v.0.migrate_to(&Current::new()).await?,
|
||||||
Version::V0_2_9(v) => v.0.migrate_to(&Current::new()).await?,
|
Version::V0_2_9(v) => v.0.migrate_to(&Current::new()).await?,
|
||||||
|
Version::V0_2_10(v) => v.0.migrate_to(&Current::new()).await?,
|
||||||
Version::Other(_) => (),
|
Version::Other(_) => (),
|
||||||
// TODO find some way to automate this?
|
// TODO find some way to automate this?
|
||||||
}
|
}
|
||||||
@@ -249,6 +252,7 @@ pub async fn self_update(requirement: emver::VersionRange) -> Result<(), Error>
|
|||||||
Version::V0_2_7(v) => Current::new().migrate_to(&v.0).await?,
|
Version::V0_2_7(v) => Current::new().migrate_to(&v.0).await?,
|
||||||
Version::V0_2_8(v) => Current::new().migrate_to(&v.0).await?,
|
Version::V0_2_8(v) => Current::new().migrate_to(&v.0).await?,
|
||||||
Version::V0_2_9(v) => Current::new().migrate_to(&v.0).await?,
|
Version::V0_2_9(v) => Current::new().migrate_to(&v.0).await?,
|
||||||
|
Version::V0_2_10(v) => Current::new().migrate_to(&v.0).await?,
|
||||||
Version::Other(_) => (),
|
Version::Other(_) => (),
|
||||||
// TODO find some way to automate this?
|
// TODO find some way to automate this?
|
||||||
};
|
};
|
||||||
|
|||||||
21
appmgr/src/version/v0_2_10.rs
Normal file
21
appmgr/src/version/v0_2_10.rs
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
use super::*;
|
||||||
|
|
||||||
|
const V0_2_10: emver::Version = emver::Version::new(0, 2, 10, 0);
|
||||||
|
|
||||||
|
pub struct Version;
|
||||||
|
#[async_trait]
|
||||||
|
impl VersionT for Version {
|
||||||
|
type Previous = v0_2_9::Version;
|
||||||
|
fn new() -> Self {
|
||||||
|
Version
|
||||||
|
}
|
||||||
|
fn semver(&self) -> &'static emver::Version {
|
||||||
|
&V0_2_10
|
||||||
|
}
|
||||||
|
async fn up(&self) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
async fn down(&self) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
manifest-version: 0
|
manifest-version: 0
|
||||||
app-id: start9-ambassador
|
app-id: start9-ambassador
|
||||||
app-version: 0.2.9
|
app-version: 0.2.10
|
||||||
uri-rewrites:
|
uri-rewrites:
|
||||||
- =/api -> http://{{start9-ambassador}}:5959/authenticate
|
- =/api -> http://{{start9-ambassador}}:5959/authenticate
|
||||||
- /api/ -> http://{{start9-ambassador}}:5959/
|
- /api/ -> http://{{start9-ambassador}}:5959/
|
||||||
|
|||||||
2
ui/package-lock.json
generated
2
ui/package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "embassy-ui",
|
"name": "embassy-ui",
|
||||||
"version": "0.2.9",
|
"version": "0.2.10",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "embassy-ui",
|
"name": "embassy-ui",
|
||||||
"version": "0.2.9",
|
"version": "0.2.10",
|
||||||
"description": "GUI for EmbassyOS",
|
"description": "GUI for EmbassyOS",
|
||||||
"author": "Start9 Labs",
|
"author": "Start9 Labs",
|
||||||
"homepage": "https://github.com/Start9Labs/embassy-ui",
|
"homepage": "https://github.com/Start9Labs/embassy-ui",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<ion-header>
|
<ion-header>
|
||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-title >
|
<ion-title >
|
||||||
<ion-label style="font-size: 20px;" class="ion-text-wrap">Welcome to 0.2.9!</ion-label>
|
<ion-label style="font-size: 20px;" class="ion-text-wrap">Welcome to 0.2.10!</ion-label>
|
||||||
</ion-title>
|
</ion-title>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
</ion-header>
|
</ion-header>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<div style="display: flex; flex-direction: column; justify-content: space-between; height: 100%">
|
<div style="display: flex; flex-direction: column; justify-content: space-between; height: 100%">
|
||||||
<h2>Highlights</h2>
|
<h2>Highlights</h2>
|
||||||
<p class="main-content">
|
<p class="main-content">
|
||||||
0.2.9 introduces LAN support for services running on the Embassy. A service's LAN address (.local URL) can be accessed while connected to the same network.
|
0.2.10 introduces LAN support for services running on the Embassy. A service's LAN address (.local URL) can be accessed while connected to the same network.
|
||||||
This is useful for two reasons: (1) LAN connections are significantly faster than Tor, and (2) if the Tor network is experiencing connectivity issues, you will not be locked out of your services.
|
This is useful for two reasons: (1) LAN connections are significantly faster than Tor, and (2) if the Tor network is experiencing connectivity issues, you will not be locked out of your services.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -492,8 +492,8 @@ const mockApiNotifications: ReqRes.GetNotificationsRes = [
|
|||||||
const mockApiServer: () => ReqRes.GetServerRes = () => ({
|
const mockApiServer: () => ReqRes.GetServerRes = () => ({
|
||||||
serverId: 'start9-mockxyzab',
|
serverId: 'start9-mockxyzab',
|
||||||
name: 'Embassy:12345678',
|
name: 'Embassy:12345678',
|
||||||
versionInstalled: '0.2.9',
|
versionInstalled: '0.2.10',
|
||||||
versionLatest: '0.2.10',
|
versionLatest: '0.2.11',
|
||||||
status: ServerStatus.RUNNING,
|
status: ServerStatus.RUNNING,
|
||||||
alternativeRegistryUrl: 'beta-registry.start9labs.com',
|
alternativeRegistryUrl: 'beta-registry.start9labs.com',
|
||||||
welcomeAck: true,
|
welcomeAck: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user