Commit Graph

38 Commits

Author SHA1 Message Date
566980d1e2 Fixed gosec issues 2025-01-09 15:09:44 +02:00
576adb547c Implemented CD 2025-01-08 23:20:38 +02:00
dbea21d9c3 Fixed all gosec issues 2025-01-07 19:05:58 +02:00
4e2ca64319 Fixed all high and medium security issues from gosec 2025-01-07 19:02:14 +02:00
06a15e6c70 Refactored to better embed the certifcates and also made sure to read at
runtime the server.key instead of containing it in the server's
executable using go embed
2025-01-07 17:21:02 +02: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
6be63e6df6 Refactored quite a bit and added the MembersInfo packet server-side 2025-01-05 18:11:14 +02:00
73935243e3 Fixed server so it compiles 2025-01-04 19:09:23 +02:00
614cc4d9da Implemented joining functionality 2025-01-04 18:35:44 +02:00
567d569dd6 Added delete for frequency and network on the server and only frequency
on the client
2024-12-01 16:29:22 +02:00
e00a17a2f4 Added swap frequencies support on server-side 2024-12-01 16:03:31 +02:00
78a38f508e Implemented frequency creation, BROKEN right now 2024-12-01 10:09:21 +02:00
3fa1c902c1 Implemented network positions per user on client and server 2024-11-29 23:24:06 +02:00
c3f8131caf Added networks info on initial server-client connection 2024-11-27 22:41:14 +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
be22bb89db Added create network to server api 2024-11-27 17:34:28 +02:00
6a34d7be01 Refactored server infrastructure 2024-11-27 12:52:22 +02:00
e415a13211 Reimplemented existing server APIs 2024-11-27 11:14:36 +02:00
f5576211d3 Fixed server-side issues after refactoring, more work needs to be done
to refactor server
2024-11-27 10:38:28 +02:00
00dd876f25 Implemented proper connection and retry mechanisms 2024-11-22 16:46:19 +02:00
ff3140a408 feat: add username and timestamp to messages 2024-11-03 19:33:30 +02:00
9968402054 feat(server): add --stdout flag to also print logs to stdout 2024-11-02 20:11:32 +02:00
08d88c425b test(packet): test packet framer and packet encoding/decoding 2024-11-02 13:18:07 +02:00
Kyren223
9a1030a579 feat: minor changes 2024-10-26 14:42:12 +03:00
Kyren223
7e1fded9b5 feat: add per-request-type server timeout 2024-10-25 11:52:31 +03:00
Kyren223
d294b53e68 chore: add docs 2024-10-24 20:06:04 +03:00
Kyren223
a7f743f035 refactor: server split into server, session and api 2024-10-24 18:13:39 +03:00
Kyren223
688668f6d3 feat: worked on client 2024-10-24 16:39:14 +03:00
Kyren223
6f83f199f8 refactor: finished refactoring server-side code 2024-10-20 20:12:12 +03:00
Kyren223
1997bc8a15 refactor: mid refactor 2024-10-20 11:36:43 +03:00
Kyren223
260ad0e1bd feat: communication using custom packet protocol 2024-10-15 21:59:08 +03:00
Kyren223
77dca0e1df feat: add message types and packet framer 2024-10-15 15:45:01 +03:00
Kyren223
481fb0027e remove: custom logging in favor of standard lib log package 2024-10-11 14:16:21 +03:00
Kyren223
755df330a4 refactor: move to tls tcp connection for security purposes 2024-10-10 01:14:37 +03:00
Kyren223
a835059ab2 feat: small changes to avoid linting warnings 2024-10-05 17:36:23 +03:00
Kyren223
b987605cfb feat: basic server connection handling 2024-10-05 15:27:40 +03:00