Skip to content

Commit

Permalink
[update] Version 1.0.2.* closed lkeme#137
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeme committed Nov 15, 2021
1 parent db492ec commit 83c7037
Show file tree
Hide file tree
Showing 18 changed files with 464 additions and 193 deletions.
39 changes: 33 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,34 @@

[comment]: <> (</details>)

## v1.0.2.211115 alpha (2021-11-15)

### Added

- 添加直播预约有奖
- 添加企业微信群机器人推送
- 添加企业微信应用消息推送
-

### Changed

- 清理部分无效活动
- 更新系统环境参数
- 更新敏感关键字
-

### Fixed

- 修复登录未知错误
-

### Remarks

- 注意文档文件、配置文件有些许改动
- 注意需要重新进行`composer update`操作
- 注意只支持PHP8.* 只支持PHP8.* 只支持PHP8.*
-

## v1.0.1.211014 alpha (2021-10-14)

### Added
Expand All @@ -18,13 +46,13 @@

- 更新部分活动
- 更新系统环境参数
-
-

### Fixed

- 修复中文用户名运行失败
- 修复风纪(未完善,慎用)
-
-

### Remarks

Expand All @@ -33,7 +61,6 @@
- 注意只支持PHP8.* 只支持PHP8.* 只支持PHP8.*
-


## v1.0.0.210822 alpha (2021-08-22)

### Added
Expand All @@ -42,13 +69,13 @@
- 全面支持PHP8.0
- 支持本地缓存
- 对使用体验进行了一轮优化并解决了一些bug~~
-
-

### Changed

- PHP版本提升值8.*, 不向下兼容
- 对使用体验进行了一轮优化并解决了一些bug~~
-
-

### Fixed

Expand All @@ -60,7 +87,7 @@
- 注意文档文件有些许改动
- 注意需要重新进行`composer update`操作
- 注意只支持PHP8.* 只支持PHP8.* 只支持PHP8.*
-
-

## v0.9.9.210807 alpha (2021-08-07)

Expand Down
9 changes: 8 additions & 1 deletion DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,14 @@ $ -e MIRRORS=2 # 使用 github.com.cnpmjs.org
-it 前台运行
-itd 后台运行
-v 本地文件:容器内部文件 ==> 挂载本地文件到容器中。本地文件路径随便变,容器内部文件路径不能变。
```
```

- -v模式使用短信登录

```
配置文件里设置好,发送完短信
docker attach 或者docker exec 再进去容器里输入
```

- 注意: Docker镜像已经包含了所有所需的运行环境,无需在本地环境弄composer。每次启动容器时,都会与项目进行同步以确保版本最新。

Expand Down
132 changes: 132 additions & 0 deletions NOTIFY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
## 关于推送

### 开关

```ini
[notify]
enable = false
filter_words =
```

### 推送单元

> 以下数据为示例(e.g.),需要根据实际需求配置
**钉钉**

> 文档: https://developers.dingtalk.com/文档ument/robots/custom-robot-access
> 说明: 钉钉推送的密钥
```ini
; Dingtalk机器人|token|依赖USE_NOTIFY
[notify.dingtalk]
token = 566cc69da782ec****
```

**Telegram**

> 文档: https://core.telegram.org/bots/api#sendmessage
> 说明: 如果开启 TGbot API 反代,填写url,否则为空使用默认api。
> 说明: TG 推送的Token, xxx/bot{这是token部分}/xxxx
> 说明: TG 推送的用户/群组/频道 ID
```ini
; Tele机器人|url(可选)|token|chatid|依赖USE_NOTIFY
[notify.telegram]
url = https://*.*.workers.dev/bot
bottoken = 1640****:AAGlV3****_FscZ-****
chatid = 390****
```

**PUSH PLUS**

> 文档: http://www.pushplus.plus/doc/
> 说明: push plus++ 推送的 `token`
```ini
; Pushplus酱|token|依赖USE_NOTIFY
[notify.pushplus]
token = 566cc69da782ec****
```

**Sever酱(原版)**

