Commit Graph

37 Commits

Author SHA1 Message Date
laoxong 355ea8963b Fix: Protocol implementation error
Build and Push Docker Image / build_docker_image (push) Has been cancelled
2025-12-01 01:33:50 +09:00
laoxong 61924823a6 Fix: Fitter 'OR' Error 2025-11-23 21:05:08 +09:00
laoxong e8244a50e9 fix: 修正 Docker Hub 仓库名称
Build and Push Docker Image / build_docker_image (push) Successful in 15m16s
2025-11-23 19:50:24 +09:00
laoxong 98aa3060ce fix: 添加缺失的支持NIP 2025-11-23 19:48:44 +09:00
laoxong e09676582d Fix: wrong logic
Build and Push Docker Image / build_docker_image (push) Successful in 16m20s
2025-11-23 19:23:19 +09:00
laoxong 7dbca66b2f Add: Sqlite Connect Options
Build and Push Docker Image / build_docker_image (push) Successful in 13m50s
2025-10-22 13:39:29 +09:00
laoxong a59235cb8c refactor: 更优雅地处理客户端断开连接
Build and Push Docker Image / build_docker_image (push) Successful in 14m39s
改进对 WebSocket 客户端断开连接的处理,以防止日志中出现大量错误。

主要变更:
- 将关闭 channel 导致的发送失败日志级别从 error 降为 debug,因为客户端断开是正常操作。
- 在尝试发送消息(包括实时事件和历史事件)之前,主动检查客户端 channel 是否已关闭。
- 当检测到 channel 关闭时,及时终止发送任务,以确保资源被迅速清理并防止任务卡死。
2025-10-20 22:57:07 +09:00
laoxong b64ec550e0 refactor: Remove unused imports and handle unused results
Build and Push Docker Image / build_docker_image (push) Successful in 16m28s
This commit performs general code cleanup to improve quality and address compiler warnings.

Unused import statements have been removed from several files, including `HashSet`, `anyhow`, `log::error`, `serde::Deserialize`, and `serde_json::Value`. This declutters the code and makes dependencies clearer.

Additionally, the `Result` returned by `RelayMessage::send_ok` and `RelayMessage::send_notice` is now explicitly ignored. This resolves `must_use` warnings for these fire-and-forget message sending functions, where error handling is not critical to the application's flow.
2025-09-22 16:56:00 +08:00
laoxong 7ac67102ef Update README.md
Build and Push Docker Image / build_docker_image (push) Successful in 8m15s
2025-08-07 00:41:23 +08:00
laoxong 70da823c43 Update README.md
Build and Push Docker Image / build_docker_image (push) Has been cancelled
2025-08-07 00:38:44 +08:00
laoxong e9bfb2b667 Update README.md
Build and Push Docker Image / build_docker_image (push) Has been cancelled
2025-08-07 00:35:14 +08:00
laoxong d7de8b8f8f Feat: Adjust the log level
Build and Push Docker Image / build_docker_image (push) Successful in 8m31s
2025-08-07 00:15:23 +08:00
laoxong fb7a633d14 Fix auth_required comparison 2025-08-04 03:18:48 +08:00
laoxong 8ba270156a Update README.md 2025-08-04 03:01:53 +08:00
laoxong 604603785e Fix: author filtering
Build and Push Docker Image / build_docker_image (push) Successful in 8m3s
2025-08-04 02:56:57 +08:00
laoxong 14ee46a24b Remove Docker cache configuration
Build and Push Docker Image / build_docker_image (push) Successful in 8m9s
2025-08-04 02:43:09 +08:00
laoxong 6c42d5d654 Add: Split main.rs
Build and Push Docker Image / build_docker_image (push) Failing after 9m40s
2025-08-04 02:01:16 +08:00
laoxong 02a59d2bbc Fix: Event Verification
Build and Push Docker Image / build_docker_image (push) Failing after 21s
2025-08-03 23:14:28 +08:00
laoxong 652ecf560d Add: CI/CD workflows for Docker build 2025-08-03 20:32:09 +08:00
laoxong 45f978af9e Fix: Remove Disconnected Client 2025-08-03 16:11:18 +08:00
laoxong 008f4b2ede Add: Whitelist AUTH 2025-06-30 01:33:13 +08:00
laoxong c912244bd7 Add: AUTH 2025-06-29 01:06:21 +08:00
laoxong 4e7010c730 Ver: 0.0.4 2025-06-16 00:05:20 +08:00
laoxong 6d1b9431d3 Add: REQ 2025-06-15 23:24:33 +08:00
laoxong 1bc3afbff1 Add: HTML UI, Add: More Query 2025-06-15 22:19:33 +08:00
laoxong 3fe12a5fbd Add: README,md 2025-06-02 23:35:17 +08:00
laoxong d5e491de52 Add: Docker build 2025-06-02 23:31:11 +08:00
laoxong 51ba0cbaed Fix: Reply; Add: Docker build 2025-06-02 23:30:52 +08:00
laoxong 1bcae2baba Fix: SELECT SQL 2025-06-02 22:57:28 +08:00
laoxong 6ad3e0fd1d Fix: Save EVENT SQL 2025-06-02 22:10:53 +08:00
laoxong 150635ac17 Docker build 2025-06-02 21:38:47 +08:00
laoxong 2251bd30e8 RelayMessage 2025-06-02 21:07:42 +08:00
laoxong d5758404f7 Avoid SQL injection 2025-05-30 22:35:22 +08:00
laoxong 0e78099742 HTTP Respond 2025-05-30 22:10:54 +08:00
laoxong 2785fa3932 NIP-5 2025-05-30 20:29:57 +08:00
laoxong 034fd4a3c5 NIP-2 2025-05-30 20:14:25 +08:00
laoxong 441cdaf276 First init 2025-05-26 20:16:40 +08:00