summaryrefslogtreecommitdiff
path: root/internal/server/server.go
AgeCommit message (Collapse)Author
2025-07-19Improved server logging/error handlingKyren223
2025-07-19Fixed bug where server couldn't shutdown unless all clients closed theirKyren223
connections willingly
2025-07-07Fixed mprocs sending SIGHUP on restart instead of SIGTERM by addingKyren223
exec and updated gitignore
2025-07-07Refactored how the terms of service and privacy policy are stored, byKyren223
allowing changing them with 0 downtime
2025-07-06Added better logging for packets and payloads and now the writer isKyren223
responsible for packaging into a packet the payload (instead of everyone who sends to the writer)
2025-07-06Fixed issues with timeout() function on the server and added automaticKyren223
log rotation every midnight (if the server is running at that time)
2025-07-06Implemented server-side authentication in accordance to the protocolKyren223
2025-07-06Added terms of service (incomplete!!!!) to the server, and addedKyren223
authentication separation between API calls, actually authentication (nonce, and verification) is not implemented yet
2025-07-05Updated protocol spec to new V2 versionKyren223
2025-07-05Added new packet types to facilitate TOS acceptance, Authentication andKyren223
re-authentication for sensitive information updates
2025-07-05Refactored server connection handling, still missing TOS and authKyren223
handling
2025-07-05Added extra info in user settings, fixed typos in help popups andKyren223
refactored some log statements
2025-07-03Added ctxkeys package to better handle addition context when logging andKyren223
partially integrated it with keys for user id and ip addr
2025-07-03Updated env var names and added a log dir env varKyren223
2025-05-23Fixed packet loss bug due to client not waiting before exiting for theKyren223
writes to fully proccess
2025-03-11Added string method to PacketType and improved server logging messages aKyren223
bit
2025-02-13Users that are no longer members (left/kicked/banned) now get fetchedKyren223
and show their names properly in messages
2025-02-10Implemented blocking on the server-sideKyren223
2025-02-05When a user sends a message "signal" and the receiving user doesn't haveKyren223
the signal already open, it will be added as the first signal
2025-02-04Server now uses a new context for api requests to make sure they stillKyren223
get completed even if the user disconnects, this is not ideal and should be reworked in the future
2025-02-04Refactored the way notifications work on the server-side, next commitKyren223
fixes the client to use this new system
2025-02-02Added support for offline notifications where the server calculates themKyren223
and sends the info to the client when it connects
2025-01-25Added banlist on the client and fixed some server side issues withKyren223
banning
2025-01-22Added the ability to trust/untrust usersKyren223
2025-01-16Added client and server side edit message functionalityKyren223
2025-01-14Added the ability to delete messages in frequenciesKyren223
2025-01-14Implemented updating frequency properties both client-side and server-sideKyren223
2025-01-14Added a way to change network properties both server side and clientKyren223
side
2025-01-12Fixed network positioning issuesKyren223
2025-01-09Fixed everything on the server-sideKyren223
2025-01-09Actually fixed gosec (it is apparently space sensitive yay)Kyren223
2025-01-09Fixed gosec issuesKyren223
2025-01-08Implemented CDKyren223
2025-01-07Fixed all gosec issuesKyren223
2025-01-07Fixed all high and medium security issues from gosecKyren223
2025-01-07Refactored to better embed the certifcates and also made sure to read atKyren223
runtime the server.key instead of containing it in the server's executable using go embed
2025-01-06Server and client now properly handle the same user logging in fromKyren223
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-06Server now disconnects connection when a new connection matches the sameKyren223
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-06Fleshed out and fixed issues in both the server and client for howKyren223
networks and members work
2025-01-05Refactored quite a bit and added the MembersInfo packet server-sideKyren223
2025-01-04Fixed server so it compilesKyren223
2025-01-04Implemented joining functionalityKyren223
2024-12-01Added delete for frequency and network on the server and only frequencyKyren223
on the client
2024-12-01Added swap frequencies support on server-sideKyren223
2024-12-01Implemented frequency creation, BROKEN right nowKyren223
2024-11-29Implemented network positions per user on client and serverKyren223
2024-11-27Added networks info on initial server-client connectionKyren223
2024-11-27Fixed server hanging until the client closes the connection,Kyren223
it now forcibly closes the connection when it's terminated
2024-11-27Added create network to server apiKyren223
2024-11-27Refactored server infrastructureKyren223