Skip to content

nilsjha/ntnu-datakom4-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Quality Gate Status

Assignment A4

In this assignment we got the task to implement the TCP connection handling for a predefined chat application.

The assignment consists of two parts:

  • Warmup
  • Server/client-chat appliction

Notes

Unfortunatley I ran a rebase of the develop branch, without knowing what it really did, so I lost all the merge-commits for the git-flow function branches. Luckly no other changes were lost! I have now learned the hard way to really read up on what the different commands do.

The completed assignment with the mandatory steps have been tagged with v1.0.0.

Release summary

v1.0.0 - Mandatory steps

  1. Connection setup
  2. Logic to transmit commands & public message
  3. Logon with username & parser to read incoming commands
  4. Connection handling (disconnect) & notifying logic to listeners
  5. Parse list of online users & notify listeners
  6. Transmit private messages
  7. Receive incoming messages
  8. Parse & show supported server commands
  9. Final bugfixes & testing before release
  10. Release v1.0.0 to production

v1.1.0 - Joke & UTF-8

  • The client now supports the UTF-8 charset (incl nordic chars)
  • The /joke command will now work with servers that support this feature.

v1.1.10 - Code cleanup & emoji support

  • Small fixes for performance & readability in code
  • Added support for simple emojis parsing & emojicode flags

Screenshots

The client GUI

v1.0.0 client

Shows a private meassage exchange

The debug terminal

v1.0.0 console

The terminal shows responsible method, socket id, timestamp and debug info

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published