Commit Graph

1318 Commits

Author SHA1 Message Date
洛水居室
20c1910a98
🔥 Correct Return Type 2023-10-08 15:14:33 +08:00
洛水居室
b129a791df
🎨 Refactor chat verification
- Changed `config.verify_groups` to a `Set[int]` type for optimized lookup.
- Used set membership checking instead of looping through `config.verify_groups` for verifying chats.

This results in cleaner code and potentially faster chat verification.
2023-10-08 14:58:25 +08:00
洛水居室
54d19baac9
🎨 Update NEW_CHAT_MEMBERS message handler 2023-10-08 14:03:28 +08:00
4808b37c63
🐛 Fix setcookie UnicodeEncodeError 2023-10-07 23:33:44 +08:00
omg-xtao
b52e532343
♻️ Refactor get fight prop rule 2023-10-07 23:33:16 +08:00
dependabot[bot]
833e1ddeb5
⬆️ Bump fakeredis from 2.18.1 to 2.19.0
Bumps [fakeredis](https://github.com/cunla/fakeredis-py) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/cunla/fakeredis-py/releases)
- [Commits](https://github.com/cunla/fakeredis-py/compare/v2.18.1...v2.19.0)

---
updated-dependencies:
- dependency-name: fakeredis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:51:56 +08:00
omg-xtao
92ee6da37a
🐛 Fix setcookies IntegrityError 2023-10-02 17:51:03 +08:00
a778f78c8a
🎨 ask set cookies when public request failed 2023-10-01 20:37:19 +08:00
235f9f349e
🐛 Fix namecard parse 2023-10-01 20:14:39 +08:00
6f09d52ec5
🐛 Fix ajax failure does not reapply 2023-09-30 22:29:24 +08:00
78b1b1ba15
🐛 Fix redeem cooldown error 2023-09-30 15:28:00 +08:00
dependabot[bot]
70f9c41ed8
⬆️ Bump redis from 5.0.0 to 5.0.1
Bumps [redis](https://github.com/redis/redis-py) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-30 10:49:25 +08:00
omg-xtao
9cde25fc58
🐛 Fix post cut text and photo error 2023-09-30 10:49:04 +08:00
45437309df
🍱 Update 4.1 pool 2023-09-26 23:26:42 +08:00
洛水居室
16c28db1cc
🎨 Update NEW_CHAT_MEMBERS message handler 2023-09-26 18:53:12 +08:00
203c7ac5df
🐛 Fix stoken is invaild 2023-09-25 20:46:08 +08:00
dependabot[bot]
f48c36167a
⬆️ Bump pillow from 10.0.0 to 10.0.1
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.0...10.0.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 17:12:42 +08:00
dependabot[bot]
9b05eb4ad2
⬆️ Bump cryptography from 41.0.3 to 41.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 16:00:27 +08:00
dependabot[bot]
1e6b6fbe0f
⬆️ Bump rich from 13.5.2 to 13.5.3
Bumps [rich](https://github.com/Textualize/rich) from 13.5.2 to 13.5.3.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Textualize/rich/compare/v13.5.2...v13.5.3)

---
updated-dependencies:
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 15:45:18 +08:00
omg-xtao
ff66b29240
🐛 Fix photo invalid dimensions 2023-09-21 15:42:14 +08:00
bc76f6297b
support score weight 2023-09-20 15:48:27 +08:00
2851aa3155
Support custom Telegram API URL 2023-09-17 21:54:30 +08:00
dependabot[bot]
08d1798758
⬆️ Bump sentry-sdk from 1.30.0 to 1.31.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.30.0...1.31.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 23:56:53 +08:00
omg-xtao
f7f1bd1a62
Support hoyolab redeem code 2023-09-15 23:56:22 +08:00
洛水居室
c2bcd0bf19
🎨 Delete NEW_CHAT_MEMBERS message during group captcha 2023-09-13 12:18:22 +08:00
洛水居室
aef1cb4c02
🎨 Update Wish Log Error Handler 2023-09-13 08:25:19 +08:00
洛水居室
7580265bff
🎨 Mask UID in update_player_card 2023-09-13 08:12:51 +08:00
omg-xtao
382e64e606
Support get gacha log url 2023-09-12 22:58:08 +08:00
pre-commit-ci[bot]
2d9d3e8457
🔧 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-12 11:54:01 +08:00
dependabot[bot]
798921ee76
⬆️ Bump black from 23.9.0 to 23.9.1
Bumps [black](https://github.com/psf/black) from 23.9.0 to 23.9.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.9.0...23.9.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:44:25 +08:00
luoshuijs
4b1a2128ab
🐛 Fix Missing Parameters
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-09-11 21:24:05 +08:00
洛水居室
c6799187dd
🎨 Improve Cookies Status Update Handler 2023-09-10 02:08:11 +08:00
洛水居室
8b4274482c
🎨 Improve log 2023-09-10 01:53:50 +08:00
luoshuijs
b208e31503
🎨 Add cookies status update 2023-09-09 23:56:53 +08:00
洛水居室
3ae7157b73
🐛 Fix ChatPermissions changes 2023-09-09 23:38:31 +08:00
7c56d688b2
🐛 Fix telegram api 6.8 changes 2023-09-09 23:03:35 +08:00
omg-xtao
16a718129b
Add job - daily_refresh_cookies 2023-09-09 22:10:58 +08:00
洛水居室
2bed5f8743
🐛 Fix overseas account birthday card causing cookie refresh issue
Fixed an issue where obtaining birthday cards with overseas accounts caused abnormal Cookies refresh.
2023-09-07 23:17:23 +08:00
洛水居室
b4ef81dae6
🎨 Update code style in utils/enkanetwork.py 2023-09-06 15:53:02 +08:00
luoshuijs
f1de1c987d
🎨 Fix Some Issues Identified
🎨 Improve f-string used without any expression

🎨 Remove unnecessary else / elif used after return
2023-09-06 15:27:03 +08:00
dependabot[bot]
656b1e8404
⬆️ Bump tornado from 6.3.2 to 6.3.3
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.3.2 to 6.3.3.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.3.2...v6.3.3)

---
updated-dependencies:
- dependency-name: tornado
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 15:14:24 +08:00
洛水居室
2686cb7bd0
🔥 Remove workflows tests 2023-09-06 15:10:45 +08:00
luoshuijs
f401725ab0
🔥 Remove aiohttp 2023-09-06 11:21:54 +08:00
luoshuijs
1f73588e28
Replace aiohttp with httpx in enkanetwork.py 2023-09-06 11:12:46 +08:00
dependabot[bot]
0392236bcd
⬆️ Bump python-telegram-bot from 20.4 to 20.5
Bumps [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot) from 20.4 to 20.5.
- [Release notes](https://github.com/python-telegram-bot/python-telegram-bot/releases)
- [Changelog](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-telegram-bot/python-telegram-bot/compare/v20.4...v20.5)

---
updated-dependencies:
- dependency-name: python-telegram-bot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 10:59:36 +08:00
d4b488c1ab
🍱 Update 4.0 pool 2023-09-05 12:39:13 +08:00
dependabot[bot]
0b28449e80
⬆️ Bump alembic from 1.11.3 to 1.12.0
Bumps [alembic](https://github.com/sqlalchemy/alembic) from 1.11.3 to 1.12.0.
- [Release notes](https://github.com/sqlalchemy/alembic/releases)
- [Changelog](https://github.com/sqlalchemy/alembic/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/alembic/commits)

---
updated-dependencies:
- dependency-name: alembic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-03 16:39:42 +08:00
dependabot[bot]
82bce512a0
⬆️ Bump sentry-sdk from 1.29.2 to 1.30.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.29.2 to 1.30.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.29.2...1.30.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-03 16:36:06 +08:00
631dea7700
🐛 Fix wish and pay log PlayerNotFoundError 2023-09-01 10:04:39 +08:00
f7e9412125
🎨 Extend gacha log photo width 2023-08-29 15:20:02 +08:00