Commit Graph

35 Commits

Author SHA1 Message Date
raul bc8c852e4b Merge pull request 'Quality of Life update' from testing into main
Reviewed-on: #4
2024-05-08 08:04:44 +02:00
raul d821979b65 Only trigger CI/CD on PR
Go audit / audit (pull_request) Successful in 1m39s Details
2024-05-08 08:01:19 +02:00
raul cc96783a6c Update README.md
Go audit / audit (pull_request) Successful in 1m41s Details
2024-05-07 11:00:42 +02:00
raul 2ec372ad42 Add demo.gif 2024-05-07 10:48:54 +02:00
raul 158bf9373f Add history parameter to restore old chats 2024-05-07 10:48:16 +02:00
raul 9e1affdc6c Occupy rest of terminal space
After realizing what I'd have to go through to build a functional "Users
online:" view, I have decided to NOT do that, especially because this
entire thing still runs on raw TCP messages for commmunication and
trying to tell apart regular messages from join/disconnect messages in
the client to properly update the possible new view would be hell.
2024-05-07 09:49:34 +02:00
raul 370f217208 Add auto-scroll control 2024-05-06 14:09:47 +02:00
raul bcaa1c12af Add credits and current username to UI 2024-05-06 13:45:06 +02:00
raul f8332d102a Disable "Send it" button 2024-05-06 13:34:29 +02:00
raul c63028dea0 Add client TUI scrolling 2024-05-06 13:31:44 +02:00
raul 7eb991a4e4 Tweak chat dimensions 2024-04-27 21:46:00 +02:00
raul 3c79ebfbb4 Update README.md
Go audit / audit (push) Successful in 1m35s Details
2024-04-26 09:37:46 +02:00
raul 125502bab3 Merge pull request 'Refactored codebase' from testing into main
Go audit / audit (push) Successful in 1m37s Details
Reviewed-on: #2
2024-04-26 08:56:36 +02:00
raul 80da12cfcf Nuclear refactoring
Go audit / audit (pull_request) Successful in 1m48s Details
I've finally managed to properly rebuild the project, it's not extremely
clean, but compared to before, it's infinitely more functional and
expandable.
2024-04-26 08:48:48 +02:00
raul 3759701e22 Update README.md
Go audit / audit (push) Successful in 1m6s Details
2024-04-14 10:13:22 +02:00
raul 2a3bd788f8 Merge pull request 'Final PR' from testing into main
Go audit / audit (push) Successful in 1m7s Details
Reviewed-on: #1
2024-04-14 10:04:59 +02:00
raul cec33907b7 Removed currentUsers view
Go audit / audit (pull_request) Successful in 1m14s Details
I cannot handle this codebase anymore
2024-04-14 09:48:21 +02:00
raul c85fa5b031 Fixed catastrophic memory leak in client
Whenever a server would be stopped while the clients were connected to
it, the for loop handling the messages received by the server would
start a feedback loop as no more data could be read from "conn", thus
spawning an infinite number of byte arrays and crashing my laptop
2024-04-14 09:27:17 +02:00
raul ca10bc4284 Implement Gocui UI into mini-chat client 2024-04-13 13:11:36 +02:00
raul 75dac0ccef Attempt to clean up server codebase 2024-04-13 13:08:43 +02:00
raul 678244d289 Update dependencies 2024-04-13 13:08:02 +02:00
raul c4fb5606f6 Testing sending messages to server from client 2024-04-12 12:00:08 +02:00
raul 6599c66abb Add ui.go file 2024-04-12 11:59:48 +02:00
raul 39c2dde016 Update dependencies 2024-04-12 08:55:59 +02:00
raul 622340610a Create client.go 2024-04-02 11:27:48 +02:00
raul 55da7f8afc Fix README.md titles
Go audit / audit (push) Successful in 1m3s Details
2024-04-01 12:57:57 +02:00
raul 0f6e05477a Update go.mod
Go audit / audit (push) Successful in 1m2s Details
2024-04-01 12:52:34 +02:00
raul adf22b588f Finish chat functionality and prepare for release
Go audit / audit (push) Successful in 1m8s Details
2024-04-01 12:28:22 +02:00
raul 9f87eefd68 Update README.md 2024-04-01 12:26:19 +02:00
raul 5b12496455 Add go-audit workflow and goreleaser config 2024-04-01 12:23:29 +02:00
raul 6da487bc86 Create testing branch and start channels 2024-03-29 14:57:02 +01:00
raul cd009e8ee6 Really minor tweak
Forgot to change back a value while testing error handling to avoid
crashing server on user disconnect
2024-03-29 09:40:02 +01:00
raul 544369cb9f Fixed server crashing whenever a user disconnected
Instead of trying to let Cobra handle the possible errors produced in
client input through bufio.NewReader(conn), I'm handling them manually
by returning the function if there's an error detected, therefore
severing the goroutine and letting the main server run normally
2024-03-29 09:36:03 +01:00
raul 2ff99a284b Adding files to project 2024-03-29 09:04:20 +01:00
raul 4756649260 Initial commit 2024-03-29 08:59:03 +01:00