2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 01:57:19 +08:00

refactor: rename module

This commit is contained in:
2025-09-18 23:24:03 +08:00
parent 6dd40e6bdb
commit 5ee35cbd30
184 changed files with 623 additions and 623 deletions

View File

@@ -76,13 +76,13 @@ jobs:
GOARCH: ${{ matrix.goarch }}
run: |
LDFLAGS="-s -w --extldflags '-static'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.Version=${VERSION}'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.BuildTime=${BUILD_TIME}'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.CommitHash=${COMMIT_HASH}'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.GoVersion=${GO_VERSION}'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.BuildID=${BUILD_ID}'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.BuildUser=${BUILD_USER}'"
LDFLAGS="${LDFLAGS} -X 'github.com/tnborg/panel/internal/app.BuildHost=${BUILD_HOST}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.Version=${VERSION}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.BuildTime=${BUILD_TIME}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.CommitHash=${COMMIT_HASH}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.GoVersion=${GO_VERSION}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.BuildID=${BUILD_ID}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.BuildUser=${BUILD_USER}'"
LDFLAGS="${LDFLAGS} -X 'github.com/acepanel/panel/internal/app.BuildHost=${BUILD_HOST}'"
go build -ldflags "${LDFLAGS}" -o ace-${{ matrix.goarch }} ./cmd/ace
go build -ldflags "${LDFLAGS}" -o cli-${{ matrix.goarch }} ./cmd/cli
- name: Compress ${{ matrix.goarch }}

View File

@@ -14,13 +14,13 @@ builds:
- arm64
ldflags:
- -s -w --extldflags "-static"
- -X 'github.com/tnborg/panel/internal/app.Version={{ .Version }}'
- -X 'github.com/tnborg/panel/internal/app.BuildTime={{ .Now.Format "2006-01-02 15:04:05 MST" }}'
- -X 'github.com/tnborg/panel/internal/app.CommitHash={{ .ShortCommit }}'
- -X 'github.com/tnborg/panel/internal/app.GoVersion={{ .Env.GOVERSION }}'
- -X 'github.com/tnborg/panel/internal/app.BuildID={{ .Env.GITHUB_RUN_ID }}'
- -X 'github.com/tnborg/panel/internal/app.BuildUser={{ .Env.USER }}'
- -X 'github.com/tnborg/panel/internal/app.BuildHost={{ .Env.HOSTNAME }}'
- -X 'github.com/acepanel/panel/internal/app.Version={{ .Version }}'
- -X 'github.com/acepanel/panel/internal/app.BuildTime={{ .Now.Format "2006-01-02 15:04:05 MST" }}'
- -X 'github.com/acepanel/panel/internal/app.CommitHash={{ .ShortCommit }}'
- -X 'github.com/acepanel/panel/internal/app.GoVersion={{ .Env.GOVERSION }}'
- -X 'github.com/acepanel/panel/internal/app.BuildID={{ .Env.GITHUB_RUN_ID }}'
- -X 'github.com/acepanel/panel/internal/app.BuildUser={{ .Env.USER }}'
- -X 'github.com/acepanel/panel/internal/app.BuildHost={{ .Env.HOSTNAME }}'
- id: cli
main: ./cmd/cli
binary: cli
@@ -33,13 +33,13 @@ builds:
- arm64
ldflags:
- -s -w --extldflags "-static"
- -X 'github.com/tnborg/panel/internal/app.Version={{ .Version }}'
- -X 'github.com/tnborg/panel/internal/app.BuildTime={{ .Now.Format "2006-01-02 15:04:05 MST" }}'
- -X 'github.com/tnborg/panel/internal/app.CommitHash={{ .ShortCommit }}'
- -X 'github.com/tnborg/panel/internal/app.GoVersion={{ .Env.GOVERSION }}'
- -X 'github.com/tnborg/panel/internal/app.BuildID={{ .Env.GITHUB_RUN_ID }}'
- -X 'github.com/tnborg/panel/internal/app.BuildUser={{ .Env.USER }}'
- -X 'github.com/tnborg/panel/internal/app.BuildHost={{ .Env.HOSTNAME }}'
- -X 'github.com/acepanel/panel/internal/app.Version={{ .Version }}'
- -X 'github.com/acepanel/panel/internal/app.BuildTime={{ .Now.Format "2006-01-02 15:04:05 MST" }}'
- -X 'github.com/acepanel/panel/internal/app.CommitHash={{ .ShortCommit }}'
- -X 'github.com/acepanel/panel/internal/app.GoVersion={{ .Env.GOVERSION }}'
- -X 'github.com/acepanel/panel/internal/app.BuildID={{ .Env.GITHUB_RUN_ID }}'
- -X 'github.com/acepanel/panel/internal/app.BuildUser={{ .Env.USER }}'
- -X 'github.com/acepanel/panel/internal/app.BuildHost={{ .Env.HOSTNAME }}'
upx:
- enabled: true

View File

@@ -6,6 +6,6 @@ outpkg: "{{.PackageName}}"
filename: "{{.InterfaceName}}.go"
all: True
packages:
github.com/tnborg/panel/internal/biz:
github.com/acepanel/panel/internal/biz:
config:
recursive: True

View File

