25 Commits

Author SHA1 Message Date
ee7dc31b20 Add account statuses 2025-05-07 01:21:12 +08:00
fb07071603 Chat realtime calls 2025-05-07 00:47:57 +08:00
02aee07116 🐛 Post reaction fixes 2025-05-05 13:12:20 +08:00
7e7c8fe556 Uses markdown in post as rich text 2025-05-05 01:07:10 +08:00
d0a92bc8b3 ♻️ Optimization in file uploading 2025-05-04 14:48:33 +08:00
fa5c59a9c8 Chat room member managements 2025-05-03 20:42:52 +08:00
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
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
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
da6a891b5f Chat controller 2025-05-02 12:07:09 +08:00
b1543f5b08 File compression duplicate 2025-05-01 19:19:58 +08:00
0f9e865c0b Compressed duplication of image files 2025-05-01 15:29:52 +08:00
84a88222bd 🐛 Bug fixes and improvements 2025-05-01 00:47:26 +08:00
0ebeab672b Magic spell for one time code
🗑️ Drop the usage of casbin
♻️ Refactor the permission service
♻️ Refactor the flow of creating an account
🧱 Email infra structure
2025-04-29 20:37:10 +08:00
e8c3219ef0 🗃️ Set up permission nodes db models 2025-04-28 00:13:18 +08:00
cb7179aa27 Notification service 2025-04-27 23:44:22 +08:00
fb1de3da9e Posting 2025-04-19 19:55:41 +08:00
0e3b88c51c Publisher API 2025-04-19 14:41:34 +08:00
f9701764f3 Relationships controllers 2025-04-17 23:54:35 +08:00
cec8c3af81 🗃️ Add account relationships 2025-04-16 01:16:35 +08:00
4512f47299 Account profile
💥 Merge migrations
2025-04-14 22:36:41 +08:00
d22a15c42d File uploading 2025-04-13 13:50:30 +08:00
5cef6d72e4 Casbin permission check 2025-04-11 00:23:55 +08:00
71f05154af Basic auth 2025-04-10 01:03:02 +08:00
c39fdceeb6 🎉 Initial Commit 2025-04-08 23:26:23 +08:00