Commit Graph

483 Commits

Author SHA1 Message Date
3f0128d71b Updated copyright script to allow exclusions of codegen and tools 2025-07-20 16:36:21 +03:00
57dc684b89 Added copyright helper script 2025-07-20 16:34:54 +03:00
aa1fab53af Added copyright and AGPL notice to all source code files 2025-07-20 16:34:18 +03:00
9192917273 Added CONTRIBUTING.md 2025-07-19 22:05:16 +03:00
f687cd90dd Added basic incomplete readme 2025-07-19 21:41:17 +03:00
ba5af78a3c Create LICENSE 2025-07-19 18:32:12 +03:00
fbfdb5430e Initial readme with assets 2025-07-19 18:32:12 +03:00
24c0224dd9 Changed session durations metric to classic histogram, added
last_activity to calculate monthly active users
2025-07-19 18:32:12 +03:00
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
aaea258a21 Added metrics for sus/malicious connections 2025-07-19 18:32:12 +03:00
52eb471e89 Implemented connection-level rate limiting (to avoid reconnection
abuse), added a file for testing that, still needs to add observability
for this
2025-07-19 18:32:12 +03:00
cb3c866248 Made ci pass 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
afee78d625 Added a bunch of users for testing 2025-07-19 18:32:12 +03:00
ef45261e01 Added a stub right sidebar for signals 2025-07-19 18:32:12 +03:00
8cee7aa9df Fixed terminal background showing in user profile and updated help
popups
2025-07-19 18:32:12 +03:00
4a8914e05f Fixed dropped vs success requests being flipped 2025-07-19 18:32:12 +03:00
6e2ae28025 Added toggleable borders (not fully fleshed) 2025-07-19 18:32:12 +03:00
95abbe573e Implemented caching for TOS hash, if hash matches the user doesn't need
to re-accept the TOS, users can delete the cache if they wish to review
it
2025-07-19 18:32:12 +03:00
1bc8fc2222 Fixed networklist sometimes rendering outside the screen 2025-07-19 18:32:12 +03:00
0a0915a977 Added session based request rate limiting, uses token bucket strategy 2025-07-19 18:32:12 +03:00
d78eb1fbc4 Added proper locking to session to avoid race conditions/data races 2025-07-19 18:32:12 +03:00
34c944c350 Added some metrics 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
c52d5693e9 Added server metrics (need to actually add metrics later) 2025-07-19 18:32:12 +03:00
dc6c10155c Added anonymous_device_analytics option on the client and added cache
dir to store things like device ID and TOS hashes (only storing device
ID currently)
2025-07-19 18:32:12 +03:00
86c3f3f730 Added device analytics packet 2025-07-19 18:32:12 +03:00
62f17157d8 Improved server logging/error handling 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
402e2b4108 Fixed bug where server couldn't shutdown unless all clients closed their
connections willingly
2025-07-19 18:32:12 +03:00
a81cd075d7 Updated stub tos/privacy policy to remove the emojis causing visual
issues
2025-07-19 18:32:12 +03:00
380c44e9da Updated git ignore and fixed the local dev server to run in non-prod
mode
2025-07-19 18:32:12 +03:00
013b65b30f Rephrased device analytics line in user settings to avoid background
issues
2025-07-19 18:28:12 +03:00
15c045f5df Create FUNDING.yml 2025-07-19 18:19:35 +03:00
3a0da9f4bb Fixed bug where TOS and privacy policy would be stored as a []byte
instead of a string which would cause inconsistency in atomics
2025-07-08 22:54:51 +03:00
966b9c4f24 Fixed bug of negation of prod flag 2025-07-08 22:44:42 +03:00
d16a8d00db Added log line to indicate production vs development 2025-07-08 22:35:28 +03:00
961483fd1c Fixed typo in github workflows 2025-07-08 22:29:47 +03:00
f255c81497 Slight changes to pass CI 2025-07-08 22:24:35 +03:00
d9f7b03de8 Added webserver to serve the TOS and Privacy Policy all the time 2025-07-08 21:49:18 +03:00
a3a623074f Updated tos/privacy policy to clearly indicate their are a stub for
development purposes such as running the server locally.
2025-07-08 19:33:03 +03:00
046b17959f Finished implementing authentication on the client-side 2025-07-08 19:10:26 +03:00
56acb0d51e Color coded accept/decline in TOS page 2025-07-08 18:35:20 +03:00
a34919da2f Refactored client side to comply with protocol changes, implemnted tos
screen model, still missing accept/decline and authentication
2025-07-08 17:53:36 +03:00
8362d835ee Slightly modified default light blue color 2025-07-08 17:53:14 +03:00
c39faa61f0 Updated bubbletea, bubbles and lipgloss to fix a bug in them (viewport
related)
2025-07-08 17:52:15 +03:00
0be78648cd Fixed mprocs sending SIGHUP on restart instead of SIGTERM by adding
exec and updated gitignore
2025-07-07 20:06:26 +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
d58c7a20f1 Fixed mprocs sending SIGHUP on restart instead of SIGTERM by adding exec 2025-07-07 18:39:02 +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