Skip to content

Commit

Permalink
goodbye
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat committed May 4, 2024
1 parent 1566207 commit f802a93
Show file tree
Hide file tree
Showing 45 changed files with 283 additions and 404 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

Binary file removed .github/PATREON.png
Binary file not shown.
6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

Binary file removed .github/do.png
Binary file not shown.
Binary file removed .github/vultr.png
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
with:
php-version: 8.3
- run: |
composer install --no-interaction --no-progress --no-suggest
composer install --no-interaction --no-progress --no-suggest --quiet
php vendor/bin/phpinsights analyse --no-interaction --format=github-action \
--min-style=100 --min-architecture=100 --min-quality=100
23 changes: 19 additions & 4 deletions .github/workflows/lockdown.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: Lockdown
name: Lockdown Issue & PR

on:
issues:
types: [opened]
issue_comment:
types: [created]
pull_request:
types: [opened, synchronize, reopened]

jobs:
closeAndlock:
issueLockdown:
if: ${{ github.event_name == 'issues' }}
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- name: Close & Lock Issue
run: |
Expand All @@ -20,3 +22,16 @@ jobs:
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
prLockdown:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Close & Lock PR
run: |
gh pr close ${{ github.event.pull_request.number }}
gh pr lock ${{ github.event.pull_request.number }}
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 10 additions & 10 deletions .github/workflows/minify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Auto Minify Tabler Theme CSS file
uses: nizarmah/auto-minify@master
token: ${{ secrets.GITHUB_TOKEN }}
- name: Auto minify tabler theme CSS file
uses: nizarmah/auto-minify@v3
with:
directory: 'public/theme/tabler/css'
- name: Auto Minify Tabler Theme JS file
uses: nizarmah/auto-minify@master
- name: Auto minify tabler theme JS file
uses: nizarmah/auto-minify@v3
with:
directory: 'public/theme/tabler/js'
- name: Auto Minify CSS file
uses: nizarmah/auto-minify@master
- name: Auto minify asset CSS file
uses: nizarmah/auto-minify@v3
with:
directory: 'public/assets/css'
- name: Auto Minify JS file
uses: nizarmah/auto-minify@master
- name: Auto minify asset JS file
uses: nizarmah/auto-minify@v3
with:
directory: 'public/assets/js'
- name: Auto committing minified files
uses: stefanzweifel/git-auto-commit-action@v5
with:
repository: 'public'
commit_message: "Github Action: Auto Minified Theme CSS/JS Files"
commit_message: "chore: auto minified theme CSS/JS files"
8 changes: 3 additions & 5 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: SonarCloud

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
workflow_dispatch:
types: [ opened, reopened, synchronize ]

permissions:
pull-requests: read
Expand All @@ -24,15 +22,15 @@ jobs:
php-version: '8.3'
coverage: xdebug
- name: Install dependencies with composer
run: composer update --no-ansi --no-interaction --no-progress
run: composer update --no-interaction --no-progress --no-suggest --quiet
- name: Run tests with phpunit/phpunit
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Fix code coverage paths
run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace@g' coverage.xml
- name: Analyze with SonarCloud
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: Mark stale issues and pull requests

on:
schedule:
- cron: '40 2 * * *'
- cron: '0 0 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has had no activity for over 60 days, hence marked as "staled-issue". This issue will be closed in 7 days.'
stale-pr-message: 'This PR has had no activity for over 60 days, hence marked as "staled-pr". This PR will be closed in 7 days.'
stale-issue-label: 'staled-issue'
stale-pr-label: 'staled-pr'
days-before-stale: 180
days-before-close: 14
stale-issue-message: 'This issue has had no activity for over 180 days and will be closed in 14 days.'
stale-pr-message: 'This PR has had no activity for over 180 days and will be closed in 14 days.'
stale-issue-label: 'staled'
stale-pr-label: 'staled'
12 changes: 5 additions & 7 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: PHP Unit Tests

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
workflow_dispatch:
types: [ opened, reopened, synchronize ]

jobs:
php-file-changed:
Expand All @@ -23,7 +21,7 @@ jobs:
php:
- '**/*.php'
unit-test-php82:
php8.2:
needs: php-file-changed
if: ${{ needs.php-file-changed.outputs.php == 'true' }}
runs-on: ubuntu-latest
Expand All @@ -33,10 +31,10 @@ jobs:
with:
php-version: 8.2
- run: |
composer install --no-interaction --no-progress --no-suggest
composer install --no-interaction --no-progress --no-suggest --quiet
php vendor/bin/phpunit
unit-test-php83:
php8.3:
needs: php-file-changed
if: ${{ needs.php-file-changed.outputs.php == 'true' }}
runs-on: ubuntu-latest
Expand All @@ -46,5 +44,5 @@ jobs:
with:
php-version: 8.3
- run: |
composer install --no-interaction --no-progress --no-suggest
composer install --no-interaction --no-progress --no-suggest --quiet
php vendor/bin/phpunit
37 changes: 1 addition & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,9 @@
<br>
<br>

