michael bailey
f43ceb07df
Create rust.yml ( #3 )
...
+ added a workflow file for CI
2021-04-13 21:54:20 +01: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
Mitchell
82498ca72d
removed commands module
2020-08-10 18:56:17 +01:00
Mitchell
0b824efdb8
added Debug trait
2020-08-10 18:55:27 +01:00
Mitchell
7a25bd8b6e
merged with old commands files
2020-08-10 18:55:06 +01:00
Mitchell
1f3745c0b1
commented out unit test
2020-08-10 18:54:47 +01:00
Mitchell
fa57f25d8a
added core server funcs to ui
2020-08-10 18:53:53 +01:00
michael-bailey
03ab7290c5
added functions
2020-08-09 21:17:17 +01:00
michael-bailey
ef86b89042
added proper definition of traits for classes
2020-08-09 11:36:14 +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
Mitch161
6d3ffc5ae5
Merge pull request #2 from Mitch161/channel-structure
...
Channel structure merge
2020-08-06 12:46:26 +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
michael-bailey
22ed3db6bb
Create mod.rs
...
+ started wok on a client api struct.
2020-08-03 12:43:03 +01:00
michael-bailey
46a6b30681
Update client_profile.rs
...
+ derived debug
+ added senders for it's thread.
+ added channel sender for the server.
+ working on heartbeat.
~ changed the handle to be a single function call invoked by the server
2020-08-03 12:42:42 +01:00
michael-bailey
d56a7209c2
Update server_profile.rs
...
+ added thread spawning.
+added channels for server communication outside of the thread.
+ added main loop process.
~ changes the tcp listener to be non blocking.
+ added loop labels to break out of.
+ impl drop for the server that signals the thread to break.
2020-08-03 12:39:50 +01:00
michael-bailey
f05323361c
Create mod.rs
...
~ coverted Commands to commands-v2
2020-08-03 12:37:30 +01:00