renovate[bot]
81b875d9c9
fix(deps): update dependency form-data to v4.0.4 [security] ( #2454 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-23 00:37:37 +08:00
Innei
99781842e1
chore(deps): update dependencies for improved compatibility and functionality
...
- Upgraded various dependencies across multiple package.json files, including @babel/core to 7.28.0, @keyv/redis to 4.6.0, and mongoose to 8.16.2.
- Updated axios to version 1.10.0 and nodemailer to 7.0.5 for enhanced performance.
- Adjusted types for @types/lodash and @types/node to their latest versions for better type safety.
- Incremented better-auth to 1.2.12 and updated other related packages for stability.
Signed-off-by: Innei <tukon479@gmail.com >
2025-07-10 22:22:49 +08:00
Teror Fox
00b66bef7e
feat(core): 实现文章的发布/取消发布功能 ( #2443 )
...
* feat(migration): add isPublished field to posts and notes collections
* feat(note, post): add publish status management for notes and posts
* build(tsup): 添加 import.meta.url 支持
- 在 tsup 配置中添加 platform: 'node' 设置
- 注入 import.meta.url 兼容层,以支持不同模块格式
* build(core): 修改 mx-server 启动脚本路径
* feat(migration): 添加 v8.4.0 版本迁移脚本至history
* feat(core): 修复未认证用户可查看未发布内容的安全问题
- 在 Note 和 Post 模块中添加了对未认证用户的访问限制
* fix(core): 回滚 mx-server 启动脚本路径
* feat(migration): 添加 v8.4.0 数据库脚本以更新 notes 集合字段
* feat(migration): 更新 v8.4.0 修复脚本以重命名 hide 字段并互换其值
* feat(note): 替换 hide 字段为 isPublished,更新相关查询和条件
* feat(note): 将 hide 字段替换为 isPublished,更新相关数据模型
* feat(migration): 添加 v8.4.0 fix2修复脚本以更新 posts 集合中的 isPublished 字段为true
2025-07-03 16:06:06 +08:00
Innei
0bae393f08
chore(deps): update dependencies across multiple packages
...
- Upgraded various dependencies in package.json files, including @babel/core to 7.27.4, @nestjs/common and @nestjs/core to 11.1.3, and mongoose to 8.15.1 for improved stability and compatibility.
- Updated devDependencies such as form-data to 4.0.3 and zod to 3.25.56.
- Adjusted types for @types/node and @types/lodash to their latest versions for better type safety.
Signed-off-by: Innei <tukon479@gmail.com >
2025-06-07 23:02:27 +08:00
Innei
7e616eeb88
fix: bundle
...
Signed-off-by: Innei <tukon479@gmail.com >
2025-05-18 22:54:31 +08:00
Innei
441bc8ae3b
chore(deps): update dependencies and ESLint configuration
...
- Changed pnpm setting in eslint.config.mjs from true to false.
- Updated various dependencies in package.json to specific versions for better stability and compatibility.
- Removed optionalDependencies from package.json to streamline the dependency management.
- Refactored ai-agent.service.ts to replace ToolInterface with DynamicStructuredTool for improved type safety.
Signed-off-by: Innei <tukon479@gmail.com >
2025-05-14 23:23:10 +08:00
Innei
f2873a5c9d
chore(release): bump @mx-space/api-client to v1.17.0
2025-05-07 22:56:23 +08:00
Innei
423cc7de14
chore(deps): update package dependencies to use catalog references
...
- Updated `package.json` and `pnpm-lock.yaml` to replace specific version references with catalog entries for various dependencies, including `@types/cors`, `@types/express`, `abort-controller`, `axios`, `camelcase-keys`, `cors`, `express`, `form-data`, `lodash`, `tsup`, `umi-request`, and `vite`.
- Removed obsolete conflict catalog for `@types/node`.
- Adjusted `pnpm-workspace.yaml` to reflect the new catalog structure for dependencies.
Signed-off-by: Innei <tukon479@gmail.com >
2025-05-06 00:36:30 +08:00
Innei
8a5048f067
feat(ai): add deep reading model and controller method
...
- Introduced `AIDeepReadingModel` to define the structure for deep reading responses.
- Added `getDeepReading` method in `AIController` to fetch deep reading data for a given article ID.
- Updated imports in `ai.ts` to include the new deep reading model.
Signed-off-by: Innei <tukon479@gmail.com >
2025-05-06 00:27:18 +08:00
Innei
5bf93975f3
chore: update dependencies and improve auth implementation
...
- Updated various dependencies in package.json and pnpm-lock.yaml, including:
- `redis-memory-server` from 0.11.0 to 0.12.1
- `@sxzz/eslint-config` from 4.6.0 to 6.1.1
- `@types/node` from 22.13.10 to 22.14.0
- `eslint` from ^9.17.0 to ^9.24.0
- `lint-staged` from 15.3.0 to 15.5.0
- `typescript` from 5.7.3 to 5.8.3
- Other minor updates across various packages.
- Refactored `CreateAuth` function in `auth.implement.ts` to utilize `createAuthMiddleware` for better session handling.
- Enhanced exports in `auth.ts` to include new utility functions from `better-auth`.
Signed-off-by: Innei <tukon479@gmail.com >
2025-04-06 23:00:39 +08:00
Innei
96263782d0
fix: lint and fix cache service
...
Signed-off-by: Innei <tukon479@gmail.com >
2025-04-06 22:18:48 +08:00
renovate[bot]
3cb310008a
chore(deps): update dependency @types/express to v5.0.1 ( #2398 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 02:46:55 +00: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
renovate[bot]
f4e9fad753
fix(deps): update dependency form-data to v4.0.2 ( #2365 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 23:05:32 +00:00
renovate[bot]
288a03f18d
chore(deps): update dependency tsup to v8.3.6 ( #2334 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-09 08:54:06 +00:00
renovate[bot]
4d2895084d
chore(deps): update dependency @types/lodash to v4.17.15 ( #2331 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-09 01:42:53 +00:00
renovate[bot]
358cfe378c
chore(deps): update dependency @types/lodash to v4.17.14 ( #2293 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 10:57:13 +00:00
Innei
9b6b2d5661
chore: update deps
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-19 14:51:07 +08:00
renovate[bot]
e37a885544
chore(deps): update dependency tsup to v8.3.5
2024-11-07 03:37:56 +00:00
renovate[bot]
bc6b7dbae2
chore(deps): update dependency @types/lodash to v4.17.13
2024-11-06 18:52:15 +00:00
renovate[bot]
0c71620fb8
chore(deps): update dependency @types/lodash to v4.17.12
2024-10-19 10:15:25 +00:00
Innei
1716c4d53c
chore: update deps
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-18 21:31:03 +08:00
renovate[bot]
6cf64d4c17
chore(deps): update dependency @types/lodash to v4.17.10
2024-10-07 03:55:43 +00:00
renovate[bot]
0a34e1dcd8
chore(deps): update dependency @types/express to v5
2024-09-26 06:04:22 +00:00
renovate[bot]
24101d0e40
chore(deps): update dependency @types/lodash to v4.17.9
2024-09-23 23:06:28 +00:00
Innei
3846410646
chore: update deps
...
Signed-off-by: Innei <i@innei.in >
2024-09-22 12:15:54 +08:00
renovate[bot]
99df94b2ad
chore(deps): update dependency express to v4.21.0 ( #2106 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 19:41:50 +08:00
Innei
f693486349
chore(release): bump @mx-space/api-client to v1.16.1
2024-09-17 15:55:03 +08:00
Innei
2f1a973e5e
feat: add comment editedAt
...
Signed-off-by: Innei <i@innei.in >
2024-09-17 15:53:11 +08:00
Innei
13f4a0cc5a
chore: sort asc controller
...
Signed-off-by: Innei <i@innei.in >
2024-09-14 20:31:55 +08:00
Innei
fa3e140d8d
chore(release): bump @mx-space/api-client to v1.16.0
2024-09-14 20:31:24 +08:00
renovate[bot]
7b7c053379
chore(deps): update dependency express to v4.20.0 [security] ( #2111 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 20:26:55 +08:00
Innei
26b2b4f134
feat: reader for comment and like action ( #2122 )
...
* init
Signed-off-by: Innei <i@innei.in >
* update
Signed-off-by: Innei <i@innei.in >
* feat: reader like activity
Signed-off-by: Innei <i@innei.in >
* feat: add comment
Signed-off-by: Innei <i@innei.in >
* feat: comment reader
Signed-off-by: Innei <i@innei.in >
---------
Signed-off-by: Innei <i@innei.in >
2024-09-14 20:26:18 +08:00
Innei
31b7750a71
chore(release): bump @mx-space/api-client to v1.15.0
2024-09-04 13:17:14 +08:00
Innei
bba36c2d1a
fix: auth jwt
...
Signed-off-by: Innei <i@innei.in >
2024-09-04 13:16:46 +08:00
Innei
9e80c376fa
chore(release): bump @mx-space/api-client to v1.14.3
2024-09-02 17:27:34 +08:00
Innei
02c213a176
fix: add handle for reader query
...
Signed-off-by: Innei <i@innei.in >
2024-09-02 17:26:36 +08:00
Innei
c7fdb43b0e
chore(release): bump @mx-space/api-client to v1.14.2
2024-09-02 17:03:40 +08:00
Innei
58917f673e
fix: add missing field
...
Signed-off-by: Innei <i@innei.in >
2024-09-02 17:03:20 +08:00
Innei
2e5e0b39e3
chore(release): bump @mx-space/api-client to v1.14.1
2024-09-02 16:53:10 +08:00
Innei
f7bce0279a
fix: transform case and export client type
...
Signed-off-by: Innei <i@innei.in >
2024-09-02 16:52:52 +08:00
Innei
50101bbbe3
chore(release): bump @mx-space/api-client to v1.14.0
2024-09-02 16:16:43 +08:00
Innei
33c48f743f
feat: add reader id for presence
...
Signed-off-by: Innei <i@innei.in >
2024-09-02 16:16:17 +08:00
Innei
34373f9578
chore(release): bump @mx-space/api-client to v1.13.2
2024-08-16 15:25:49 +08:00
Innei
c27ee8c28d
feat: image blur hash ( #2010 )
...
* feat: image blur hash
Signed-off-by: Innei <i@innei.in >
* fix: split util
Signed-off-by: Innei <i@innei.in >
* feat: refresh image
Signed-off-by: Innei <i@innei.in >
* fix: add logger
Signed-off-by: Innei <i@innei.in >
* chore: cleanup
Signed-off-by: Innei <i@innei.in >
* fix: update
Signed-off-by: Innei <i@innei.in >
---------
Signed-off-by: Innei <i@innei.in >
2024-08-16 15:20:22 +08:00
Innei
817b81a983
chore: format
...
Signed-off-by: Innei <i@innei.in >
2024-08-16 12:30:06 +08:00
renovate[bot]
36eccdaf15
chore(deps): update dependency tsup to v8.2.4
2024-08-02 19:17:59 +00:00
renovate[bot]
da98e89337
chore(deps): update dependency tsup to v8.2.3
2024-07-24 22:15:02 +00:00
renovate[bot]
eba5614fd4
chore(deps): update dependency tsup to v8.2.2 ( #1896 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 22:01:35 +08:00
renovate[bot]
ea41c2c677
chore(deps): update dependency tsup to v8.1.2
2024-07-19 19:04:49 +00:00