Commit Graph

17 Commits

Author SHA1 Message Date
d9ae301818 Reverted back the removal of the logic in get notifications to check if
the user has access to the frequency, because it is needed for the
is_admin ping type but also to prevent the case where someone was an
admin, got demoted and can now monitor when new messages are sent there
2025-02-04 19:08:22 +02:00
eab8cba4bb Refactored the way notifications work on the server-side, next commit
fixes the client to use this new system
2025-02-04 18:52:57 +02:00
c77ac77e78 Added support for offline notifications where the server calculates them
and sends the info to the client when it connects
2025-02-02 19:23:50 +02:00
5117d4ddda Fixed server crash due to accidental printing of a session address that
is nil
2025-01-25 17:15:23 +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
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
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
b09a8fba64 Fixed everything on the server-side 2025-01-09 19:14:05 +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
614cc4d9da Implemented joining functionality 2025-01-04 18:35:44 +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
0aa83227da Fixed color issue on the server, made the UI have better UX 2024-11-27 17:44:38 +02:00
be22bb89db Added create network to server api 2024-11-27 17:34:28 +02:00