From 97a55084113c7ab4950c83e3d806cc62ab73a652 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Fri, 2 Aug 2019 23:33:07 +0530 Subject: [PATCH 01/17] Create README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..079011f --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# LiveChatServer +LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat to each other. From 7c08186bdb7bfe99f3af5b132412fa1423befbaa Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Fri, 2 Aug 2019 23:34:26 +0530 Subject: [PATCH 02/17] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 079011f..a3352ef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # LiveChatServer + + + + +
LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat to each other. +
+ From 686203df9fbe5af1ba38abd6877604cf737bbedf Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Fri, 2 Aug 2019 23:41:29 +0530 Subject: [PATCH 03/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3352ef..85f5327 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# LiveChatServer +# CHATROOM - LiveChatServer
From 3862ec3954595fcc0e610dfcf970debb13d95f58 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Fri, 2 Aug 2019 23:46:52 +0530 Subject: [PATCH 04/17] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 85f5327..2c0dd61 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,6 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat
+

+ +

From ccd81abde40cd5209b8e613cead3b4155ea17eb2 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Fri, 2 Aug 2019 23:47:21 +0530 Subject: [PATCH 05/17] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 2c0dd61..42cef72 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,4 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat -

-

From 8db82e0a474da9addc55e704c9debbeb92626a82 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 00:08:04 +0530 Subject: [PATCH 06/17] Update README.md --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index 42cef72..935ac02 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,34 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat + +## Usage + +1. First run the Server Program by providing the four parameters - Port No, Datbase host, Database username, Database password + + ```sh + java -jar server.jar port_no datbase_host your_database_username your_database_password + ``` +2. Run the Client program by providing the server host and port no + + ```sh + java -jar client.jar server_host server_port_no + ``` +3. The above command opens the GUI mode. If you want to open the standard console mode then specify extra **- -console** option while running the client program + + ```sh + java -jar client.jar server_host server_port_no --console + ``` + + ### Development + Want to contribute? Great!
+ + To fix a bug or enhance an existing module, follow these steps: + + - Fork the repo + - Create a new branch (`git checkout -b improve-feature`) + - Make the appropriate changes in the files + - Add changes to reflect the changes made + - Commit your changes (`git commit -am 'Improve feature'`) + - Push to the branch (`git push origin improve-feature`) + - Create a Pull Request From c83b6d4d6d94ebd1ac8d6488d536d919738ee731 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 00:28:56 +0530 Subject: [PATCH 07/17] Update README.md --- README.md | 78 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 66 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 935ac02..3b83c15 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,13 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat +## Features + +- Multiuser Live Chat +- Awesome GUI + Console mode option +- Password Encryption +- Logs Tracking by writing into the file + ## Usage 1. First run the Server Program by providing the four parameters - Port No, Datbase host, Database username, Database password @@ -27,15 +34,62 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat java -jar client.jar server_host server_port_no --console ``` - ### Development - Want to contribute? Great!
- - To fix a bug or enhance an existing module, follow these steps: - - - Fork the repo - - Create a new branch (`git checkout -b improve-feature`) - - Make the appropriate changes in the files - - Add changes to reflect the changes made - - Commit your changes (`git commit -am 'Improve feature'`) - - Push to the branch (`git push origin improve-feature`) - - Create a Pull Request +### Console Commands or hidden commands + +1. For Sending personal message in live chat group + + ```sh + @username **message** + ``` +2. For Exiting from Live Chat Group + + ```sh + sv_exit + ``` +3. For logout + + ```sh + sv_logout + ``` +4. For creating secret chat room + + ```sh + i) First create the new chat room by leaving the name of the chatroom as empty or by providing spaces. + ii) Now you can join the above created room by specifying empty name or the spaces you provided while creating the room in join room option. + ``` + + +### Development +Want to contribute? Great!
+ +To fix a bug or enhance an existing module, follow these steps: + +- Fork the repo +- Create a new branch (`git checkout -b improve-feature`) +- Make the appropriate changes in the files +- Add changes to reflect the changes made +- Commit your changes (`git commit -am 'Improve feature'`) +- Push to the branch (`git push origin improve-feature`) +- Create a Pull Request + + +### Bug / Feature Request + +If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue [here](https://github.com/iamrohitsuthar/LiveChatServer/issues/new). + +If you'd like to request a new function, feel free to do so by opening an issue [here](https://github.com/iamrohitsuthar/LiveChatServer/issues/new). + +## Screenshots + +#### Sign In Activity + + +#### Main Menu Activity + + +#### View Rooms Activty + + +#### Chat Activity + + From f2de71fd4c933842c6f8af16d93ef77172d01069 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 00:37:37 +0530 Subject: [PATCH 08/17] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..63d7afc --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Rohit Suthar + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 45a95ccb50b80d6f78841dc3526d528dcf58aa5b Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 00:44:05 +0530 Subject: [PATCH 09/17] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3b83c15..78bee4a 100644 --- a/README.md +++ b/README.md @@ -93,3 +93,6 @@ If you'd like to request a new function, feel free to do so by opening an issue #### Chat Activity + +## License +See [LICENSE](LICENSE) From 13db3d745aeec739bcd5fe3d417948cea44ac154 Mon Sep 17 00:00:00 2001 From: Harsh Saglani Date: Sat, 3 Aug 2019 18:31:44 +0530 Subject: [PATCH 10/17] Update Readme.md fix --console typo, other minor changes to style and design --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 78bee4a..a2240ff 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat - Multiuser Live Chat - Awesome GUI + Console mode option - Password Encryption -- Logs Tracking by writing into the file +- Error Tracking by writing them into a log file ## Usage @@ -28,19 +28,20 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat ```sh java -jar client.jar server_host server_port_no ``` -3. The above command opens the GUI mode. If you want to open the standard console mode then specify extra **- -console** option while running the client program +3. The above command opens the GUI mode. If you want to open the standard console mode then specify extra **--console** option while running the client program ```sh java -jar client.jar server_host server_port_no --console ``` -### Console Commands or hidden commands +### Console Commands or hidden commands ( can be typed as a message ) 1. For Sending personal message in live chat group ```sh @username **message** ``` + ( this will show up as a **PM** on that particular user's screen ) 2. For Exiting from Live Chat Group ```sh @@ -51,15 +52,17 @@ LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat ```sh sv_logout ``` -4. For creating secret chat room - - ```sh - i) First create the new chat room by leaving the name of the chatroom as empty or by providing spaces. + +### It's not a BUG. It's a feature! + #### Create a SECRET ROOM!! + + i) First create a new chat room by leaving the name of the chatroom empty or by providing spaces. ii) Now you can join the above created room by specifying empty name or the spaces you provided while creating the room in join room option. - ``` + iii) This room won't be visible / displayed in the view rooms list! + -### Development +### Collaborate with us! Want to contribute? Great!
To fix a bug or enhance an existing module, follow these steps: From ecece6acdb0b232c3d0accb942926cf68f762ad2 Mon Sep 17 00:00:00 2001 From: Harsh Saglani Date: Sat, 3 Aug 2019 18:33:06 +0530 Subject: [PATCH 11/17] Change 'website' to 'application' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a2240ff..0620c2a 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ To fix a bug or enhance an existing module, follow these steps: ### Bug / Feature Request -If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue [here](https://github.com/iamrohitsuthar/LiveChatServer/issues/new). +If you find a bug (the application couldn't handle the query and / or gave undesired results), kindly open an issue [here](https://github.com/iamrohitsuthar/LiveChatServer/issues/new). If you'd like to request a new function, feel free to do so by opening an issue [here](https://github.com/iamrohitsuthar/LiveChatServer/issues/new). From f8aa3cfbf4e97b06243a5f7de27e4b252bcd8803 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 22:40:13 +0530 Subject: [PATCH 12/17] added badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0620c2a..006a06f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CHATROOM - LiveChatServer +# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)]()
From 9308212d32e9ec22400894b24be1b961588ce391 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 22:41:22 +0530 Subject: [PATCH 13/17] added URL for license badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 006a06f..71602fe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)]() +# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE)
From be19fb9cd248f1bd5b9cb656e21184f6c48128ad Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 22:49:35 +0530 Subject: [PATCH 14/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71602fe..96d6c25 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE) +# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE)
From f3349407d66028604fc551837137b1736dfb762d Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 22:53:14 +0530 Subject: [PATCH 15/17] Add version badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96d6c25..d8f25d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE) +# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) [![](https://img.shields.io/github/release/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/releases/tag/v4.0) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE)
From 1861202edf8a2fc41f312578a250ee66cffdcf83 Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 22:55:11 +0530 Subject: [PATCH 16/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d8f25d8..4d53b8f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat to each other. +LiveChatServer is a Live CHATROOM which allows multiple users (Clients) to chat with each other.
From 6f0c5fd6b41afbcfd693a51f1ea777ddf0719dab Mon Sep 17 00:00:00 2001 From: Rohit Suthar <37514288+iamrohitsuthar@users.noreply.github.com> Date: Sat, 3 Aug 2019 23:06:28 +0530 Subject: [PATCH 17/17] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d53b8f..3daf7c3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# CHATROOM - LiveChatServer [![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) [![](https://img.shields.io/github/release/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/releases/tag/v4.0) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE) +# CHATROOM - LiveChatServer +[![forthebadge](https://forthebadge.com/images/badges/made-with-java.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) [![](https://img.shields.io/github/release/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/releases/tag/v4.0) [![](https://img.shields.io/github/license/iamrohitsuthar/LiveChatServer)](https://github.com/iamrohitsuthar/LiveChatServer/blob/master/LICENSE)