Devlogs
Made a bias towards stability
Hi, folks! โ๏ธ How are you?
Here's a new update of the app! ๐ (Available only for Linux ๐ง yet)
Bug fixing:
- Fixed the crashing of the app in CLI mode, when a client send some message.
- When a server receives some message from someone, it doesn't write this message to its DB anymore.
- Fixed the crashing of the app when the same client connect to a server twice.
- Rebasing of the source code of the network's part.
- Separation of pers_info.cpp and contacts_list.cpp.
- Increased the app's security (Now a server checks users' ids from its buffer)
Example:
from_user = net.GetSocketID(packet.GetSocket());
std::string packet_to_send = PacketPacker::PackMessage(from_user, to_user, content);
- I noticed that in the third previews' screenshot there was "User" instead of usernames. But now... it also was fixed! (Not only on screenshots)
Features:
- When a server was shutdown, clients comes to the connection screen.
- When you connect to a server, you sends your invitations again.
- Offline/Online status icons for the contacts' list.
- Now a server creates IDs for clients, but it doesn't otherwise yet.
- Embed the assets (And now libzip isn't required)
Small changes:
- Now when you send a file, you will see: "You have send... ...to this user!" instead of "You have send to... ...OWvRfun9xfmtEuUNOn3Y9FeoHKzuiySg". It seems more pretty.
- Avatar placeholder is changed.
Before you can use this app, you will need to install some dependencies ๐ฆ
For Debian (Bookworm ๐ชฑ) and Ubuntu based Linux distributions ๐ง
sudo apt install libsdl2-2.0-0 libsdl2-net-2.0-0 libsqlite3-0 libcrypto++8 libjson-c5 -y
For Arch based Linux distributions ๐ง
sudo pacman -Syy sdl2-compat sdl2_net sqlite crypto++ json-
This is an Open-Source app, so you can see its source code on the app's Codeberg ๐๏ธ page ๐ https://codeberg.org/xolatgames/crisps-chat
And that's all! See you later! ๐