Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.2 #800

Merged
merged 272 commits into from
Dec 10, 2024
Merged

v7.2 #800

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
5d77cd8
听兔子的话
paulzzh Nov 16, 2024
512094a
fix build
paulzzh Nov 16, 2024
3082913
完善 BiglyBT
paulzzh Nov 17, 2024
1d66a33
添加 pbh.pcb.disable-completed-excessive
paulzzh Nov 17, 2024
c716e6b
完善 Transmission
paulzzh Nov 17, 2024
5b72541
Update dependency com.zaxxer:HikariCP to v6.2.0
renovate[bot] Nov 17, 2024
804b04c
Update dependency org.projectlombok:lombok to v1.18.36 (#751)
renovate[bot] Nov 18, 2024
76e860f
Merge pull request #750 from PBH-BTN/renovate/com.zaxxer-hikaricp-6.x
Gaojianli Nov 18, 2024
25c3a93
Merge remote-tracking branch 'origin/master' into dev
Gaojianli Nov 18, 2024
b091f16
尝试优化banlist
Gaojianli Nov 18, 2024
e3dc0d2
Update docker/metadata-action action to v5.6.1
renovate[bot] Nov 19, 2024
0971a57
修改提示信息
paulzzh Nov 19, 2024
737a244
Update all devDependencies (#753)
renovate[bot] Nov 19, 2024
22e2677
Update dependency @formatjs/intl-durationformat to v0.6.4
renovate[bot] Nov 19, 2024
e88e7b4
Revert "听兔子的话"
paulzzh Nov 20, 2024
af27196
再次修改提示信息
paulzzh Nov 20, 2024
910a4f6
Merge pull request #756 from PBH-BTN/renovate/docker-metadata-action-5.x
Ghost-chu Nov 20, 2024
0f5280c
修改声明
Gaojianli Nov 20, 2024
e95a8b1
Merge remote-tracking branch 'origin/master' into dev
Gaojianli Nov 20, 2024
b264512
Merge pull request #752 from PBH-BTN/renovate/formatjs-monorepo
Gaojianli Nov 20, 2024
545e6b7
move script path
Gaojianli Nov 20, 2024
ea12830
bump version
Gaojianli Nov 20, 2024
2dbab3e
Update dependency commons-io:commons-io to v2.18.0
renovate[bot] Nov 20, 2024
0b20a9e
Merge remote-tracking branch 'origin/dev' into fixTorrentSize
paulzzh Nov 20, 2024
12377d4
完善 qB
paulzzh Nov 20, 2024
cbdc428
听兔子的话
paulzzh Nov 20, 2024
a1b05e0
换成 long
paulzzh Nov 21, 2024
1ed4223
editable 接口
Ghost-chu Nov 21, 2024
0cd3d9b
Merge branch 'refs/heads/master' into dev
Ghost-chu Nov 21, 2024
e9b28ef
add readonly mode
Gaojianli Nov 21, 2024
9413121
add faq url
Gaojianli Nov 21, 2024
7a8ac95
fix
Gaojianli Nov 21, 2024
a42af3d
Update dependency @vueuse/core to v11.3.0
renovate[bot] Nov 21, 2024
90f1022
Update README.md
Ghost-chu Nov 22, 2024
e393cc5
Merge pull request #761 from PBH-BTN/renovate/commons-io-commons-io-2.x
Ghost-chu Nov 22, 2024
6873604
add time for alert
Gaojianli Nov 22, 2024
f9984ab
Merge pull request #748 from PBH-BTN/fixTorrentSize
paulzzh Nov 22, 2024
bf9318c
修正 README.EN 中的拼写、语法错误.md
CreeperAWA Nov 22, 2024
0d0c64f
Update README.EN.md
CreeperAWA Nov 22, 2024
1ce919f
Update all devDependencies (#766)
renovate[bot] Nov 23, 2024
814c7ca
调整文案
Gaojianli Nov 23, 2024
9542597
Update dependency com.zaxxer:HikariCP to v6.2.1 (#769)
renovate[bot] Nov 25, 2024
5b6c9fc
Merge pull request #765 from CreeperAWA/patch-1
Gaojianli Nov 25, 2024
0bdde0d
Merge pull request #762 from PBH-BTN/renovate/vueuse-monorepo
Gaojianli Nov 25, 2024
7cef4d0
update md
Gaojianli Nov 25, 2024
a0e825a
Update dependency vue-router to v4.5.0
renovate[bot] Nov 25, 2024
547954c
Update all devDependencies (#767)
renovate[bot] Nov 26, 2024
f5a64a8
Update all devDependencies (#771)
renovate[bot] Nov 26, 2024
f47b010
Update docker/build-push-action action to v6.10.0
renovate[bot] Nov 26, 2024
f10ce70
Update dependency vite to v6 (#776)
renovate[bot] Nov 26, 2024
489d4f2
Update all devDependencies (#772)
renovate[bot] Nov 26, 2024
cb6dc01
Update all devDependencies (#780)
renovate[bot] Nov 27, 2024
36620fd
Update dependency @vueuse/core to v12
renovate[bot] Nov 27, 2024
ce5d3f2
Update all devDependencies (#781)
renovate[bot] Nov 27, 2024
df4956e
Update all devDependencies (#783)
renovate[bot] Nov 28, 2024
3071492
Update all devDependencies (#785)
renovate[bot] Nov 30, 2024
8c17348
Merge branch 'refs/heads/master' into dev
Ghost-chu Nov 30, 2024
5f28a14
Merge remote-tracking branch 'origin/dev' into dev
Ghost-chu Nov 30, 2024
7565151
添加端口转发工具
Ghost-chu Nov 30, 2024
c8d3ab1
checkpoint
Ghost-chu Nov 30, 2024
5049e80
checkpoint
Ghost-chu Nov 30, 2024
d398988
checkpoint
Ghost-chu Nov 30, 2024
7782c6e
支持 IPFS 订阅
Ghost-chu Nov 30, 2024
dd5973f
使用 :// 协议
Ghost-chu Nov 30, 2024
4e0831b
使用 URI 类
Ghost-chu Nov 30, 2024
4a3d2fc
拦截错误
Ghost-chu Nov 30, 2024
7707cc8
允许配置文件控制 IPFS 启用
Ghost-chu Dec 1, 2024
af99228
使用实验室控制器决定是否启用 IPFS 模块
Ghost-chu Dec 1, 2024
9da8c56
配置文件升级
Ghost-chu Dec 1, 2024
f19fb59
完善灰度的东西
Ghost-chu Dec 1, 2024
96021d4
添加语言文件
Ghost-chu Dec 1, 2024
449cb10
支持ipfs://
Gaojianli Dec 1, 2024
3605514
修改响应格式
Ghost-chu Dec 1, 2024
9b5839a
添加缺失的 io.ipfs 包
Ghost-chu Dec 1, 2024
ab3511c
bump to 7.2.0
Gaojianli Dec 1, 2024
d805b2c
改造 Push 提供器为类似 Downloader 的样子
Ghost-chu Dec 1, 2024
517b1d3
添加推送渠道接口
Ghost-chu Dec 1, 2024
75863fa
合并接口
Ghost-chu Dec 1, 2024
182399b
Merge branch 'dev' into dev-ipfsnabu
Ghost-chu Dec 1, 2024
739759f
Merge pull request #788 from PBH-BTN/dev-ipfsnabu
Ghost-chu Dec 1, 2024
17ae4d6
cleanup
Ghost-chu Dec 1, 2024
e496926
fix build
Ghost-chu Dec 1, 2024
3faf7bf
安装完毕后询问用户启动 PeerBanHelper, Completed #784
Ghost-chu Dec 1, 2024
680200c
Merge branch 'dev-ipfskubo' into dev
Ghost-chu Dec 1, 2024
12bfc11
合并 kubo
Ghost-chu Dec 1, 2024
661823b
合并 kubo
Ghost-chu Dec 1, 2024
327ee1f
允许重载 BTN
Ghost-chu Dec 1, 2024
f5d82c4
fix BtnNetwork NPE
Ghost-chu Dec 1, 2024
1082a88
统一配置文件来源
Ghost-chu Dec 1, 2024
50526be
从系统环境变量读取 KUBO_RPC
Ghost-chu Dec 1, 2024
f061495
忘记读配置文件了
Ghost-chu Dec 1, 2024
a90aaed
判断写反了
Ghost-chu Dec 1, 2024
096c272
更新 docker-compose
Ghost-chu Dec 1, 2024
65dfa2b
添加本地化的错误信息
Ghost-chu Dec 1, 2024
c40900e
升级 push-notification 配置段
Ghost-chu Dec 1, 2024
c408081
添加注释
Ghost-chu Dec 1, 2024
62dcc71
Create delete_old_s3_objects.yml
Ghost-chu Dec 1, 2024
5a4d5b6
Update delete_old_s3_objects.yml
Ghost-chu Dec 1, 2024
867f1eb
Update jvm-release.yml
Ghost-chu Dec 1, 2024
33e9b42
Update jvm-release.yml
Ghost-chu Dec 1, 2024
428ca42
Update jvm-release.yml
Ghost-chu Dec 1, 2024
ad0f7ea
Update jvm-release.yml
Ghost-chu Dec 1, 2024
8a0edd1
Update jvm-release.yml
Ghost-chu Dec 1, 2024
5f241f4
Update build_installers.yml
Ghost-chu Dec 1, 2024
55eedb5
Create flush_cloudflare_cache.yml
Ghost-chu Dec 1, 2024
0c53ce5
Update jvm-release.yml
Ghost-chu Dec 1, 2024
f7613fd
修改版本号和安装器自动更新设置
Ghost-chu Dec 1, 2024
6e7d366
Update build_installers.yml
Ghost-chu Dec 1, 2024
b763714
去掉版本尾缀
Ghost-chu Dec 1, 2024
8d8530a
Merge remote-tracking branch 'origin/dev' into dev
Ghost-chu Dec 1, 2024
767dc3b
修复配置文件升级 NPE
Ghost-chu Dec 1, 2024
56c6ef5
添加 updater
Ghost-chu Dec 1, 2024
643e55a
snapshot
Ghost-chu Dec 1, 2024
9f12dc3
alpha1
Ghost-chu Dec 1, 2024
2eb0605
Update README.md
Ghost-chu Dec 1, 2024
6c0c2be
Update README.EN.md
Ghost-chu Dec 1, 2024
7e90f0c
Update default (#790)
renovate[bot] Dec 2, 2024
ab3c0e1
输出可读版本
Ghost-chu Dec 2, 2024
0719d04
降级到 WARN 等级
Ghost-chu Dec 2, 2024
f5d7ccb
更新提示信息
Ghost-chu Dec 2, 2024
c762975
Merge pull request #770 from PBH-BTN/renovate/vue-router-4.x-lockfile
Gaojianli Dec 2, 2024
d048871
Merge pull request #782 from PBH-BTN/renovate/major-vueuse-monorepo
Gaojianli Dec 2, 2024
369a176
Merge pull request #775 from PBH-BTN/renovate/docker-build-push-actio…
Gaojianli Dec 2, 2024
ce4f594
upgrade deps
Gaojianli Dec 2, 2024
7bd5d58
Merge remote-tracking branch 'origin/dev' into dev
Ghost-chu Dec 2, 2024
bef180e
更新 SMTP 消息推送配置文件结构
Ghost-chu Dec 2, 2024
c4c1d0b
更新 SMTP 消息推送配置文件结构
Ghost-chu Dec 2, 2024
e2bc1ba
更新脚本
Ghost-chu Dec 2, 2024
312c22f
Too loud
Ghost-chu Dec 2, 2024
8480d48
Create dependabot.yml
Ghost-chu Dec 2, 2024
2791260
Bump com.install4j:install4j-maven from 10.0.8 to 11.0.1
dependabot[bot] Dec 2, 2024
77f4665
Merge pull request #794 from PBH-BTN/dependabot/maven/com.install4j-i…
Ghost-chu Dec 2, 2024
889a7b9
修复缺失的占位符
Ghost-chu Dec 2, 2024
240bcae
Merge remote-tracking branch 'origin/dev' into dev
Ghost-chu Dec 2, 2024
30a3a9c
免费许可证
Ghost-chu Dec 2, 2024
2287913
返回 false 和 CONFLICT
Ghost-chu Dec 2, 2024
24bb904
类型回退
Ghost-chu Dec 2, 2024
0d87b9d
添加 -Dlauncher.directory=${launcher:sys.launcherDirectory} 启动参数
Ghost-chu Dec 2, 2024
58e7691
修复升级脚本
Ghost-chu Dec 2, 2024
1b7e23e
默认 STARTTLS
Ghost-chu Dec 2, 2024
64cb86f
修复配置文件升级脚本
Ghost-chu Dec 2, 2024
2e5f7b7
修正更新脚本
Ghost-chu Dec 2, 2024
344dc7b
升级时,删除未使用的推送渠道
Ghost-chu Dec 2, 2024
692f3b4
默认关闭
Gaojianli Dec 2, 2024
ec0d34a
新版 i4j launcher
Ghost-chu Dec 2, 2024
eb17dc6
Revert "默认关闭"
Ghost-chu Dec 2, 2024
16f41f6
移除 javafx 残留
Ghost-chu Dec 3, 2024
2ab1b11
默认 unknown
Ghost-chu Dec 3, 2024
d34a4e4
早期启动阶段从文件系统加载 Properties
Ghost-chu Dec 4, 2024
956a0e8
分组件安装
Ghost-chu Dec 4, 2024
0628749
优化白名单 IP 检查性能
Ghost-chu Dec 5, 2024
4c3214b
优化 BtnRuleParsed 在解析过程中的内存尖峰问题
Ghost-chu Dec 5, 2024
db690ab
优化 BtnRuleParsed 在解析过程中的内存尖峰问题
Ghost-chu Dec 5, 2024
1c97117
fix push provider removal
Ghost-chu Dec 5, 2024
d232437
部分完成推送接口(测试还不能用)
Gaojianli Dec 5, 2024
9a930f5
test 增加loading
Gaojianli Dec 5, 2024
250a923
测试也好了
Gaojianli Dec 5, 2024
d425856
增加骨架屏
Gaojianli Dec 5, 2024
0267cd5
为 WebUI 启用 dependabot
Ghost-chu Dec 5, 2024
9b2be16
为快照启用 cloudflare s3 部署
Ghost-chu Dec 5, 2024
69e1eba
在 dev 分支上禁用 S3 上传,节约配额
Ghost-chu Dec 5, 2024
fde4b23
修复 ci
Ghost-chu Dec 5, 2024
c180950
修复 ci
Ghost-chu Dec 5, 2024
36edc30
Update renovate.json
Ghost-chu Dec 5, 2024
70f2a65
Revert "修复 ci"
Ghost-chu Dec 5, 2024
9e56277
Revert "修复 ci"
Ghost-chu Dec 5, 2024
f9da8d4
Revert "在 dev 分支上禁用 S3 上传,节约配额"
Ghost-chu Dec 5, 2024
741e1c6
Revert "为快照启用 cloudflare s3 部署"
Ghost-chu Dec 5, 2024
a25ca11
全是可选
Gaojianli Dec 5, 2024
2e7a6bf
既然是分组0的用户才能启用,那他们一定有能力自己开启这个功能
Gaojianli Dec 5, 2024
ea61dfe
Revert "既然是分组0的用户才能启用,那他们一定有能力自己开启这个功能"
Ghost-chu Dec 5, 2024
5a923a7
Reapply "既然是分组0的用户才能启用,那他们一定有能力自己开启这个功能"
Gaojianli Dec 5, 2024
bb46c38
Revert "为 WebUI 启用 dependabot"
Gaojianli Dec 5, 2024
ebfd88c
only webui
Gaojianli Dec 5, 2024
377cb98
放错了
Gaojianli Dec 5, 2024
04267a2
Update dependency pinia to v2.3.0
renovate[bot] Dec 5, 2024
e82b91c
增加体验plus能力
Gaojianli Dec 5, 2024
fbef1df
增加爱发电吧唧
Gaojianli Dec 5, 2024
0aaca3a
fix lint
Gaojianli Dec 5, 2024
a2689eb
换换文案
Ghost-chu Dec 5, 2024
965a9fd
Merge pull request #799 from PBH-BTN/renovate/pinia-2.x-lockfile
Gaojianli Dec 5, 2024
c4c768c
Merge remote-tracking branch 'origin/dev' into dev
Ghost-chu Dec 5, 2024
e356951
我不想捐赠
Gaojianli Dec 6, 2024
b406ac5
临时许可证也可以注册爱发电
Gaojianli Dec 6, 2024
10d1b9b
keyData 过期时,返回 expiredKeyData
Ghost-chu Dec 6, 2024
f1d2b0e
finish labs
Gaojianli Dec 6, 2024
bbca87b
加加彩蛋
Ghost-chu Dec 6, 2024
ee44c7b
Merge remote-tracking branch 'origin/dev' into dev
Ghost-chu Dec 6, 2024
87cde59
更新提示文本
Ghost-chu Dec 6, 2024
9397fd4
修正文本
Ghost-chu Dec 6, 2024
9e9f59c
Merge pull request #710 from PBH-BTN/dev
Ghost-chu Dec 6, 2024
9d6b668
更改文本
Ghost-chu Dec 6, 2024
0d281df
修改文本
Ghost-chu Dec 6, 2024
aa311e7
Merge remote-tracking branch 'origin/master'
Ghost-chu Dec 6, 2024
b2d427b
fix link
Ghost-chu Dec 6, 2024
0176495
更新彩蛋 URLs
Ghost-chu Dec 6, 2024
5036d1c
更新 Credit
Ghost-chu Dec 6, 2024
fe19047
修复推送格式问题
Ghost-chu Dec 6, 2024
5c8b2c2
fix typo
Gaojianli Dec 7, 2024
e65b93e
修复构建错误
Ghost-chu Dec 7, 2024
a687f57
Merge remote-tracking branch 'origin/master'
Ghost-chu Dec 7, 2024
bec90ec
推送+硬编码了md
Gaojianli Dec 7, 2024
7cb90f5
format code
Gaojianli Dec 7, 2024
dbe82d4
1. 增加commit 不同时的警告
Gaojianli Dec 7, 2024
0ef4c38
文案优化
Gaojianli Dec 7, 2024
2afeab6
出错时,输出错误响应
Ghost-chu Dec 7, 2024
a7c903b
也响应状态码
Ghost-chu Dec 7, 2024
fedbcde
允许关闭实验室
Ghost-chu Dec 7, 2024
5f42a66
加个 labEnabled
Ghost-chu Dec 7, 2024
3a134de
将 kubo 从 docker-compose 中移除
Ghost-chu Dec 7, 2024
4f20fbb
add labs switch
Gaojianli Dec 7, 2024
a1b8db7
add indent config
Gaojianli Dec 7, 2024
ecd2eaa
去除月以上天数,fix #795
Gaojianli Dec 7, 2024
d59e699
修复图标在黑暗模式下的问题
Gaojianli Dec 7, 2024
23cd3df
优化样式
Gaojianli Dec 7, 2024
3502313
把一些选项放到高级面板里面
Gaojianli Dec 7, 2024
e2e9baf
Update renovate.json
Gaojianli Dec 7, 2024
507fee7
修复bug
Gaojianli Dec 7, 2024
2181b6a
Bump to beta
Ghost-chu Dec 7, 2024
ab5a244
修复新安装首次启动时的数据库清理任务报错的问题
Ghost-chu Dec 8, 2024
9edd4c8
登录 qBittorrent 时自动关闭允许多重连接
Ghost-chu Dec 8, 2024
2dd469b
改掉这个奇怪的东西
Ghost-chu Dec 8, 2024
27a85a2
暂时关闭 PortMapper,因为这是一段 unused code
Ghost-chu Dec 8, 2024
864e901
bump version
Ghost-chu Dec 8, 2024
9867254
修复 push+ 渠道测试
paulzzh Dec 8, 2024
e2cdc92
Merge branch 'master' of https://github.com/PBH-BTN/PeerBanHelper
paulzzh Dec 8, 2024
49c67af
修复端口占用提示不显示端口号的问题
Ghost-chu Dec 8, 2024
09a4b5f
替换表情
Gaojianli Dec 8, 2024
6663bd8
激活免费许可证增加10s倒计时
Gaojianli Dec 9, 2024
8e90a89
修改响应字段到小驼峰
Ghost-chu Dec 9, 2024
b45da95
Merge remote-tracking branch 'origin/master'
Ghost-chu Dec 9, 2024
471c62d
修复倒计时可能变成负数的问题
Gaojianli Dec 9, 2024
f5fa7e1
Bump com.formdev:flatlaf from 3.5.2 to 3.5.4
dependabot[bot] Dec 9, 2024
41b638a
Bump com.formdev:flatlaf-extras from 3.5.2 to 3.5.4
dependabot[bot] Dec 9, 2024
20fad1a
Merge pull request #803 from PBH-BTN/dependabot/maven/com.formdev-fla…
Ghost-chu Dec 9, 2024
01aaabb
Merge pull request #804 from PBH-BTN/dependabot/maven/com.formdev-fla…
Ghost-chu Dec 9, 2024
e3d7214
修正一个并发修改错误
Ghost-chu Dec 9, 2024
803f279
修改默认值
Ghost-chu Dec 9, 2024
2e2d109
向 User-Agent 中添加更多一些的信息
Ghost-chu Dec 9, 2024
1070080
清理一下
Ghost-chu Dec 9, 2024
de87f69
读取配置文件错误时,输出配置文件内容
Ghost-chu Dec 9, 2024
6ec77ee
反序列化读取
Ghost-chu Dec 9, 2024
62f77b8
fix build
Ghost-chu Dec 9, 2024
c0f2faa
直接删除依赖
paulzzh Dec 9, 2024
2046d54
add change log viewer
Gaojianli Dec 10, 2024
73447e6
使用统一的markdown实例
Gaojianli Dec 10, 2024
0d2cae8
看看日志总没错
Gaojianli Dec 10, 2024
649a989
use markdown components
Gaojianli Dec 10, 2024
5b09d61
use iframe to be safer
Gaojianli Dec 10, 2024
2e793e0
format
Gaojianli Dec 10, 2024
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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "maven" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
7 changes: 5 additions & 2 deletions .github/workflows/build_installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:
- name: Make installers
run: |
/opt/install4j/bin/install4jc -L ${{ secrets.INSTALL4J_LICENSE }} -r ${{ steps.java_info.outputs.project_version }} -g -d target/media -D librariesPath=$(pwd)/target/libraries install4j/project.install4j
- name: Delete garbages
run: |
rm -rf target/media/debug*
# jarPath=$(pwd) 是必须的,install4jc 不知道什么毛病,不支持相对路径,这太诡异了
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: installer-dist
path: |
target/media/PeerBanHelper_*
id: project
target/media/*
id: project
28 changes: 28 additions & 0 deletions .github/workflows/delete_old_s3_objects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Empty S3 directory

on:
workflow_call:
secrets:
S3_ACCESS_KEY:
required: true
S3_SECRET_KEY:
required: true
S3_ENDPOINT:
required: true
S3_BUCKET:
required: true
jobs:
delete-files-from-s3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove from S3
uses: vitorsgomes/s3-rm-action@master
with:
args: --recursive
env:
AWS_S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }}
AWS_S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
PATH_TO_DELETE: updates/latest
20 changes: 20 additions & 0 deletions .github/workflows/flush_cloudflare_cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Flush CloudFlare Update Cache

on:
workflow_call:
secrets:
FILES_CLOUDFLARE_ZONE:
required: true
FILES_CLOUDFLARE_TOKEN:
required: true
jobs:
purge-cloudflare-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Purge cache
uses: jakejarvis/cloudflare-purge-action@master
env:
# Zone is required by both authentication methods
CLOUDFLARE_ZONE: ${{ secrets.FILES_CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.FILES_CLOUDFLARE_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/jvm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5.5.1
uses: docker/metadata-action@v5.6.1
with:
images: ghostchu/peerbanhelper-snapshot
tags: |
Expand All @@ -63,7 +63,7 @@ jobs:
type=raw,ci
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v6.9.0
uses: docker/build-push-action@v6.10.0
with:
context: .
file: ./Dockerfile
Expand Down
35 changes: 31 additions & 4 deletions .github/workflows/jvm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,33 @@ jobs:
Build_Portable:
needs: Build_Executable
uses: ./.github/workflows/build_portable.yml
Empty_Old_S3_Files:
needs: [Build_Executable, Build_Installers, Build_SPK, Build_DEB, Build_PKG, Build_Portable]
uses: ./.github/workflows/delete_old_s3_objects.yml
secrets: inherit
Upload_Updates_To_S3:
needs: [Build_Executable, Build_Installers, Build_SPK, Build_DEB, Build_PKG, Build_Portable, Empty_Old_S3_Files]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: installer-dist
path: target/media
- uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.S3_ACCESS_KEY }}
aws_secret_access_key: ${{ secrets.S3_SECRET_KEY }}
aws_bucket: ${{ secrets.S3_BUCKET }}
endpoint: ${{ secrets.S3_ENDPOINT }}
source_dir: 'target/media'
destination_dir: 'updates/latest'
Clear_CloudFlare_Updates:
needs: [Upload_Updates_To_S3]
uses: ./.github/workflows/flush_cloudflare_cache.yml
secrets: inherit
Upload_Artifacts:
continue-on-error: true
if: github.event_name != 'workflow_dispatch'
needs: [Build_Executable, Build_Installers, Build_SPK, Build_DEB, Build_PKG, Build_Portable]
permissions:
contents: write
Expand Down Expand Up @@ -91,6 +117,7 @@ jobs:
with:
asset_paths: '["target/media/PeerBanHelper_*", "target/media/peerbanhelper_*", "target/media/peerbanhelper-*"]'
Build_Docker:
if: github.event_name != 'workflow_dispatch'
permissions:
contents: write
checks: write
Expand Down Expand Up @@ -119,7 +146,7 @@ jobs:
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5.5.1
uses: docker/metadata-action@v5.6.1
with:
images: ghostchu/peerbanhelper
tags: |
Expand All @@ -132,7 +159,7 @@ jobs:
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v6.9.0
uses: docker/build-push-action@v6.10.0
with:
context: .
file: ./Dockerfile
Expand All @@ -157,7 +184,7 @@ jobs:
password: ${{ secrets.ALIYUN_ACR_PASSWORD }}
- name: Extract metadata (tags, labels) for Aliyun ACR
id: meta-acr
uses: docker/metadata-action@v5.5.1
uses: docker/metadata-action@v5.6.1
with:
images: registry.cn-hangzhou.aliyuncs.com/ghostchu/peerbanhelper
tags: |
Expand All @@ -170,7 +197,7 @@ jobs:
type=raw,latest
type=sha
- name: Build and push Aliyun ACR
uses: docker/build-push-action@v6.9.0
uses: docker/build-push-action@v6.10.0
with:
context: .
file: ./Dockerfile-Release
Expand Down
29 changes: 18 additions & 11 deletions README.EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Following function are provided by PeerBanHelper:
- [IP/GeoIP/IP type Blacklist](https://docs.pbh-btn.com/en/docs/module/ip-address-blocker)
- [Fake progress checker (heuristic client detection)](https://docs.pbh-btn.com/en/docs/module/progress-cheat-blocker)
- [Auto range ban](https://docs.pbh-btn.com/en/docs/module/auto-range-ban)
- [Multi-dail ban](https://docs.pbh-btn.com/en/docs/module/multi-dial)
- [Multi-dial ban](https://docs.pbh-btn.com/en/docs/module/multi-dial)
- Peer ID/Client Name camouflage check, powered by [AviatorScript Engine](https://docs.pbh-btn.com/en/docs/module/expression-engine)
- [Active monitoring(data analysis)](https://docs.pbh-btn.com/en/docs/module/active-monitoring)
- [IP set subscribe](https://docs.pbh-btn.com/en/docs/module/ip-address-blocker-rules)
- a mordern WebUI
- A modern WebUI

In addition, PeerBanHelper downloads the GeoIP library at startup, and supports the following functions once it successful loaded:
- View IP address attribution, AS information (ASN, ISP, AS name, etc.), network type information (broadband, base station, IoT, data center, etc.) in the blocking list.
Expand All @@ -34,8 +34,8 @@ In addition, PeerBanHelper downloads the GeoIP library at startup, and supports
- BiglyBT([plugin](https://github.com/PBH-BTN/PBH-Adapter-BiglyBT) is required)
- Deluge([plugin](https://github.com/PBH-BTN/PBH-Adapter-Deluge) is required)
- Azureus(Vuze)([plugin](https://github.com/PBH-BTN/PBH-Adapter-Azureus) is required)
- Transmission **(deprected;3.00-20 or higher)**
- BitComet **v2.10 Beta6 [20240928] or higher**
- Transmission **(deprecated;3.00-20 or higher)**
- BitComet **v2.10 Beta6 [20240928] or higher** (P2SP LTSeed mode is not supported)


# Screenshots
Expand All @@ -51,7 +51,7 @@ Please read the [docs](https://docs.pbh-btn.com/en/docs/category/%E5%AE%89%E8%A3

## FAQ

Before submit issue, please read the [FAQ](https://docs.pbh-btn.com/en/docs/faq)
Before submitting an issue, please read the [FAQ](https://docs.pbh-btn.com/en/docs/faq)

## Support
Consider join our [Telegram](https://t.me/+_t3Nt5GZ6bJmYjBl) group.
Expand All @@ -68,6 +68,12 @@ Any consequences caused by the user's use of this software are borne by the user

[![Star History Chart](https://api.star-history.com/svg?repos=PBH-BTN/PeerBanHelper&type=Date)](https://star-history.com/#PBH-BTN/PeerBanHelper&Date)

### Install4j

PeerBanHelper use [Install4j multi-platform installer builder](https://www.ej-technologies.com/products/install4j/overview.html) to build its multi-platform installer. Thanks the open-source license provided by ej-technolgies. Click the link or the image below to download install4j.

[![Install4j](https://www.ej-technologies.com/images/product_banners/install4j_large.png)](https://www.ej-technologies.com/products/install4j/overview.html)

## Credit

### Backend
Expand All @@ -85,15 +91,16 @@ Any consequences caused by the user's use of this software are borne by the user
- [GeoIP2](https://dev.maxmind.com/geoip)
- [ormlite](https://ormlite.com/)
- [SimpleReloadLib](https://github.com/Ghost-chu/SimpleReloadLib)
- [java-ipfs-http-client](https://github.com/ipfs-shipyard/java-ipfs-http-client)
- [java-multiaddr](https://github.com/multiformats/java-multiaddr)
- [portmapper](https://github.com/offbynull/portmapper)
- [xz](https://github.com/tukaani-project/xz-java)
- [commonmark](https://github.com/commonmark/commonmark-java)
- [oshi](https://github.com/oshi/oshi)
- [semver4j](https://github.com/vdurmont/semver4j)

### WebUI

- [Vue](https://vuejs.org/)
- [ArcoDesign](https://arco.design/)
- [ECharts](https://echarts.apache.org/en/index.html)

### Install4j

PeerBanHelper use [Install4j multi-platform installer builder](https://www.ej-technologies.com/products/install4j/overview.html) to build its multi-platform installer. Thanks the open-source license provided by ej-technolgies. Click the link or the image below to download install4j.

[![Install4j](https://www.ej-technologies.com/images/product_banners/install4j_large.png)](https://www.ej-technologies.com/products/install4j/overview.html)
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ PeerBanHelper 主要由以下几个功能模块组成:
- Deluge(需要安装[插件](https://github.com/PBH-BTN/PBH-Adapter-Deluge))
- Azureus(Vuze)(需要安装[插件](https://github.com/PBH-BTN/PBH-Adapter-Azureus))
- Transmission **(不建议使用;3.00-20 或更高版本)**
- BitComet **v2.10 Beta6 [20240928] 或更高版本**
- BitComet **v2.10 Beta6 [20240928] 或更高版本** (不支持 P2SP LTSeed 长效种子反吸血,因为 BitComet 暂时无法封禁长效连接)

PeerBanHelper 仅支持对传统 IPv4 或 IPv6 地址的反吸血,如遇 I2P 或者 Tor 连接将主动忽略。

# 截图

Expand All @@ -49,7 +50,6 @@ PeerBanHelper 主要由以下几个功能模块组成:

查看 [PeerBanHelper 文档](https://docs.pbh-btn.com/docs/category/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2)


## 常见问题

在报告问题前,请先检查 [常见问题列表](https://docs.pbh-btn.com/docs/faq)
Expand All @@ -69,6 +69,13 @@ PeerBanHelper 主要由以下几个功能模块组成:

[![Star History Chart](https://api.star-history.com/svg?repos=PBH-BTN/PeerBanHelper&type=Date)](https://star-history.com/#PBH-BTN/PeerBanHelper&Date)


### Install4j

PeerBanHelper 使用 [Install4j multi-platform installer builder](https://www.ej-technologies.com/products/install4j/overview.html) 打包多平台安装程序。感谢 ej-technolgies 的开放源代码许可证。点击链接或者下面的图片下载 install4j。

[![Install4j](https://www.ej-technologies.com/images/product_banners/install4j_large.png)](https://www.ej-technologies.com/products/install4j/overview.html)

## Credit

### Backend
Expand All @@ -86,15 +93,17 @@ PeerBanHelper 主要由以下几个功能模块组成:
- [GeoIP2](https://dev.maxmind.com/geoip)
- [ormlite](https://ormlite.com/)
- [SimpleReloadLib](https://github.com/Ghost-chu/SimpleReloadLib)
- [java-ipfs-http-client](https://github.com/ipfs-shipyard/java-ipfs-http-client)
- [java-multiaddr](https://github.com/multiformats/java-multiaddr)
- [portmapper](https://github.com/offbynull/portmapper)
- [xz](https://github.com/tukaani-project/xz-java)
- [commonmark](https://github.com/commonmark/commonmark-java)
- [oshi](https://github.com/oshi/oshi)
- [semver4j](https://github.com/vdurmont/semver4j)

### WebUI

- [Vue](https://vuejs.org/)
- [ArcoDesign](https://arco.design/)
- [ECharts](https://echarts.apache.org/en/index.html)

### Install4j

PeerBanHelper 使用 [Install4j multi-platform installer builder](https://www.ej-technologies.com/products/install4j/overview.html) 打包多平台安装程序。感谢 ej-technolgies 的开放源代码许可证。点击链接或者下面的图片下载 install4j。

[![Install4j](https://www.ej-technologies.com/images/product_banners/install4j_large.png)](https://www.ej-technologies.com/products/install4j/overview.html)
9 changes: 2 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
version: "3.9"
services:
peerbanhelper:
image: "ghostchu/peerbanhelper:<最新版本号>"
image: "ghostchu/peerbanhelper:<填写版本号>"
restart: unless-stopped
container_name: "peerbanhelper"
volumes:
- ./:/app/data
ports:
- "9898:9898"
environment:
- PUID=0
- PGID=0
- TZ=UTC
stop_grace_period: 30s
stop_grace_period: 30s
11 changes: 7 additions & 4 deletions install4j/lang/custom.utf8
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
launcher.peerbanhelper.gui=PeerBanHelper
launcher.peerbanhelper.gui.swing=PeerBanHelper(兼容模式)
launcher.peerbanhelper.nogui=PeerBanHelper(无GUI, 控制台)
launcher.peerbanhelper.service=PeerBanHelper(服务)
launcher.peerbanhelper.silent=PeerBanHelper (静默启动)
launcher.peerbanhelper.nogui=PeerBanHelper (无GUI, 控制台)
launcher.peerbanhelper.service=PeerBanHelper (服务)
launcher.peerbanhelper.updater=PeerBanHelper 检查更新
checkbox.followsystemstartup=登录时自动启动到系统托盘
peerbanhelper.description=PeerBanHelper
checkbox.registersystemservice=注册为系统服务(除非你知道这是做什么的,否则不要选中)
systemservice.note=将 PeerBanHelper 安装为系统服务时,Windows 系统下配置文件将被存储在 C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper 位置,访问此位置需要您拥有管理员权限。\nPeerBanHelper 将在系统启动时自动启动。
systemservice.note=将 PeerBanHelper 安装为系统服务时,Windows 系统下配置文件将被存储在 C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper 位置,访问此位置需要您拥有管理员权限。\nPeerBanHelper 将在系统启动时自动启动。
components.peerbanhelper=PeerBanHelper
components.peerbanhelper.description=PeerBanHelper 的核心主程序,包含了主程序代码和必要的运行文件
11 changes: 7 additions & 4 deletions install4j/lang/en-US.utf8
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
launcher.peerbanhelper.gui=PeerBanHelper
launcher.peerbanhelper.gui.swing=PeerBanHelper(Compatibility Mode)
launcher.peerbanhelper.nogui=PeerBanHelper(NoGUI, Console)
launcher.peerbanhelper.service=PeerBanHelper(Service)
launcher.peerbanhelper.gui.swing=PeerBanHelper (Compatibility Mode)
launcher.peerbanhelper.nogui=PeerBanHelper (NoGUI, Console)
launcher.peerbanhelper.service=PeerBanHelper (Service)
launcher.peerbanhelper.updater=PeerBanHelper Updater
checkbox.followsystemstartup=Boot automatically to the system tray when logged in
peerbanhelper.description=PeerBanHelper
checkbox.registersystemservice=Register as system service (DO NOT CHECK UNLESS YOU KNOW WHAT YOU'RE DOING)
systemservice.note=When you install PeerBanHelper as system service,under Windows operation system, the configuration and files will store at C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper. Access this location will require Administrator privileges.
systemservice.note=When you install PeerBanHelper as system service,under Windows operation system, the configuration and files will store at C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper. Access this location will require Administrator privileges.
components.peerbanhelper=PeerBanHelper
components.peerbanhelper.description=PeerBanHelper core program, including main program code and necessary runtime files
11 changes: 7 additions & 4 deletions install4j/lang/zh-CN.utf8
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
launcher.peerbanhelper.gui=PeerBanHelper
launcher.peerbanhelper.gui.swing=PeerBanHelper(兼容模式)
launcher.peerbanhelper.nogui=PeerBanHelper(无GUI, 控制台)
launcher.peerbanhelper.service=PeerBanHelper(服务)
launcher.peerbanhelper.silent=PeerBanHelper (静默启动)
launcher.peerbanhelper.nogui=PeerBanHelper (无GUI, 控制台)
launcher.peerbanhelper.service=PeerBanHelper (服务)
launcher.peerbanhelper.updater=PeerBanHelper 检查更新
checkbox.followsystemstartup=登录到桌面时自动启动
peerbanhelper.description=一个能够自动封禁不受欢迎、吸血和异常的 Peers,并支持自定义规则的 BT 客户端辅助工具
peerbanhelper.description=一个能够自动封禁不受欢迎、吸血和异常的 Peers,并支持自定义规则的 BT 客户端辅助工具
components.peerbanhelper=PeerBanHelper
components.peerbanhelper.description=PeerBanHelper 的核心主程序,包含了主程序代码和必要的运行文件
Loading
Loading