Commit Graph

35 Commits

Author SHA1 Message Date
LittleSheep
cbfdb4aa60 ♻️ I have no idea what am I doing. Might be mixing stuff 2025-07-14 19:55:28 +08:00
LittleSheep
fc6edd7378 💥 Add /api prefix for json endpoints with redirect 2025-07-10 14:18:02 +08:00
LittleSheep
2e8d6a3667 🐛 Bug fixes 2025-06-28 01:28:20 +08:00
LittleSheep
661b612537 Chat and realm members with status 2025-06-27 23:24:27 +08:00
LittleSheep
5dd138949e 🐛 Fix update chat room failed 2025-06-27 22:54:50 +08:00
LittleSheep
1baa3109bc 🎨 Removed unused dependency injected services arguments in constructor 2025-06-21 14:32:59 +08:00
LittleSheep
c8b1c1ba55 Notification action URIs 2025-06-14 16:57:23 +08:00
LittleSheep
fcab12f175 Get another user with current user direct message API 2025-06-14 11:52:55 +08:00
LittleSheep
2fb29284fb 🐛 Fixes on notify level 2025-06-10 00:39:00 +08:00
LittleSheep
9e17be38d8 Notify level API on chat
🗃️ Enrich the settings of chat members
🐛 Fix role settings on both chat & realm
2025-06-09 23:32:37 +08:00
LittleSheep
f961469db1 🐛 Fix sending notification didn't set culture info for localization 2025-06-05 00:20:54 +08:00
LittleSheep
3c52a6d787 ✈️ Better migration to new cloud files reference system 2025-06-02 00:49:19 +08:00
LittleSheep
00229fd406 💥 ♻️ Refactor cloud files' references, and loading system 2025-06-01 19:18:23 +08:00
LittleSheep
a78e92a23a ♻️ Refactor the notification service to use gorush as push service 2025-06-01 01:04:20 +08:00
LittleSheep
b8c15bde1a 👔 The direct message no longer has name by default 2025-05-31 12:17:26 +08:00
LittleSheep
bb739c1d90 More & localized notifications 2025-05-28 01:50:14 +08:00
LittleSheep
2eff4364c9 Sort chat rooms by last message created at 2025-05-24 02:12:32 +08:00
LittleSheep
a86a0fef37 Better joining and leaving 2025-05-18 20:52:22 +08:00
LittleSheep
8d246a19ad Better leaving realm and chat 2025-05-18 20:31:54 +08:00
LittleSheep
cf9084b8c0 🐛 Bug fixes 💄 Optimizations 2025-05-18 20:05:15 +08:00
LittleSheep
5b9b28d77a No longer save file with same hash 2025-05-18 16:52:00 +08:00
LittleSheep
c597df3937 Typing indicator, mark as read server-side 2025-05-18 05:35:14 +08:00
LittleSheep
5951dab6f1 💥 Make chat room name, description optional 2025-05-17 23:10:39 +08:00
LittleSheep
27f934c634 DM groups 2025-05-17 22:36:46 +08:00
LittleSheep
d59dba9c02 🐛 Fix invites do not preload direct message members 2025-05-17 03:23:01 +08:00
LittleSheep
aabe8269f5 Action logs 2025-05-16 01:41:24 +08:00
LittleSheep
d7d4fde06a Wallet, payment, developer apps, feature flags of publishers
♻️ Simplified the permission check of chat room, realm, publishers
2025-05-15 00:26:15 +08:00
LittleSheep
9576870373 💥 Switch all id to uuid 2025-05-14 20:03:52 +08:00
LittleSheep
5844dfb657 Realm member listing apis 2025-05-04 23:36:47 +08:00
LittleSheep
573f984e2c Direct messages 2025-05-04 15:09:44 +08:00
LittleSheep
fa5c59a9c8 Chat room member managements 2025-05-03 20:42:52 +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
da6a891b5f Chat controller 2025-05-02 12:07:09 +08:00
littlesheep.code
8b5ca265b8 :drunk: Vibe coded the controller which doesn't work 2025-05-01 18:11:44 +00:00