Commit graph

867 commits

Author SHA1 Message Date
0xdcarns
29bc1d5258 removed finished TODO 2022-12-23 14:40:29 -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
df614d6d4f added associate and dissasociate functions 2022-12-23 13:03:33 -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
Aceix
3b82a57993 fix(GRA-832): differentiate update host from update host networks 2022-12-23 10:12:17 +00: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
afeiszli
a6a16cf934 updated versions 2022-12-22 11:59:31 -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
996a08ba93
Merge branch 'netclient_refactor_latest' into GRA-824-save-hostpass 2022-12-21 14:45:18 -05:00
Matthew R. Kasun
bc47ef4868 encrypt and save hostpass on HostCreate 2022-12-21 14:43:46 -05:00
dcarns
1c14e84f34
Merge pull request #1842 from gravitl/bugfix_empty_extclientid
Do not validate empty ext client ids
2022-12-21 14:26:35 -05:00
theguy951357
ac239d014a changed to validate on update 2022-12-21 14:11:52 -05:00
Anish Mukherjee
611fc53d5e do not validate empty ext client ids 2022-12-21 22:23:37 +05:30
dcarns
6e05834399
Merge pull request #1841 from gravitl/GRA-824-refactor-join
Gra 824 refactor join
2022-12-21 10:05:39 -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
0xdcarns
9188dd2cdf initial commit 2022-12-19 18:04:55 -05:00
Matthew R. Kasun
c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
0xdcarns
cc529ab3bd finished initial crud for hosts, fixed stun server close bug 2022-12-19 14:55:24 -05:00
Anish Mukherjee
78db9f4ae9 update dns_test 2022-12-19 16:22:47 +05:30
Matthew R Kasun
4e4c8eab6f
Merge pull request #1810 from gravitl/netclient_refactor_update
add endpoint for re-joins (migration)
2022-12-14 08:09:53 -05:00
Anish Mukherjee
ca2fb67490 fix integration test errors 2022-12-13 11:32:07 +05:30
Anish Mukherjee
72687b9a0f minor fix 2022-12-13 11:08:53 +05:30
Anish Mukherjee
9c019ca1b1 change CORS_ALLOWED_ORIGIN input to comma-separated strings 2022-12-13 10:44:10 +05:30
Abhishek Kondur
07dd20734d extclients internal ips 2022-12-12 22:49:35 +05:30
Abhishek Kondur
8fc09fd5cd fix stun port format,use proxy listen port from node model 2022-12-12 10:33:35 +05:30
Abhishek Kondur
0b8257f0d7 fix models change, merge conflicts resolved 2022-12-12 08:50:28 +05:30
dcarns
67e4317e17
Merge pull request #1797 from yunginnanet/develop
Fixes+Chores: avoid de-referencing nil ptrs + lint
2022-12-10 10:42:04 -05:00
Matthew R. Kasun
bf2d4ccf1e rejoin using updatenode vice createnode 2022-12-10 06:58:54 -05:00
Matthew R. Kasun
653229feba add endpoint for re-joins (migration) 2022-12-09 17:41:44 -05:00
Anish Mukherjee
5f3fd9ee96 remove redundant checks on nodes 2022-12-09 17:11:55 +05:30
Abhishek Kondur
e00199a650 update proxy pkg path 2022-12-09 00:54:11 +05:30
Abhishek Kondur
d8075e69c6 add alias internal ip to ext clients 2022-12-08 19:48:47 +05:30
Anish Mukherjee
8cbe7cb186 allow only dashes and alphanumeric for node and ext client names 2022-12-08 17:51:42 +05:30
kayos@tcp.direct
e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
- Avoid referencing conditions we know are false/true

 - Avoid using name of imported package as variable

 - Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement

 - When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
  *** This item is the most important ***

 - Standard gofmt package sorting + linting; This includes fixing comment starts for go doc

 - Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)

 - Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
Abhishek Kondur
80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Abhishek Kondur
5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30
Abhishek Kondur
cff3508425 Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_proxy_metrics 2022-12-01 19:31:56 +05:30
Anish Mukherjee
fb84ddc6f1 remove unused endpoints 2022-11-30 16:20:05 +05:30
0xdcarns
9fb0380f68 swagger version udpate 2022-11-29 12:05:56 -05:00
Anish Mukherjee
f1fc75aa53 move user-groups and network-users to enterprise controllers 2022-11-29 10:11:47 -05:00
Anish Mukherjee
d24ed73986 update ipv6 test 2022-11-29 10:11:47 -05:00
0xdcarns
31990fca45 fixed admin issue and potential panics 2022-11-29 10:11:47 -05:00
0xdcarns
55d1b3dc63 updated version to v0.16.3 2022-11-29 10:11:47 -05:00