1577 Commits

Author SHA1 Message Date
76f271584f web api 初稿 2024-09-19 20:28:16 +08:00
renovate[bot]
2c70d3c44e
⬆️ Update all non-major dependencies (#624)
* ⬆️ 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-09-19 13:51:41 +08:00
dependabot[bot]
d5c31394df
⬆️ Bump vite from 5.4.2 to 5.4.6 (#625)
* ⬆️ Bump vite from 5.4.2 to 5.4.6

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.2 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>

* 💄 auto fix by pre-commit hooks

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-19 11:19:54 +08:00
6cbc6f7d4d 🔀 merge 2024-09-19 10:00:34 +08:00
github-actions[bot]
908de2c5ca 🔖 Release 0.9.4 2024-09-17 15:10:51 +00:00
felinae98
76be8454f3
🔖 release 0.9.4 2024-09-17 23:09:39 +08:00
github-actions[bot]
7845ef8c74 📝 Update changelog 2024-09-17 14:59:38 +00:00
Azide
088e7a439f 新增可以在 fsm 抛出错误后重置 fsm 的装饰器工具 2024-09-17 22:59:09 +08:00
c784417ecc 初步实现删除cookie的单元测试 2024-09-13 20:01:54 +08:00
dd802a9c17 初步实现添加cookie的单元测试 2024-09-13 19:12:19 +08:00
2cfd58373f pytest db_config 2024-09-13 14:12:02 +08:00
4791fb69e0 ♻️ 重构 get_cookie 方法 2024-09-13 11:34:45 +08:00
4b8d6a9379 🐛 fix 2024-09-13 10:11:54 +08:00
b25fcd9ac2 尝试添加一种可以跳过当前请求的方式 2024-09-13 01:07:34 +08:00
16331b50d5 根据数据库的修改对应的逻辑,同时移除多余的init_cookie和_check_cookie 2024-09-13 01:00:53 +08:00
af246df222 俺又来改数据库哩 2024-09-13 00:35:14 +08:00
4f73f8a08c 🐛 弃用_cookie_client_manger_,改用issubclass判断是否为CookieClientManager 2024-09-13 00:26:28 +08:00
5111baa89c 🐛 应用部分推荐的重命名 2024-09-13 00:11:49 +08:00
f865cef427 🐛 调整日志等级 2024-09-12 23:33:11 +08:00
renovate[bot]
ab5236ee37
⬆️ Update all non-major dependencies (#621)
* ⬆️ 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-09-12 13:28:17 +08:00
318ba8fb3c 🔀 merge 2024-09-09 18:41:01 +08:00
2c2c9a091c ♻️ del_cookie 2024-09-09 18:36:18 +08:00
4a5e00c094 :recycles: ddel_cookie_target 2024-09-09 18:32:53 +08:00
404b1e445c :recycles: add_cookie_target 2024-09-09 18:23:23 +08:00
d43d042618 :recycles: add_cookie 2024-09-09 11:35:39 +08:00
65a5976897 :recycles: CookieClientManager 2024-09-09 11:06:59 +08:00
f959e3ee08 :recycles: 仿照 platform_manager 添加 site_manager 2024-09-09 11:01:34 +08:00
4db7e7b911 :recycles: DBConfig中 替换platform_name为site_name 2024-09-08 18:38:38 +08:00
275bc0cb53 :recycles: 注释掉cookie相关代码,使得bison可以正常运行 2024-09-08 18:21:57 +08:00
ce1f1bbedb 又来改数据库了( 2024-09-08 18:17:06 +08:00
7c9e191f40 删除cookie 对话 2024-09-08 15:56:44 +08:00
940301a6fc 取消关联cookie 对话 2024-09-08 15:17:19 +08:00
61dcf879ce ♻️ 整理代码 2024-09-08 13:03:47 +08:00
a6227828e3 ♻️ 整理代码 2024-09-08 12:59:44 +08:00
bbc5492193 为匿名cookie设置标签 2024-09-08 12:22:06 +08:00
eddd3e42a1 修改_choose_cookie的逻辑以支持no target的Platform 2024-09-06 11:33:39 +08:00
06079b98f7 关联cookie是不显示匿名cookie 2024-09-06 10:16:24 +08:00
418a941448 添加不合法cookie的提示 2024-09-06 10:08:08 +08:00
afd1bee762 将get_cookie_friendly_name和valid_cookie移动到ccm内部 2024-09-06 01:08:32 +08:00
b61bde6e3f 关联cookie时,只显示支持的订阅 2024-09-06 00:39:57 +08:00
6537f01a34 集中判断是否为CookieClientManager 2024-09-06 00:34:52 +08:00
0ce2893911 匿名cookie和用户cookie一起调度 2024-09-06 00:25:33 +08:00
cf3966e69b 添加cookie只显示支持的Platform 2024-09-06 00:14:35 +08:00
370fc250f0 数据库Cookie表添加is_universal属性 2024-09-05 19:32:47 +08:00
3bd0867f0e 数据库Cookie表添加cd属性 2024-09-05 16:07:59 +08:00
01435eeded 提出assemble_client方法 2024-09-04 01:19:53 +08:00
pre-commit-ci[bot]
ded3e34259
⬆️ auto update by pre-commit hooks (#620)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.0 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.6.3)
- [github.com/pre-commit/mirrors-eslint: v9.8.0 → v9.9.1](https://github.com/pre-commit/mirrors-eslint/compare/v9.8.0...v9.9.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-03 13:35:36 +08:00
renovate[bot]
68f7e3b72a
⬆️ Update all non-major dependencies (#595)
* ⬆️ 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-09-03 13:34:49 +08:00
498e7d60d4 根据条件选择Cookie 和 状态回写数据库 2024-09-03 13:15:18 +08:00
055ed6e02a 使用闭包实现client hook 2024-09-03 10:52:20 +08:00