Commit Graph

385 Commits

Author SHA1 Message Date
michael-bailey 72f0ca0139 added eq and PartialEq support to serverState 2021-02-08 21:12:10 +00:00
michael-bailey 1faacb9223 optimised imports 2021-02-08 21:12:10 +00:00
michael-bailey 285015f3f7 fixed warning on unused result 2021-02-08 21:12:10 +00:00
michael-bailey 0b36d04387 renamed functions 2021-02-08 21:12:10 +00:00
michael-bailey 157f76838b Update main.rs
renamed Server view controller
2021-02-08 21:12:10 +00:00
michael-bailey a7de2887d4 Update mod.rs 2021-02-08 21:12:10 +00:00
michael-bailey ef0ee61965 removed unessesery function 2021-02-08 21:12:10 +00:00
michael-bailey 864866d65b Allowing dead code 2021-02-08 21:12:10 +00:00
michael-bailey 8bd9303f5c Update main.rs
removing useless macros
2021-02-08 21:12:10 +00:00
michael-bailey abb4bfaa3e optimising imports
optimising imports
2021-02-08 21:12:10 +00:00
michael-bailey fd8346727b optimising imports 2021-02-08 21:12:10 +00:00
michael-bailey 1ac65001b4 Update main.rs
removed redundent and useless ui code
2021-02-08 21:12:10 +00:00
michael-bailey 5243a6ce8e renamed the about panel. 2021-02-08 21:12:10 +00:00
michael-bailey b3174cc488 Update server_view_controller.rs
changed the name of the ServercontrolView
2021-02-08 21:12:10 +00:00
michael-bailey 4deabcd1fc Update ServerV3.rs
removed use statement
2021-02-08 21:12:10 +00:00
michael-bailey ff97058aa9 Update mod.rs
added the new client to the module tree
2021-02-08 21:12:10 +00:00
michael-bailey b5194fce23 moving menu bar to another file 2021-02-08 21:12:10 +00:00
michael-bailey 89bf41861f added module file for ui 2021-02-08 21:12:10 +00:00
michael-bailey ab23ff5a99 updated server view controller
forgot the imports
2021-02-08 21:12:10 +00:00
michael-bailey face6f935d Create server_view_controller.rs
added a server view controller that holds the display and enables events

it uses views from other modules to create the ui tree.

the cursive user_data store is used to hiold the server
2021-02-08 21:12:10 +00:00
michael-bailey 8831413e00 Update server_profile.rs
changed the function in the update list handler
2021-02-08 21:12:10 +00:00
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