Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
71018eb
add: device login
EUForest Oct 11, 2025
f3bc933
update: global config
EUForest Oct 12, 2025
46e6a97
add: User transmission interface encryption
EUForest Oct 12, 2025
3efa68d
update: get global config
EUForest Oct 12, 2025
8c776cd
update: User transmission interface encryption
EUForest Oct 12, 2025
9ea5c62
add: get device list
EUForest Oct 12, 2025
39306f3
add: SecretIsEmpty Message
EUForest Oct 13, 2025
e99058b
update: device middleware
EUForest Oct 13, 2025
640b8c0
add: query user subscribe node list
EUForest Oct 13, 2025
37ad4c8
fix bug: query device list
EUForest Oct 13, 2025
b80c7ca
fix bug: unbind device
EUForest Oct 14, 2025
f0e2633
update: device login
EUForest Oct 14, 2025
15beff4
fix bug: The ad table is missing the description field
EUForest Oct 14, 2025
f67c2e3
fix bug:page size is zero
EUForest Oct 14, 2025
5716287
update: Device Middleware
EUForest Oct 14, 2025
fb226a0
fix bug: Site custom data update failed
EUForest Oct 14, 2025
d78d79f
add: Automatically delete token when device is removed
EUForest Oct 22, 2025
b099331
add: Add protocol configuration in the return node
EUForest Oct 22, 2025
cd3b9d4
Merge remote-tracking branch 'upstream'
EUForest Oct 22, 2025
b2045a6
Merge remote-tracking branch 'upstream'
EUForest Oct 22, 2025
9ab63df
fix bug: Login failed for old user
EUForest Oct 23, 2025
b974b9a
Merge remote-tracking branch 'upstream'
EUForest Oct 23, 2025
2edc0ef
fix bug: device login fail
EUForest Oct 28, 2025
4312e20
fix bug: init sql fail
EUForest Oct 28, 2025
e0003ea
Temporary: Cancel node cache
EUForest Oct 28, 2025
aaea418
fix bug: Get area information
EUForest Oct 31, 2025
7b8e71a
fix bug: SMS recharge password
EUForest Nov 1, 2025
829d5f3
fix bug: Set server zone
EUForest Nov 1, 2025
2605d22
Add: ClearServerAllCache Func
EUForest Nov 1, 2025
2fd119d
add missing proxy field mappings
EUForest Nov 2, 2025
52ce054
Add: Server location latitude and longitude
EUForest Nov 4, 2025
de6661c
Update: Successful authentication records the identifier.
EUForest Nov 6, 2025
066f5d6
Update: Successful authentication records the identifier.
EUForest Nov 6, 2025
8cce9b9
Add: Add a WebSocket connection to monitor the app's online status.
EUForest Nov 6, 2025
d1a8662
Add: Add a WebSocket connection to monitor the app's online status.
EUForest Nov 6, 2025
b7eafd0
Update: Account display priority: phone number > email > device ID
EUForest Nov 8, 2025
d7aa9a4
Add: Try to get the device ID from the request parameters
EUForest Nov 8, 2025
902608b
Add: Get expired subscription
EUForest Nov 8, 2025
b9d3446
Bug fix: Clear server user node cache
EUForest Nov 9, 2025
60d584a
add: User cancels account
EUForest Nov 9, 2025
3635d3e
update: device delete current user
EUForest Nov 13, 2025
0fb92f3
update: Remove accounts without verification methods
EUForest Nov 13, 2025
ff2d3f8
new features: Based on IP user registration restrictions
EUForest Nov 13, 2025
c1efb23
update: Added support for floating-point calculations for discounts
EUForest Nov 21, 2025
95ddba2
update: Added support for floating-point calculations for discounts
EUForest Nov 21, 2025
d22659f
update: encryption
EUForest Nov 24, 2025
128791f
update: bind device
EUForest Nov 24, 2025
e81a11c
remove: github workflows
EUForest Nov 24, 2025
22d03a1
add: github workflows
EUForest Nov 24, 2025
f0f29de
add: github workflows
EUForest Nov 24, 2025
5d18c7b
添加 GitHub 自动部署 Linux 二进制工作流
EUForest Nov 24, 2025
0d57e7e
简化为纯 Golang Linux 二进制构建工作流
EUForest Nov 24, 2025
e062dc1
添加手动发布功能支持
EUForest Nov 24, 2025
b8a4b73
修复标签推送自动创建 Release
EUForest Nov 24, 2025
adc4a4f
修复 GitHub Actions 语法错误
EUForest Nov 24, 2025
b4893b7
修复 bash 脚本语法错误
EUForest Nov 24, 2025
35f60df
重新触发构建测试
EUForest Nov 24, 2025
5e46357
修复工作流条件判断
EUForest Nov 24, 2025
76ff9a6
Merge branch perfect-panel/master/server into develop
EUForest Dec 11, 2025
39db154
fix bug: Flag free trial
EUForest Dec 17, 2025
47c41d1
fix bug: telephone login
EUForest Dec 19, 2025
80ee9a6
Merge upstream/master into develop
EUForest Jan 2, 2026
5beff61
Merge upstream/master into develop
EUForest Jan 3, 2026
518595b
feat: Redemption Code
EUForest Jan 5, 2026
3f3b0ae
up: Redemption Code
EUForest Jan 6, 2026
ec0a0f9
up: Redemption Code
EUForest Jan 6, 2026
23ef9db
feat: bind device limit
EUForest Jan 6, 2026
24c7fc8
add: init sql
EUForest Jan 6, 2026
8f783b1
feat: redemption code
EUForest Jan 6, 2026
8a804ee
chore: simplify build workflow for v1.3
EUForest Jan 6, 2026
f452838
Merge upstream/master into develop
EUForest Jan 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/environments/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Production Environment Configuration for GitHub Actions
# This file defines production-specific deployment settings

