Commit Graph

35 Commits

Author SHA1 Message Date
michael-bailey e1b5ffd4ee Update main.rs
extracting the ui from the main function
2020-09-27 08:45:23 +01:00
michael-bailey 8f591f24d5 got running flag to display 2020-08-27 18:47:59 +01:00
michael-bailey 4d6a11e2be Update main.rs
experiments with openssl
2020-08-26 11:48:47 +01:00
michael-bailey 48b7edd532 Update main.rs
+ added example for rsa
2020-08-23 23:57:46 +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 81c5949de3 new changes from ref-method branch 2020-08-19 22:24:29 +01:00
Mitchell b393223bfa server info unit test fix 2020-08-16 18:29:35 +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 dfcc3fbedc Update main.rs
~ hindered the main thread when in non gui mode to lowwer resources
2020-08-11 23:35:47 +01:00
Mitchell fa57f25d8a added core server funcs to ui 2020-08-10 18:53:53 +01:00
michael-bailey a1474d01de increment version
+ clap crate
~ attempting fix on getting info
+ added clap arg parsing
+ added rudementary client, remove and update and error
2020-08-07 23:48:05 +01:00
michael-bailey 164542a56b changed ui 2020-08-05 16:30:13 +01:00
michael-bailey 20afff2931 Update main.rs
+ added a ui using cursive.
+ moved server star and stop into the ui.
+ added specific functions for constructing the ui
2020-08-03 12:43:53 +01:00
Mitchell 4377b26d5f corrected constant format 2020-07-24 11:40:17 +01:00
michael-bailey 4cd27856ba Update main.rs 2020-07-21 16:55:06 +01:00
Mitch161 700c093c6b made server and details statics/consts 2020-07-19 21:05:09 +01:00
Mitch161 f7b827b15d removed unused imports 2020-07-19 18:04:22 +01:00
Mitch161 7ed9e469fc changed String to 'static str
The server details shouldnt be able to be change and should exist for the whole execution of the program, this can be changed by reverting back to the old format
2020-07-19 17:55:10 +01:00
Mitchell e6f1b22782 moved infinite loop back to server struct 2020-07-13 21:50:13 +01:00
Mitchell 69f192393d tmp fix with channel system
removed the sync thread system where every client would wait for each client to finish. New system is completely based of channels and messages sent between threads
2020-07-12 21:47:32 +01:00
Mitchell 1276aaa955 changed ip address and port 2020-07-04 14:03:09 +01:00
Mitchell 520d2b91a0 simplified to starting the server
core body of code was moved into the server struct, this function now simply starts the server and defines the concurrent hashmap and queue
2020-06-30 14:25:19 +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 714b33464c connect and disconnect features 2020-06-20 14:56:14 +01:00
Mitchell 15edb7872f update to clientUpdate command
Will not work currently as sync issues exist
2020-06-16 17:37:11 +01:00
Mitchell 830e5c9d64 added fetch all clients system 2020-06-07 20:16:45 +01:00
Mitchell 9a09df6b25 added clientInfo command 2020-06-05 12:43:34 +00:00
Mitchell 08e4c1e324 project restructure 2020-06-04 13:49:08 +00:00
Mitchell da5df01a95 client object changes 2020-05-16 17:47:21 +00:00
Mitchell f8a9c9a50b moved to new bin folder 2020-04-10 10:56:32 +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
Mitchell e85fde11e4 basic project start 2020-04-08 22:49:14 +00:00