Commit Graph

449 Commits

Author SHA1 Message Date
3a0da9f4bb Fixed bug where TOS and privacy policy would be stored as a []byte
instead of a string which would cause inconsistency in atomics
2025-07-08 22:54:51 +03:00
966b9c4f24 Fixed bug of negation of prod flag 2025-07-08 22:44:42 +03:00
d16a8d00db Added log line to indicate production vs development 2025-07-08 22:35:28 +03:00
961483fd1c Fixed typo in github workflows 2025-07-08 22:29:47 +03:00
f255c81497 Slight changes to pass CI 2025-07-08 22:24:35 +03:00
d9f7b03de8 Added webserver to serve the TOS and Privacy Policy all the time 2025-07-08 21:49:18 +03:00
a3a623074f Updated tos/privacy policy to clearly indicate their are a stub for
development purposes such as running the server locally.
2025-07-08 19:33:03 +03:00
046b17959f Finished implementing authentication on the client-side 2025-07-08 19:10:26 +03:00
56acb0d51e Color coded accept/decline in TOS page 2025-07-08 18:35:20 +03:00
a34919da2f Refactored client side to comply with protocol changes, implemnted tos
screen model, still missing accept/decline and authentication
2025-07-08 17:53:36 +03:00
8362d835ee Slightly modified default light blue color 2025-07-08 17:53:14 +03:00
c39faa61f0 Updated bubbletea, bubbles and lipgloss to fix a bug in them (viewport
related)
2025-07-08 17:52:15 +03:00
0be78648cd Fixed mprocs sending SIGHUP on restart instead of SIGTERM by adding
exec and updated gitignore
2025-07-07 20:06:26 +03:00
047d33b3ae Refactored how the terms of service and privacy policy are stored, by
allowing changing them with 0 downtime
2025-07-07 18:46:47 +03:00
d58c7a20f1 Fixed mprocs sending SIGHUP on restart instead of SIGTERM by adding exec 2025-07-07 18:39:02 +03:00
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