Updated module fqdn
This commit is contained in:
@@ -62,8 +62,8 @@ Built with [Wails v2](https://wails.io/) (Go backend, HTML/CSS/JS frontend, [xte
|
|||||||
### Clone and Run
|
### Clone and Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/andydixon/nexus-terminal.git
|
git clone https://github.com/andydixon/nexus.git
|
||||||
cd nexus-terminal
|
cd nexus
|
||||||
make deps # install Go modules and npm packages
|
make deps # install Go modules and npm packages
|
||||||
make dev # launch with hot reload
|
make dev # launch with hot reload
|
||||||
```
|
```
|
||||||
|
|||||||
Vendored
+8
@@ -29,6 +29,8 @@ export function DeleteRecording(arg1:string):Promise<void>;
|
|||||||
|
|
||||||
export function DeleteSnippet(arg1:string):Promise<void>;
|
export function DeleteSnippet(arg1:string):Promise<void>;
|
||||||
|
|
||||||
|
export function DeleteTOTPSecret(arg1:string):Promise<void>;
|
||||||
|
|
||||||
export function DisconnectSession(arg1:string):Promise<void>;
|
export function DisconnectSession(arg1:string):Promise<void>;
|
||||||
|
|
||||||
export function DuplicateProfile(arg1:string):Promise<models.Profile>;
|
export function DuplicateProfile(arg1:string):Promise<models.Profile>;
|
||||||
@@ -47,6 +49,10 @@ export function GetRecording(arg1:string):Promise<Record<string, any>>;
|
|||||||
|
|
||||||
export function GetSessionHistory(arg1:string):Promise<Array<Record<string, any>>>;
|
export function GetSessionHistory(arg1:string):Promise<Array<Record<string, any>>>;
|
||||||
|
|
||||||
|
export function GetTOTPCode(arg1:string):Promise<string>;
|
||||||
|
|
||||||
|
export function HasTOTPSecret(arg1:string):Promise<boolean>;
|
||||||
|
|
||||||
export function ImportProfiles(arg1:string,arg2:string):Promise<number>;
|
export function ImportProfiles(arg1:string,arg2:string):Promise<number>;
|
||||||
|
|
||||||
export function ImportProfilesEncrypted(arg1:string,arg2:string):Promise<number>;
|
export function ImportProfilesEncrypted(arg1:string,arg2:string):Promise<number>;
|
||||||
@@ -131,6 +137,8 @@ export function SetFavourite(arg1:string,arg2:boolean):Promise<void>;
|
|||||||
|
|
||||||
export function SetProfileSecret(arg1:string,arg2:string,arg3:string):Promise<void>;
|
export function SetProfileSecret(arg1:string,arg2:string,arg3:string):Promise<void>;
|
||||||
|
|
||||||
|
export function SetTOTPSecret(arg1:string,arg2:string):Promise<void>;
|
||||||
|
|
||||||
export function StartPortForward(arg1:string,arg2:models.PortForward):Promise<void>;
|
export function StartPortForward(arg1:string,arg2:models.PortForward):Promise<void>;
|
||||||
|
|
||||||
export function StartRecording(arg1:string,arg2:number,arg3:number):Promise<string>;
|
export function StartRecording(arg1:string,arg2:number,arg3:number):Promise<string>;
|
||||||
|
|||||||
@@ -54,6 +54,10 @@ export function DeleteSnippet(arg1) {
|
|||||||
return window['go']['api']['Service']['DeleteSnippet'](arg1);
|
return window['go']['api']['Service']['DeleteSnippet'](arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function DeleteTOTPSecret(arg1) {
|
||||||
|
return window['go']['api']['Service']['DeleteTOTPSecret'](arg1);
|
||||||
|
}
|
||||||
|
|
||||||
export function DisconnectSession(arg1) {
|
export function DisconnectSession(arg1) {
|
||||||
return window['go']['api']['Service']['DisconnectSession'](arg1);
|
return window['go']['api']['Service']['DisconnectSession'](arg1);
|
||||||
}
|
}
|
||||||
@@ -90,6 +94,14 @@ export function GetSessionHistory(arg1) {
|
|||||||
return window['go']['api']['Service']['GetSessionHistory'](arg1);
|
return window['go']['api']['Service']['GetSessionHistory'](arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function GetTOTPCode(arg1) {
|
||||||
|
return window['go']['api']['Service']['GetTOTPCode'](arg1);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function HasTOTPSecret(arg1) {
|
||||||
|
return window['go']['api']['Service']['HasTOTPSecret'](arg1);
|
||||||
|
}
|
||||||
|
|
||||||
export function ImportProfiles(arg1, arg2) {
|
export function ImportProfiles(arg1, arg2) {
|
||||||
return window['go']['api']['Service']['ImportProfiles'](arg1, arg2);
|
return window['go']['api']['Service']['ImportProfiles'](arg1, arg2);
|
||||||
}
|
}
|
||||||
@@ -258,6 +270,10 @@ export function SetProfileSecret(arg1, arg2, arg3) {
|
|||||||
return window['go']['api']['Service']['SetProfileSecret'](arg1, arg2, arg3);
|
return window['go']['api']['Service']['SetProfileSecret'](arg1, arg2, arg3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function SetTOTPSecret(arg1, arg2) {
|
||||||
|
return window['go']['api']['Service']['SetTOTPSecret'](arg1, arg2);
|
||||||
|
}
|
||||||
|
|
||||||
export function StartPortForward(arg1, arg2) {
|
export function StartPortForward(arg1, arg2) {
|
||||||
return window['go']['api']['Service']['StartPortForward'](arg1, arg2);
|
return window['go']['api']['Service']['StartPortForward'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -193,6 +193,22 @@ export namespace models {
|
|||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
export class LoginScriptStep {
|
||||||
|
type: string;
|
||||||
|
value: string;
|
||||||
|
timeout: number;
|
||||||
|
|
||||||
|
static createFrom(source: any = {}) {
|
||||||
|
return new LoginScriptStep(source);
|
||||||
|
}
|
||||||
|
|
||||||
|
constructor(source: any = {}) {
|
||||||
|
if ('string' === typeof source) source = JSON.parse(source);
|
||||||
|
this.type = source["type"];
|
||||||
|
this.value = source["value"];
|
||||||
|
this.timeout = source["timeout"];
|
||||||
|
}
|
||||||
|
}
|
||||||
export class PayloadPreset {
|
export class PayloadPreset {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
@@ -286,6 +302,7 @@ export namespace models {
|
|||||||
lineMode: boolean;
|
lineMode: boolean;
|
||||||
autoReconnect: boolean;
|
autoReconnect: boolean;
|
||||||
maxReconnectTries: number;
|
maxReconnectTries: number;
|
||||||
|
loginScripts: LoginScriptStep[];
|
||||||
|
|
||||||
static createFrom(source: any = {}) {
|
static createFrom(source: any = {}) {
|
||||||
return new TelnetConfig(source);
|
return new TelnetConfig(source);
|
||||||
@@ -301,7 +318,26 @@ export namespace models {
|
|||||||
this.lineMode = source["lineMode"];
|
this.lineMode = source["lineMode"];
|
||||||
this.autoReconnect = source["autoReconnect"];
|
this.autoReconnect = source["autoReconnect"];
|
||||||
this.maxReconnectTries = source["maxReconnectTries"];
|
this.maxReconnectTries = source["maxReconnectTries"];
|
||||||
|
this.loginScripts = this.convertValues(source["loginScripts"], LoginScriptStep);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
convertValues(a: any, classs: any, asMap: boolean = false): any {
|
||||||
|
if (!a) {
|
||||||
|
return a;
|
||||||
|
}
|
||||||
|
if (a.slice && a.map) {
|
||||||
|
return (a as any[]).map(elem => this.convertValues(elem, classs));
|
||||||
|
} else if ("object" === typeof a) {
|
||||||
|
if (asMap) {
|
||||||
|
for (const key of Object.keys(a)) {
|
||||||
|
a[key] = new classs(a[key]);
|
||||||
|
}
|
||||||
|
return a;
|
||||||
|
}
|
||||||
|
return new classs(a);
|
||||||
|
}
|
||||||
|
return a;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
export class SSHConfig {
|
export class SSHConfig {
|
||||||
authMethods: string[];
|
authMethods: string[];
|
||||||
@@ -317,6 +353,13 @@ export namespace models {
|
|||||||
agentForwarding: boolean;
|
agentForwarding: boolean;
|
||||||
autoReconnect: boolean;
|
autoReconnect: boolean;
|
||||||
maxReconnectTries: number;
|
maxReconnectTries: number;
|
||||||
|
loginScripts: LoginScriptStep[];
|
||||||
|
totpSecret: string;
|
||||||
|
proxyType: string;
|
||||||
|
proxyHost: string;
|
||||||
|
proxyPort: number;
|
||||||
|
proxyUsername: string;
|
||||||
|
proxyPassword: string;
|
||||||
jumpHosts: JumpHost[];
|
jumpHosts: JumpHost[];
|
||||||
portForwards: PortForward[];
|
portForwards: PortForward[];
|
||||||
startupCommand: string;
|
startupCommand: string;
|
||||||
@@ -341,6 +384,13 @@ export namespace models {
|
|||||||
this.agentForwarding = source["agentForwarding"];
|
this.agentForwarding = source["agentForwarding"];
|
||||||
this.autoReconnect = source["autoReconnect"];
|
this.autoReconnect = source["autoReconnect"];
|
||||||
this.maxReconnectTries = source["maxReconnectTries"];
|
this.maxReconnectTries = source["maxReconnectTries"];
|
||||||
|
this.loginScripts = this.convertValues(source["loginScripts"], LoginScriptStep);
|
||||||
|
this.totpSecret = source["totpSecret"];
|
||||||
|
this.proxyType = source["proxyType"];
|
||||||
|
this.proxyHost = source["proxyHost"];
|
||||||
|
this.proxyPort = source["proxyPort"];
|
||||||
|
this.proxyUsername = source["proxyUsername"];
|
||||||
|
this.proxyPassword = source["proxyPassword"];
|
||||||
this.jumpHosts = this.convertValues(source["jumpHosts"], JumpHost);
|
this.jumpHosts = this.convertValues(source["jumpHosts"], JumpHost);
|
||||||
this.portForwards = this.convertValues(source["portForwards"], PortForward);
|
this.portForwards = this.convertValues(source["portForwards"], PortForward);
|
||||||
this.startupCommand = source["startupCommand"];
|
this.startupCommand = source["startupCommand"];
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module github.com/copilot-ssh-client/app
|
module github.com/andydixon/nexus
|
||||||
|
|
||||||
go 1.25.0
|
go 1.25.0
|
||||||
|
|
||||||
@@ -6,9 +6,11 @@ require (
|
|||||||
github.com/google/uuid v1.6.0
|
github.com/google/uuid v1.6.0
|
||||||
github.com/mattn/go-sqlite3 v1.14.22
|
github.com/mattn/go-sqlite3 v1.14.22
|
||||||
github.com/pkg/sftp v1.13.10
|
github.com/pkg/sftp v1.13.10
|
||||||
|
github.com/pquerna/otp v1.5.0
|
||||||
github.com/wailsapp/wails/v2 v2.12.0
|
github.com/wailsapp/wails/v2 v2.12.0
|
||||||
github.com/zalando/go-keyring v0.2.5
|
github.com/zalando/go-keyring v0.2.5
|
||||||
golang.org/x/crypto v0.50.0
|
golang.org/x/crypto v0.50.0
|
||||||
|
golang.org/x/net v0.53.0
|
||||||
golang.org/x/text v0.36.0
|
golang.org/x/text v0.36.0
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -33,7 +35,6 @@ require (
|
|||||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||||
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
github.com/pkg/errors v0.9.1 // indirect
|
||||||
github.com/pquerna/otp v1.5.0 // indirect
|
|
||||||
github.com/rivo/uniseg v0.4.7 // indirect
|
github.com/rivo/uniseg v0.4.7 // indirect
|
||||||
github.com/samber/lo v1.49.1 // indirect
|
github.com/samber/lo v1.49.1 // indirect
|
||||||
github.com/tkrajina/go-reflector v0.5.8 // indirect
|
github.com/tkrajina/go-reflector v0.5.8 // indirect
|
||||||
@@ -41,6 +42,5 @@ require (
|
|||||||
github.com/valyala/fasttemplate v1.2.2 // indirect
|
github.com/valyala/fasttemplate v1.2.2 // indirect
|
||||||
github.com/wailsapp/go-webview2 v1.0.22 // indirect
|
github.com/wailsapp/go-webview2 v1.0.22 // indirect
|
||||||
github.com/wailsapp/mimetype v1.4.1 // indirect
|
github.com/wailsapp/mimetype v1.4.1 // indirect
|
||||||
golang.org/x/net v0.53.0 // indirect
|
|
||||||
golang.org/x/sys v0.43.0 // indirect
|
golang.org/x/sys v0.43.0 // indirect
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -82,13 +82,9 @@ github.com/wailsapp/wails/v2 v2.12.0 h1:BHO/kLNWFHYjCzucxbzAYZWUjub1Tvb4cSguQozH
|
|||||||
github.com/wailsapp/wails/v2 v2.12.0/go.mod h1:mo1bzK1DEJrobt7YrBjgxvb5Sihb1mhAY09hppbibQg=
|
github.com/wailsapp/wails/v2 v2.12.0/go.mod h1:mo1bzK1DEJrobt7YrBjgxvb5Sihb1mhAY09hppbibQg=
|
||||||
github.com/zalando/go-keyring v0.2.5 h1:Bc2HHpjALryKD62ppdEzaFG6VxL6Bc+5v0LYpN8Lba8=
|
github.com/zalando/go-keyring v0.2.5 h1:Bc2HHpjALryKD62ppdEzaFG6VxL6Bc+5v0LYpN8Lba8=
|
||||||
github.com/zalando/go-keyring v0.2.5/go.mod h1:HL4k+OXQfJUWaMnqyuSOc0drfGPX2b51Du6K+MRgZMk=
|
github.com/zalando/go-keyring v0.2.5/go.mod h1:HL4k+OXQfJUWaMnqyuSOc0drfGPX2b51Du6K+MRgZMk=
|
||||||
golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4=
|
|
||||||
golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc=
|
|
||||||
golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
|
golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
|
||||||
golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
|
golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
|
||||||
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
|
|
||||||
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
|
|
||||||
golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
|
golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
|
||||||
golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
|
golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
|
||||||
golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
@@ -97,17 +93,12 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
|
|||||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
|
|
||||||
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
|
|
||||||
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
|
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
|
||||||
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
|
|
||||||
golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
|
|
||||||
golang.org/x/term v0.42.0 h1:UiKe+zDFmJobeJ5ggPwOshJIVt6/Ft0rcfrXZDLWAWY=
|
golang.org/x/term v0.42.0 h1:UiKe+zDFmJobeJ5ggPwOshJIVt6/Ft0rcfrXZDLWAWY=
|
||||||
|
golang.org/x/term v0.42.0/go.mod h1:Dq/D+snpsbazcBG5+F9Q1n2rXV8Ma+71xEjTRufARgY=
|
||||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
|
|
||||||
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
|
|
||||||
golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
|
golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
|
||||||
golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
|
golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
|
|||||||
+9
-9
@@ -16,15 +16,15 @@ import (
|
|||||||
"github.com/pquerna/otp/totp"
|
"github.com/pquerna/otp/totp"
|
||||||
wailsRuntime "github.com/wailsapp/wails/v2/pkg/runtime"
|
wailsRuntime "github.com/wailsapp/wails/v2/pkg/runtime"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/audit"
|
"github.com/andydixon/nexus/internal/audit"
|
||||||
"github.com/copilot-ssh-client/app/internal/exportimport"
|
"github.com/andydixon/nexus/internal/exportimport"
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/copilot-ssh-client/app/internal/preferences"
|
"github.com/andydixon/nexus/internal/preferences"
|
||||||
"github.com/copilot-ssh-client/app/internal/secrets"
|
"github.com/andydixon/nexus/internal/secrets"
|
||||||
"github.com/copilot-ssh-client/app/internal/sessions"
|
"github.com/andydixon/nexus/internal/sessions"
|
||||||
"github.com/copilot-ssh-client/app/internal/sshconfig"
|
"github.com/andydixon/nexus/internal/sshconfig"
|
||||||
"github.com/copilot-ssh-client/app/internal/storage"
|
"github.com/andydixon/nexus/internal/storage"
|
||||||
"github.com/copilot-ssh-client/app/internal/updater"
|
"github.com/andydixon/nexus/internal/updater"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+9
-9
@@ -11,15 +11,15 @@ import (
|
|||||||
|
|
||||||
"github.com/wailsapp/wails/v2/pkg/runtime"
|
"github.com/wailsapp/wails/v2/pkg/runtime"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/api"
|
"github.com/andydixon/nexus/internal/api"
|
||||||
"github.com/copilot-ssh-client/app/internal/audit"
|
"github.com/andydixon/nexus/internal/audit"
|
||||||
"github.com/copilot-ssh-client/app/internal/config"
|
"github.com/andydixon/nexus/internal/config"
|
||||||
"github.com/copilot-ssh-client/app/internal/knownhosts"
|
"github.com/andydixon/nexus/internal/knownhosts"
|
||||||
"github.com/copilot-ssh-client/app/internal/preferences"
|
"github.com/andydixon/nexus/internal/preferences"
|
||||||
"github.com/copilot-ssh-client/app/internal/recording"
|
"github.com/andydixon/nexus/internal/recording"
|
||||||
"github.com/copilot-ssh-client/app/internal/secrets"
|
"github.com/andydixon/nexus/internal/secrets"
|
||||||
"github.com/copilot-ssh-client/app/internal/sessions"
|
"github.com/andydixon/nexus/internal/sessions"
|
||||||
"github.com/copilot-ssh-client/app/internal/storage"
|
"github.com/andydixon/nexus/internal/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
// App is the central application struct. Wails binds its lifecycle methods
|
// App is the central application struct. Wails binds its lifecycle methods
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import (
|
|||||||
|
|
||||||
"golang.org/x/crypto/argon2"
|
"golang.org/x/crypto/argon2"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestEncryptDecryptRoundTrip(t *testing.T) {
|
func TestEncryptDecryptRoundTrip(t *testing.T) {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client wraps the GitHub REST API for repository listing.
|
// Client wraps the GitHub REST API for repository listing.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package knownhosts
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PreferenceStore is the persistence interface used by the Manager.
|
// PreferenceStore is the persistence interface used by the Manager.
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client manages a raw TCP connection.
|
// Client manages a raw TCP connection.
|
||||||
|
|||||||
@@ -14,16 +14,16 @@ import (
|
|||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
wailsRuntime "github.com/wailsapp/wails/v2/pkg/runtime"
|
wailsRuntime "github.com/wailsapp/wails/v2/pkg/runtime"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/audit"
|
"github.com/andydixon/nexus/internal/audit"
|
||||||
"github.com/copilot-ssh-client/app/internal/githubclient"
|
"github.com/andydixon/nexus/internal/githubclient"
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/copilot-ssh-client/app/internal/rawclient"
|
"github.com/andydixon/nexus/internal/rawclient"
|
||||||
"github.com/copilot-ssh-client/app/internal/recording"
|
"github.com/andydixon/nexus/internal/recording"
|
||||||
"github.com/copilot-ssh-client/app/internal/secrets"
|
"github.com/andydixon/nexus/internal/secrets"
|
||||||
"github.com/copilot-ssh-client/app/internal/sftpclient"
|
"github.com/andydixon/nexus/internal/sftpclient"
|
||||||
"github.com/copilot-ssh-client/app/internal/sshclient"
|
"github.com/andydixon/nexus/internal/sshclient"
|
||||||
"github.com/copilot-ssh-client/app/internal/storage"
|
"github.com/andydixon/nexus/internal/storage"
|
||||||
"github.com/copilot-ssh-client/app/internal/telnetclient"
|
"github.com/andydixon/nexus/internal/telnetclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Session wraps a protocol client with metadata and state.
|
// Session wraps a protocol client with metadata and state.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package sessions
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/pquerna/otp/totp"
|
"github.com/pquerna/otp/totp"
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
"golang.org/x/net/proxy"
|
"golang.org/x/net/proxy"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ import (
|
|||||||
|
|
||||||
_ "github.com/mattn/go-sqlite3"
|
_ "github.com/mattn/go-sqlite3"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"github.com/copilot-ssh-client/app/internal/storage/migrations"
|
"github.com/andydixon/nexus/internal/storage/migrations"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
"golang.org/x/text/encoding/charmap"
|
"golang.org/x/text/encoding/charmap"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ValidationError describes a single field-level validation failure.
|
// ValidationError describes a single field-level validation failure.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package validation
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/copilot-ssh-client/app/internal/models"
|
"github.com/andydixon/nexus/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import (
|
|||||||
"github.com/wailsapp/wails/v2/pkg/options/mac"
|
"github.com/wailsapp/wails/v2/pkg/options/mac"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options/windows"
|
"github.com/wailsapp/wails/v2/pkg/options/windows"
|
||||||
|
|
||||||
application "github.com/copilot-ssh-client/app/internal/app"
|
application "github.com/andydixon/nexus/internal/app"
|
||||||
"github.com/copilot-ssh-client/app/frontend"
|
"github.com/andydixon/nexus/frontend"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user