Commit Graph

667 Commits

Author SHA1 Message Date
ayham 2c625a3329
mark taskell
continuous-integration/drone/push Build is passing Details
2021-08-21 18:16:46 +03:00
ayham 661e3709fb
fix typos in drone tests
continuous-integration/drone/push Build is passing Details
2021-08-21 17:13:46 +03:00
ayham edf212de7e
add basic test running
continuous-integration/drone/push Build is failing Details
does not add actual test
2021-08-21 08:50:18 +03:00
ayham ca6f0677ed
make namespace naming better
continuous-integration/drone/push Build is passing Details
- replace acc_create with account::create on server & client
- replace acc_auth with account::authorize on server & client
- to use the account module (non-common), just import
  crate::server/client::account;
- remove redundant use namings
2021-08-20 10:11:06 +03:00
ayham 888b2cbe80
update taskell
continuous-integration/drone/push Build is passing Details
2021-08-19 19:39:57 +03:00
ayham 30a20873ea
remove all todos
continuous-integration/drone/push Build is passing Details
- on the server side, remove all unwraps and actually check and return
  to client an error message, by sing if let statements.
- on the client side, remove unneeded uwnraps by making
  req_server_salt() and get_server_salt() return SaltString, remove
  the load from hash function.
2021-08-19 19:27:08 +03:00
ayham 27e68e3eeb
convert to argon2 church
continuous-integration/drone/push Build is passing Details
- convert to argon2
- make hahsing actually works
- fix minute stuff with bincode conversion
- sloppy code
- works
2021-08-19 10:51:26 +03:00
ayham 4f420925cf
big rewrite of basic components
continuous-integration/drone/push Build is failing Details
- rewrite of Message structure
- rewrite of method of handling Messages
- rewirte of handle_data
- rewrite of JWT file structures
- build but does not actually work
- next step is to conver to a more generic password (also email) hashing
  library, the kind of password_hash
2021-08-13 09:00:23 +03:00
ayham 915483c465
fix discrepancy between server and client logging
continuous-integration/drone/push Build is passing Details
2021-08-08 08:19:30 +03:00
ayham 554f6011a2
move assert_msg from common/misc/ to common/message/
continuous-integration/drone/push Build is passing Details
2021-08-07 19:30:55 +03:00
ayham 7413505375
merge retrieval_transaction.rs with retrieve_transactions.rs
continuous-integration/drone/push Build is passing Details
- remove src/libtrader/network/cmd folder entirely
- add investigate log discrepancy between server and client to todo
  board
