Commit graph

624 commits

Author SHA1 Message Date
walkerwmanuel
6611941ca2 Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
afeiszli
a6a16cf934 updated versions 2022-12-22 11:59:31 -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
walkerwmanuel
71d66b7f93 Refactored user functions to use refrences rather than values 2022-12-20 15:10:40 -05:00
Anish Mukherjee
78db9f4ae9 update dns_test 2022-12-19 16:22:47 +05:30
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
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
Anish Mukherjee
5f3fd9ee96 remove redundant checks on nodes 2022-12-09 17:11:55 +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
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
dcarns
f14f984a88
Merge pull request #1758 from gravitl/refactor_ee_controllers
Refactor EE controllers
2022-11-26 10:11:16 -05:00
Anish Mukherjee
fa087401b3 move user-groups and network-users to enterprise controllers 2022-11-22 23:45:31 +05:30
Anish Mukherjee
1905f7061b update ipv6 test 2022-11-16 19:11:45 +05:30
0xdcarns
ea854a6b98 fixed admin issue and potential panics 2022-11-10 14:54:53 -05:00
0xdcarns
3639338faa updated version to v0.16.3 2022-11-04 14:50:54 -04:00
Matthew R. Kasun
89b5911197 update version numbers for v0.16.2 releasse 2022-10-18 10:12:42 -04:00
Matthew R. Kasun
2f164ceb4d update version numbers for v0.16.1 release 2022-10-06 13:50:03 -04:00
Abhishek Kondur
28ca66b32d delete node api fix 2022-10-06 00:54:05 +05:30
Abhishek Kondur
524cef8c29 rm invalid mq command 2022-10-04 23:17:53 +05:30
Abhishek Kondur
479cd377c8 delete mq client for node when delete api recieved from node 2022-10-04 23:12:03 +05:30
Abhishek Kondur
a04549eebe rm register endpoint 2022-09-30 23:19:33 +05:30
Abhishek Kondur
5dd5b73607 added comment 2022-09-30 21:09:45 +05:30
Abhishek Kondur
4678332e3a make node acls generic 2022-09-30 20:59:03 +05:30
Abhishek Kondur
1827f8c3b5 merge conflicts resolved 2022-09-30 20:15:17 +05:30
Abhishek Kondur
0df6d1761e add subscription pattern to acls,fix NaN value in metrics for uptime,get real iface name for mac 2022-09-30 18:31:57 +05:30
afeiszli
c8672818fe adding resets and single peer update on metrics disconnect detections 2022-09-29 14:49:44 -04:00
Abhishek Kondur
677d9fcc8d added comments 2022-09-29 23:59:18 +05:30
Abhishek Kondur
a95468111d added roles,acls for clients 2022-09-29 22:54:41 +05:30
0xdcarns
f2606dd3cb addressed PR comments 2022-09-29 09:49:06 -04:00
0xdcarns
eb75a6829c added wipe failover cases and ceased node update on metrics update 2022-09-28 16:17:49 -04:00
0xdcarns
b95f3eb846 initial PoC completed 2022-09-28 14:59:21 -04:00
Abhishek Kondur
fed66c4b8d json tag fix,create client with password before hashing 2022-09-28 17:58:43 +05:30
afeiszli
54258bcbac add ability to set failover nodes 2022-09-27 14:04:28 -04:00
Abhishek Kondur
878430bf75 create client for nodes on authenticate,generate dyn sec file on startup 2022-09-27 17:36:33 +05:30
Abhishek Kondur
3d5eac6905 rm channel 2022-09-26 21:55:24 +05:30
Abhishek Kondur
faf7addcf5 Merge branch 'bugfix_v0.16.1_ee_checks' of https://github.com/gravitl/netmaker into feature_dyn_sec_latest 2022-09-26 18:09:34 +05:30
Abhishek Kondur
f632bec11d merge conflicts resolved 2022-09-26 17:47:20 +05:30
Abhishek Kondur
cbcb046139 added server health check api 2022-09-26 16:55:33 +05:30
Matthew R. Kasun
5f7d6ea1ef logic.Is_EE --> systemcfg.Is_EE 2022-09-25 07:11:26 -04:00
Matthew R. Kasun
854c20f772 shutdown netmaker on reciept of sigterm 2022-09-22 16:17:06 -04:00
afeiszli
d19cac35fa removed remove network 2022-09-19 12:59:37 -04:00
Alex Feiszli
53d2250049
Merge branch 'develop' into bugfix_v0.16.0_swagger_sections 2022-09-19 12:55:32 -04:00
Abhishek Kondur
2eb5cde6ab dyn sec netclient changes 2022-09-16 11:35:28 +05:30
0xdcarns
b1b497faa4 PR comments addressed 2022-09-15 10:23:19 -04:00