[![License](https://img.shields.io/github/license/SSPanel-UIM/SSPanel-UIM-Dev?style=flat-square)](https://github.com/SSPanel-UIM/SSPanel-UIM-Dev/blob/dev/LICENSE)
![GitHub repo size](https://img.shields.io/github/repo-size/SSPanel-UIM/SSPanel-UIM-Dev?style=flat-square)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/Anankke/SSPanel-Uim?style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SSPanel-UIM/SSPanel-UIM-Dev/lint.yml?branch=dev&label=lint&style=flat-square)
![Sonar Quality Gate](https://img.shields.io/sonar/quality_gate/sspanel-uim_SSPanel-Uim-Dev/dev?server=https%3A%2F%2Fsonarcloud.io&style=flat-square)
![Sonar Coverage](https://img.shields.io/sonar/coverage/sspanel-uim_SSPanel-Uim-Dev/dev?server=https%3A%2F%2Fsonarcloud.io&style=flat-square)

[![Release](https://img.shields.io/badge/Telegram-Release-blue?style=flat-square)](https://t.me/sspanel_uim)
[![Dev](https://img.shields.io/badge/Telegram-Dev-blue?style=flat-square)](https://t.me/sspanel_uim_dev)
[![Discord](https://img.shields.io/discord/1049692075085549600?color=5865F2&label=Discord&style=flat-square)](https://discord.gg/A7uFKCvf8V)
[![Dev Blog](https://img.shields.io/badge/Dev-Blog-blue?style=flat-square)](https://blog.sspanel.org)

## TL;DR

SSPanel UIM is a multi-purpose proxy service management system designed for Shadowsocks / V2Ray / Trojan / TUIC protocol.
SSPanel UIM is a multi-purpose proxy service management system designed for Shadowsocks(2022) / V2Ray / Trojan / TUIC protocol.

## Features

Expand All @@ -46,29 +34,6 @@ SSPanel UIM requires the following programs to be installed and run normally:
- MariaDB 10.11+(Disable strict mode)
- Redis 7.0+

## Documentation

> We install, we update, we develop
[SSPanel UIM Wiki (zh)](https://wiki.sspanel.org), here you can find answers to most questions.

## Related Projects

SSPanel-UIM is not just a panel, it also includes a series of peripheral projects to help you use it better.

You can view other projects maintained by our developers on the [SSPanel-UIM Dev Team](https://github.com/sspanel-uim) page.

## Support Developers

### M1Screw

<a href="https://www.patreon.com/catdev"><img src=".github/PATREON.png" width="300"></a>

<a href="https://www.vultr.com/?ref=8941355-8H"><img src=".github/vultr.png" width="300"></a>

<a href="https://www.digitalocean.com/?refcode=50f1a3b6244c"><img src=".github/do.png" width="300"></a>


## Sponsors

[![](.github/jetbrains.png)](https://www.jetbrains.com/?from=SSPanel-UIM)
Expand Down
1 change: 0 additions & 1 deletion SECURITY.md

This file was deleted.

7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ext-xml": "*",
"ext-yaml": "*",
"ext-zip": "*",
"alibabacloud/dm-20170622": "^1.2",
"alibabacloud/dm-20170622": "^1",
"alipaysdk/openapi": "*@dev",
"aws/aws-sdk-php": "^3",
"geoip2/geoip2": "^3",
Expand All @@ -28,7 +28,6 @@
"mailgun/mailgun-php": "^4",
"nikolaposa/rate-limit": "^3",
"openai-php/client": "^0",
"ozdemir/datatables": "^2",
"phpmailer/phpmailer": "^6",
"postal/postal": "^2",
"ramsey/uuid": "^4",
Expand All @@ -38,7 +37,7 @@
"slim/slim": "^4",
"smarty/smarty": "^5",
"srmklive/paypal": "^3",
"stripe/stripe-php": "^13",
"stripe/stripe-php": "^14",
"symfony/http-client": "^7",
"symfony/translation": "^7",
"tronovav/geoip2-update": "^2",
Expand All @@ -60,7 +59,7 @@
}
},
"require-dev": {
"dg/bypass-finals": "^1.6",
"dg/bypass-finals": "^1",
"nunomaduro/phpinsights": "*",
"phpunit/phpunit": "^10"
},
Expand Down
Loading

0 comments on commit f802a93

Please sign in to comment.