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

chore: sync dev to master #2470

Merged
merged 21 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8ea182a
sync: master to dev (#2340)
fumiama Aug 1, 2023
ce119b7
Merge branch 'master' of https://github.com/Mrs4s/go-cqhttp into dev
fumiama Aug 1, 2023
ca20a3d
update deps
fumiama Aug 1, 2023
0714aac
fix: panic after -10005
fumiama Aug 1, 2023
94a3ff5
dowgrade mongo-driver to latest static
fumiama Aug 1, 2023
3b99a82
optimize(login): log打印
fumiama Aug 3, 2023
5db03c7
fix #2347: This mutex is not locked
fumiama Aug 4, 2023
977030e
Revert #2207 (#2397)
xiangxiangxiong9 Aug 23, 2023
da9f03f
fix #2368, which causes system lacked sufficient buffer space (#2372)
KomeiDiSanXian Aug 23, 2023
d85d697
Fix: SignServer TCP ping for custom port (#2353)
xiwangly2 Aug 23, 2023
f8354ec
修复TCP缓冲区不足问题;重构 qsign 签名服务对接部分;支持配置多个签名服务器 (#2389)
1umine Aug 27, 2023
79a194f
ci(chore): Fix stylings
github-actions[bot] Aug 27, 2023
fd6ef4a
optimize(qisgn): async operations
fumiama Aug 28, 2023
77b54fc
fix: nil pointer
fumiama Aug 29, 2023
417a0f2
fix: nil pointer
fumiama Aug 29, 2023
9e6d7b7
fix: nil pointer
fumiama Aug 29, 2023
f16d72f
!fixup: optimize(qisgn): async operations (#2415)
YumeMichi Aug 31, 2023
1c34643
fix nil pointer dereference caused by nil 'cs' (#2440)
1umine Oct 1, 2023
07214e3
尝试实现 #2421 (#2422)
xiangxiangxiong9 Oct 1, 2023
517d323
ci(chore): Fix stylings
github-actions[bot] Oct 1, 2023
bd785d3
尝试修复首次登录时容易出现 code -10005 和 packet timed out 的问题 (#2463)
1umine Oct 9, 2023
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
Next Next commit
sync: master to dev (#2340)
* fix: group not found report (#2312)

解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG

#1774 (comment)

* Update bug-report.yaml (#2234)

* 更新docker action, 支持更多的平台 (#2217)

* Update build_docker_image.yml

* Update docker-entrypoint.sh

* Update build_docker_image.yml

* ✨ update docker action, more platforms are supported

---------

Co-authored-by: xiwangly2 <[email protected]>
Co-authored-by: 源文雨 <[email protected]>

* 🐛 修复时区不是东八区的 BUG (#2212)

设置 TZ 环境变量需要先装`tzdata`这个包才会生效

* Update bug-report.yaml (#2126)

Co-authored-by: 源文雨 <[email protected]>

* Docker: support continuous params on CMD option (#1829)

now it supports usage like `docker run -it --rm go-cqhttp -faststart`

Co-authored-by: 源文雨 <[email protected]>

* make lint happy

---------

Co-authored-by: PSoul <[email protected]>
Co-authored-by: 简律纯 <[email protected]>
Co-authored-by: LY <[email protected]>
Co-authored-by: xiwangly2 <[email protected]>
Co-authored-by: Antonia Adams <[email protected]>
Co-authored-by: Akirami <[email protected]>
Co-authored-by: Nanahira <[email protected]>
  • Loading branch information
8 people committed Aug 1, 2023
commit 8ea182a4c34b5301a09e7f7560432320d27d32f8
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,13 @@ body:
label: 使用协议
description: 选择使用的协议
options:
- 0 | iPad
- 0 | Default
- 1 | Android Phone
- 2 | Android Watch
- 3 | MacOS
- 4 | 企点
- 5 | iPad
- 6 | aPad
validations:
required: true

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ RUN chmod +x /docker-entrypoint.sh && \
ffmpeg \
coreutils \
shadow \
su-exec && \
su-exec \
tzdata && \
rm -rf /var/cache/apk/* && \
mkdir -p /app && \
mkdir -p /data && \
Expand Down
11 changes: 5 additions & 6 deletions coolq/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1118,13 +1118,12 @@ func (bot *CQBot) CQSetGroupMemo(groupID int64, msg, img string) global.MSG {
return Failed(100, "SEND_NOTICE_ERROR", err.Error())
}
return OK(global.MSG{"notice_id": noticeID})
} else {
noticeID, err := bot.Client.AddGroupNoticeSimple(groupID, msg)
if err != nil {
return Failed(100, "SEND_NOTICE_ERROR", err.Error())
}
return OK(global.MSG{"notice_id": noticeID})
}
noticeID, err := bot.Client.AddGroupNoticeSimple(groupID, msg)
if err != nil {
return Failed(100, "SEND_NOTICE_ERROR", err.Error())
}
return OK(global.MSG{"notice_id": noticeID})
}
return Failed(100, "GROUP_NOT_FOUND", "群聊不存在")
}
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ chown -R ${UID}:${GID} /app /data
chmod +x /app/cqhttp

echo "Starting..."
su-exec ${USER} "$@"
su-exec ${USER} /app/cqhttp "$@"
Loading