> 文档: https://sc.ftqq.com/
> 说明: Server 酱老版本 key,SCU 开头的
```ini
; Sever酱(原版)|令牌Key|依赖USE_NOTIFY
[notify.sc]
sckey = SCU566cc69da782ec****
```

**Server酱(Turbo版)**

> 文档: https://sct.ftqq.com/
> 说明: Server 酱 Turbo 版本 key,SCT 开头的
```ini
; Server酱(Turbo版)|令牌Key|依赖USE_NOTIFY
[notify.sct]
sctkey = SCT566cc69da782ec****
```

**GoCqhttp**

> 文档: https://docs.go-cqhttp.org/api/
> 说明: 推送的完整api, 包含`/send_private_msg``/send_group_msg` 等等完整后缀
> 说明: 推送的AccessToken
> 说明: 目标QQ号或者QQ群号,根据API调整
```ini
; GoCqhttp|url|token|目标qq|依赖USE_NOTIFY
[notify.gocqhttp]
url = "http://127.0.0.1:5700/send_private_msg"
token = 566cc69da782ec****
target_qq = 10086
```

**Debug(个人用)**

> 文档: https://localhost:8921/doc
```ini
; Debug|个人调试推送|url|token|
[notify.debug]
url = "https://localhost:8921/notify"
token = 566cc69da782ec****
```

**企业微信群机器人**

> 文档: https://open.work.weixin.qq.com/api/doc/90000/90136/91770 | https://weibanzhushou.com/blog/330
> 说明: 推送的AccessToken
```ini
; 企业微信群机器人|token
[notify.we_com]
token = ec971f1d-****-4700-****-d9461e76****
```

**企业微信应用**

> 文档: https://open.work.weixin.qq.com/wwopen/devtool/interface?doc_id=10167
> 说明: 企业 id
> 说明: 应用的凭证密钥
> 说明: 企业应用的 id
> 说明: 指定接收消息的成员,成员 ID 列表 默认为@all
```ini
; 企业微信应用消息|corp_id|corp_secret|agent_id|to_user
[notify.we_com_app]
corp_id = ****
corp_secret = ****
agent_id = ****
to_user = UserId1|UserId2|UserId3
```

### 调试

https://github.com/lkeme/BiliHelper-personal/blob/eb06f55fa0fa6cb07bbeffc7e85c6ac0bfaa67b3/data/latest_version.json#L8

改成与线上不同的版本即可,检查新版本就会推送一次。
72 changes: 37 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<p align="center">

<img src="https://img.shields.io/badge/Version-1.0.1.211014-orange.svg?longCache=true&style=for-the-badge">
<img src="https://img.shields.io/badge/Version-1.0.2.211115-orange.svg?longCache=true&style=for-the-badge">
<img src="https://img.shields.io/badge/PHP-8.0+-green.svg?longCache=true&style=for-the-badge">
<img src="https://img.shields.io/badge/Composer-latest-blueviolet.svg?longCache=true&style=for-the-badge">
<img src="https://img.shields.io/badge/License-mit-blue.svg?longCache=true&style=for-the-badge">
Expand Down Expand Up @@ -47,40 +47,41 @@

