Commit Graph

332 Commits

Author SHA1 Message Date
CrescentLeaf
bc11034892 feat(wip): declare Message 2025-09-08 23:18:13 +08:00
CrescentLeaf
dfe8b27a12 feat(wip): 聊天頁面的消息列表, 自己索引消息 2025-09-08 23:17:59 +08:00
CrescentLeaf
5eb7e0018a feat(untestes): setAvatar 2025-09-08 23:17:28 +08:00
CrescentLeaf
b3015084a6 feat(wip): sendMessage getMessageHistory 2025-09-08 23:17:05 +08:00
CrescentLeaf
316fd140bc feat: BaseApi 兩個 Token 檢查方法 2025-09-08 23:16:41 +08:00
CrescentLeaf
3cb9bcc148 chore: Token.ts 單獨成類 2025-09-08 23:16:17 +08:00
CrescentLeaf
4ca3bd44da fix: missing File.getHash 2025-09-08 22:46:31 +08:00
CrescentLeaf
39c1473c57 chore: fuck lint and make it happy 2025-09-08 22:45:46 +08:00
CrescentLeaf
3c3beebfc5 fix: wrong Crypto->E<-S 2025-09-08 22:44:53 +08:00
CrescentLeaf
9b3a24e37a chore: make lint unhappy 2025-09-08 21:33:38 +08:00
CrescentLeaf
182236964b chore: 更加豐富的顔色! 2025-09-08 21:31:17 +08:00
CrescentLeaf
a3920f9084 fix: 訪問令牌失效判定邏輯錯誤 2025-09-08 21:31:01 +08:00
CrescentLeaf
45aef8204a fix: CryptoES -> CryptoJS 2025-09-08 21:26:09 +08:00
CrescentLeaf
e2c385b559 fix: token not stored after login 2025-09-08 21:22:22 +08:00
CrescentLeaf
4a942f1e77 chore: remove unused window exportion 2025-09-08 21:20:53 +08:00
CrescentLeaf
fb541849b4 fix: LocalDataStorage 2025-09-08 21:18:58 +08:00
CrescentLeaf
9e92fad8fa chore: colorful console.log :) 2025-09-08 20:19:36 +08:00
CrescentLeaf
3617292409 chore: add salt&key in config 2025-09-08 03:10:57 +08:00
CrescentLeaf
a3fc61494e feat: token 2025-09-08 03:10:45 +08:00
CrescentLeaf
fa62180667 feat: login & register 2025-09-08 03:10:36 +08:00
CrescentLeaf
e60c1cf1c4 feat: user password 2025-09-08 03:10:26 +08:00
CrescentLeaf
7e60e4a4be chore: add checkArgsEmpty 2025-09-08 03:09:56 +08:00
CrescentLeaf
f3a9cb8641 chore: add DataWrongError 2025-09-08 03:09:41 +08:00
CrescentLeaf
c577797e57 chore: add DataWrongError 2025-09-08 03:09:21 +08:00
CrescentLeaf
3a7e4970d4 ui: login & register 2025-09-08 03:09:05 +08:00
CrescentLeaf
0e14bb9a45 dep: add socket.io-client 2025-09-08 03:08:11 +08:00
CrescentLeaf
2869a77abd chore: add mising "id" 2025-09-07 22:30:45 +08:00
CrescentLeaf
913d1f395f chore: make lint UNHAPPY 2025-09-07 22:30:31 +08:00
CrescentLeaf
abf06c71af chore: useEventListener allow Ref<null> 2025-09-07 21:53:53 +08:00
CrescentLeaf
afeab61468 chore: make lint unhappy 2025-09-07 21:53:26 +08:00
CrescentLeaf
f06e93ef06 ui: add snackbar util 2025-09-07 20:07:06 +08:00
CrescentLeaf
71b368a5ac feat: 在服務端重新編譯前端 2025-09-07 18:21:49 +08:00
CrescentLeaf
1a69b521e6 chore: 2025-09-07 13:08:55 +08:00
CrescentLeaf
47233fbe58 chore: useEventListener -> TS 2025-09-07 13:04:13 +08:00
CrescentLeaf
5b5845db14 chore: ReactDOM <- react-dom/client 2025-09-07 13:00:45 +08:00
CrescentLeaf
c752f13d22 chore: make lint happy 2025-09-07 12:59:07 +08:00
CrescentLeaf
427393a747 chore: Debug with --watch 2025-09-07 12:53:08 +08:00
CrescentLeaf
d587b32a0a chore: 修改 VSCode 調試配置 2025-09-07 12:49:42 +08:00
CrescentLeaf
25320fe521 refactor: 推翻舊架構, 進入 Vite 盛世!
* 所有的 CDN 依賴已全部 npm 化
* Webpack? 一邊去! Vite 太好用啦!
* 將 Imports.ts 剔除
* 移除了大量的靜態文件
* 將 index.html 的部分代碼分離
* 修改 deno task
* 移除了動態編譯頁面的支持
* ./static 引用全部變更為 npm 包引用
2025-09-07 12:49:09 +08:00
CrescentLeaf
b6140063c7 chore: localfied react, react-dom and crypto-es 2025-09-06 23:28:50 +08:00
CrescentLeaf
22b8269c4b chore: ignore .d.ts compileing 2025-09-06 23:28:27 +08:00
CrescentLeaf
e4a0094b3e fix(?): SplitJS init after React Component inited 2025-09-06 23:27:22 +08:00
CrescentLeaf
d0c9465498 將部分依賴存放本地, 添加針對移動端的報錯提示, 修正 CryptoES 的導出以及 Utf8 的引用, 忽略編譯靜態庫文件 2025-09-06 22:09:33 +08:00
CrescentLeaf
3c02b55a9b fix: wrong typedef import path 2025-09-06 18:32:54 +08:00
CrescentLeaf
32369ec3bd fix: allow 'declare' modifier while compiling 2025-09-06 16:43:05 +08:00
CrescentLeaf
2d92fffb55 feat(wip): User & RecentChat in client 2025-09-06 16:40:49 +08:00
CrescentLeaf
e8f97d9131 ui: 微調輸入框的邊距 2025-09-06 16:40:32 +08:00
CrescentLeaf
8a1ff9ac23 chore: 使用 TS 重構部分 React 組件, 引入 Mdui 部分組件的類型定義 2025-09-06 16:40:17 +08:00
CrescentLeaf
7553c5b281 chore: apply rename: types -> typedef 2025-09-06 16:37:53 +08:00
CrescentLeaf
7c616a2dac chore: rename types -> typedef 2025-09-06 16:37:22 +08:00