Commit Graph

37 Commits

Author SHA1 Message Date
Mitchell 35d391eb8a cleaner implmentation for hashmap additions 2020-06-30 14:21:00 +01:00
Mitchell 5eb3adbe8a fixed string return format 2020-06-30 14:19:13 +01:00
Mitchell 6e9d04ed35 adjusted ways client communication is handled 2020-06-30 14:18:35 +01:00
Mitchell 65ff36523e moved into new directory
new folders and files made for new project structure, still likely to change
2020-06-30 14:17:23 +01:00
Mitchell b0e02dd1c1 added two new enums to handle returns
commands file cleanup and bug fixes, making code more readable and organized
2020-06-20 20:11:34 +01:00
Mitchell 5ca8dd48f7 info command feature 2020-06-20 15:29:31 +01:00
Mitchell 5a7e27f010 data return fix, now returns a Client type 2020-06-20 14:56:45 +01:00
Mitchell 714b33464c connect and disconnect features 2020-06-20 14:56:14 +01:00
Mitchell a4dc149aee Merge branch 'basic-server-framework' of https://github.com/Mitch161/rust-chat-server into basic-server-framework 2020-06-16 17:38:54 +01:00
Mitchell 15edb7872f update to clientUpdate command
Will not work currently as sync issues exist
2020-06-16 17:37:11 +01:00
michael-bailey 0630c00fa4 Update .gitignore 2020-06-16 12:55:16 +01:00
Mitchell 830e5c9d64 added fetch all clients system 2020-06-07 20:16:45 +01:00
Mitchell 612c25c392 added disconnect command 2020-06-05 13:23:53 +00:00
Mitchell 9a09df6b25 added clientInfo command 2020-06-05 12:43:34 +00:00
Mitchell 2d95678569 seperate modules have been made for commands 2020-06-04 13:51:04 +00:00
Mitchell 317427b836 Merge branch 'basic-server-framework' of https://github.com/Mitch161/rust-chat-server into basic-server-framework 2020-06-04 13:50:05 +00:00
Mitchell db2443aa74 added modules for commands
each file represents a module for that command, which is all handled by the commands.rs file
2020-06-04 13:49:50 +00:00
Mitchell 08e4c1e324 project restructure 2020-06-04 13:49:08 +00:00
Mitchell b2dd06728c made cloneable 2020-06-04 13:47:52 +00:00
Mitchell e4066b96bd enabled regex 2020-06-04 13:47:20 +00:00
michael bailey 30ab1655c9 Update lib.rs
+ added a module for each message string.
2020-06-02 14:06:00 +01:00
Mitchell 2e1d4d3b40 temp fix for struct values 2020-05-16 18:07:09 +00:00
Mitchell da5df01a95 client object changes 2020-05-16 17:47:21 +00:00
michael bailey a9578e4473 Update .gitignore
+ added .DS_Store to gitIgnore because mac os
2020-04-29 15:10:28 +01:00
Mitchell 0b25c2cf65 added user request processing
users can send different requests to have different operations performed, with data being returned back to them.
2020-04-17 20:31:24 +00:00
Mitchell e572704b20 added template for searching clients
template for detecting commands requesting for client information when searching/adding a friend
2020-04-12 17:31:41 +00:00
Mitchell e2a0b9bc1f added currently online users func
uses a hash map where the key is the users unique uuid and the value is their username
2020-04-11 20:10:13 +00:00
Mitchell 80a93d01ca added multi-threading functionality 2020-04-11 15:44:09 +00:00
Mitchell 8a674dca94 added threading functionality 2020-04-11 15:43:49 +00:00
Mitchell 5ca31a2b04 contains code for workers and thread pool
librarys for creating a thread pool of 'n' size and specifying a worker for each thread in the thread pool
2020-04-10 10:57:47 +00:00
Mitchell 73614e4fa0 contains main server code 2020-04-10 10:56:46 +00:00
Mitchell f8a9c9a50b moved to new bin folder 2020-04-10 10:56:32 +00:00
Mitchell 6b59c58098 changed rust project name to match git 2020-04-10 10:55:51 +00:00
Mitchell f34b2c5cd7 added basic connection handler
Every connection the server recieves a new handle function is called
2020-04-08 23:15:06 +00:00
Mitch161 edcc024363
new license = GPL 3 2020-04-08 21:54:16 +00:00
Mitchell e85fde11e4 basic project start 2020-04-08 22:49:14 +00:00
Mitch161 7259c52c19
Initial commit 2020-04-08 18:11:09 +00:00