| plugin | status | version | cycle | description |
|-----------------|--------|----------|--------|---------------------------------------------|
| CheckUpdate | true | 21.10.13 | 待整理 | 程序检查更新 |
| Login | true | 21.10.13 | 待整理 | 账号登录、刷新、维持 |
| Schedule | true | 21.10.13 | 待整理 | 控制插件运行周期 |
| MainSite | true | 21.10.13 | 待整理 | 投币、观看、分享视频 (速升6级不是梦) |
| DailyBag | true | 21.10.13 | 待整理 | 双端领取日常/周常礼包 |
| ManGa | true | 21.10.13 | 待整理 | 漫画签到、分享 |
| ActivityLottery | true | 21.10.13 | 待整理 | 主站活动九宫格抽奖 |
| Competition | true | 21.10.13 | 待整理 | 游戏赛事竞猜 |
| DoubleHeart | true | 21.10.13 | 待整理 | 双端心跳 (姥爷直播经验) |
| DailyTask | true | 21.10.13 | 待整理 | 直播每日任务(签到、观看) |
| Barrage | true | 21.10.13 | 待整理 | 保持活跃弹幕 |
| Silver2Coin | true | 21.10.13 | 待整理 | 银瓜子兑换硬币 |
| Judge | true | 21.10.13 | 待整理 | 风纪委员投票 |
| GiftSend | true | 21.10.13 | 待整理 | 礼物赠送、维持每日勋章亲密度 |
| GroupSignIn | true | 21.10.13 | 待整理 | 友爱社签到 |
| GiftHeart | true | 21.10.13 | 待整理 | 日常心跳每日礼包礼物 |
| SmallHeart | true | 21.10.13 | 待整理 | 直播挂机,每日24个小心心 |
| MaterialObject | true | 21.10.13 | 待整理 | 直播金色宝箱实物抽奖 |
| AloneTcpClient | true | 21.10.13 | 待整理 | 作者的独立直播监控(可支持本项目哦) |
| ZoneTcpClient | true | 21.10.13 | 待整理 | 官方的分区直播监控 |
| StormRaffle | true | 21.10.13 | 待整理 | 直播节奏风暴抽奖、亿元 |
| GiftRaffle | true | 21.10.13 | 待整理 | 直播礼物抽奖 |
| PkRaffle | true | 21.10.13 | 待整理 | 直播大乱斗抽奖 |
| GuardRaffle | true | 21.10.13 | 待整理 | 直播大航海抽奖 |
| AnchorRaffle | true | 21.10.13 | 待整理 | 直播天选时刻抽奖 |
| GiftRaffle | true | 21.10.13 | 待整理 | 直播礼物抽奖 |
| AwardRecord | true | 21.10.13 | 待整理 | 最新的中奖纪录通知 |
| Forward | true | 21.10.13 | 待整理 | 主站动态抽奖转发 |
| CapsuleLottery | true | 21.10.13 | 待整理 | 直播扭蛋活动抽奖 |
| PolishTheMedal | true | 21.10.13 | 待整理 | 每日自动点亮灰色勋章 |
| CapsuleLottery | true | 21.10.13 | 待整理 | 直播扭蛋活动抽奖 |
| VipPrivilege | true | 21.10.13 | 待整理 | 每月领取年度大会员特权(B币券、会员购优惠券) |
| BpConsumption | true | 21.10.13 | 待整理 | 每月消费使用年度大会员特权的B币券 |
| Statistics | true | 21.10.13 | 待整理 | 全局抽奖结果统计 |
| CheckUpdate | true | 21.11.15 | 待整理 | 程序检查更新 |
| Login | true | 21.11.15 | 待整理 | 账号登录、刷新、维持 |
| Schedule | true | 21.11.15 | 待整理 | 控制插件运行周期 |
| MainSite | true | 21.11.15 | 待整理 | 投币、观看、分享视频 (速升6级不是梦) |
| DailyBag | true | 21.11.15 | 待整理 | 双端领取日常/周常礼包 |
| ManGa | true | 21.11.15 | 待整理 | 漫画签到、分享 |
| ActivityLottery | true | 21.11.15 | 待整理 | 主站活动九宫格抽奖 |
| Competition | true | 21.11.15 | 待整理 | 游戏赛事竞猜 |
| DoubleHeart | true | 21.11.15 | 待整理 | 双端心跳 (姥爷直播经验) |
| DailyTask | true | 21.11.15 | 待整理 | 直播每日任务(签到、观看) |
| Barrage | true | 21.11.15 | 待整理 | 保持活跃弹幕 |
| Silver2Coin | true | 21.11.15 | 待整理 | 银瓜子兑换硬币 |
| Judge | true | 21.11.15 | 待整理 | 风纪委员投票 |
| GiftSend | true | 21.11.15 | 待整理 | 礼物赠送、维持每日勋章亲密度 |
| GroupSignIn | true | 21.11.15 | 待整理 | 友爱社签到 |
| GiftHeart | true | 21.11.15 | 待整理 | 日常心跳每日礼包礼物 |
| SmallHeart | true | 21.11.15 | 待整理 | 直播挂机,每日24个小心心 |
| MaterialObject | true | 21.11.15 | 待整理 | 直播金色宝箱实物抽奖 |
| AloneTcpClient | true | 21.11.15 | 待整理 | 作者的独立直播监控(可支持本项目哦) |
| ZoneTcpClient | true | 21.11.15 | 待整理 | 官方的分区直播监控 |
| StormRaffle | true | 21.11.15 | 待整理 | 直播节奏风暴抽奖、亿元 |
| GiftRaffle | true | 21.11.15 | 待整理 | 直播礼物抽奖 |
| PkRaffle | true | 21.11.15 | 待整理 | 直播大乱斗抽奖 |
| GuardRaffle | true | 21.11.15 | 待整理 | 直播大航海抽奖 |
| AnchorRaffle | true | 21.11.15 | 待整理 | 直播天选时刻抽奖 |
| GiftRaffle | true | 21.11.15 | 待整理 | 直播礼物抽奖 |
| AwardRecord | true | 21.11.15 | 待整理 | 最新的中奖纪录通知 |
| Forward | true | 21.11.15 | 待整理 | 主站动态抽奖转发 |
| CapsuleLottery | true | 21.11.15 | 待整理 | 直播扭蛋活动抽奖 |
| PolishTheMedal | true | 21.11.15 | 待整理 | 每日自动点亮灰色勋章 |
| CapsuleLottery | true | 21.11.15 | 待整理 | 直播扭蛋活动抽奖 |
| VipPrivilege | true | 21.11.15 | 待整理 | 每月领取年度大会员特权(B币券、会员购优惠券) |
| BpConsumption | true | 21.11.15 | 待整理 | 每月消费使用年度大会员特权的B币券 |
| Statistics | true | 21.11.15 | 待整理 | 全局抽奖结果统计 |
| LiveReservation | true | 21.11.15 | 待整理 | 直播预约有奖 |
| Silver | false | 21.03.27 | 待整理 | 直播银瓜子自动开启宝箱 |

