Commit Graph

434 Commits

Author SHA1 Message Date
bbd4eae95f Added better logging for packets and payloads and now the writer is
responsible for packaging into a packet the payload (instead of everyone
who sends to the writer)
2025-07-06 18:20:46 +03:00
d447505072 Added error handling and logging for log file rotation 2025-07-06 15:10:20 +03:00
21b4d14a2f Fixed issues with timeout() function on the server and added automatic
log rotation every midnight (if the server is running at that time)
2025-07-06 15:04:08 +03:00
f80cb4a0fe Implemented server-side authentication in accordance to the protocol 2025-07-06 14:40:32 +03:00
e734449259 Added terms of service (incomplete!!!!) to the server, and added
authentication separation between API calls, actually authentication
(nonce, and verification) is not implemented yet
2025-07-06 00:51:33 +03:00
8f8736d09e Updated protocol spec to new V2 version 2025-07-05 23:24:17 +03:00
5f8ab176b6 Added new packet types to facilitate TOS acceptance, Authentication and
re-authentication for sensitive information updates
2025-07-05 22:35:34 +03:00
9199959cf4 Made check-ci.sh more user friendly 2025-07-05 22:35:18 +03:00
94ccbc282b Refactored server connection handling, still missing TOS and auth
handling
2025-07-05 19:50:13 +03:00
317bc967e6 Added extra info in user settings, fixed typos in help popups and
refactored some log statements
2025-07-05 11:30:16 +03:00
2d1408598a Added ctxkeys package to better handle addition context when logging and
partially integrated it with keys for user id and ip addr
2025-07-03 20:46:29 +03:00
635db98044 Replaced log with slog, preparing to migrate all logs to slog 2025-07-03 19:34:52 +03:00
eb219cab1a Completed check-ci.sh and made ci pass 2025-07-03 14:54:38 +03:00
b0681791e3 Fixed ci based on check-ci (incomplete) 2025-07-03 14:44:28 +03:00
b951d00f79 Added (incomplete) check-ci.sh for locally checking ci before
pushing/opening a PR
2025-07-03 14:43:37 +03:00
875a5576db Updated env var names and added a log dir env var 2025-07-03 14:34:17 +03:00
b6b2695925 Changed deployment directory from /srv/eko to /var/lib/eko 2025-07-03 14:16:01 +03:00
bb6b93eefd Fixed selected signal not rendering notifications with the proper
background
2025-06-08 11:56:31 +03:00
904134789e Optimized OnNewMessageReceived by only calling it when there is a
single message
2025-06-08 11:14:15 +03:00
3e0210fd13 Chat properly handles and displays the "new message separator" 2025-05-24 17:50:44 +03:00
d10f09fa85 Fixed typo oudated -> outdated 2025-05-24 16:55:26 +03:00
82d26314eb Chat correctly renders "new message separator" given correct inputs
Note this commit doesn't fix the updating so the input is considered
incorrect, will be addressed in the next commit
2025-05-24 16:50:19 +03:00
1329a98584 Refactored minor things and added a terminology.md file which will be
expanded later
2025-05-24 15:09:08 +03:00
8aa5cbb72e Fixed packet loss bug due to client not waiting before exiting for the
writes to fully proccess
2025-05-23 10:30:24 +03:00
d6a2eda646 Improved database error logging in server api 2025-04-29 19:12:55 +03:00
89fc704d80 Added string method to PacketType and improved server logging messages a
bit
2025-03-11 22:03:24 +02:00
98da6df0be Fixed bug where the client would log an error message when
disconnecting, instead of gracefully disconnecting
2025-03-11 22:02:31 +02:00
439af03aeb Limit chars of username client side to avoid getting an error from the
server
2025-02-28 21:26:10 +02:00
0afb682db1 Added the ability to view user profiles 2025-02-28 21:23:43 +02:00
77163cac1d Added indicator (white-colored name) for user messages in freuqencies
where the users have left
2025-02-13 16:56:29 +02:00
cfc5fa3d5e Users that are no longer members (left/kicked/banned) now get fetched
and show their names properly in messages
2025-02-13 16:49:07 +02:00
ab4b010e95 Pings are no longer visible in messages of blocked users 2025-02-12 13:20:34 +02:00
8d28f17a44 Fixed block icon background in chat not having a proper background color 2025-02-12 13:17:53 +02:00
66983fb028 Added blocking/unblocking of users using b/u (user settings are now s
instead of "u")
2025-02-12 13:08:49 +02:00
976d3683f9 Added blocked user indicator (currently only in signal chat) 2025-02-10 19:48:07 +02:00
ccea2247c0 Added a way to block/unblock users client-side 2025-02-10 19:36:07 +02:00
a496d59fd6 Implemented blocking on the server-side 2025-02-10 19:27:24 +02:00
c0e615133c Renamed instances of "trusteds" to "trusted users" to be grammatically
correct
2025-02-10 19:01:30 +02:00
6c54b5fe62 Chat actions are now handled appropriately for both frequency and signal 2025-02-10 18:46:39 +02:00
6c2cbda99d Removed unused dark purple color and help popup now uses darker cyan for
keybindings
2025-02-10 18:32:22 +02:00
75228d04d0 Fixed issue where colors would save to config when they were empty json
array rather than null, now both [] and null are not saved
2025-02-10 18:24:40 +02:00
9da5aa5be4 @everyone is now sent as normal text when a user doesn't have permission
to send it (instead of just disappearing)
2025-02-10 18:04:38 +02:00
5eb32d5556 Select the first entry in banlist if there is at least 1 entry 2025-02-10 17:52:47 +02:00
93500cdd8b Fixed edited indicator not matching the background when a message was
ping-highlighted
2025-02-10 17:40:10 +02:00
56e658c7db Changed darkening factor to be more noticeable by making it darker 2025-02-10 17:30:43 +02:00
4b3b9ace72 Chat now properly darkens colors when there is a popup 2025-02-10 17:24:15 +02:00
f72792e27a Frequencylist now properly darkens custom colors from frequencies and
the network banner
2025-02-10 17:00:59 +02:00
1c4ecdebee Networklist now properly darkens custom colors from networks 2025-02-10 16:57:30 +02:00
20bea80313 Fixed darkening issues for auth 2025-02-09 19:43:20 +02:00
83996ab9c3 Added background darkening when opening popups (certain things currently
don't get darkened)
2025-02-09 19:08:40 +02:00