Azide
e50eb5d70b
👷 添加ruff actions
...
🐛 分支应该是main而不是master
💄 auto fix by pre-commit hooks
🔥 dependabot.yml的registrys需要token,先删除
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
74667794bb
🔧 添加prettierrc
2023-07-18 21:43:25 +08:00
Azide
fbc8f31b66
🔧 添加prettierignore
2023-07-18 21:43:25 +08:00
Azide
2d9aa2f007
🔧 添加markdownlint配置
2023-07-18 21:43:25 +08:00
Azide
03fd5addbd
🔧 添加devcontainer配置
2023-07-18 21:43:25 +08:00
Azide
d3c6480763
🔧 添加editorconfig
2023-07-18 21:43:25 +08:00
github-actions[bot]
22f9ef9b6b
📝 Update changelog
2023-07-18 07:11:25 +00:00
PangBoy
c6ddbfb3b1
⬆️ update dependencies ( #276 )
...
* update dependencies
Fix: Warning: The save-state command is deprecated and will be disabled soon.
P.S. This could potentially fix the "Package 'python-dev' has no installation candidate" issue too.
https://github.com/docker/build-push-action/issues/779
* try to fix docker main not pass issue
* ⏪ revert dockerfile change
---------
Co-authored-by: felinae98 <731499577@qq.com>
2023-07-18 15:10:49 +08:00
github-actions[bot]
2efe7aa769
📝 Update changelog
2023-07-18 07:07:28 +00:00
UKM
ff3c0ffe65
🐛 修复bilibili推送的一些格式错误 ( #263 )
...
* 🎈 perf(platform/bilibili): 增加了相似度计算前文本的预处理
将动态和简介文本中较长的一段按照较短的一段进行截取(分了从前截和从后截的两种情况)
* 🐞 fix(bilibili): 修复视频简介多余空格的bug
* 🦄 refactor(bilibili): 更改文本相似度比较函数
2023-07-18 15:06:46 +08:00
github-actions[bot]
5922a7827f
📝 Update changelog
2023-07-18 03:55:24 +00:00
UKM
9838e25bad
🎈 优化RSS推送的内容 ( #259 )
...
* 🧪 test(tests): 添加了RSS的单元测试
* 🎈 perf(rss and test): 优化了RSS部分源标题正文重复的问题
部分RSS源(RSSHub的Twitter)存在正文当标题用的情况,导致推送的时候呈现为两段重复的文字,现通过Jaccard相似系数来判断是否需要去重
* Update nonebot_bison/platform/rss.py
Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
* Update nonebot_bison/platform/rss.py
Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
* 🐞 fix(platform/rss): 修复了漏掉相似文本在后端位置的问题
* 🐞 fix(rss): 修正一些feed无法正确识别时间的bug
一些feed时间只有updated标签或者没有,原先的代码只能解析用published标签的时间
felinae98#275
* 🎈 perf(rss): 更改字符串相似度比较方法
从Jaccard相似系数比较相似度改为通过最长公共子序列来比较
* 🦄 refactor(rss): 重构实现字符串相似度比较的方法
使用标准库difflib代替原先手搓的LCS
* Update nonebot_bison/utils/__init__.py
Co-authored-by: felinae98 <731499577@qq.com>
* Update nonebot_bison/platform/rss.py
* Update nonebot_bison/platform/rss.py
---------
Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
Co-authored-by: felinae98 <731499577@qq.com>
2023-07-18 11:54:49 +08:00
github-actions[bot]
1db15ffc75
📝 Update changelog
2023-07-17 12:29:58 +00:00
AzideCupric
7c62d218c0
👌 添加下划线以表示函数私有
...
Co-authored-by: felinae98 <731499577@qq.com>
2023-07-17 20:29:12 +08:00
Azide
4f7a3ebfbe
🐛 修复bililive订阅没有直播间的用户报错的问题
2023-07-17 20:29:12 +08:00
Azide
147f858a31
🐛 修复B站订阅没有动态的用户时报错的问题(第二次)
2023-07-17 20:29:12 +08:00
github-actions[bot]
4a36c47b92
📝 Update changelog
2023-06-26 03:58:05 +00:00
felinae98
4bf08d2446
🚀 fix dockerfile
2023-06-26 11:57:32 +08:00
Azide
43a612da43
⬆️ 支持nb2.0.0并更新metadata
2023-06-26 11:57:32 +08:00
github-actions[bot]
8a5c52c444
📝 Update changelog
2023-06-11 07:33:33 +00:00
felinae98
a1b4f2fb27
🚚 rename config_manager to sub_manager
2023-06-11 15:32:57 +08:00
felinae98
9f1730093c
🎨 use Arg to replace assert
2023-06-11 15:32:57 +08:00
felinae98
4846d32e2e
♻️ extract out permission
2023-06-11 15:32:57 +08:00
felinae98
3ccdcc844b
♻️ adjust card
2023-06-11 15:32:57 +08:00
felinae98
7ef225a87e
⬆️ upgrade saa
2023-06-11 15:32:57 +08:00
felinae98
681c611393
♻️ remove ob11 message for dummy message
2023-06-11 15:32:57 +08:00
felinae98
9b679cb827
♻️ use plaintext promot
2023-06-11 15:32:57 +08:00
felinae98
6743929ca2
🚚 reorganize config_manager
2023-06-11 15:32:57 +08:00
felinae98
8a20897fe9
♻️ refactor config manager
2023-06-11 15:32:57 +08:00
github-actions[bot]
3bdbed9f45
📝 Update changelog
2023-06-10 04:56:26 +00:00
Cinte
7dacae379a
🐛 在Postgresql下,user_target字段使用jsonb代替json
2023-06-10 12:55:43 +08:00
dependabot[bot]
009bfb397e
⬆️ Bump vite from 4.0.4 to 4.0.5
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.0.5/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.0.5/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 10:35:22 +08:00
github-actions[bot]
90ffa0af9a
📝 Update changelog
2023-06-05 19:31:31 +00:00
felinae98
2ba9542b63
🚧 use saa-send
2023-06-06 03:30:50 +08:00
felinae98
5010ca1ac5
🚧 sunset get_bot
2023-06-06 03:30:50 +08:00
AzideCupric
39c045c63f
✨ subs-io适配引入saa后的新数据库结构 (#219的subs-io部分) ( #224 )
...
* 🚚 将nbesf_model统一放到目录中
* ✨ 添加v2版本的nbesf
* ✨ 使subs_import支持导入多个版本的nbesf文件
* ✨ 使用saa的AllSupportedPlatformTarget
* 🚧 use deserialize
---------
Co-authored-by: felinae98 <731499577@qq.com>
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
github-actions[bot]
e8d83c5255
🔖 Release 0.7.3
2023-06-04 15:59:15 +00:00
felinae98
3fc913ff32
🔖 release 0.7.3
2023-06-04 23:56:48 +08:00
dependabot[bot]
818d64fffd
⬆️ Bump requests from 2.28.2 to 2.31.0 ( #262 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
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-29 20:55:47 +08:00
github-actions[bot]
78034ce227
📝 Update changelog
2023-05-22 16:06:29 +00:00
UKM
a8d632ffa3
🐞 更换获取B站用户名的api ( #261 )
...
* 🐞 fix(platform-bilibili): 更改获取b站用户名的api
原先的api又用不了,换了一个api
* 🧪 test(tests/bilibili): 添加了部分B站的单元测试
1.修正番剧链接识别正则表达式出错
2.添加了直播和番剧的解析目标的单元测试
2023-05-23 00:05:50 +08:00
github-actions[bot]
9e9805557d
📝 Update changelog
2023-05-20 07:57:56 +00:00
LambdaYH
3f98b6c214
🐛 修复ff14公告链接
2023-05-20 15:57:23 +08:00