Commit graph

7 commits

Author SHA1 Message Date
79ef0d2448
refactor: Update public key column type from String to PublicKey
All checks were successful
DCO checker / DCO checker (pull_request) Successful in 8s
Rust CI / Rust CI (pull_request) Successful in 5m48s
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-23 02:56:01 +03:00
62cfc1bd07
chore: Use oxidetalis_core in oxidetalis_entities
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-23 02:56:01 +03:00
3e4141f30e
docs: Add detailed descriptions to files header
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-23 00:18:39 +03:00
d3597863e6
chore: Update the copyright
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-23 00:18:37 +03:00
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
d7f149f436
chore: Remove whitespace
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-01 11:29:29 +03:00
7e3558d776
chore: Initialize the project
Signed-off-by: Awiteb <a@4rs.nl>
2024-06-26 23:05:17 +03:00