Commit graph

275 commits

Author SHA1 Message Date
Matthew R Kasun
770c19302e reworked migrate function 2023-01-22 16:31:43 -05:00
Abhishek Kondur
a33338fa99 remove adding,modifying roles 2023-01-22 17:57:49 +04:00
Anish Mukherjee
0049c2bcad decrement accessk key on use 2023-01-20 17:05:06 +05:30
Matthew R Kasun
1f92d06d7c check host ports on join 2023-01-20 05:39:33 -05:00
Abhishek Kondur
81e9febf2a rm mq dynamic security, add mq username,password to config 2023-01-19 23:11:28 +05:30
0xdcarns
e4d44b5fab ee update 2023-01-14 12:00:44 -05:00
0xdcarns
7d17892344 implemented correct node delete flow 2023-01-14 11:05:03 -05:00
Abhishek Kondur
5d312a489e pr comment: return if host update fails 2023-01-13 20:04:52 +05:30
Abhishek Kondur
d05afeeee0 resolve merge conflicts 2023-01-13 19:16:40 +05:30
Abhishek Kondur
e9dd9ac0a4 fix fetching uniqueIp 2023-01-13 19:11:40 +05:30
Matthew R. Kasun
348aecbad1 review comments 2023-01-12 13:13:26 -05:00
Matthew R Kasun
ed95226dc5
Merge branch 'develop' into gra-830-migrate 2023-01-12 10:28:44 -05:00
Matthew R. Kasun
30c7e8b217 refactor migrate for new models 2023-01-12 10:27:24 -05:00
Abhishek Kondur
4fba43eff8 rm network parameter 2023-01-10 23:05:50 +05:30
Abhishek Kondur
9b1d8b1d89 remove parameters from mq peer msg 2023-01-10 10:49:15 +05:30
Abhishek Kondur
d373e90597 enable proxy when host is relay and on relayed hosts, add relay related feilds to api host model 2023-01-09 23:03:23 +05:30
Abhishek Kondur
95b578455d proxy updates refactor changes 2023-01-08 18:50:02 +05:30
Abhishek Kondur
ca3d9dc40b fix node update 2023-01-06 16:58:41 +05:30
Abhishek Kondur
950fd3c290 rm peer from host model 2023-01-05 16:17:09 +05:30
Abhishek Kondur
bff68bd945 rm peers from node model 2023-01-05 14:56:20 +05:30
Abhishek Kondur
2ff8684fd4 keep node level peers for now 2023-01-05 09:42:41 +05:30
Abhishek Kondur
4c63478888 get node fix 2023-01-05 09:31:31 +05:30
Abhishek Kondur
72e4b914b9 move peers to host level 2023-01-05 09:24:46 +05:30
Abhishek Kondur
3f8f841313 Merge branch 'netclient_refactor_latest' of https://github.com/gravitl/netmaker into netclient_refactor_peer_updates 2023-01-05 08:46:49 +05:30
Matthew R. Kasun
8bfe255eab Merge remote-tracking branch 'origin/develop' into netclient_refactor_latest
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2023-01-04 14:16:12 -05:00
Abhishek Kondur
21133bca7d host based updates 2023-01-04 20:02:02 +05:30
Abhishek Kondur
bf2f51ec3b update host struct in memory, set to proxy port if peer host is using proxy 2023-01-03 09:14:48 +05:30
Abhishek Kondur
7455bf7d6c send peer update after node has left the network 2022-12-30 15:47:02 +05:30
Abhishek Kondur
2c2b3a4b9b pr comment 2022-12-29 21:20:29 +05:30
Abhishek Kondur
ba2466aa25 delete node fix, mq modify client if host is already created 2022-12-29 19:25:35 +05:30
0xdcarns
8c92308ccf made mq functions a little easier to read and re-use 2022-12-28 12:10:03 -05:00
Abhishek Kondur
9941c6bedc remove proxy payload from get node response 2022-12-28 08:01:27 +05:30
Abhishek Kondur
2cb3ee65af change proxy models reference paths 2022-12-27 21:56:55 +05:30
Abhishek Kondur
5f2d73dd52 get host info from db before updating 2022-12-27 17:43:31 +05:30
Matthew R. Kasun
319193c18a update IsIPUnique
also:
 - remove unnecessary call to UpertHost in create node
 - remove debugging logs
2022-12-23 18:06:59 -05:00
Matthew R Kasun
a371b7ae21
Merge branch 'netclient_refactor_latest' into GRA-824-getPeerUpdate 2022-12-23 15:59:55 -05:00
0xdcarns
8058640cdf change local address and join create func 2022-12-23 14:22:34 -05:00
Matthew R. Kasun
eae92470c5 refactor of peerUpdate
contains some debugging logging
2022-12-23 13:41:17 -05:00
0xdcarns
5f5f8be5d5 created functions 2022-12-23 12:38:22 -05:00
walkerwmanuel
6611941ca2 Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
0xdcarns
2ed6a65f02 changed apinode -> node on return 2022-12-22 16:30:44 -05:00
0xdcarns
59a89707ed create nodeNodeUpdate func for node to server updates 2022-12-22 16:16:58 -05:00
0xdcarns
309cfff577 updated controllers to use conversion routines 2022-12-22 15:44:42 -05:00
dcarns
7328fbd351
Merge pull request #1849 from gravitl/fix_peer_errors
fix compile errors
2022-12-22 08:49:08 -05:00
Matthew R. Kasun
bce2f8a45c fix compile errors 2022-12-22 06:42:33 -05:00
Matthew R. Kasun
bc47ef4868 encrypt and save hostpass on HostCreate 2022-12-21 14:43:46 -05:00
Matthew R. Kasun
a219f8f22c create host on join if host does not exist 2022-12-21 06:08:52 -05:00
Matthew R. Kasun
38cd4d7700 refactor join
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
walkerwmanuel
71d66b7f93 Refactored user functions to use refrences rather than values 2022-12-20 15:10:40 -05:00
Matthew R. Kasun
c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00