Commit Graph

65 Commits

Author SHA1 Message Date
Innei
96263782d0 fix: lint and fix cache service
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-06 22:18:48 +08:00
Teror Fox
400d217aac feat: 添加推送到Bing支持 (#2379)
* feat(core): 添加 Bing 搜索推送功能

- 在 errorCode.constant.ts 中添加 Bing 相关的错误代码
- 在 configs.dto.ts 中添加 BingSearchOptionDto 类用于配置 Bing 推送选项
- 在 helper.cron.service.ts 中实现 pushToBingSearch 方法进行 Bing 搜索推送

* feat(core): 添加必应搜索推送配置并优化相关功能

- 在默认配置中添加 bingSearchOptions 项
- 更新 BingSearchOptionDto 类,统一字段命名
- 在 IConfig 接口中添加 bingSearchOptions 字段
- 修改 CronService 中的 pushToBingSearch 方法,适配新配置

* build: 更新下载资源链接

- 将 CDN 下载 URL 从 `https://mirror.ghproxy.com/` 更改为 `https://ghfast.top/`

* feat(api-client): 添加 Bing 搜索配置模型

- 新增 BingSearchOptionsModel 类,用于 Bing 搜索的配置选项
- 该模型包括 enable 和 token 两个属性,与 BaiduSearchOptionsModel 类似

* refactor(configs): 统一配置类命名规则

- 将 BingSearchOptionDto 重命名为 BingSearchOptionsDto,与 BaiduSearchOptionsDto 保持一致
- 更新相关引用和配置字段类型

* feat(core): 添加每日凌晨1点执行的 Bing 搜索推送任务

- 在 CronService 类中添加了 pushToBingSearch 方法
- 使用 @CronOnce 装饰器设置任务执行时间为每天凌晨1点
- 任务名称为 'pushToBingSearch'
- 方法描述为 '推送到Bing'

* chore: 添加.eslintcache到.gitignore

- 在.gitignore文件中添加.eslintcache,避免eslint缓存文件被版本控制

* feat(docs): 更新readme

* refactor(core): 优化 Bing 站长提交日志输出

- 修改了 Bing 站长提交结果的日志输出格式
- 当提交成功时,输出简短的成功日志
- 当提交失败时,仍输出详细的错误信息

* Update apps/core/src/processors/helper/helper.cron.service.ts

Co-authored-by: Innei <tukon479@gmail.com>
Signed-off-by: Teror Fox <i@trfox.top>

* chore: 删除废弃的服务器部署脚本

* feat(core): 添加 Bing API 域名无效错误码

- 在 ErrorCodeEnum 枚举中添加 BingDomainInvalid 错误码
- 在 ErrorCode 对象中添加对应的错误信息和状态码

* refactor(core): 修复 Bing 推送异常时返回值问题

---------

Signed-off-by: Teror Fox <i@trfox.top>
Co-authored-by: Innei <tukon479@gmail.com>
2025-03-17 23:46:05 +08:00
Innei
91301a97b2 chore: remove server-deplpy.js deployment script
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 22:34:59 +08:00
Innei
e56d2151a1 chore: update docker compose
Signed-off-by: Innei <i@innei.in>
2024-08-01 22:03:53 +08:00
Alisa
33e86c8669 fix: docker test in CI failed (#1695)
* feat: allow to run ci for test

* fix: use latest tag in docker compose to fix CI issue
2024-05-12 21:01:50 +08:00
Innei
ee92d486ca fix: download asset script 2024-04-30 15:57:38 +08:00
Innei
c334f453b2 fix: script clone
Signed-off-by: Innei <i@innei.in>
2024-02-09 21:46:47 +08:00
Innei
83441f1d3e fix: init project script
Signed-off-by: Innei <i@innei.in>
2024-02-09 21:45:23 +08:00
Innei
be5e4a1860 fix: ci scp (#1319) 2023-12-28 14:19:49 +08:00
Innei
18b395be66 chore: add gh mirror
Signed-off-by: Innei <i@innei.in>
2023-11-07 23:13:24 +08:00
Innei
a44842a9b0 fix: build 2023-08-11 00:32:26 +08:00
Innei
4993076868 fix: bind port only local 2023-08-11 00:24:09 +08:00
Innei
f78ede78e7 fix: test port cmd
Signed-off-by: Innei <i@innei.in>
2023-06-28 14:29:39 +08:00
Innei
b5a2b7fdd6 feat: add debug logging
Signed-off-by: Innei <tukon479@gmail.com>
2023-06-16 17:42:23 +08:00
Innei
3a9e25763e fix(client): add $serialized for response object
Signed-off-by: Innei <tukon479@gmail.com>
2023-06-10 16:33:12 +08:00
Innei
944c571210 fix: docker build 2023-06-09 12:12:19 +08:00
Innei
bec063f8b1 fix: init proj script
Signed-off-by: Innei <tukon479@gmail.com>
2023-06-07 20:57:37 +08:00
Innei
a874c66b72 feat: update email template
Signed-off-by: Innei <tukon479@gmail.com>
2023-06-06 15:46:16 +08:00
Innei
8d5b366fda chore: update script
Signed-off-by: Innei <tukon479@gmail.com>
2023-06-04 19:03:26 +08:00
Innei
ffdc153a3d refactor: monorepo structure (#1082) 2023-06-04 14:42:20 +08:00
Innei
7f97a775c5 fix: zip asset script
Signed-off-by: Innei <tukon479@gmail.com>
2023-02-14 19:58:36 +08:00
Innei
bfc2e25fab fix: init project script
Signed-off-by: Innei <tukon479@gmail.com>
2023-02-13 21:57:07 +08:00
Innei
7ea1ba5ba9 chore: assets init script
Signed-off-by: Innei <tukon479@gmail.com>
2023-02-13 21:43:14 +08:00
Innei
7a1ccdf9d9 fix: asset push script
Signed-off-by: Innei <tukon479@gmail.com>
2023-02-10 11:27:02 +08:00
9ed8b32f9e feat: support encrypt secret and configs (#931) 2022-12-25 18:55:00 +08:00
Innei
d8a1280051 chore: update deploy script
Signed-off-by: Innei <tukon479@gmail.com>
2022-12-18 21:27:14 +08:00
18a304e49f feat: support upgrage admin dashboard (#612) 2022-07-08 12:44:29 +08:00
Innei
6125c4f3ab fix: script to fetch 2022-05-21 17:15:40 +08:00
Innei
66e882b2dd fix: worker url 2022-05-14 21:17:07 +08:00
Innei
a8570a5a97 refactor(backup): restore user asset file 2022-03-20 16:45:29 +08:00
Innei
44d929c5b9 Revert "chore: submodule"
This reverts commit ab83f9265d.
2022-03-12 12:32:59 +08:00
Innei
ab83f9265d chore: submodule 2022-03-12 12:28:30 +08:00
Innei
6d9694e29d fix: write file sync 2022-02-24 22:02:35 +08:00
Innei
2de994f053 release: v3.18.9 2022-02-24 21:26:37 +08:00
Innei
f9147fbc11 fix: stop when error 2022-02-24 21:18:18 +08:00
Innei
768ef595a5 fix: remove windows build 2022-02-24 18:55:28 +08:00
Innei
d575bde3fe fix: path base 2022-02-24 18:39:01 +08:00
Innei
a973fbb964 feat: add shebang 2022-02-23 15:46:36 +08:00
Innei
74a546baee fix: deploy script 2022-02-23 15:02:28 +08:00
Innei
46bbf18ad2 fix: rename all symbols 2022-02-09 21:37:29 +08:00
Innei
3144784383 fix: rename repo name 2022-02-09 21:32:18 +08:00
Innei
e48be8383b fix: replace version prefix v 2022-02-09 18:53:45 +08:00
Innei
b46cff6102 chore: update admin version 2022-02-09 15:55:32 +08:00
Innei
ecbce848fa fix: test script 2022-01-12 19:28:18 +08:00
Innei
80080c5c3e chore: move file 2021-10-15 23:15:23 +08:00
Innei
e1a17af679 chore: remove debug workflow 2021-10-14 19:16:22 +08:00
Innei
6852a7aa92 test: server ci 2021-10-14 19:02:54 +08:00
Innei
453b2265b6 test: docker 2021-10-14 18:13:57 +08:00
Innei
556bde9119 fix: script bump use zx 2021-09-25 17:02:46 +08:00
Innei
d9ea155d10 fix: script again 2021-09-22 15:49:57 +08:00