@@ -14,12 +14,12 @@
<div align="center">
[![Go](https://img.shields.io/github/go-mod/go-version/tnborg/panel)](https://go.dev/)
[![Release](https://img.shields.io/github/release/tnborg/panel.svg)](https://github.com/tnborg/panel/releases)
[![Test](https://github.com/tnborg/panel/actions/workflows/test.yml/badge.svg)](https://github.com/tnborg/panel/actions)
[![Report Card](https://goreportcard.com/badge/github.com/tnborg/panel)](https://goreportcard.com/report/github.com/tnborg/panel)
[![Stars](https://img.shields.io/github/stars/tnborg/panel?style=flat)](https://github.com/tnborg/panel)
[![License](https://img.shields.io/github/license/tnborg/panel)](https://opensource.org/license/bsd-3-clause)
[![Go](https://img.shields.io/github/go-mod/go-version/acepanel/panel)](https://go.dev/)
[![Release](https://img.shields.io/github/release/acepanel/panel.svg)](https://github.com/acepanel/panel/releases)
[![Test](https://github.com/acepanel/panel/actions/workflows/test.yml/badge.svg)](https://github.com/acepanel/panel/actions)
[![Report Card](https://goreportcard.com/badge/github.com/acepanel/panel)](https://goreportcard.com/report/github.com/acepanel/panel)
[![Stars](https://img.shields.io/github/stars/acepanel/panel?style=flat)](https://github.com/acepanel/panel)
[![License](https://img.shields.io/github/license/acepanel/panel)](https://opensource.org/license/bsd-3-clause)
</div>
@@ -48,7 +48,7 @@ curl -sSLOm 10 https://dl.cdn.haozi.net/panel/install.sh && bash install.sh
## 合作伙伴
如果 AcePanel 对您有帮助,欢迎[赞助我们](https://github.com/tnborg/panel/issues/90),同时感谢以下支持者/赞助商的支持:
如果 AcePanel 对您有帮助,欢迎[赞助我们](https://github.com/acepanel/panel/issues/90),同时感谢以下支持者/赞助商的支持:
<p align="center">
<a href="https://www.weixiaoduo.com/">
@@ -76,10 +76,10 @@ curl -sSLOm 10 https://dl.cdn.haozi.net/panel/install.sh && bash install.sh
## Star 历史
<a href="https://star-history.com/#tnborg/panel&Date">
<a href="https://star-history.com/#acepanel/panel&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=tnborg/panel&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=tnborg/panel&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=tnborg/panel&type=Date" />
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=acepanel/panel&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=acepanel/panel&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=acepanel/panel&type=Date" />
</picture>
</a>

View File

@@ -14,12 +14,12 @@ Website: [acepanel.net](https://acepanel.net) | QQ group: [12370907](https://jq.
<div align="center">
[![Go](https://img.shields.io/github/go-mod/go-version/tnborg/panel)](https://go.dev/)
[![Release](https://img.shields.io/github/release/tnborg/panel.svg)](https://github.com/tnborg/panel/releases)
[![Test](https://github.com/tnborg/panel/actions/workflows/test.yml/badge.svg)](https://github.com/tnborg/panel/actions)
[![Report Card](https://goreportcard.com/badge/github.com/tnborg/panel)](https://goreportcard.com/report/github.com/tnborg/panel)
[![Stars](https://img.shields.io/github/stars/tnborg/panel?style=flat)](https://github.com/tnborg/panel)
[![License](https://img.shields.io/github/license/tnborg/panel)](https://opensource.org/license/bsd-3-clause)
[![Go](https://img.shields.io/github/go-mod/go-version/acepanel/panel)](https://go.dev/)
[![Release](https://img.shields.io/github/release/acepanel/panel.svg)](https://github.com/acepanel/panel/releases)
[![Test](https://github.com/acepanel/panel/actions/workflows/test.yml/badge.svg)](https://github.com/acepanel/panel/actions)
[![Report Card](https://goreportcard.com/badge/github.com/acepanel/panel)](https://goreportcard.com/report/github.com/acepanel/panel)
[![Stars](https://img.shields.io/github/stars/acepanel/panel?style=flat)](https://github.com/acepanel/panel)
[![License](https://img.shields.io/github/license/acepanel/panel)](https://opensource.org/license/bsd-3-clause)
</div>
@@ -48,7 +48,7 @@ curl -sSLOm 10 https://dl.cdn.haozi.net/panel/install.sh && bash install.sh
## Partners
If the AcePanel is helpful to you, welcome to [sponsor us](https://github.com/tnborg/panel/issues/90), also thanks to the following supporters/sponsors:
If the AcePanel is helpful to you, welcome to [sponsor us](https://github.com/acepanel/panel/issues/90), also thanks to the following supporters/sponsors:
<p align="center">
<a href="https://www.weixiaoduo.com/">
@@ -76,10 +76,10 @@ If the AcePanel is helpful to you, welcome to [sponsor us](https://github.com/tn
## Star History
<a href="https://star-history.com/#tnborg/panel&Date">
<a href="https://star-history.com/#acepanel/panel&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=tnborg/panel&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=tnborg/panel&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=tnborg/panel&type=Date" />
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=acepanel/panel&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=acepanel/panel&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=acepanel/panel&type=Date" />
</picture>
</a>

View File

@@ -9,7 +9,7 @@
If you find any security issues while using the panel, please do not submit an Issue. You can contact us directly through the following methods:
- (Recommend) [GitHub Security Advisories](https://github.com/tnborg/panel/security/advisories/new)
- (Recommend) [GitHub Security Advisories](https://github.com/acepanel/panel/security/advisories/new)
- Email: [admin@haozi.net](mailto:admin@haozi.net)
- Telegram: @devhaozi
@@ -21,7 +21,7 @@ To some security beginners: Any operation performed through an already logged-in
如果您在面板中发现任何安全问题,请勿提交 Issue可通过以下方式直接联系我们
- (推荐)[GitHub 安全公告](https://github.com/tnborg/panel/security/advisories/new)
- (推荐)[GitHub 安全公告](https://github.com/acepanel/panel/security/advisories/new)
- 邮箱:[admin@haozi.net](mailto:admin@haozi.net)
- QQ826896000

View File

@@ -5,14 +5,14 @@ package main
import (
"github.com/google/wire"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/apps"
"github.com/tnborg/panel/internal/bootstrap"
"github.com/tnborg/panel/internal/data"
"github.com/tnborg/panel/internal/http/middleware"
"github.com/tnborg/panel/internal/job"
"github.com/tnborg/panel/internal/route"
"github.com/tnborg/panel/internal/service"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/apps"
"github.com/acepanel/panel/internal/bootstrap"
"github.com/acepanel/panel/internal/data"
"github.com/acepanel/panel/internal/http/middleware"
"github.com/acepanel/panel/internal/job"
"github.com/acepanel/panel/internal/route"
"github.com/acepanel/panel/internal/service"
)
// initWeb init application.

View File

@@ -7,36 +7,36 @@
package main
import (
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/apps/codeserver"
"github.com/tnborg/panel/internal/apps/docker"
"github.com/tnborg/panel/internal/apps/fail2ban"
"github.com/tnborg/panel/internal/apps/frp"
"github.com/tnborg/panel/internal/apps/gitea"
"github.com/tnborg/panel/internal/apps/memcached"
"github.com/tnborg/panel/internal/apps/minio"
"github.com/tnborg/panel/internal/apps/mysql"
"github.com/tnborg/panel/internal/apps/nginx"
"github.com/tnborg/panel/internal/apps/php74"
"github.com/tnborg/panel/internal/apps/php80"
"github.com/tnborg/panel/internal/apps/php81"
"github.com/tnborg/panel/internal/apps/php82"
"github.com/tnborg/panel/internal/apps/php83"
"github.com/tnborg/panel/internal/apps/php84"
"github.com/tnborg/panel/internal/apps/phpmyadmin"
"github.com/tnborg/panel/internal/apps/podman"
"github.com/tnborg/panel/internal/apps/postgresql"
"github.com/tnborg/panel/internal/apps/pureftpd"
"github.com/tnborg/panel/internal/apps/redis"
"github.com/tnborg/panel/internal/apps/rsync"
"github.com/tnborg/panel/internal/apps/s3fs"
"github.com/tnborg/panel/internal/apps/supervisor"
"github.com/tnborg/panel/internal/bootstrap"
"github.com/tnborg/panel/internal/data"
"github.com/tnborg/panel/internal/http/middleware"
"github.com/tnborg/panel/internal/job"
"github.com/tnborg/panel/internal/route"
"github.com/tnborg/panel/internal/service"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/apps/codeserver"
"github.com/acepanel/panel/internal/apps/docker"
"github.com/acepanel/panel/internal/apps/fail2ban"
"github.com/acepanel/panel/internal/apps/frp"
"github.com/acepanel/panel/internal/apps/gitea"
"github.com/acepanel/panel/internal/apps/memcached"
"github.com/acepanel/panel/internal/apps/minio"
"github.com/acepanel/panel/internal/apps/mysql"
"github.com/acepanel/panel/internal/apps/nginx"
"github.com/acepanel/panel/internal/apps/php74"
"github.com/acepanel/panel/internal/apps/php80"
"github.com/acepanel/panel/internal/apps/php81"
"github.com/acepanel/panel/internal/apps/php82"
"github.com/acepanel/panel/internal/apps/php83"
"github.com/acepanel/panel/internal/apps/php84"
"github.com/acepanel/panel/internal/apps/phpmyadmin"
"github.com/acepanel/panel/internal/apps/podman"
"github.com/acepanel/panel/internal/apps/postgresql"
"github.com/acepanel/panel/internal/apps/pureftpd"
"github.com/acepanel/panel/internal/apps/redis"
"github.com/acepanel/panel/internal/apps/rsync"
"github.com/acepanel/panel/internal/apps/s3fs"
"github.com/acepanel/panel/internal/apps/supervisor"
"github.com/acepanel/panel/internal/bootstrap"
"github.com/acepanel/panel/internal/data"
"github.com/acepanel/panel/internal/http/middleware"
"github.com/acepanel/panel/internal/job"
"github.com/acepanel/panel/internal/route"
"github.com/acepanel/panel/internal/service"
)
import (

View File

@@ -5,12 +5,12 @@ package main
import (
"github.com/google/wire"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/apps"
"github.com/tnborg/panel/internal/bootstrap"
"github.com/tnborg/panel/internal/data"
"github.com/tnborg/panel/internal/route"
"github.com/tnborg/panel/internal/service"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/apps"
"github.com/acepanel/panel/internal/bootstrap"
"github.com/acepanel/panel/internal/data"
"github.com/acepanel/panel/internal/route"
"github.com/acepanel/panel/internal/service"
)
// initCli init command line.

View File

@@ -7,34 +7,34 @@
package main
import (
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/apps/codeserver"
"github.com/tnborg/panel/internal/apps/docker"
"github.com/tnborg/panel/internal/apps/fail2ban"
"github.com/tnborg/panel/internal/apps/frp"
"github.com/tnborg/panel/internal/apps/gitea"
"github.com/tnborg/panel/internal/apps/memcached"
"github.com/tnborg/panel/internal/apps/minio"
"github.com/tnborg/panel/internal/apps/mysql"
"github.com/tnborg/panel/internal/apps/nginx"
"github.com/tnborg/panel/internal/apps/php74"
"github.com/tnborg/panel/internal/apps/php80"
"github.com/tnborg/panel/internal/apps/php81"
"github.com/tnborg/panel/internal/apps/php82"
"github.com/tnborg/panel/internal/apps/php83"
"github.com/tnborg/panel/internal/apps/php84"
"github.com/tnborg/panel/internal/apps/phpmyadmin"
"github.com/tnborg/panel/internal/apps/podman"
"github.com/tnborg/panel/internal/apps/postgresql"
"github.com/tnborg/panel/internal/apps/pureftpd"
"github.com/tnborg/panel/internal/apps/redis"
"github.com/tnborg/panel/internal/apps/rsync"
"github.com/tnborg/panel/internal/apps/s3fs"
"github.com/tnborg/panel/internal/apps/supervisor"
"github.com/tnborg/panel/internal/bootstrap"
"github.com/tnborg/panel/internal/data"
"github.com/tnborg/panel/internal/route"
"github.com/tnborg/panel/internal/service"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/apps/codeserver"
"github.com/acepanel/panel/internal/apps/docker"
"github.com/acepanel/panel/internal/apps/fail2ban"
"github.com/acepanel/panel/internal/apps/frp"
"github.com/acepanel/panel/internal/apps/gitea"
"github.com/acepanel/panel/internal/apps/memcached"
"github.com/acepanel/panel/internal/apps/minio"
"github.com/acepanel/panel/internal/apps/mysql"
"github.com/acepanel/panel/internal/apps/nginx"
"github.com/acepanel/panel/internal/apps/php74"
"github.com/acepanel/panel/internal/apps/php80"
"github.com/acepanel/panel/internal/apps/php81"
"github.com/acepanel/panel/internal/apps/php82"
"github.com/acepanel/panel/internal/apps/php83"
"github.com/acepanel/panel/internal/apps/php84"
"github.com/acepanel/panel/internal/apps/phpmyadmin"
"github.com/acepanel/panel/internal/apps/podman"
"github.com/acepanel/panel/internal/apps/postgresql"
"github.com/acepanel/panel/internal/apps/pureftpd"
"github.com/acepanel/panel/internal/apps/redis"
"github.com/acepanel/panel/internal/apps/rsync"
"github.com/acepanel/panel/internal/apps/s3fs"
"github.com/acepanel/panel/internal/apps/supervisor"
"github.com/acepanel/panel/internal/bootstrap"
"github.com/acepanel/panel/internal/data"
"github.com/acepanel/panel/internal/route"
"github.com/acepanel/panel/internal/service"
)
import (

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/tnborg/panel
module github.com/acepanel/panel
go 1.25

View File

@@ -8,7 +8,7 @@ import (
"github.com/gookit/color"
"github.com/urfave/cli/v3"
"github.com/tnborg/panel/pkg/apploader"
"github.com/acepanel/panel/pkg/apploader"
)
type Cli struct {

View File

@@ -14,7 +14,7 @@ import (
"github.com/knadh/koanf/v2"
"github.com/robfig/cron/v3"
"github.com/tnborg/panel/pkg/queue"
"github.com/acepanel/panel/pkg/queue"
)
type Web struct {

View File

@@ -3,29 +3,29 @@ package apps
import (
"github.com/google/wire"
"github.com/tnborg/panel/internal/apps/codeserver"
"github.com/tnborg/panel/internal/apps/docker"
"github.com/tnborg/panel/internal/apps/fail2ban"
"github.com/tnborg/panel/internal/apps/frp"
"github.com/tnborg/panel/internal/apps/gitea"
"github.com/tnborg/panel/internal/apps/memcached"
"github.com/tnborg/panel/internal/apps/minio"
"github.com/tnborg/panel/internal/apps/mysql"
"github.com/tnborg/panel/internal/apps/nginx"
"github.com/tnborg/panel/internal/apps/php74"
"github.com/tnborg/panel/internal/apps/php80"
"github.com/tnborg/panel/internal/apps/php81"
"github.com/tnborg/panel/internal/apps/php82"
"github.com/tnborg/panel/internal/apps/php83"
"github.com/tnborg/panel/internal/apps/php84"
"github.com/tnborg/panel/internal/apps/phpmyadmin"
"github.com/tnborg/panel/internal/apps/podman"
"github.com/tnborg/panel/internal/apps/postgresql"
"github.com/tnborg/panel/internal/apps/pureftpd"
"github.com/tnborg/panel/internal/apps/redis"
"github.com/tnborg/panel/internal/apps/rsync"
"github.com/tnborg/panel/internal/apps/s3fs"
"github.com/tnborg/panel/internal/apps/supervisor"
"github.com/acepanel/panel/internal/apps/codeserver"
"github.com/acepanel/panel/internal/apps/docker"
"github.com/acepanel/panel/internal/apps/fail2ban"
"github.com/acepanel/panel/internal/apps/frp"
"github.com/acepanel/panel/internal/apps/gitea"
"github.com/acepanel/panel/internal/apps/memcached"
"github.com/acepanel/panel/internal/apps/minio"
"github.com/acepanel/panel/internal/apps/mysql"
"github.com/acepanel/panel/internal/apps/nginx"
"github.com/acepanel/panel/internal/apps/php74"
"github.com/acepanel/panel/internal/apps/php80"
"github.com/acepanel/panel/internal/apps/php81"
"github.com/acepanel/panel/internal/apps/php82"
"github.com/acepanel/panel/internal/apps/php83"
"github.com/acepanel/panel/internal/apps/php84"
"github.com/acepanel/panel/internal/apps/phpmyadmin"
"github.com/acepanel/panel/internal/apps/podman"
"github.com/acepanel/panel/internal/apps/postgresql"
"github.com/acepanel/panel/internal/apps/pureftpd"
"github.com/acepanel/panel/internal/apps/redis"
"github.com/acepanel/panel/internal/apps/rsync"
"github.com/acepanel/panel/internal/apps/s3fs"
"github.com/acepanel/panel/internal/apps/supervisor"
)
var ProviderSet = wire.NewSet(

View File

@@ -5,9 +5,9 @@ import (
"github.com/go-chi/chi/v5"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct{}

View File

@@ -5,9 +5,9 @@ import (
"github.com/go-chi/chi/v5"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct{}

View File

@@ -12,11 +12,11 @@ import (
"github.com/libtnb/utils/str"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
)
type App struct {

View File

@@ -6,10 +6,10 @@ import (
"github.com/go-chi/chi/v5"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct{}

View File

@@ -6,10 +6,10 @@ import (
"github.com/go-chi/chi/v5"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct{}

View File

@@ -9,10 +9,10 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/types"
)
type App struct {

View File

@@ -5,9 +5,9 @@ import (
"github.com/go-chi/chi/v5"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct{}

View File

@@ -10,15 +10,15 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/db"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/tools"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/db"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/tools"
"github.com/acepanel/panel/pkg/types"
)
type App struct {

View File

@@ -11,13 +11,13 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/tools"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/tools"
"github.com/acepanel/panel/pkg/types"
)
type App struct {

View File

@@ -13,12 +13,12 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/types"
)
type App struct {

View File

@@ -4,8 +4,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/apps/php"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/apps/php"
"github.com/acepanel/panel/internal/biz"
)
type App struct {

View File

@@ -4,8 +4,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/apps/php"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/apps/php"
"github.com/acepanel/panel/internal/biz"
)
type App struct {

View File

@@ -4,8 +4,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/apps/php"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/apps/php"
"github.com/acepanel/panel/internal/biz"
)
type App struct {

View File

@@ -4,8 +4,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/apps/php"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/apps/php"
"github.com/acepanel/panel/internal/biz"
)
type App struct {

View File

@@ -4,8 +4,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/apps/php"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/apps/php"
"github.com/acepanel/panel/internal/biz"
)
type App struct {

View File

@@ -4,8 +4,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/apps/php"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/apps/php"
"github.com/acepanel/panel/internal/biz"
)
type App struct {

View File

@@ -12,12 +12,12 @@ import (
"github.com/libtnb/chix"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/firewall"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/firewall"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct {

View File

@@ -5,9 +5,9 @@ import (
"github.com/go-chi/chi/v5"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct{}

View File

@@ -8,12 +8,12 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/types"
)
type App struct {

View File

@@ -10,12 +10,12 @@ import (
"github.com/libtnb/chix"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/firewall"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/firewall"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct {

View File

@@ -9,12 +9,12 @@ import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/types"
)
type App struct {

View File

@@ -11,10 +11,10 @@ import (
"github.com/libtnb/chix"
"github.com/libtnb/utils/str"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct {

View File

@@ -12,9 +12,9 @@ import (
"github.com/libtnb/chix"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
)
type App struct {

View File

@@ -9,11 +9,11 @@ import (
"github.com/libtnb/chix"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/service"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/os"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/service"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/os"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
)
type App struct {

View File

@@ -3,7 +3,7 @@ package biz
import (
"time"
"github.com/tnborg/panel/pkg/api"
"github.com/acepanel/panel/pkg/api"
)
type App struct {

View File

@@ -1,6 +1,6 @@
package biz
import "github.com/tnborg/panel/pkg/types"
import "github.com/acepanel/panel/pkg/types"
type BackupType string

View File

@@ -3,9 +3,9 @@ package biz
import (
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/acme"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/acme"
"github.com/acepanel/panel/pkg/types"
)
type Cert struct {

View File

@@ -3,7 +3,7 @@ package biz
import (
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/http/request"
)
type CertAccount struct {

View File

@@ -3,8 +3,8 @@ package biz
import (
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/acme"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/acme"
)
type CertDNS struct {

View File

@@ -1,8 +1,8 @@
package biz
import (
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/types"
)
type ContainerRepo interface {

View File

@@ -1,6 +1,6 @@
package biz
import "github.com/tnborg/panel/pkg/types"
import "github.com/acepanel/panel/pkg/types"
type ContainerComposeRepo interface {
List() ([]types.ContainerCompose, error)

View File

@@ -1,8 +1,8 @@
package biz
import (
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/types"
)
type ContainerImageRepo interface {

View File

@@ -1,8 +1,8 @@
package biz
import (
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/types"
)
type ContainerNetworkRepo interface {

View File

@@ -1,8 +1,8 @@
package biz
import (
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/types"
)
type ContainerVolumeRepo interface {

View File

@@ -3,7 +3,7 @@ package biz
import (
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/http/request"
)
type Cron struct {

View File

@@ -1,7 +1,7 @@
package biz
import (
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/http/request"
)
type DatabaseType string

View File

@@ -6,8 +6,8 @@ import (
"github.com/libtnb/utils/crypt"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/http/request"
)
type DatabaseServerStatus string

View File

@@ -6,8 +6,8 @@ import (
"github.com/libtnb/utils/crypt"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/http/request"
)
type DatabaseUserStatus string

View File

@@ -3,8 +3,8 @@ package biz
import (
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/types"
)
type Monitor struct {

View File

@@ -3,7 +3,7 @@ package biz
import (
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/http/request"
)
type SettingKey string

View File

@@ -6,9 +6,9 @@ import (
"github.com/libtnb/utils/crypt"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/ssh"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/ssh"
)
type SSH struct {

View File

@@ -7,7 +7,7 @@ import (
"github.com/libtnb/utils/crypt"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/acepanel/panel/internal/app"
)
type UserToken struct {

View File

@@ -4,8 +4,8 @@ import (
"context"
"time"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/types"
)
type Website struct {

View File

@@ -1,30 +1,30 @@
package bootstrap
import (
"github.com/tnborg/panel/internal/apps/codeserver"
"github.com/tnborg/panel/internal/apps/docker"
"github.com/tnborg/panel/internal/apps/fail2ban"
"github.com/tnborg/panel/internal/apps/frp"
"github.com/tnborg/panel/internal/apps/gitea"
"github.com/tnborg/panel/internal/apps/memcached"
"github.com/tnborg/panel/internal/apps/minio"
"github.com/tnborg/panel/internal/apps/mysql"
"github.com/tnborg/panel/internal/apps/nginx"
"github.com/tnborg/panel/internal/apps/php74"
"github.com/tnborg/panel/internal/apps/php80"
"github.com/tnborg/panel/internal/apps/php81"
"github.com/tnborg/panel/internal/apps/php82"
"github.com/tnborg/panel/internal/apps/php83"
"github.com/tnborg/panel/internal/apps/php84"
"github.com/tnborg/panel/internal/apps/phpmyadmin"
"github.com/tnborg/panel/internal/apps/podman"
"github.com/tnborg/panel/internal/apps/postgresql"
"github.com/tnborg/panel/internal/apps/pureftpd"
"github.com/tnborg/panel/internal/apps/redis"
"github.com/tnborg/panel/internal/apps/rsync"
"github.com/tnborg/panel/internal/apps/s3fs"
"github.com/tnborg/panel/internal/apps/supervisor"
"github.com/tnborg/panel/pkg/apploader"
"github.com/acepanel/panel/internal/apps/codeserver"
"github.com/acepanel/panel/internal/apps/docker"
"github.com/acepanel/panel/internal/apps/fail2ban"
"github.com/acepanel/panel/internal/apps/frp"
"github.com/acepanel/panel/internal/apps/gitea"
"github.com/acepanel/panel/internal/apps/memcached"
"github.com/acepanel/panel/internal/apps/minio"
"github.com/acepanel/panel/internal/apps/mysql"
"github.com/acepanel/panel/internal/apps/nginx"
"github.com/acepanel/panel/internal/apps/php74"
"github.com/acepanel/panel/internal/apps/php80"
"github.com/acepanel/panel/internal/apps/php81"
"github.com/acepanel/panel/internal/apps/php82"
"github.com/acepanel/panel/internal/apps/php83"
"github.com/acepanel/panel/internal/apps/php84"
"github.com/acepanel/panel/internal/apps/phpmyadmin"
"github.com/acepanel/panel/internal/apps/podman"
"github.com/acepanel/panel/internal/apps/postgresql"
"github.com/acepanel/panel/internal/apps/pureftpd"
"github.com/acepanel/panel/internal/apps/redis"
"github.com/acepanel/panel/internal/apps/rsync"
"github.com/acepanel/panel/internal/apps/s3fs"
"github.com/acepanel/panel/internal/apps/supervisor"
"github.com/acepanel/panel/pkg/apploader"
)
func NewLoader(

View File

@@ -6,8 +6,8 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/urfave/cli/v3"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/route"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/route"
)
func NewCli(t *gotext.Locale, cmd *route.Cli) *cli.Command {

View File

@@ -8,8 +8,8 @@ import (
"github.com/knadh/koanf/providers/file"
"github.com/knadh/koanf/v2"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/pkg/io"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/pkg/io"
)
func NewConf() (*koanf.Koanf, error) {

View File

@@ -6,8 +6,8 @@ import (
"github.com/knadh/koanf/v2"
"github.com/robfig/cron/v3"
"github.com/tnborg/panel/internal/job"
pkgcron "github.com/tnborg/panel/pkg/cron"
"github.com/acepanel/panel/internal/job"
pkgcron "github.com/acepanel/panel/pkg/cron"
)
func NewCron(conf *koanf.Koanf, log *slog.Logger, jobs *job.Jobs) (*cron.Cron, error) {

View File

@@ -12,8 +12,8 @@ import (
"gopkg.in/natefinch/lumberjack.v2"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/migration"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/migration"
)
func NewDB(conf *koanf.Koanf) (*gorm.DB, error) {

View File

@@ -10,8 +10,8 @@ import (
"github.com/knadh/koanf/v2"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/http/middleware"
"github.com/tnborg/panel/internal/route"
"github.com/acepanel/panel/internal/http/middleware"
"github.com/acepanel/panel/internal/route"
)
func NewRouter(t *gotext.Locale, middlewares *middleware.Middlewares, http *route.Http, ws *route.Ws) (*chi.Mux, error) {

View File

@@ -7,7 +7,7 @@ import (
"github.com/knadh/koanf/v2"
"gopkg.in/natefinch/lumberjack.v2"
"github.com/tnborg/panel/internal/app"
"github.com/acepanel/panel/internal/app"
)
func NewLog(conf *koanf.Koanf) *slog.Logger {

View File

@@ -1,7 +1,7 @@
package bootstrap
import (
"github.com/tnborg/panel/pkg/queue"
"github.com/acepanel/panel/pkg/queue"
)
func NewQueue() *queue.Queue {

View File

@@ -4,7 +4,7 @@ import (
"github.com/knadh/koanf/v2"
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/pkg/embed"
"github.com/acepanel/panel/pkg/embed"
)
func NewT(conf *koanf.Koanf) (*gotext.Locale, error) {

View File

@@ -8,7 +8,7 @@ import (
"github.com/knadh/koanf/v2"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/http/rule"
"github.com/acepanel/panel/internal/http/rule"
)
// NewValidator just for register global rules

View File

@@ -14,10 +14,10 @@ import (
"github.com/spf13/cast"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/pkg/api"
"github.com/tnborg/panel/pkg/shell"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/pkg/api"
"github.com/acepanel/panel/pkg/shell"
)
type appRepo struct {

View File

@@ -13,13 +13,13 @@ import (
"github.com/shirou/gopsutil/disk"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/pkg/db"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/tools"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/pkg/db"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/tools"
"github.com/acepanel/panel/pkg/types"
)
type backupRepo struct {

View File

@@ -7,10 +7,10 @@ import (
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/pkg/api"
"github.com/tnborg/panel/pkg/apploader"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/pkg/api"
"github.com/acepanel/panel/pkg/apploader"
)
type cacheRepo struct {

View File

@@ -13,15 +13,15 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/acme"
pkgcert "github.com/tnborg/panel/pkg/cert"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/acme"
pkgcert "github.com/acepanel/panel/pkg/cert"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/types"
)
type certRepo struct {

View File

@@ -10,10 +10,10 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/acme"
"github.com/tnborg/panel/pkg/cert"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/acme"
"github.com/acepanel/panel/pkg/cert"
)
type certAccountRepo struct {

View File

@@ -3,8 +3,8 @@ package data
import (
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
)
type certDNSRepo struct {

View File

@@ -8,11 +8,11 @@ import (
"github.com/go-resty/resty/v2"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/types"
"github.com/tnborg/panel/pkg/types/docker/container"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/types"
"github.com/acepanel/panel/pkg/types/docker/container"
)
type containerRepo struct {

View File

@@ -7,10 +7,10 @@ import (
"strings"
"time"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/types"
)
type containerComposeRepo struct{}

View File

@@ -8,12 +8,12 @@ import (
"github.com/go-resty/resty/v2"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/tools"
"github.com/tnborg/panel/pkg/types"
"github.com/tnborg/panel/pkg/types/docker/image"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/tools"
"github.com/acepanel/panel/pkg/types"
"github.com/acepanel/panel/pkg/types/docker/image"
)
type containerImageRepo struct {

View File

@@ -8,11 +8,11 @@ import (
"github.com/go-resty/resty/v2"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/types"
"github.com/tnborg/panel/pkg/types/docker/network"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/types"
"github.com/acepanel/panel/pkg/types/docker/network"
)
type containerNetworkRepo struct {

View File

@@ -8,12 +8,12 @@ import (
"github.com/go-resty/resty/v2"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/tools"
"github.com/tnborg/panel/pkg/types"
"github.com/tnborg/panel/pkg/types/docker/volume"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/tools"
"github.com/acepanel/panel/pkg/types"
"github.com/acepanel/panel/pkg/types/docker/volume"
)
type containerVolumeRepo struct {

View File

@@ -9,13 +9,13 @@ import (
"github.com/libtnb/utils/str"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/os"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/os"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
)
type cronRepo struct {

View File

@@ -8,9 +8,9 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/db"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/db"
)
type databaseRepo struct {

View File

@@ -9,9 +9,9 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/db"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/db"
)
type databaseServerRepo struct {

View File

@@ -7,9 +7,9 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/db"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/db"
)
type databaseUserRepo struct {

View File

@@ -6,8 +6,8 @@ import (
"github.com/spf13/cast"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
)
type monitorRepo struct {

View File

@@ -6,11 +6,11 @@ import (
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/pkg/firewall"
"github.com/tnborg/panel/pkg/os"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/pkg/firewall"
"github.com/acepanel/panel/pkg/os"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
)
type safeRepo struct {

View File

@@ -12,15 +12,15 @@ import (
"go.yaml.in/yaml/v3"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/cert"
"github.com/tnborg/panel/pkg/firewall"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/os"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/cert"
"github.com/acepanel/panel/pkg/firewall"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/os"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/types"
)
type settingRepo struct {

View File

@@ -7,9 +7,9 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
pkgssh "github.com/tnborg/panel/pkg/ssh"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
pkgssh "github.com/acepanel/panel/pkg/ssh"
)
type sshRepo struct {

View File

@@ -7,9 +7,9 @@ import (
"github.com/leonelquinteros/gotext"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/queuejob"
"github.com/tnborg/panel/pkg/queue"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/queuejob"
"github.com/acepanel/panel/pkg/queue"
)
type taskRepo struct {

View File

@@ -11,7 +11,7 @@ import (
"github.com/spf13/cast"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
type userRepo struct {

View File

@@ -19,7 +19,7 @@ import (
"github.com/spf13/cast"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
type userTokenRepo struct {

View File

@@ -16,19 +16,19 @@ import (
"github.com/spf13/cast"
"gorm.io/gorm"
"github.com/tnborg/panel/internal/app"
"github.com/tnborg/panel/internal/biz"
"github.com/tnborg/panel/internal/http/request"
"github.com/tnborg/panel/pkg/acme"
"github.com/tnborg/panel/pkg/api"
"github.com/tnborg/panel/pkg/cert"
"github.com/tnborg/panel/pkg/embed"
"github.com/tnborg/panel/pkg/io"
"github.com/tnborg/panel/pkg/nginx"
"github.com/tnborg/panel/pkg/punycode"
"github.com/tnborg/panel/pkg/shell"
"github.com/tnborg/panel/pkg/systemctl"
"github.com/tnborg/panel/pkg/types"
"github.com/acepanel/panel/internal/app"
"github.com/acepanel/panel/internal/biz"
"github.com/acepanel/panel/internal/http/request"
"github.com/acepanel/panel/pkg/acme"
"github.com/acepanel/panel/pkg/api"
"github.com/acepanel/panel/pkg/cert"
"github.com/acepanel/panel/pkg/embed"
"github.com/acepanel/panel/pkg/io"
"github.com/acepanel/panel/pkg/nginx"
"github.com/acepanel/panel/pkg/punycode"
"github.com/acepanel/panel/pkg/shell"
"github.com/acepanel/panel/pkg/systemctl"
"github.com/acepanel/panel/pkg/types"
)
type websiteRepo struct {

View File

@@ -6,12 +6,12 @@ import (
"slices"
"strings"
"github.com/acepanel/panel/pkg/punycode"
"github.com/go-chi/chi/v5"
"github.com/knadh/koanf/v2"
"github.com/leonelquinteros/gotext"
"github.com/libtnb/chix"
"github.com/libtnb/sessions"
"github.com/tnborg/panel/pkg/punycode"
)
// Entrance 确保通过正确的入口访问

View File

@@ -5,6 +5,7 @@ import (
"net/http"
"path/filepath"
"github.com/acepanel/panel/internal/app"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/golang-cz/httplog"
@@ -13,10 +14,9 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/libtnb/sessions"
sessionmiddleware "github.com/libtnb/sessions/middleware"
"github.com/tnborg/panel/internal/app"
"gopkg.in/natefinch/lumberjack.v2"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
var ProviderSet = wire.NewSet(NewMiddlewares)

View File

@@ -6,7 +6,7 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
// MustInstall 确保已安装应用

View File

@@ -14,7 +14,7 @@ import (
"github.com/libtnb/sessions"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
// MustLogin 确保已登录

View File

@@ -5,7 +5,7 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/app"
"github.com/acepanel/panel/internal/app"
)
// Status 检查程序状态

View File

@@ -1,6 +1,6 @@
package request
import "github.com/tnborg/panel/pkg/acme"
import "github.com/acepanel/panel/pkg/acme"
type CertDNSCreate struct {
Type acme.DnsType `form:"type" json:"type" validate:"required|in:aliyun,tencent,huawei,westcn,cloudflare,gcore,porkbun,namesilo,cloudns,hetzner"`

View File

@@ -1,6 +1,6 @@
package request
import "github.com/tnborg/panel/pkg/types"
import "github.com/acepanel/panel/pkg/types"
type ContainerID struct {
ID string `json:"id" form:"id" validate:"required"`

View File

@@ -1,6 +1,6 @@
package request
import "github.com/tnborg/panel/pkg/types"
import "github.com/acepanel/panel/pkg/types"
type ContainerComposeGet struct {
Name string `uri:"name" validate:"required|regex:^[a-zA-Z0-9_-]+$"`

View File

@@ -1,6 +1,6 @@
package request
import "github.com/tnborg/panel/pkg/types"
import "github.com/acepanel/panel/pkg/types"
type ContainerNetworkID struct {
ID string `json:"id" form:"id" validate:"required"`

View File

@@ -1,6 +1,6 @@
package request
import "github.com/tnborg/panel/pkg/types"
import "github.com/acepanel/panel/pkg/types"
type ContainerVolumeID struct {
ID string `json:"id" form:"id" validate:"required"`

Some files were not shown because too many files have changed in this diff Show More