## 交流反馈
Expand All @@ -94,6 +95,7 @@ Group: [163955623](https://jq.qq.com/?_wv=1027&k=1QMFTUEO) | **请不要来问
[comment]: <> (:cherry_blossom: :gift: :gift_heart: :confetti_ball:)

* [使用文档 / DOC.md](./DOC.md)
* [推送文档 / DOC.md](./NOTIFY.md)
* [更新日志 / CHANGELOG.md](./CHANGELOG.md)
* [配置文档 / WIKI.md](https://github.com/lkeme/BiliHelper-personal/wiki/%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%A6%E8%A7%A3)
* [常见问题 / WIKI.md](https://github.com/lkeme/BiliHelper-personal/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
Expand Down
4 changes: 2 additions & 2 deletions conf/bili.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ bili_version: 0.0.1
# Android
bili_a:
package: "tv.danmaku.bili"
version: "6.43.0"
build: "6430500"
version: "6.48.0"
build: "6480300"
channel: "bili"
device: "phone"
mobi_app: "android"
Expand Down
6 changes: 3 additions & 3 deletions conf/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ device:
network: "2" # 1 流量 2 WIFI

other_headers:
ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4450.0 Safari/537.36"
pc_headers:
ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.30 Safari/537.36 Edg/90.0.818.8"
ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
pc_headers: _增强便携版
ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53"
app_headers:
ua: "Mozilla/5.0 BiliDroid/${bili_a.version} (bbcallen@gmail.com) os/${device.os} model/${device.model} mobi_app/${bili_a.mobi_app} build/${bili_a.build} channel/${bili_a.channel} innerVer/${bili_a.build} osVer/${device.os_ver} network/${device.network}"
13 changes: 12 additions & 1 deletion conf/user.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,22 @@ url = ""
token =
target_qq =

; Debug|个人调试推送|url|token|
; Debug|个人调试推送|url|token
[notify.debug]
url = ""
token =

; 企业微信群机器人|token
[notify.we_com]
token =

; 企业微信应用消息|corp_id|corp_secret|agent_id|to_user
[notify.we_com_app]
corp_id =
corp_secret =
agent_id =
to_user =

#######################
# 基础设置 #
#######################
Expand Down
Loading

0 comments on commit 83c7037

Please sign in to comment.