Commit Graph

264 Commits

Author SHA1 Message Date
michael-bailey f2c87bacb3 Update server_profile.rs
removed extern crate uses
2021-02-08 21:12:10 +00:00
michael-bailey e8fc561894 Update server_profile.rs 2021-02-08 21:12:10 +00:00
michael-bailey 5473b2255d Update server_profile.rs
removed unused imports
2021-02-08 21:12:10 +00:00
michael-bailey d74ed68206 Update server_profile.rs
updated to account for the new threadpool location
2021-02-08 21:12:10 +00:00
michael-bailey 4501887b14 Update server_profile.rs
removed get client list
2021-02-08 21:12:10 +00:00
michael-bailey c233138ca6 Update server_profile.rs
added spaces and other changes
2021-02-08 21:12:10 +00:00
michael-bailey 8aa499ab03 Update server_profile.rs
removed the need for a arc for server properties
2021-02-08 21:12:10 +00:00
michael-bailey 659a26b6a8 Update mod.rs
added new modules for the new ui and server.
2021-02-08 21:12:10 +00:00
michael-bailey 143848f05c Update main.rs
extracting the ui from the main function
2021-02-08 21:12:10 +00:00
michael-bailey 800aedd9d8 Create control_panel.rs
creating a control panel for the server
2021-02-08 21:12:10 +00:00
michael-bailey e5b439bb57 Create About_Panel.rs
added an about layer function that returns a view
2021-02-08 21:12:10 +00:00
michael-bailey 49d3afd11f Update client_profile.rs
set the channels t use crossbeam_channels
2021-02-08 21:12:10 +00:00
michael-bailey 638b1ac969 created server version 3
this works on the face that a ui framework will have an event loop. so changes include:
+ start sets up the listener and allows the server to ba called
+ stop sets the server to disconnect other users and close the listener
+ tick should be called by the event loop this will allow any new connections to be handled, any pending
2021-02-08 21:12:10 +00:00
michael-bailey ad2c83c01c removed dashmap form commands 2021-02-08 21:12:10 +00:00
michael-bailey 749ddac360 Update LICENSE 2021-02-08 21:12:10 +00:00
michael-bailey b3de7670f3 got running flag to display 2021-02-08 21:12:10 +00:00
michael-bailey c4d3270026 Update client_profile.rs 2020-08-26 11:48:56 +01:00
michael-bailey 4d6a11e2be Update main.rs
experiments with openssl
2020-08-26 11:48:47 +01:00
michael-bailey 28622307af Update .gitignore 2020-08-26 11:48:35 +01:00
michael-bailey 0c28bfa7f2 Update .gitignore
+ added .cer files to ignore for obvious reasons
2020-08-24 15:27:46 +01:00
michael-bailey 48b7edd532 Update main.rs
+ added example for rsa
2020-08-23 23:57:46 +01:00
michael-bailey 7663a3f4ab Update Cargo.toml
+ openssl for crypto
- lazy-static and async-std
2020-08-23 15:36:14 +01:00
michael-bailey 52fcd65a73 removed the static crate 2020-08-23 15:35:41 +01:00
michael-bailey acddcd17a8 removed static requirement
- removed lifetimes

~ changed server properties to arc<strings>
- removed update_all_clients
~ changed read_data and transmit data to static functions
- removed all references to self.
+ added cloned arc's for each property that are moved into the thread.
2020-08-22 19:22:28 +01:00
Mitchell f3910e9515 server has been updated to v2 system 2020-08-19 22:33:03 +01:00
Mitch161 dc54a5d952
Merge pull request #4 from Mitch161/cmd--optimization
ref-method and command merge
2020-08-19 22:29:43 +01:00
Mitchell b8440e8290 all basic command functionality added
allows for all commands from server side and client side to be tested correctly
2020-08-19 22:25:27 +01:00
Mitchell 81c5949de3 new changes from ref-method branch 2020-08-19 22:24:29 +01:00
Mitchell 573a625a04 new client api from ref-method branch 2020-08-19 22:24:10 +01:00
Mitchell 135a497f18 merge with ref-method changes 2020-08-19 22:17:49 +01:00
Mitchell c49bfb281e removed dead code tags to enum types 2020-08-18 13:27:29 +01:00
Mitchell c7edea3984 new commands system with branching removed 2020-08-18 13:00:37 +01:00
Mitchell 68b3ebf74b extra read was causing data to be lost 2020-08-16 18:30:00 +01:00
Mitchell b393223bfa server info unit test fix 2020-08-16 18:29:35 +01:00
Mitchell 399b9b8c59 changed enum layout 2020-08-16 17:15:34 +01:00
Mitchell f24a4f72df functionality for individual commands 2020-08-16 17:15:23 +01:00
michael-bailey b33c250d08 Merge branch 'ref-method' of https://github.com/mitch161/rust-chat-server into ref-method 2020-08-16 17:15:18 +01:00
michael-bailey ca3e559353 Update mod.rs
removed old commands
2020-08-16 17:13:53 +01:00
michael-bailey c1236bdcd3 fixed bug with the 1 2020-08-16 17:13:41 +01:00
michael-bailey ea98cc7688 removed old commands files. 2020-08-16 17:13:28 +01:00
michael-bailey 2837ab52e1 Update Cargo.toml
- removed machine learning lib
2020-08-16 17:12:50 +01:00
Mitchell b4a49918fc duplicated folder 2020-08-16 12:38:54 +01:00
Mitchell 5e1ba2e110 removed extra brace 2020-08-15 22:08:34 +01:00
michael-bailey dbf49a65b2 Revert "Merge branch 'master' into ref-method"
This reverts commit 1a6b344b58, reversing
changes made to be167055e8.
2020-08-12 20:56:05 +01:00
michael-bailey 1a6b344b58 Merge branch 'master' into ref-method 2020-08-12 17:24:12 +01:00
michael-bailey be167055e8 connecting and disconnecting works 2020-08-12 16:44:24 +01:00
michael-bailey b1ad04ed50 Update server_profile.rs
added Dissconnect method
2020-08-11 23:36:27 +01:00
michael-bailey 593fbc96ed Update client_profile.rs
removing the transmit method
2020-08-11 23:36:05 +01:00
michael-bailey dfcc3fbedc Update main.rs
~ hindered the main thread when in non gui mode to lowwer resources
2020-08-11 23:35:47 +01:00
michael-bailey 5057cec283 modified the command to use a trait to parse &str 2020-08-11 23:35:00 +01:00