162 Commits

Author SHA1 Message Date
Cinte
3683d3ef28
更详细的微博 (#504)
*  微博优化

* 🔧 将转发内容放入repost

* 💄 auto fix by pre-commit hooks

* 🔧 补充获取转发微博的单元测试

* 🔧 微博增加视频封面的获取

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-25 19:06:35 +08:00
Azide
a42a65523e
使用 yarl.URL 拼接 outer_url (#496)
*  显式依赖 yarl

*  使用 yarl.URL 处理 outer_url
2024-03-19 10:26:38 +08:00
felinae98
b23b23fac7
🔖 release 0.9.1 2024-03-06 12:38:24 +08:00
dependabot[bot]
ae19a75eea
⬆️ Bump the dev-update group with 1 update (#488)
Bumps the dev-update group with 1 update: [ruff](https://github.com/astral-sh/ruff).


Updates `ruff` from 0.2.1 to 0.3.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.2.1...v0.3.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 14:53:16 +08:00
felinae98
60ecae697c
🔖 release 0.9.0 2024-02-29 19:24:04 +08:00
uy/sun
b6e68730b7
⬆️ 适配 Pydantic V2 (#484)
* ⬆️ 适配 Pydantic V2

* 🐛 修复测试报错

* 🐛 适配忘记的 from_orm

* 🐛 忘记的 class-based `config`

* 🐛 更新 red 适配器版本
2024-02-29 19:21:25 +08:00
uy_sun
ca68964ee9 ⬆️ 直接使用大于等于 2024-02-27 10:58:36 +08:00
uy_sun
29a2a74f9f ⬆️ 使用 beautifulsoup4 替代 bs4 2024-02-27 10:58:36 +08:00
Azide
f202071e9f 添加 Theme 功能 2024-02-16 09:46:13 +08:00
dependabot[bot]
6aaec45d15
⬆️ Bump the dev-update group with 4 updates (#474)
Bumps the dev-update group with 4 updates: [black](https://github.com/psf/black), [ruff](https://github.com/astral-sh/ruff), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and [nonebot-adapter-red](https://github.com/nonebot/adapter-red).


Updates `black` from 23.12.1 to 24.1.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.12.1...24.1.1)

Updates `ruff` from 0.0.292 to 0.2.1
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.292...v0.2.1)

Updates `pytest-asyncio` from 0.21.1 to 0.23.5
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.21.1...v0.23.5)

Updates `nonebot-adapter-red` from 0.7.4 to 0.8.0
- [Release notes](https://github.com/nonebot/adapter-red/releases)
- [Commits](https://github.com/nonebot/adapter-red/compare/v0.7.4...v0.8.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-update
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: nonebot-adapter-red
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 17:17:16 +08:00
AzideCupric
1a96d31dbf
🔧 调整 Dockerfile 以及 Bison 的运行方式 (#447)
* 🔧 调整 Dockerfile 以及 Bison的运行方式

*  不再为环境变量配置里的空值使用默认值

* 🔧 为 docker.env.prod 内的配置填写默认值
2024-02-11 21:48:51 +08:00
dependabot[bot]
e165d4e842
⬆️ Bump the prod-update group with 1 update (#467)
Bumps the prod-update group with 1 update: bs4.


Updates `bs4` from 0.0.1 to 0.0.2

---
updated-dependencies:
- dependency-name: bs4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-update
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 23:24:45 +08:00
uy/sun
a47a60f49c
⬆️ 升级至 saa 0.5.0 (#466) 2024-02-08 14:03:08 +08:00
felinae98
badb26419e ⬆️ upgrade nonebot_plugin_saa 2023-11-22 10:44:51 +08:00
AzideCupric
7a7585734d
:up_arrow: add python 3.12 into ci (#395)
*  add python 3.12 into ci

* ⬆️ update uvloop

* ⬆️ update poetry.lock

* 📝 声明3.12支持
2023-10-26 19:21:17 +08:00
dependabot[bot]
a988e8c4ba ⬆️ Bump the dev-update group with 1 update
Bumps the dev-update group with 1 update: [ruff](https://github.com/astral-sh/ruff).

- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.291...v0.0.292)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 10:52:38 +08:00
dependabot[bot]
13a4638608 ⬆️ Bump the dev-update group with 2 updates
Bumps the dev-update group with 2 updates: [nb-cli](https://github.com/nonebot/nb-cli) and [ruff](https://github.com/astral-sh/ruff).


Updates `nb-cli` from 1.2.4 to 1.2.5
- [Release notes](https://github.com/nonebot/nb-cli/releases)
- [Commits](https://github.com/nonebot/nb-cli/compare/v1.2.4...v1.2.5)

Updates `ruff` from 0.0.290 to 0.0.291
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291)

---
updated-dependencies:
- dependency-name: nb-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 11:07:15 +08:00
dependabot[bot]
f4b96e4cd8 ⬆️ Bump the dev-update group with 4 updates
Bumps the dev-update group with 4 updates: [black](https://github.com/psf/black), [nb-cli](https://github.com/nonebot/nb-cli), [ruff](https://github.com/astral-sh/ruff) and [pytest](https://github.com/pytest-dev/pytest).


Updates `black` from 23.7.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.7.0...23.9.1)

Updates `nb-cli` from 1.2.3 to 1.2.4
- [Release notes](https://github.com/nonebot/nb-cli/releases)
- [Commits](https://github.com/nonebot/nb-cli/compare/v1.2.3...v1.2.4)

Updates `ruff` from 0.0.287 to 0.0.290
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.287...v0.0.290)

Updates `pytest` from 7.4.1 to 7.4.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: nb-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 14:21:43 +08:00
felinae98
97e08486e5
🔖 release v0.8.2 2023-09-05 23:16:29 +08:00
dependabot[bot]
a0cd4d19df ⬆️ Bump the dev-update group with 4 updates
Bumps the dev-update group with 4 updates: [nb-cli](https://github.com/nonebot/nb-cli), [pre-commit](https://github.com/pre-commit/pre-commit), [ruff](https://github.com/astral-sh/ruff) and [pytest](https://github.com/pytest-dev/pytest).


Updates `nb-cli` from 1.2.2 to 1.2.3
- [Release notes](https://github.com/nonebot/nb-cli/releases)
- [Commits](https://github.com/nonebot/nb-cli/compare/v1.2.2...v1.2.3)

Updates `pre-commit` from 3.3.3 to 3.4.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0)

Updates `ruff` from 0.0.286 to 0.0.287
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.287)

Updates `pytest` from 7.4.0 to 7.4.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: nb-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 15:33:24 +08:00
dependabot[bot]
9edde27426
⬆️ Bump ruff from 0.0.285 to 0.0.286 (#351)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.285 to 0.0.286.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  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-08-29 10:24:26 +08:00
felinae98
e15de732a1
🔖 release v0.8.1 2023-08-28 20:22:14 +08:00
uy/sun
d591cd3486
sparkles: 适配 SAA 0.3 (#349)
*  适配 SAA 0.3

* 🎨 格式化代码
2023-08-27 16:30:30 +08:00
dependabot[bot]
d15fa89991 ⬆️ Bump ruff from 0.0.282 to 0.0.285
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.282 to 0.0.285.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.282...v0.0.285)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 09:33:47 +08:00
dependabot[bot]
2c6fda91ac ⬆️ Bump ruff from 0.0.281 to 0.0.282
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.281 to 0.0.282.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.281...v0.0.282)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 14:23:35 +08:00
uy_sun
e6a2998ebd ⬆️ 放宽 datastore 的依赖限制 2023-08-05 21:16:43 +08:00
dependabot[bot]
9904b10c8e ⬆️ Bump nonebot-plugin-datastore from 1.0.0 to 1.1.0
Bumps [nonebot-plugin-datastore](https://github.com/he0119/nonebot-plugin-datastore) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/he0119/nonebot-plugin-datastore/releases)
- [Changelog](https://github.com/he0119/nonebot-plugin-datastore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/he0119/nonebot-plugin-datastore/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: nonebot-plugin-datastore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 15:34:43 +08:00
dependabot[bot]
d10ba09d98 ⬆️ Bump ruff from 0.0.280 to 0.0.281
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.280 to 0.0.281.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.280...v0.0.281)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 15:17:39 +08:00
dependabot[bot]
34e8a60ecf ⬆️ Bump ruff from 0.0.278 to 0.0.280
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.278 to 0.0.280.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.278...v0.0.280)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 16:28:53 +08:00
dependabot[bot]
c94d5e9da6
⬆️ Bump nonebot-plugin-datastore from 0.6.3 to 1.0.0 (#286)
Bumps [nonebot-plugin-datastore](https://github.com/he0119/nonebot-plugin-datastore) from 0.6.3 to 1.0.0.
- [Release notes](https://github.com/he0119/nonebot-plugin-datastore/releases)
- [Changelog](https://github.com/he0119/nonebot-plugin-datastore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/he0119/nonebot-plugin-datastore/compare/v0.6.3...v1.0.0)

---
updated-dependencies:
- dependency-name: nonebot-plugin-datastore
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 00:41:15 +08:00
dependabot[bot]
03ec563937
⬆️ Bump pytest-asyncio from 0.18.3 to 0.21.1 (#283)
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.3 to 0.21.1.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.3...v0.21.1)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  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-07-19 00:31:29 +08:00
dependabot[bot]
db8f0f04ba
⬆️ Bump pytest-cov from 3.0.0 to 4.1.0 (#287)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 3.0.0 to 4.1.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 00:17:15 +08:00
dependabot[bot]
1bf428d3b2
⬆️ Bump pillow from 9.5.0 to 10.0.0 (#284)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.5.0 to 10.0.0.
- [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/9.5.0...10.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 00:07:50 +08:00
dependabot[bot]
0bf943f8e5
⬆️ Bump nonebot-plugin-apscheduler from 0.2.0 to 0.3.0 (#285)
Bumps [nonebot-plugin-apscheduler](https://github.com/nonebot/plugin-apscheduler) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/nonebot/plugin-apscheduler/releases)
- [Commits](https://github.com/nonebot/plugin-apscheduler/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: nonebot-plugin-apscheduler
  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-07-18 23:53:22 +08:00
felinae98
d2196c7dcb
🔖 release 0.8.0 2023-07-18 21:47:05 +08:00
Azide
fc699d80ce ⬆️ 升级dev工具依赖
💄 auto fix by pre-commit hooks
2023-07-18 21:43:25 +08:00
Azide
bf788ff72a 🚨 移除noqa: E501
💄 auto fix by pre-commit hooks
2023-07-18 21:43:25 +08:00
Azide
7d4eb7785c 🎨 按ruff调整测试代码 2023-07-18 21:43:25 +08:00
Azide
dba8f2a9cb 🎨 按ruff的检查调整程序代码 2023-07-18 21:43:25 +08:00
Azide
f232ce4c3e 🔧 拆分并排序依赖 2023-07-18 21:43:25 +08:00
Azide
0a8a5c11aa 🔧 添加ruff和nonemoji 2023-07-18 21:43:25 +08:00
Azide
43a612da43 ⬆️ 支持nb2.0.0并更新metadata 2023-06-26 11:57:32 +08:00
felinae98
7ef225a87e ⬆️ upgrade saa 2023-06-11 15:32:57 +08:00
felinae98
2ba9542b63 🚧 use saa-send 2023-06-06 03:30:50 +08:00
felinae98
da8e988ee9 ♻️ use saa 2023-06-06 03:30:50 +08:00
felinae98
4118329bb0 🚧 remove User type 2023-06-06 03:30:50 +08:00
felinae98
d535f5212d 🗃️ add user_target column 2023-06-06 03:30:50 +08:00
felinae98
3fc913ff32
🔖 release 0.7.3 2023-06-04 23:56:48 +08:00
felinae98
5a62ae777a
🔖 release 0.7.2 2023-05-19 12:50:54 +08:00
felinae98
271bd1f1b9 ⬆️ upgrade to latest nonebot 2023-04-04 01:05:21 +08:00