1466 Commits

Author SHA1 Message Date
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
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
498e7d60d4 根据条件选择Cookie 和 状态回写数据库 2024-09-03 13:15:18 +08:00
055ed6e02a 使用闭包实现client hook 2024-09-03 10:52:20 +08:00
4ce6b85f79 weibo 带 cookie mvp 2024-09-03 10:00:53 +08:00
7901b845ea 初步实现携带cookie请求 2024-09-02 23:13:29 +08:00
github-actions[bot]
ccbed746da 📝 Update changelog 2024-09-01 14:34:29 +00:00
dependabot[bot]
c523b3a811
⬆️ Bump webpack from 5.88.2 to 5.94.0 in /admin-frontend (#619)
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.94.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 22:33:03 +08:00
d6205867b8
无权限用户尝试添加订阅时返回提示信息 (#617)
*  无权限用户尝试添加订阅时返回提示信息

*  添加no_permission_matcher相关的单元测试

* 🐛 优化无权限提示的排版

* 🐛 移除没有必要的命令
2024-09-01 22:32:47 +08:00
github-actions[bot]
83cd0a741e 📝 Update changelog 2024-09-01 14:30:29 +00:00
Azide
b8b49a5ce5
🐛 B站请求策略阶段行为优化 (#610)
* 🐛 调整ruff的pytest警告

* 🐛 调整导入关系警告

* 🐛 删除奇怪无用的赋值和取值逻辑

*  不同测试部分所用变量应加以区分

* 🐛 subs_io model添加默认值

* 🐛 修完所有的 ruff PT001 警告

* 🔧 按ruff建议修改ruff配置

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'

* 🔊 降低B站请求策略非Raise阶段API352的日志等级

* 🐛 Raise阶段应该 raise err

* 🔊 日志添加平台名

* 🐛 bzhanhan调度继续降低至60s

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-01 22:30:02 +08:00
github-actions[bot]
afcc536334 📝 Update changelog 2024-09-01 14:24:42 +00:00
cf38500be7 🐛 Rss 不再删除格式化字符 2024-09-01 22:23:02 +08:00
1cd778c2e0 ♻️ cookie 组件不再与 user 关联 2024-08-31 23:07:43 +08:00
c828fd94e4 ♻️ cookie 组件不再与 user 关联 2024-08-31 23:04:49 +08:00