Commit Graph

63 Commits

Author SHA1 Message Date
LittleSheep
ee7dc31b20 Add account statuses 2025-05-07 01:21:12 +08:00
LittleSheep
fb07071603 Chat realtime calls 2025-05-07 00:47:57 +08:00
LittleSheep
02aee07116 🐛 Post reaction fixes 2025-05-05 13:12:20 +08:00
LittleSheep
2206676214 🐛 Fixes bugs 2025-05-05 01:49:59 +08:00
LittleSheep
7e7c8fe556 Uses markdown in post as rich text 2025-05-05 01:07:10 +08:00
LittleSheep
1c361b94f3 Post reactions 2025-05-05 00:58:28 +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
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
46054dfb7b ♻️ Better way to vectorize quill delta 2025-05-03 00:06:01 +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
LittleSheep
b675b0550b 🗃️ Chat room modeling 2025-05-02 01:27:49 +08:00
LittleSheep
e4031478b5 Realms 2025-05-02 01:06:59 +08:00
littlesheep.code
a6463feee4 Vibe coded the RealmControler 2025-05-01 16:17:22 +00:00
LittleSheep
30db6ad9f1 🗃️ Realm database modeling 2025-05-02 00:08:21 +08:00
LittleSheep
24f1a3a9e9 Truncated the post's body to prevent them from being too long 2025-05-01 23:49:17 +08:00
LittleSheep
f7e926ad24 Listing post activities 2025-05-01 23:13:31 +08:00
LittleSheep
b1543f5b08 File compression duplicate 2025-05-01 19:19:58 +08:00
LittleSheep
0f9e865c0b Compressed duplication of image files 2025-05-01 15:29:52 +08:00
LittleSheep
bf64afd849 Activity-based browsing 2025-05-01 14:59:28 +08:00
LittleSheep
42b5129aa4 🐛 Fixes System.NotSupportedException: WebSockets are not supported 2025-05-01 01:22:02 +08:00
LittleSheep
84a88222bd 🐛 Bug fixes and improvements 2025-05-01 00:47:26 +08:00
LittleSheep
758186f674 🐛 Fix swaggergen 2025-04-30 01:08:59 +08:00
littlesheep.code
3637225d23 🧱 Vide coded the websocket controller 2025-04-29 17:07:00 +00:00
LittleSheep
8417d766e3 🐛 Bug fixes in permission management 2025-04-29 22:18:40 +08:00
LittleSheep
35792efa9f 🐛 Fix magic spell and email service 2025-04-29 21:54:34 +08:00
LittleSheep
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
LittleSheep
82288fa52c 🐛 Fix the permission group member uses the singular form as the name 2025-04-28 00:15:39 +08:00
LittleSheep
e8c3219ef0 🗃️ Set up permission nodes db models 2025-04-28 00:13:18 +08:00
LittleSheep
d343ac5fb8 🧱 Setup for the websocket 2025-04-27 23:56:57 +08:00
LittleSheep
bd7e589681 Notification APIs 2025-04-27 23:52:41 +08:00
LittleSheep
cb7179aa27 Notification service 2025-04-27 23:44:22 +08:00
LittleSheep
3080e273cb Add rate limiter 2025-04-26 12:24:32 +08:00
LittleSheep
38b7e8c1a1 🐛 Bug fixes 2025-04-25 23:13:15 +08:00
LittleSheep
c8e9f73746 🐛 Fix unable to inject http client factory 2025-04-23 22:17:02 +08:00
LittleSheep
a008a74d77 Recaptcha 2025-04-23 01:18:12 +08:00
LittleSheep
31db3d5388 🐛 Fix bugs 2025-04-23 00:30:25 +08:00
LittleSheep
c43ff6be7b 🐛 Bug fixes on posts and publishers 2025-04-19 23:51:27 +08:00
LittleSheep
fb1de3da9e Posting 2025-04-19 19:55:41 +08:00
LittleSheep
0e3b88c51c Publisher API 2025-04-19 14:41:34 +08:00
LittleSheep
f9701764f3 Relationships controllers 2025-04-17 23:54:35 +08:00
LittleSheep
cec8c3af81 🗃️ Add account relationships 2025-04-16 01:16:35 +08:00
LittleSheep
701a5d3882 🐛 Fix post-upload meta update override all cloud file data 2025-04-16 00:46:22 +08:00
LittleSheep
9cffd8383e Timed tasks
🐛 Bug fixes
2025-04-16 00:18:59 +08:00
LittleSheep
c901781323 🐛 Bug fixes 2025-04-15 01:07:42 +08:00