Commit Graph

26 Commits

Author SHA1 Message Date
LittleSheep
fc6edd7378 💥 Add /api prefix for json endpoints with redirect 2025-07-10 14:18:02 +08:00
LittleSheep
8432436fcf 🐛 Fix circular dependency in service injection 2025-06-27 23:16:28 +08:00
LittleSheep
f540544a47 Activity debug include 2025-06-27 22:35:23 +08:00
LittleSheep
3a978441b6 Sanitize text to remove hidden unicode and control characters 2025-06-07 22:06:57 +08:00
LittleSheep
7eabaf6a0d 🐛 Fix get chat controller 2025-06-02 12:40:34 +08:00
LittleSheep
88f9157ff8 🐛 Bug fixes and fixes 2025-06-02 11:56:10 +08:00
LittleSheep
00229fd406 💥 ♻️ Refactor cloud files' references, and loading system 2025-06-01 19:18:23 +08:00
LittleSheep
7dee2a15e7 💥 Update push notification 2025-06-01 02:51:39 +08:00
LittleSheep
a78e92a23a ♻️ Refactor the notification service to use gorush as push service 2025-06-01 01:04:20 +08:00
LittleSheep
5f69d8ac80 Better cloud file allocation and free in chat 2025-05-29 01:29:15 +08:00
LittleSheep
cbe913e535 Realtime call participants
🐛 Fix update, delete message wont send websocket packet
2025-05-25 19:48:33 +08:00
LittleSheep
8da8c4bedd Message attachments expires at 2025-05-24 03:21:39 +08:00
LittleSheep
213d81a5ca ♻️ Refactor the last read at system of chat 2025-05-24 01:29:17 +08:00
LittleSheep
a6ca869f29 🐛 Bug fixes 2025-05-23 01:46:35 +08:00
LittleSheep
19174de873 ❇️ Chat room summary api 2025-05-23 00:04:31 +08:00
LittleSheep
c597df3937 Typing indicator, mark as read server-side 2025-05-18 05:35:14 +08:00
LittleSheep
9576870373 💥 Switch all id to uuid 2025-05-14 20:03:52 +08:00
LittleSheep
fb07071603 Chat realtime calls 2025-05-07 00:47:57 +08:00
LittleSheep
573f984e2c Direct messages 2025-05-04 15:09:44 +08:00
LittleSheep
d0a92bc8b3 ♻️ Optimization in file uploading 2025-05-04 14:48:33 +08:00
LittleSheep
fa5c59a9c8 Chat room member managements 2025-05-03 20:42:52 +08:00
LittleSheep
196547e50f 🗃️ Add nonce column to chat messages and fix column typo
This migration adds a new "nonce" column to the "chat_messages" table to ensure message uniqueness or integrity. Additionally, it corrects a typo in the "members_mentioned" column name to improve consistency and clarity.
2025-05-03 13:16:18 +08:00
LittleSheep
f6acb3f2f0 🗑️ remove Casbin dependency and related configurations
Remove Casbin package references, configurations, and unused imports across multiple files. This change simplifies the codebase by eliminating unnecessary dependencies and reducing complexity.

 add new chat features and improve message handling

Introduce new chat features including message notifications, nicknames, and improved message handling. Enhance the WebSocket service to support new packet handlers and improve message delivery.

🗃️ add new migrations for chat-related changes

Add new migrations to support the latest chat features, including changes to chat members, messages, and reactions. These migrations ensure the database schema is up-to-date with the latest code changes.
2025-05-03 02:02:16 +08:00
LittleSheep
17de9a0f23 Add chat message handling and WebSocket integration
Introduce new `ChatService` for managing chat messages, including marking messages as read and checking read status. Add `WebSocketPacket` class for handling WebSocket communication and integrate it with `WebSocketService` to process chat-related packets. Enhance `ChatRoom` and `ChatMember` models with additional fields and relationships. Update `AppDatabase` to include new chat-related entities and adjust permissions for chat creation.
2025-05-02 19:51:32 +08:00
littlesheep.code
8b5ca265b8 :drunk: Vibe coded the controller which doesn't work 2025-05-01 18:11:44 +00:00
LittleSheep
b675b0550b 🗃️ Chat room modeling 2025-05-02 01:27:49 +08:00