Commit Graph

  • 86c3f3f730 Added device analytics packet Kyren223 2025-07-11 16:07:02 +03:00
  • 62f17157d8 Improved server logging/error handling Kyren223 2025-07-11 16:06:43 +03:00
  • ba47118e51 Replaced most log statements with slog on the server Kyren223 2025-07-09 16:20:59 +03:00
  • 402e2b4108 Fixed bug where server couldn't shutdown unless all clients closed their connections willingly Kyren223 2025-07-09 13:47:35 +03:00
  • a81cd075d7 Updated stub tos/privacy policy to remove the emojis causing visual issues Kyren223 2025-07-09 13:47:01 +03:00
  • 380c44e9da Updated git ignore and fixed the local dev server to run in non-prod mode Kyren223 2025-07-09 12:48:04 +03:00
  • 013b65b30f Rephrased device analytics line in user settings to avoid background issues Kyren223 2025-07-08 23:11:22 +03:00
  • 15c045f5df Create FUNDING.yml Kyren223 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 Kyren223 2025-07-08 22:54:51 +03:00
  • 966b9c4f24 Fixed bug of negation of prod flag Kyren223 2025-07-08 22:44:42 +03:00
  • d16a8d00db Added log line to indicate production vs development Kyren223 2025-07-08 22:35:28 +03:00
  • 961483fd1c Fixed typo in github workflows Kyren223 2025-07-08 22:29:47 +03:00
  • f255c81497 Slight changes to pass CI Kyren223 2025-07-08 22:24:35 +03:00
  • d9f7b03de8 Added webserver to serve the TOS and Privacy Policy all the time Kyren223 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. Kyren223 2025-07-08 19:33:03 +03:00
  • 046b17959f Finished implementing authentication on the client-side Kyren223 2025-07-08 19:10:26 +03:00
  • 56acb0d51e Color coded accept/decline in TOS page Kyren223 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 Kyren223 2025-07-08 17:53:36 +03:00
  • 8362d835ee Slightly modified default light blue color Kyren223 2025-07-08 17:53:14 +03:00
  • c39faa61f0 Updated bubbletea, bubbles and lipgloss to fix a bug in them (viewport related) Kyren223 2025-07-08 17:52:15 +03:00
  • 0be78648cd Fixed mprocs sending SIGHUP on restart instead of SIGTERM by adding exec and updated gitignore Kyren223 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 Kyren223 2025-07-07 18:46:47 +03:00
  • d58c7a20f1 Fixed mprocs sending SIGHUP on restart instead of SIGTERM by adding exec Kyren223 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) Kyren223 2025-07-06 18:20:46 +03:00
  • d447505072 Added error handling and logging for log file rotation Kyren223 2025-07-06 15:10:20 +03:00
  • 21b4d14a2f Fixed issues with timeout() function on the server and added automatic log rotation every midnight (if the server is running at that time) Kyren223 2025-07-06 15:04:08 +03:00
  • f80cb4a0fe Implemented server-side authentication in accordance to the protocol Kyren223 2025-07-06 14:40:32 +03:00
  • e734449259 Added terms of service (incomplete!!!!) to the server, and added authentication separation between API calls, actually authentication (nonce, and verification) is not implemented yet Kyren223 2025-07-06 00:51:33 +03:00
  • 8f8736d09e Updated protocol spec to new V2 version Kyren223 2025-07-05 23:24:17 +03:00
  • 5f8ab176b6 Added new packet types to facilitate TOS acceptance, Authentication and re-authentication for sensitive information updates Kyren223 2025-07-05 22:35:34 +03:00
  • 9199959cf4 Made check-ci.sh more user friendly Kyren223 2025-07-05 22:35:18 +03:00
  • 94ccbc282b Refactored server connection handling, still missing TOS and auth handling Kyren223 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 Kyren223 2025-07-05 11:30:16 +03:00
  • 2d1408598a Added ctxkeys package to better handle addition context when logging and partially integrated it with keys for user id and ip addr Kyren223 2025-07-03 20:46:29 +03:00
  • 635db98044 Replaced log with slog, preparing to migrate all logs to slog Kyren223 2025-07-03 19:34:52 +03:00
  • eb219cab1a Completed check-ci.sh and made ci pass Kyren223 2025-07-03 14:54:38 +03:00
  • b0681791e3 Fixed ci based on check-ci (incomplete) Kyren223 2025-07-03 14:44:28 +03:00
  • b951d00f79 Added (incomplete) check-ci.sh for locally checking ci before pushing/opening a PR Kyren223 2025-07-03 14:43:37 +03:00
  • 875a5576db Updated env var names and added a log dir env var Kyren223 2025-07-03 14:34:17 +03:00
  • b6b2695925 Changed deployment directory from /srv/eko to /var/lib/eko Kyren223 2025-07-03 14:16:01 +03:00
  • bb6b93eefd Fixed selected signal not rendering notifications with the proper background Kyren223 2025-06-08 11:56:31 +03:00
  • 904134789e Optimized OnNewMessageReceived by only calling it when there is a single message Kyren223 2025-06-08 11:14:15 +03:00
  • 3e0210fd13 Chat properly handles and displays the "new message separator" Kyren223 2025-05-24 17:50:44 +03:00
  • d10f09fa85 Fixed typo oudated -> outdated Kyren223 2025-05-24 16:55:26 +03:00
  • 82d26314eb Chat correctly renders "new message separator" given correct inputs Note this commit doesn't fix the updating so the input is considered incorrect, will be addressed in the next commit Kyren223 2025-05-24 16:50:19 +03:00
  • 1329a98584 Refactored minor things and added a terminology.md file which will be expanded later Kyren223 2025-05-24 15:09:08 +03:00
  • 8aa5cbb72e Fixed packet loss bug due to client not waiting before exiting for the writes to fully proccess Kyren223 2025-05-23 10:30:24 +03:00
  • d6a2eda646 Improved database error logging in server api Kyren223 2025-04-29 19:12:55 +03:00
  • 89fc704d80 Added string method to PacketType and improved server logging messages a bit Kyren223 2025-03-11 22:03:24 +02:00
  • 98da6df0be Fixed bug where the client would log an error message when disconnecting, instead of gracefully disconnecting Kyren223 2025-03-11 22:02:31 +02:00
  • 439af03aeb Limit chars of username client side to avoid getting an error from the server Kyren223 2025-02-28 21:26:10 +02:00
  • 0afb682db1 Added the ability to view user profiles Kyren223 2025-02-28 21:23:43 +02:00
  • 77163cac1d Added indicator (white-colored name) for user messages in freuqencies where the users have left Kyren223 2025-02-13 16:56:29 +02:00
  • cfc5fa3d5e Users that are no longer members (left/kicked/banned) now get fetched and show their names properly in messages Kyren223 2025-02-13 16:49:07 +02:00
  • ab4b010e95 Pings are no longer visible in messages of blocked users Kyren223 2025-02-12 13:20:34 +02:00
  • 8d28f17a44 Fixed block icon background in chat not having a proper background color Kyren223 2025-02-12 13:17:53 +02:00
  • 66983fb028 Added blocking/unblocking of users using b/u (user settings are now s instead of "u") Kyren223 2025-02-12 13:08:49 +02:00
  • 976d3683f9 Added blocked user indicator (currently only in signal chat) Kyren223 2025-02-10 19:47:51 +02:00
  • ccea2247c0 Added a way to block/unblock users client-side Kyren223 2025-02-10 19:36:07 +02:00
  • a496d59fd6 Implemented blocking on the server-side Kyren223 2025-02-10 19:27:24 +02:00
  • c0e615133c Renamed instances of "trusteds" to "trusted users" to be grammatically correct Kyren223 2025-02-10 19:01:30 +02:00
  • 6c54b5fe62 Chat actions are now handled appropriately for both frequency and signal Kyren223 2025-02-10 18:46:39 +02:00
  • 6c2cbda99d Removed unused dark purple color and help popup now uses darker cyan for keybindings Kyren223 2025-02-10 18:32:22 +02:00
  • 75228d04d0 Fixed issue where colors would save to config when they were empty json array rather than null, now both [] and null are not saved Kyren223 2025-02-10 18:24:40 +02:00
  • 9da5aa5be4 @everyone is now sent as normal text when a user doesn't have permission to send it (instead of just disappearing) Kyren223 2025-02-10 18:04:38 +02:00
  • 5eb32d5556 Select the first entry in banlist if there is at least 1 entry Kyren223 2025-02-10 17:52:47 +02:00
  • 93500cdd8b Fixed edited indicator not matching the background when a message was ping-highlighted Kyren223 2025-02-10 17:40:10 +02:00
  • 56e658c7db Changed darkening factor to be more noticeable by making it darker Kyren223 2025-02-10 17:30:43 +02:00
  • 4b3b9ace72 Chat now properly darkens colors when there is a popup Kyren223 2025-02-10 17:24:15 +02:00
  • f72792e27a Frequencylist now properly darkens custom colors from frequencies and the network banner Kyren223 2025-02-10 17:00:33 +02:00
  • 1c4ecdebee Networklist now properly darkens custom colors from networks Kyren223 2025-02-10 16:57:30 +02:00
  • 20bea80313 Fixed darkening issues for auth Kyren223 2025-02-09 19:43:20 +02:00
  • 83996ab9c3 Added background darkening when opening popups (certain things currently don't get darkened) Kyren223 2025-02-09 19:08:40 +02:00
  • cb72418324 Choice popup colors are now runtime-friendly Kyren223 2025-02-09 18:46:53 +02:00
  • 4b4b09dee1 Auth colors are now runtime-friendly Kyren223 2025-02-09 18:40:55 +02:00
  • d95f6c48f0 Loading screen colors are now runtime-friendly Kyren223 2025-02-09 18:02:47 +02:00
  • cddc7f0cc4 Frequency update colors are now runtime-friendly Kyren223 2025-02-09 17:42:31 +02:00
  • 89164dd3ef Frequency creation colors are now runtime-friendly Kyren223 2025-02-09 17:39:10 +02:00
  • a16d17c020 Ban view colors are now runtime-friendly Kyren223 2025-02-09 17:11:50 +02:00
  • 9e4dba2743 Ban reason colors are now runtime-friendly Kyren223 2025-02-09 17:03:56 +02:00
  • 3fa22cb7ca Signal add colors are now runtime-friendly Kyren223 2025-02-09 16:56:39 +02:00
  • 9ee37805a3 Fixed errors in network join showing terminal background Kyren223 2025-02-09 16:56:21 +02:00
  • bd01405985 Network update colors are now runtime-friendly Kyren223 2025-02-09 16:51:52 +02:00
  • ac61b3f6ed Help poup colors are now runtime-friendly Kyren223 2025-02-08 19:58:03 +02:00
  • 9678d83c5f Network creation colors are now runtime-friendly Kyren223 2025-02-08 19:18:14 +02:00
  • 016e91c72e Network join colors are now runtime-friendly Kyren223 2025-02-08 18:15:58 +02:00
  • a08694d884 Fixed an issue in user settings where the styles would only apply to the description after an update Kyren223 2025-02-08 18:06:48 +02:00
  • dd4667f71d User settings colors are now runtime-friendly Kyren223 2025-02-08 17:56:20 +02:00
  • 1f793312be Hopefully fixed regression in background styling for frequency/member/ban/signal lists Kyren223 2025-02-08 17:42:07 +02:00
  • 57441a44ac Updated bubletea version, broken a bunch of UI but seems to fix the tearing issue in fast terminals such as ghostty Kyren223 2025-02-08 17:04:37 +02:00
  • 4776d42ccc User settings colors are now runtime-friendly except for fields which have an issue (effects all popups and anything else that uses them), seems to be an issue in charm Kyren223 2025-02-07 19:52:11 +02:00
  • e396129e07 Viminput colors are now runtime-friendly Kyren223 2025-02-07 18:39:03 +02:00
  • 939a692168 Chat colors are now runtime-friendly (except viminput) Kyren223 2025-02-07 18:28:44 +02:00
  • 7f1148cbd8 Signallist colors are now runtime-friendly Kyren223 2025-02-07 17:47:42 +02:00
  • 479fc541eb UI, memberlist and banlist colors are now runtime-friendly Kyren223 2025-02-07 17:39:39 +02:00
  • 58df1b978b Frequencylist colors are now runtime-friendly Kyren223 2025-02-07 17:22:12 +02:00
  • 9065ca31d0 Networklist colors are now runtime-friendly Kyren223 2025-02-07 17:21:48 +02:00
  • ffb5935164 Added config for colors (not yet supported in most areas as I need to make things not static so they color changes) Kyren223 2025-02-06 18:37:29 +02:00
  • 98f29ba812 Fixed a bug where if you would delete a message that would make the chat empty, it wouldn't show the empty chat message Kyren223 2025-02-06 17:22:18 +02:00
  • a758ca4212 Chat is now handling user signals better and showing specific signal strings instead of the frequency strings Kyren223 2025-02-06 17:18:53 +02:00