oxidetalis/crates
Awiteb 8888bf2d60
feat: Chat request implementation
In this patch, I have implemented the chat request and response from OTMP
protocol. The changes include:
- New `in_chat_request` and `out_chat_request` database tables
- New `users_status` table to store user status (whitelisted or blacklisted)
- New server events:
    - `ChatRequest` To send chat request comes from some user
    - `ChatRequestResponse` To send chat request response to some user
- New client events:
    - `ChatRequest` To send chat request to some user
    - `ChatRequestResponse` To send chat request response to some user
- `ws_errors` macro to create websocket errors
- `/user/whitelist` and `/user/blacklist` API to list whitelisted and
blacklisted users

Fixes: #2
Reviewed-on: #14
Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
Helped-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-23 00:18:36 +03:00
..
oxidetalis feat: Chat request implementation 2024-07-23 00:18:36 +03:00
oxidetalis_config change: Use Scalar as default openapi UI 2024-07-23 00:18:36 +03:00
oxidetalis_core chore: Remove sign and verify function logs` 2024-07-04 17:38:42 +03:00
oxidetalis_entities feat: Chat request implementation 2024-07-23 00:18:36 +03:00
oxidetalis_migrations feat: Chat request implementation 2024-07-23 00:18:36 +03:00