2021-08-06 10:53:15 +03:00
ayham 7c5ebd00c5
update
continuous-integration/drone/push Build is passing Details
2021-08-02 19:23:20 +03:00
ayham ff5148df75
merge retrieve_portfolio.rs with retrieval_portfolio.rs
continuous-integration/drone/push Build is passing Details
2021-08-01 18:17:11 +03:00
ayham 499b38a17c
remove unneeded server network commands
continuous-integration/drone/push Build is passing Details
- remove get_asset_data.rs
- remove get_asset_info.rs
- remove purchase_asset.rs
2021-08-01 17:49:07 +03:00
ayham 1468aa9354
merge authorization.rs with login_normal.rs
continuous-integration/drone/push Build is passing Details
- merge authorization.rs with login_normal.rs
- make get_user_id.rs return std::io::Result
2021-07-31 19:36:59 +03:00
ayham 7cf34e7b9a
merge register.rs with creation.rs
continuous-integration/drone/push Build is passing Details
2021-07-31 19:02:57 +03:00
ayham 81c6efb0de
mark todo as done
continuous-integration/drone/push Build is passing Details
2021-07-30 16:37:49 +03:00
ayham 2470a7ccf8
remove unneeded cmdline args, cert & key
continuous-integration/drone/push Build is passing Details
those are not needed to be in supplied from the command line,
moved to env.sh
2021-07-30 08:12:16 +03:00
ayham 4a7bded35f
update todos
continuous-integration/drone/push Build is passing Details
2021-07-30 07:48:29 +03:00
ayham ff225070e4
add drone ci support
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2021-07-30 07:04:54 +03:00
ayham 6392388d8a
move to taskell 2021-07-29 08:04:53 +03:00
ayham 797e18ccc5
update .gitignore to stop latex garbage 2021-07-19 14:20:56 +03:00
ayham def1098dda
remove latex garbage 2021-07-19 14:18:16 +03:00
ayham 98a4591d55
remove unneeded sandbox files 2021-07-19 14:01:27 +03:00
ayham b25b2f6625
fix comments in assert_msg.rs 2021-07-17 10:49:52 +03:00
ayham d0f39990b2
fix comments in server/db/initalizer.rs 2021-07-17 10:45:29 +03:00
ayham dbb8e0d05a
fix comments in server/initalizer.rs 2021-07-17 10:43:19 +03:00
ayham 54258f0ae8
fix comments in server/*/create_stock.rs 2021-07-17 10:39:50 +03:00
ayham 4699c5b1e4
fix comments in server/*/create_position.rs 2021-07-17 10:38:38 +03:00
ayham 863dbad593
fix comments in server/*/get_stock.rs 2021-07-17 10:36:54 +03:00
ayham 0ff12e03f8
fix commennts in server/*/create_transactions.rs 2021-07-17 10:34:38 +03:00
ayham e675b8648f
fix comments in server/*/create_company.rs 2021-07-17 10:33:22 +03:00
ayham 5f58c9138f
fix comments in server/*/get_company.rs 2021-07-17 10:31:29 +03:00
ayham ee96ca4542
fix comments in server/*/gen_tls_server_config.rs 2021-07-16 13:25:51 +03:00
ayham 3b0ed67242
fix comments in client/*/authorization.rs 2021-07-16 13:23:03 +03:00
ayham 8e1dd7c9ca
fix comemnts in client/creation.rs 2021-07-16 13:16:50 +03:00
ayham d63f711a33
fix comments in retrieval_portfolio.rs 2021-07-16 13:10:22 +03:00
ayham cd138d9225
fix comments in retrieval_transaction.rs 2021-07-16 13:05:01 +03:00
ayham 3adab64b59
fix comments in client/initalizer.rs 2021-07-14 23:12:14 +03:00
ayham 95b4f7789a
fix comment gen_tls_client_config 2021-07-14 23:08:46 +03:00
ayham 30aa9720ae
fix comments in get/req_server_salt.rs 2021-07-14 23:07:46 +03:00
ayham 1efc7aea8f
fix comments get_server_salt.rs 2021-07-14 22:58:29 +03:00
ayham c74da469ae
fixed wrong script name in README 2021-07-01 18:50:50 +03:00
ayham c063e7962f
rename scripts
- add actual server/client deployment script
- make old database deployment scripts clear named
2021-06-25 15:51:42 +03:00
ayham 1d689bb884
add environment based db config 2021-06-02 18:03:42 +03:00
ayham bd35323627
cargo fmt 2021-06-02 17:01:26 +03:00
ayham 713bfdb6ff
do all todos 2021-06-02 16:49:32 +03:00
ayham ca7c91216b
cargo fmt 2021-06-01 19:04:28 +03:00
ayham 66af765def
make 'src/common' actually common
- delete no longer needed lookup_ipv4
- delete no longer needed path_exists
- move gen_tls_client_config from common to client
- move gen_tls_server_config from common to server
2021-06-01 18:59:07 +03:00
ayham f2c4d46ffe
improve logging substantially
- remove simple_logger
- add fern logging
- remove no longer applicable gen_log.rs
- add address based logging
	- every spawned task that handles a client logs their address
	- main task/runtime has address 0.0.0.0:0
- add pretty colored logging
- remove /var/log requirement
2021-06-01 12:12:28 +03:00