Commit Graph

1487 Commits

Author SHA1 Message Date
github-actions[bot] 956b19d0c1 📝 Update changelog 2024-07-12 17:08:40 +00:00
Azide e2a97a9e56 适配小刻食堂平台 (#379)
* 🐛 插入新的Schedulable时应传入use_batch参数

*  适配ceobecanteen平台

Co-authored-by: phidiaLam <2957035701@qq.com>

*   明日方舟公告与官网采用截图分享 (#480)

*  明日方舟公告与官网采用截图分享

* 💄 auto fix by pre-commit hooks

* 🐛 修复缺少的导入,优化逻辑

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Azide <rukuy@qq.com>

* 🐛 优化截图图片效果

* 🐛 修复错误将转发内图片视作头图的问题

* 🍱 使用正式 Bison Logo

* 💄 auto fix by pre-commit hooks

* 🐛 请求小刻API时不在headers里添加过多字段

* 🐛 get_comb_id方法删除无用的targets参数

* 💡 get_comb_id方法更新注释

* 🔥 移除发送部分的更改

*  在命名中明确表示cond_func意图

* ♻️ 拆分get_comb_id功能

* ♻️ 调整缓存逻辑

*  使用uri在theme中调用platform截图

* ♻️ 重构截图逻辑

*  添加模糊匹配提示

*  适配新版Site

* 💄 auto fix by pre-commit hooks

* 🐛 去掉不必要的排序

* 🐛 修正不应出现的驼峰变量名

* ♻️ 按review意见修改

* ♻️ 调整截图函数逻辑

* 🔊 调低日志等级

* ✏️ 修复一些拼写和格式

---------

Co-authored-by: phidiaLam <2957035701@qq.com>
Co-authored-by: 洛梧藤 <67498817+phidiaLam@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-13 01:06:42 +08:00
github-actions[bot] 4eb7a17306 📝 Update changelog 2024-07-12 16:39:29 +00:00
Azide c50243cc57 🐛 插入新的Schedulable时应传入use_batch参数 (#594) 2024-07-13 00:38:57 +08:00
renovate[bot] e089e87b84 ⬆️ Update actions/cache action to v4 (#588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 23:16:16 +08:00
renovate[bot] 67943a1c01 ⬆️ Update actions/setup-node action to v4 (#589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 23:16:02 +08:00
renovate[bot] a700607495 ⬆️ Update all non-major dependencies (#581)
* ⬆️ Update all non-major dependencies

* 💄 auto fix by pre-commit hooks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-11 23:13:36 +08:00
renovate[bot] 8cea2ee37b ⬆️ Update actions/setup-python action to v5 (#590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 22:41:18 +08:00
pre-commit-ci[bot] beff2c7672 ⬆️ auto update by pre-commit hooks (#591)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.5.0)
- [github.com/pre-commit/mirrors-eslint: v9.4.0 → v9.6.0](https://github.com/pre-commit/mirrors-eslint/compare/v9.4.0...v9.6.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-11 22:40:57 +08:00
renovate[bot] eae8084344 ⬆️ Update dependency eslint to v9 (#593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 22:39:33 +08:00
renovate[bot] e026ec60cd ⬆️ Update Node.js to v20 (#587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 22:39:14 +08:00
github-actions[bot] 90b09e30c2 📝 Update changelog 2024-07-03 02:27:27 +00:00
suyiiyii 4d4d1060de 🐛 查询订阅时提示不存在的平台 (#584)
* 🐛 查询订阅时提示不存在的平台 fix #515

* 💄 auto fix by pre-commit hooks

* 🐛 删除订阅时,获取详细信息跳过不存在的platform

*  添加对于不存在的平台的单元测试

* 🐛 删除订阅时跳过不存在的platform

* 💄 规范化订阅列表的输出

* 💄 规范化订阅列表的输出

* 💄 规范化订阅列表的输出

* 💄 规范化订阅列表的输出

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-03 10:26:58 +08:00
Azide b330644b39 使用 MockerFixture 限制测试时配置的变更范围 (#586) 2024-07-03 00:11:38 +08:00
github-actions[bot] dacd03d6e8 📝 Update changelog 2024-06-27 09:14:00 +00:00
Komorebi 1ba665cbab 📝 更新 README (#583)
* 📝 更新 README

* 📝 更正文档链接
2024-06-27 17:13:31 +08:00
github-actions[bot] d25ce43b1a 📝 Update changelog 2024-06-27 09:11:49 +00:00
Komorebi ba818b492d 💄 更新 favicon (#585) 2024-06-27 17:11:14 +08:00
Azide 779fbd1e36 不再为docker预装telegram适配器 2024-06-24 20:21:33 +08:00
Azide eeccceb81b 🔥 删除不再使用的circleci配置文件 2024-06-24 19:43:51 +08:00
Azide a7b8428cb6 🔧 更改renovateb配置文件位置并忽略python的版本更新检查 2024-06-24 19:37:49 +08:00
Azide a5127e533e 🔧 更新 renovatebot 配置 (#579)
参考 https://docs.renovatebot.com/presets-default/#semanticcommittypeallarg0
2024-06-19 23:46:48 +08:00
dependabot[bot] baedec8dfd ⬆️ Bump ws from 7.5.9 to 7.5.10 in /admin-frontend (#568)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 20:57:58 +08:00
renovate[bot] 55f1810a69 Update babel monorepo to v7.24.7 (#566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 20:55:45 +08:00
renovate[bot] dcb28ad77b Configure Renovate (#564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-17 21:44:38 +08:00
pre-commit-ci[bot] 273f0112d3 ⬆️ auto update by pre-commit hooks (#550)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-17 18:46:28 +08:00
Azide 53e8243955 👷 删除dependabot更新检查 (#558) 2024-06-17 13:31:14 +08:00
github-actions[bot] ba24260dc0 📝 Update changelog 2024-06-17 05:29:34 +00:00
github-actions[bot] e1fe6988ea 📝 Update changelog 2024-06-17 05:24:32 +00:00
Azide af72b6c3d0 🐛 B站蹲饼修复 (#525)
*  使用新接口

* ♻️ 调整刷新逻辑

* 🐛 调整刷新逻辑

* ♻️ 将单个哔哩哔哩文件拆开

* 🐛 修修补补边界情况

*  添加UID:xxx匹配

*  调整测试中的导入

*  调整测试的断言

* 🐛 添加unicode字符的escape

*  不再主动刷新cookies

* 🔀 适配新版Site

* 🐛 解析live_rcmd中的json string

* 🚨 make ruff happy

* 🐛 调整并测试bilibili retry函数

*  修正测试

* ♻️ 按review意见调整

* ♻️ 清理一些遗留的复杂写法

* ♻️ 移出函数内的NameTuple

* 🔇 删除不必要的日志输出

Co-authored-by: felinae98 <731499577@qq.com>

* Update nonebot_bison/platform/bilibili/scheduler.py

* Update scheduler.py

---------

Co-authored-by: felinae98 <731499577@qq.com>
2024-06-17 13:24:04 +08:00
felinae98 9729d4b776 🐛 remove unneeded default client 2024-06-17 13:17:32 +08:00
github-actions[bot] 1c753f7a2c 📝 Update changelog 2024-06-12 15:12:31 +00:00
Azide 83bea507ab 🐛 补充主题渲染时遗漏的转发推文中的图片 (#554) 2024-06-12 23:12:01 +08:00
github-actions[bot] d4f4868a79 📝 Update changelog 2024-06-06 13:27:54 +00:00
changsun20 864926031f 📝 修复前端开发部分文档的问题 2024-06-06 21:27:23 +08:00
github-actions[bot] bc9eff3c74 📝 Update changelog 2024-06-03 10:36:36 +00:00
felinae98 5bd8b21f19 ♻️ rename scheduler_config -> site 2024-06-03 18:36:07 +08:00
felinae98 2fc11a9653 ♻️ refactor client of scheduler_config 2024-06-03 18:36:07 +08:00
felinae98 c21b24b385 🚨 fix lint err 2024-06-03 18:36:07 +08:00
github-actions[bot] 9ee299813b 📝 Update changelog 2024-05-19 14:02:55 +00:00
Azide 307739e37a ParseTargetException可以携带prompt参数 (#479)
*  ParseTargetException可以携带prompt参数

*  丰富prompt提示
2024-05-19 22:02:23 +08:00
github-actions[bot] 4bbcd9238c 📝 Update changelog 2024-05-13 15:06:40 +00:00
felinae98 769b13ee4a add require_brownser for scheduler config 2024-05-13 23:06:08 +08:00
pre-commit-ci[bot] c04710c7ae ⬆️ auto update by pre-commit hooks
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.4.3)
- [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2)
- [github.com/pre-commit/mirrors-eslint: v9.0.0-rc.0 → v9.2.0](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-rc.0...v9.2.0)
2024-05-07 14:00:35 +08:00
github-actions[bot] 08352d9091 📝 Update changelog 2024-05-06 16:11:44 +00:00
felinae98 cf50e9f288 rename bison_theme_use_browser -> bison_use_browser 2024-05-07 00:11:14 +08:00
dependabot[bot] d8f48fc490 ⬆️ Bump the prod-update group in /admin-frontend with 7 updates (#517)
Bumps the prod-update group in /admin-frontend with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@arco-design/web-react](https://github.com/arco-design/arco-design) | `2.61.0` | `2.61.2` |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.24.0` | `7.24.3` |
| [@babel/plugin-syntax-flow](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-flow) | `7.23.3` | `7.24.1` |
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | `14.2.1` | `14.2.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.11.28` | `20.12.2` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.66` | `18.2.73` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.22` | `18.2.23` |


Updates `@arco-design/web-react` from 2.61.0 to 2.61.2
- [Release notes](https://github.com/arco-design/arco-design/releases)
- [Commits](https://github.com/arco-design/arco-design/compare/2.61.0...2.61.2)

Updates `@babel/core` from 7.24.0 to 7.24.3
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.3/packages/babel-core)

Updates `@babel/plugin-syntax-flow` from 7.23.3 to 7.24.1
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-plugin-syntax-flow)

Updates `@testing-library/react` from 14.2.1 to 14.2.2
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v14.2.1...v14.2.2)

Updates `@types/node` from 20.11.28 to 20.12.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.66 to 18.2.73
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.22 to 18.2.23
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@arco-design/web-react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-update
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-update
- dependency-name: "@babel/plugin-syntax-flow"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-update
- dependency-name: "@testing-library/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-update
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-update
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-update
- dependency-name: "@types/react-dom"
  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-04-02 16:54:49 +08:00
dependabot[bot] 0f264e72a5 ⬆️ Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /admin-frontend (#509)
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:27:12 +08:00
dependabot[bot] f6ef7554fd ⬆️ Bump express from 4.18.2 to 4.19.2 in /admin-frontend (#513)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:26:59 +08:00
dependabot[bot] d069728bbc ⬆️ Bump the dev-update group in /admin-frontend with 2 updates (#518)
Bumps the dev-update group in /admin-frontend with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).


Updates `@typescript-eslint/eslint-plugin` from 7.2.0 to 7.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.5.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 7.2.0 to 7.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.5.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: "@typescript-eslint/parser"
  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-04-02 16:25:25 +08:00