mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-02 05:23:14 +00:00
task fix and keyboard fix (#3130)
* task fix and keyboard fix
* fixes for build scripts
* passthrough feature
* feat: inline domain health checks and improve address UX
- addPublicDomain returns DNS query + port check results (AddPublicDomainRes)
so frontend skips separate API calls after adding a domain
- addPrivateDomain returns check_dns result for the gateway
- Support multiple ports per domain in validation modal (deduplicated)
- Run port checks concurrently via futures::future::join_all
- Add note to add-domain dialog showing other interfaces on same host
- Add addXForwardedHeaders to knownProtocols in SDK Host.ts
- Add plugin filter kind, pluginId filter, matchesAny, and docs to
getServiceInterface.ts
- Add PassthroughInfo type and passthroughs field to NetworkInfo
- Pluralize "port forwarding rules" in i18n dictionaries
* feat: add shared host note to private domain dialog with i18n
* fix: scope public domain to single binding and return single port check
Accept internalPort in AddPublicDomainParams to target a specific
binding. Disable the domain on all other bindings. Return a single
CheckPortRes instead of Vec. Revert multi-port UI to singular port
display from 0f8a66b35.
* better shared hostname approach, and improve look-feel of addresses tables
* fix starttls
* preserve usb as top efi boot option
* fix race condition in wan ip check
* sdk beta.56
* various bug, improve smtp
* multiple bugs, better outbound gateway UX
* remove non option from smtp for better package compat
* bump sdk
---------
Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
@@ -1440,7 +1440,7 @@ export class MockApiService extends ApiService {
|
||||
|
||||
async osUiAddPublicDomain(
|
||||
params: T.AddPublicDomainParams,
|
||||
): Promise<string | null> {
|
||||
): Promise<T.AddPublicDomainRes> {
|
||||
await pauseFor(2000)
|
||||
|
||||
const patch: Operation<any>[] = [
|
||||
@@ -1465,7 +1465,16 @@ export class MockApiService extends ApiService {
|
||||
]
|
||||
this.mockRevision(patch)
|
||||
|
||||
return null
|
||||
return {
|
||||
dns: null,
|
||||
port: {
|
||||
ip: '0.0.0.0',
|
||||
port: 443,
|
||||
openExternally: false,
|
||||
openInternally: false,
|
||||
hairpinning: false,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
async osUiRemovePublicDomain(params: T.RemoveDomainParams): Promise<null> {
|
||||
@@ -1482,7 +1491,9 @@ export class MockApiService extends ApiService {
|
||||
return null
|
||||
}
|
||||
|
||||
async osUiAddPrivateDomain(params: T.AddPrivateDomainParams): Promise<null> {
|
||||
async osUiAddPrivateDomain(
|
||||
params: T.AddPrivateDomainParams,
|
||||
): Promise<boolean> {
|
||||
await pauseFor(2000)
|
||||
|
||||
const patch: Operation<any>[] = [
|
||||
@@ -1505,7 +1516,7 @@ export class MockApiService extends ApiService {
|
||||
]
|
||||
this.mockRevision(patch)
|
||||
|
||||
return null
|
||||
return false
|
||||
}
|
||||
|
||||
async osUiRemovePrivateDomain(params: T.RemoveDomainParams): Promise<null> {
|
||||
@@ -1535,7 +1546,7 @@ export class MockApiService extends ApiService {
|
||||
|
||||
async pkgAddPublicDomain(
|
||||
params: PkgAddPublicDomainReq,
|
||||
): Promise<string | null> {
|
||||
): Promise<T.AddPublicDomainRes> {
|
||||
await pauseFor(2000)
|
||||
|
||||
const patch: Operation<any>[] = [
|
||||
@@ -1560,7 +1571,16 @@ export class MockApiService extends ApiService {
|
||||
]
|
||||
this.mockRevision(patch)
|
||||
|
||||
return null
|
||||
return {
|
||||
dns: null,
|
||||
port: {
|
||||
ip: '0.0.0.0',
|
||||
port: 443,
|
||||
openExternally: false,
|
||||
openInternally: false,
|
||||
hairpinning: false,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
async pkgRemovePublicDomain(params: PkgRemovePublicDomainReq): Promise<null> {
|
||||
@@ -1577,7 +1597,9 @@ export class MockApiService extends ApiService {
|
||||
return null
|
||||
}
|
||||
|
||||
async pkgAddPrivateDomain(params: PkgAddPrivateDomainReq): Promise<null> {
|
||||
async pkgAddPrivateDomain(
|
||||
params: PkgAddPrivateDomainReq,
|
||||
): Promise<boolean> {
|
||||
await pauseFor(2000)
|
||||
|
||||
const patch: Operation<any>[] = [
|
||||
@@ -1600,7 +1622,7 @@ export class MockApiService extends ApiService {
|
||||
]
|
||||
this.mockRevision(patch)
|
||||
|
||||
return null
|
||||
return false
|
||||
}
|
||||
|
||||
async pkgRemovePrivateDomain(
|
||||
|
||||
Reference in New Issue
Block a user