Commit Graph

55 Commits

Author SHA1 Message Date
4e2ca64319 Fixed all high and medium security issues from gosec 2025-01-07 19:02:14 +02:00
121feb261c Fixed linting issues, should now pass in CI 2025-01-07 18:19:23 +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
14caa1959c Network deletion now propagates to all active connections that are in
that network
2025-01-06 18:31:27 +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
1b15db0fe9 Fixed issues with frequencies (I think) 2024-12-24 18:54:26 +02:00
6837fb4515 Fixed server not compiling 2024-12-22 15:58:32 +02:00
e6237f5b12 Prevented deletion of frequency if it's the only one in the network 2024-12-21 19:00:37 +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
bfc65f7f37 Minor improvements to server code 2024-12-01 16:13:46 +02:00
e00a17a2f4 Added swap frequencies support on server-side 2024-12-01 16:03:31 +02:00
3e9c0ee6a1 Implemented frequency creation on both client and server 2024-12-01 15:47:54 +02:00
78a38f508e Implemented frequency creation, BROKEN right now 2024-12-01 10:09:21 +02:00
905b6d25b4 Fix server issues after moving soem stuff 2024-12-01 09:08:59 +02:00
452040598b Created UI for create frequency popup 2024-11-30 18:38:09 +02:00
3fa1c902c1 Implemented network positions per user on client and server 2024-11-29 23:24:06 +02:00
d0356edef4 Added position to networks 2024-11-28 18:00:50 +02:00
c3f8131caf Added networks info on initial server-client connection 2024-11-27 22:41:14 +02:00
11e523bb89 Fixed server issue with forgeting to commit transaction 2024-11-27 21:40:58 +02:00
82533fa7a5 Fixed sqlc codegen issues 2024-11-27 21:29:09 +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
0aa83227da Fixed color issue on the server, made the UI have better UX 2024-11-27 17:44:38 +02:00
6a5131792f Fixed minor issues on the server 2024-11-27 17:39:52 +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
54564f397d Started working on netwrok creation popup 2024-11-24 00:16:23 +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
a637ea9c33 feat: client can now send messages and the server saves thme in DB 2024-11-02 20:12:18 +02:00
9968402054 feat(server): add --stdout flag to also print logs to stdout 2024-11-02 20:11:32 +02:00
c5064f6bbd feat: client and server api changes to accomedate DB 2024-11-02 13:18:21 +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
6e6ca1d7a1 feat: add ui for client 2024-10-17 17:12:57 +03:00
Kyren223
c35f2705dc feat: basic messaging between client and server 2024-10-16 16:10:26 +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