Commit Graph

291 Commits

Author SHA1 Message Date
CrescentLeaf
7bf5921298 chore: MAKE LINIT HAPPT 2025-08-29 23:43:24 +08:00
CrescentLeaf
f79fe55fe5 chore: MAKE LINIT HAPPT 2025-08-29 23:43:09 +08:00
CrescentLeaf
91bfbcb3b3 docs: add readme 2025-08-29 22:51:03 +08:00
CrescentLeaf
7e30956c31 修改用戶頭像上傳邏輯, 更換 FileManager 方法為同步 2025-08-27 11:39:33 +08:00
CrescentLeaf
dd96264ce0 fix: User&Chat.Settings with wrong params 2025-08-27 10:19:34 +08:00
CrescentLeaf
d3a2fc55bd ignore deno.lock 2025-08-17 17:56:29 +08:00
CrescentLeaf
72812225d4 UserApi 继承 BaseApi 方法 2025-08-16 16:07:41 +08:00
CrescentLeaf
4a35510192 进一步完善 ApiManager 2025-08-16 16:07:24 +08:00
CrescentLeaf
8909a8d5f6 修改 BaseApi 初始化函數命名 2025-08-16 16:07:08 +08:00
CrescentLeaf
7b89eb7c93 fix(depend): Socket.io 版本號 2025-08-16 16:06:35 +08:00
CrescentLeaf
d68878a819 depend: add express and socket.io 2025-08-16 16:02:19 +08:00
CrescentLeaf
f33f11fc63 修正 UnknownFunction 的導出 2025-08-16 15:32:58 +08:00
CrescentLeaf
33033d3504 (wip) Webpack 2025-08-16 15:31:11 +08:00
CrescentLeaf
a491b6206f 修正正確的 HttpServerLike 導出 2025-08-16 15:30:53 +08:00
CrescentLeaf
1906ad8c07 修正 ApiManager 成員的靜態性 2025-08-16 15:30:39 +08:00
CrescentLeaf
71e23940c8 Merge branch 'main' of codeberg.org:CrescentLeaf/TheWhiteSilk 2025-08-16 11:58:51 +08:00
CrescentLeaf
a37011d53f update deno.lock 2025-08-16 11:50:18 +08:00
CrescentLeaf
76c71cfe47 将 ChatBean 和 UserBean 的 interface 定义更换为 class 2025-08-16 10:52:33 +08:00
CrescentLeaf
0000eeead2 初步编写网络接口相关类 2025-08-14 12:07:28 +08:00
CrescentLeaf
581a6acc52 添加 http(s).Server 和任意 Function 的类型定义 2025-08-14 12:06:15 +08:00
CrescentLeaf
c23ce07c85 实现了 User 类中的 Settings 2025-08-14 12:05:06 +08:00
CrescentLeaf
163e9d97c2 修正 Chat.ts 中对 table_name 的引用, 实现 Settings 类 2025-08-14 12:04:22 +08:00
CrescentLeaf
b39be9301d 修正 FileManager.uploadFile, 添加更多元数据, 修正一个无法被 lint 的错误
其中, 修正 lint 是把 FileBean 从 interface 换成了 class 定义
2025-08-14 12:01:08 +08:00
CrescentLeaf
1eb8b50b78 feat: File Manager (wip)
- 用于集中管理各类文件, 并清理长期未被访问的文件
2025-08-05 23:42:06 +08:00
CrescentLeaf
4c058d1583 depend: add file-type 21.0.0 2025-08-05 23:41:25 +08:00
CrescentLeaf
518f952c24 fix: 创建时检查用户名失效
- 更改了查询结果过多无法正确处理的情况 (当查询结果 > 1 时, 也判定为用户不存在)
  - 添加了用户名, 用户ID 重复时的控制台警告

  chore: 为 SQL 语句添加分号
2025-08-05 17:03:55 +08:00
CrescentLeaf
f933a809ae feat: createUser with UserName check 2025-08-05 16:39:50 +08:00
CrescentLeaf
785f903cd1 chore: rename a function which may cause understanding mistakes 2025-08-05 16:16:14 +08:00
CrescentLeaf
618d2ac736 fix: create User returned User with Bean[] not Bean 2025-08-05 16:12:12 +08:00
CrescentLeaf
c4400ac651 fix: SQL statement error while creating User 2025-08-05 16:05:33 +08:00
CrescentLeaf
d0b5890b99 initial
1. 修复 ignore
2. 推翻旧后端代码全部重写, 使用 SQLite
2025-08-01 22:53:05 +08:00
CrescentLeaf
0ecd6c6585 chore: config deno project 2025-08-01 22:51:47 +08:00
CrescentLeaf
2aa33ef814 chore: create ignore file 2025-08-01 22:51:30 +08:00
CrescentLeaf
c2ccdfa594 chore: 删除旧项目的文件 2025-07-29 19:22:57 +08:00
CrescentLeaf
200a867171 移動文件 2025-07-16 22:52:58 +08:00
CrescentLeaf
930a9c6c07 Merge branch 'main' of codeberg.org:CrescentLeaf/TheWhiteSilk 2025-07-14 22:26:48 +08:00
CrescentLeaf
89e730496f 好亂( 2025-07-14 22:26:13 +08:00
CrescentLeaf
c8c80685ec buzhidao 2025-07-14 21:51:36 +08:00
CrescentLeaf
c80fa5cd3c User.ts: 更新 TypeScript 定義 2025-07-13 00:32:30 +08:00
CrescentLeaf
ce39f1c081 Merge branch 'main' of codeberg.org:CrescentLeaf/TheWhiteSilk 2025-07-07 19:56:58 +08:00
CrescentLeaf
6698e2f6ae User.ts 2025-07-07 19:56:45 +08:00
CrescentLeaf
d235c84ef5 Merge remote-tracking branch 'origin/main' 2025-06-22 09:33:39 +08:00
CrescentLeaf
f27e49324c chore: 修正數據目錄名稱 2025-06-22 09:30:03 +08:00
CrescentLeaf
283bc7e296 feat: add User data manager & User Database 2025-06-15 22:44:45 +08:00
CrescentLeaf
f337896c66 chore: updated deno.lock 2025-06-15 22:41:43 +08:00
CrescentLeaf
3365bf884a feat: HTTP Server (WIP) 2025-06-15 22:41:22 +08:00
CrescentLeaf
9efd9ebd1d chore: make lint happy, add database dir 2025-06-15 22:40:03 +08:00
CrescentLeaf
1d8781e537 chore: make lint happy 2025-06-15 09:38:39 +08:00
CrescentLeaf
a18b5923bf chore: 修正主數據目錄名稱 2025-06-15 09:36:25 +08:00
CrescentLeaf
0160c415c8 chore: 更新 .gitignore 2025-06-15 00:30:18 +08:00