environment:
name: production
url: https://api.ppanel.example.com
protection_rules:
- type: wait_timer
minutes: 5
- type: reviewers
reviewers:
- "@admin-team"
- "@devops-team"
variables:
ENVIRONMENT: production
LOG_LEVEL: info
DEPLOY_TIMEOUT: 300

# Environment-specific secrets required:
# PRODUCTION_HOST - Production server hostname/IP
# PRODUCTION_USER - SSH username for production server
# PRODUCTION_SSH_KEY - SSH private key for production server
# PRODUCTION_PORT - SSH port (default: 22)
# PRODUCTION_URL - Application URL for health checks
# DATABASE_PASSWORD - Production database password
# REDIS_PASSWORD - Production Redis password
# JWT_SECRET - JWT secret key for production
23 changes: 23 additions & 0 deletions .github/environments/staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Staging Environment Configuration for GitHub Actions
# This file defines staging-specific deployment settings

environment:
name: staging
url: https://staging-api.ppanel.example.com
protection_rules:
- type: wait_timer
minutes: 2
variables:
ENVIRONMENT: staging
LOG_LEVEL: debug
DEPLOY_TIMEOUT: 180

# Environment-specific secrets required:
# STAGING_HOST - Staging server hostname/IP
# STAGING_USER - SSH username for staging server
# STAGING_SSH_KEY - SSH private key for staging server
# STAGING_PORT - SSH port (default: 22)
# STAGING_URL - Application URL for health checks
# DATABASE_PASSWORD - Staging database password
# REDIS_PASSWORD - Staging Redis password
# JWT_SECRET - JWT secret key for staging
65 changes: 65 additions & 0 deletions .github/workflows/deploy-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Build Linux Binary

on:
push:
branches: [ main, master ]
tags:
- 'v*'
workflow_dispatch:
inputs:
version:
description: 'Version to build (leave empty for auto)'
required: false
type: string

permissions:
contents: write

jobs:
build:
name: Build Linux Binary
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23.3'
cache: true

- name: Build
env:
CGO_ENABLED: 0
GOOS: linux
GOARCH: amd64
run: |
VERSION=${{ github.event.inputs.version }}
if [ -z "$VERSION" ]; then
VERSION=$(git describe --tags --always --dirty)
fi

echo "Building ppanel-server $VERSION"
go build -ldflags "-s -w -X main.Version=$VERSION" -o ppanel-server ./ppanel.go
tar -czf ppanel-server-${VERSION}-linux-amd64.tar.gz ppanel-server
sha256sum ppanel-server ppanel-server-${VERSION}-linux-amd64.tar.gz > checksum.txt

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ppanel-server-linux-amd64
path: |
ppanel-server
ppanel-server-*-linux-amd64.tar.gz
checksum.txt

- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=${GITHUB_REF#refs/tags/}
gh release create $VERSION --title "PPanel Server $VERSION" || true
gh release upload $VERSION ppanel-server-${VERSION}-linux-amd64.tar.gz checksum.txt
51 changes: 0 additions & 51 deletions .github/workflows/develop.yaml

This file was deleted.

131 changes: 0 additions & 131 deletions .github/workflows/release.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/swagger.yaml

This file was deleted.

Loading