Commit Graph

85 Commits

Author SHA1 Message Date
f793203e04 Added session duration metrics with device analytics along with device
analytics metrics in the DB to aggregate and DeviceID abuse prevention
2025-07-19 18:32:12 +03:00
8f58905364 Added in progress requests metric and also returning an error when the
user hits the rate limit
2025-07-19 18:32:12 +03:00
12f50940b4 Added handling for device analytics, but not the actual implementation
yet
2025-07-19 18:32:12 +03:00
ba47118e51 Replaced most log statements with slog on the server 2025-07-19 18:32:12 +03:00
047d33b3ae Refactored how the terms of service and privacy policy are stored, by
allowing changing them with 0 downtime
2025-07-07 18:46:47 +03:00
bbd4eae95f Added better logging for packets and payloads and now the writer is
responsible for packaging into a packet the payload (instead of everyone
who sends to the writer)
2025-07-06 18:20:46 +03:00
f80cb4a0fe Implemented server-side authentication in accordance to the protocol 2025-07-06 14:40:32 +03:00
5f8ab176b6 Added new packet types to facilitate TOS acceptance, Authentication and
re-authentication for sensitive information updates
2025-07-05 22:35:34 +03:00
94ccbc282b Refactored server connection handling, still missing TOS and auth
handling
2025-07-05 19:50:13 +03:00
317bc967e6 Added extra info in user settings, fixed typos in help popups and
refactored some log statements
2025-07-05 11:30:16 +03:00
d6a2eda646 Improved database error logging in server api 2025-04-29 19:12:55 +03:00
cfc5fa3d5e Users that are no longer members (left/kicked/banned) now get fetched
and show their names properly in messages
2025-02-13 16:49:07 +02:00
66983fb028 Added blocking/unblocking of users using b/u (user settings are now s
instead of "u")
2025-02-12 13:08:49 +02:00
a496d59fd6 Implemented blocking on the server-side 2025-02-10 19:27:24 +02:00
c0e615133c Renamed instances of "trusteds" to "trusted users" to be grammatically
correct
2025-02-10 19:01:30 +02:00
9da5aa5be4 @everyone is now sent as normal text when a user doesn't have permission
to send it (instead of just disappearing)
2025-02-10 18:04:38 +02:00
f10f8396cc Added support for editing messages in user signals 2025-02-05 20:00:29 +02:00
0bf5515629 When a user sends a message "signal" and the receiving user doesn't have
the signal already open, it will be added as the first signal
2025-02-05 19:41:34 +02:00
9d1158f03e Implemented deleting messages in user signals 2025-02-05 16:45:01 +02:00
f0607f1663 Server now also sends the last_read column to the client so the client
so the client can use it to persist notifications
2025-02-04 19:37:06 +02:00
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
cb214d740a Added pings to messages in frequencies 2025-01-27 20:10:48 +02:00
97a85f94e5 Added the ability to read and send messages between 2 users 2025-01-26 19:09:02 +02:00
ab6bfe9186 Fixed a bug where being kicked/banned from a network while being offline
will cause a desync and crash the server and show an invalid network on
the client side
2025-01-25 19:09:37 +02:00
5c96cb4e60 Added banlist on the client and fixed some server side issues with
banning
2025-01-25 18:26:17 +02:00
acf87efce9 Added the ability to ban client-side from the memberslist 2025-01-25 17:21:04 +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
02e55d769d Added a list of banned members server-side 2025-01-25 16:30:50 +02:00
0da7603a41 Getting banned will now also kick the member from the network 2025-01-25 16:08:48 +02:00
a6ea051460 Added the ability to trust/untrust users 2025-01-22 17:23:18 +02:00
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