1124 Commits

Author SHA1 Message Date
Azide
4264413888 📝 添加各个页面之间的链接 2023-05-11 00:41:30 +08:00
Azide
71c056aa05 📝 更新主页feature 2023-05-11 00:41:30 +08:00
Azide
116c0475c7 📝 拆分部署与使用,添加简单使用章节 2023-05-11 00:41:30 +08:00
dependabot[bot]
9534daca0a
⬆️ Bump yaml from 2.2.1 to 2.2.2 (#245)
Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-07 23:43:34 +08:00
github-actions[bot]
95df75d9da 📝 Update changelog 2023-05-07 15:39:31 +00:00
Cinte
67504bb77c
🐛 修复订阅 RSS 时,输入链接被转义的问题 2023-05-07 23:38:57 +08:00
github-actions[bot]
7881691083 📝 Update changelog 2023-05-02 10:45:50 +00:00
UKM
85319daca1
👽 解决添加Blibili订阅时,获取用户名时的报错 (#248)
* fix felinae98#246

* fix felinae98#246 (test)

* fix felinae98#246 (bilibili-live)
2023-05-02 18:45:01 +08:00
github-actions[bot]
7b2723817e 📝 Update changelog 2023-04-12 02:50:22 +00:00
AzideCupric
ce950ac4ab
📝 在文档和log中强调bison网页后台网址不能直接访问,并优化部分文档的表达 (#235) 2023-04-12 10:49:58 +08:00
felinae98
acd7fb1485
👷 disable image test 2023-04-04 01:25:10 +08:00
felinae98
271bd1f1b9 ⬆️ upgrade to latest nonebot 2023-04-04 01:05:21 +08:00
felinae98
a57f2aa21e 🚀 add docker test 2023-04-04 00:54:30 +08:00
github-actions[bot]
46cc7c7fc4 📝 Update changelog 2023-04-03 10:21:20 +00:00
Sherkey
0e6dfffee8 📝 fix nonebot2 docs url 2023-04-03 18:20:39 +08:00
felinae98
344bb38eae
⬆️ upgrade datastore 2023-04-02 19:02:28 +08:00
felinae98
f16ca6db8b 🧑‍💻 fix type hinting 2023-04-01 19:57:18 +08:00
github-actions[bot]
5fbd94460b 📝 Update changelog 2023-03-26 12:44:04 +00:00
felinae98
2796ea6f8e add config for disable network warning log 2023-03-26 20:43:24 +08:00
felinae98
560fd81db6
✏️ Update 问题报告.md 2023-03-26 20:39:46 +08:00
pre-commit-ci[bot]
7b557930a6 💄 auto fix by pre-commit hooks 2023-03-26 20:23:38 +08:00
felinae98
32850947b8 🚸 add issue template 2023-03-26 20:23:38 +08:00
github-actions[bot]
2eb10a78c9 📝 Update changelog 2023-03-24 17:08:24 +00:00
felinae98
5f09f887f3 🥅 add raise_for_status for bilibili 2023-03-25 01:07:46 +08:00
github-actions[bot]
08397e0b9b 📝 Update changelog 2023-03-24 16:29:51 +00:00
felinae98
4d89117bed 🔊 adjust scheduler logger 2023-03-25 00:29:12 +08:00
github-actions[bot]
9755bdd333 📝 Update changelog 2023-03-24 14:58:45 +00:00
felinae98
39a3b64587
🐛 not load webui when not install fastapi (#221) 2023-03-24 22:58:02 +08:00
github-actions[bot]
2149e03be1 🔖 Release 0.7.1 2023-03-20 03:00:45 +00:00
felinae98
ada6378812
🔖 release 0.7.1 (#218) 2023-03-20 10:58:55 +08:00
felinae98
569fcf84a5
👷 fix all-test 2023-03-20 00:11:58 +08:00
felinae98
4040c1fc0b
📝 fix change log 2023-03-19 16:34:03 +08:00
github-actions[bot]
d3ffcf0a02 📝 Update changelog 2023-03-19 08:29:50 +00:00
AzideCupric
4e304a43b1
通过 nb-cli 实现数据库一键导入导出 (#210)
* feat: 实现导出存储的订阅信息的功能

* test: 编写导出功能测试

* test: 使用tmp_path

* feat: 实现导入订阅文件功能

* refactor: 将订阅导入导出部分独立出来

* fix: 修复一些拼写错误
test: 完成import的第一个测试

* feat: 将订阅导入导出函数加入nb script

test: 添加cli测试

* test: 完善subs import测试

* 🐛 fix nb cli entrypoint name error

* fix: 修改错误的entry_point, 关闭yaml导出时对键名的排序

* fix: 使用更简短的命令名

* 🚚 将subs_io迁移到config下

* ♻️ 不再使用抛出异常的方式创建目录

* refactor: 将subscribe_export类转为函数

* refactor: 将subscribe_import类转为函数

* refactor: 根据重写的subs_io重新调整cli

* test: 调整重写subs_io后的test

* chore: 清理未使用的import内容

* feat(cli): 将--yaml更改为--format

* test: 调整测试

* fix(cli): 为import添加不支持格式的报错

*  improve export performace

* feat: subscribes_import函数不再需要传入参数函数,而是指定为add_subscribes

fix: nbesf_parser在传入str时将调用parse_raw, 否则调用parse_obj

* feat: subscribes_import现在会根据nbesf_data的版本选择合适的导入方式

* fix(test): 调整测试

* feat: nb bison export命令不再将文件导出到data目录,而是当前工作目录

* docs: 增添相关文档

* fix(test): 修复错误的变量名

---------

Co-authored-by: felinae98 <731499577@qq.com>
2023-03-19 16:29:05 +08:00
felinae98
010e6335f2 🐛 register db hook after init scheduler 2023-03-12 20:24:00 +08:00
felinae98
e43edaa717
🚚 fix source code path 2023-03-12 20:04:19 +08:00
felinae98
45cec9d9ef
👷 pin poetry version to 1.3.2 2023-03-12 17:54:11 +08:00
felinae98
1cac3bae5a
👷 fix ci trigger config 2023-03-12 17:47:28 +08:00
felinae98
5d2077f5cd
👷 alter pre-commit commit message 2023-03-09 20:33:40 +08:00
felinae98
e4218c7c83
🔥 remove alembic config file 2023-03-09 20:30:49 +08:00
felinae98
9b91efa341
👷 fix ci trigger 2023-03-09 20:29:09 +08:00
felinae98
45b4ac3988 🗃️ alter fields to not null, fix typing 2023-03-09 19:25:29 +08:00
felinae98
88bb1d3698 🚚 move db_migration code 2023-03-09 19:25:29 +08:00
uy/sun
9581887994
🎨 调整旧版数据库加载逻辑 (#212) 2023-03-09 17:58:26 +08:00
github-actions[bot]
6a28f1175e 📝 Update changelog 2023-03-09 09:33:35 +00:00
uy/sun
90816796c7
🚚 修改 nonebot_bison 项目结构 (#211)
* 🎨 修改 nonebot_bison 目录位置

* auto fix by pre-commit hooks

* 🚚 fix frontend build target

* 🚚 use soft link

* Revert "🚚 use soft link"

This reverts commit de21f79d5ae1bd5515b04f42a4138cb25ddf3e62.

* 🚚 modify dockerfile

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: felinae98 <731499577@qq.com>
2023-03-09 17:32:51 +08:00
github-actions[bot]
3082587662 📝 Update changelog 2023-03-03 10:10:51 +00:00
felinae98
d07657aeed
🗃️ 又切换回 sqlalchemy,但是 2.0 (#206)
* change: 又切换回 sqlalchemy,但是 2.0

* 将 subscribe 表的两个 json 字段设置为 not null

---------

Co-authored-by: hemengyang <hmy0119@gmail.com>
2023-03-03 18:10:12 +08:00
felinae98
c3a764581e
👷 use pytest-xdist to accelerate test (#186)
* 👷 use pytest-xdist to accelerate test

*  mark flaky

* test(mcbbsnews): 删除重复测试,为测试添加flaky

---------

Co-authored-by: hemengyang <hmy0119@gmail.com>
Co-authored-by: AzideCupric <rukuy@qq.com>
2023-03-03 17:16:15 +08:00
felinae98
0201d5b316
⬆️ 升级至 NoneBug 0.3
* 🚧 第一次尝试 50/82

* 62/82 调整了清除数据库的位置

* 🚧 pytest-mock

* 🚧 fix test_send

* 🚧 intruduce app request

* 🚧 close and remove tinydb after each test

* 🚧 clean ScheduleTimeWeight table

* 🚧 reload http module to test proxy

*  合并 main 的代码

* 🚧 在每次测试结束后关闭browser

* 🧑‍💻 在mcbbsnews渲染异常时添加logger

---------

Co-authored-by: hemengyang <hmy0119@gmail.com>
Co-authored-by: Azide <rukuy@qq.com>
2023-03-03 15:12:25 +08:00