17 Commits

Author SHA1 Message Date
e6e1b6f86b Updated copyright 2025-08-04 11:38:07 +03:00
aa1fab53af Added copyright and AGPL notice to all source code files 2025-07-20 16:34:18 +03:00
f793203e04 Added session duration metrics with device analytics along with device
analytics metrics in the DB to aggregate and DeviceID abuse prevention
2025-07-19 18:32:12 +03:00
0a0915a977 Added session based request rate limiting, uses token bucket strategy 2025-07-19 18:32:12 +03:00
d78eb1fbc4 Added proper locking to session to avoid race conditions/data races 2025-07-19 18:32:12 +03:00
ba47118e51 Replaced most log statements with slog on the server 2025-07-19 18:32:12 +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
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
94ccbc282b Refactored server connection handling, still missing TOS and auth
handling
2025-07-05 19:50:13 +03:00
63790c069f Server and client now properly handle the same user logging in from
different locations, fixed the issue where it'd only work for the first
time by checking if the addresses match before remove the session
2025-01-06 18:23:41 +02:00
1a218730e9 Server now disconnects connection when a new connection matches the same
user ID, note that there seems to be a weird thing where if 2 clients
are from the same IP, the disconnected client will just reconnect to the
new client's socket, so they will both use the same connection for
communication
2025-01-06 17:34:47 +02:00
547593d315 Fleshed out and fixed issues in both the server and client for how
networks and members work
2025-01-06 16:17:59 +02:00
180bb557b1 Fixed server hanging until the client closes the connection,
it now forcibly closes the connection when it's terminated
2024-11-27 18:40:19 +02:00
6a34d7be01 Refactored server infrastructure 2024-11-27 12:52:22 +02:00
ff3140a408 feat: add username and timestamp to messages 2024-11-03 19:33:30 +02:00
Kyren223
a7f743f035 refactor: server split into server, session and api 2024-10-24 18:13:39 +03:00