Commit Graph

77 Commits

Author SHA1 Message Date
7a791d7e94 Admins can no longer ban/mute/kick each other, they can still delete
each others messages (to save some time having to query the sender ID to
see if he's an admin)
2025-01-21 17:56:54 +02:00
ad58adeeb2 Fixed a bug where when kicking a member, it'd send a left request to the
person who is kicking and not to the person who was kicked
2025-01-21 17:40:19 +02:00
5a5c092824 Implemented user settings both client side and server side 2025-01-20 17:32:31 +02:00
15067a81c5 Added client and server side edit message functionality 2025-01-16 19:11:15 +02:00
58c6a6d38a Added the ability to delete messages in frequencies 2025-01-14 19:09:18 +02:00
fd43d51d91 Fixed a bug where messages from no-access channels will propagate to
online users even if they didn't have access
2025-01-14 17:51:24 +02:00
43bd630ecb Implemented updating frequency properties both client-side and server-side 2025-01-14 17:33:15 +02:00
8184c8d187 Added a way to change network properties both server side and client
side
2025-01-14 16:31:32 +02:00
36aaaf8d92 Fixed security vulnerability where you could read "no access"
frequencies even if you were a normal user and not an admin
2025-01-13 19:02:19 +02:00
bad60b37d0 Added frequency propagation on the server-side and fixed a bug where
permission 3 would be valid even though it's not
2025-01-13 18:38:17 +02:00
bff19b516e Fixed network positioning issues 2025-01-12 17:57:54 +02:00
f0365e5438 Removed debug prints 2025-01-12 16:48:47 +02:00
8cdd763ec1 Fixed a bunch of security issues with people not inside a server being
able to read it and also fixed some other bugs and implemented
propagation for members joining/leavings servers
2025-01-12 16:46:07 +02:00
2285afec99 Implemented message propagation for real-time live chat 2025-01-10 20:13:31 +02:00
a1d35ab5b5 Fixed gosec warning 2025-01-10 17:48:55 +02:00
4bff6ccf4e Removed set from networks info as it'll be redundant due to no longer
keeping track of position
2025-01-10 15:20:31 +02:00
b09a8fba64 Fixed everything on the server-side 2025-01-09 19:14:05 +02:00
936d3cf690 Added goose for migrations, refactored SQL schema, server and client
are broken
2025-01-09 17:28:46 +02:00
b517a11771 Actually fixed gosec (it is apparently space sensitive yay) 2025-01-09 15:13:31 +02:00
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
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