walkerwmanuel
6611941ca2
Replaced string methods with HTTP consts
2022-12-23 09:49:08 -05:00
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
ea854a6b98
fixed admin issue and potential panics
2022-11-10 14:54:53 -05: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
afeiszli
b670755cce
refactoring for ee
2022-09-14 13:26:31 -04:00
0xdcarns
88cd0a6497
initial commit
2022-09-13 15:25:56 -04:00
cameronts
661290c84d
Update swagger docs
2022-09-10 21:51:59 -07:00
cameronts
cb23b871dd
Added swagger for API docs.
2022-09-06 05:20:24 -07:00
cameronts
459e7956cd
Add swagger base
2022-09-02 13:42:51 -07:00
Matthew R. Kasun
184e5a66d9
refactor server routing
2022-08-19 11:25:39 -04:00
Abhishek Kondur
63708e6e36
GRA-414: added additional logs for acl controllers
2022-07-13 14:53:37 +04:00
Abhishek Kondur
5ff30d3ca8
GRA-414: added additional logs for extclient controllers
2022-07-13 10:01:25 +04:00
Abhishek Kondur
5163f77e1f
GRA-414: added additional logs for network controllers
2022-07-12 18:50:32 +04:00
Matthew R. Kasun
e5a59d7081
add bool to control update to node
2022-07-07 05:52:43 -04:00
afeiszli
d63bae351d
fixing rangeupdate for ipv6, setting ipv4 assignment
2022-05-12 19:35:46 -04:00
0xdcarns
7654556a3a
bugfix tweaks
2022-04-25 13:10:55 -04:00
0xdcarns
3ca9843328
small bug fixes
2022-04-25 13:10:55 -04:00
0xdcarns
99abd9666d
removed required status for ipv6 and added check on create network
2022-04-25 13:10:55 -04:00
0xdcarns
8e976d1f55
removed isdualstack references
2022-04-25 13:09:23 -04:00
Matthew R. Kasun
747d6bc692
remove comms network leftovers
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun
7152f6ccd4
remove references to grpc/comms net
2022-04-21 15:53:44 -04:00
Matthew R. Kasun
886ec31553
remove grpc
2022-04-21 15:04:44 -04:00
0xdcarns
ffbc0db33f
send created network back in response to net create
2022-03-17 10:08:28 -04:00
0xdcarns
09551776fa
added server update on ACL update
2022-03-10 14:55:40 -05:00
0xdcarns
af8918e35f
added acl logic to affect peers
2022-03-10 14:55:40 -05:00
0xdcarns
03d35528cc
removed unneccasy api exposure
2022-03-10 14:55:40 -05:00
0xdcarns
aefc8b090b
added basic api endpoints
2022-03-10 14:55:40 -05:00
0xdcarns
3e18687612
reallowed the editing of comms network
2022-02-28 09:50:03 -05:00
0xdcarns
26c70bb2f1
changed logs and saved private key
2022-02-21 15:38:46 -05:00
0xdcarns
a2392721e9
removed filter
2022-02-21 09:05:41 -05:00
0xdcarns
595e00125b
1
2022-02-20 11:12:51 -05:00
0xdcarns
0325795bf2
created comms filter
2022-02-18 19:47:20 -05:00
0xdcarns
3c48db948b
dissallowed comms network edits
2022-02-18 18:26:20 -05:00
afeiszli
8cd19c20c6
removed unnecessary variables from network, added IsHubAndSpoke
2022-02-18 09:49:58 -05:00
0xdcarns
922ebcb4ab
refacted running node updates
2022-02-16 20:44:17 -05:00
0xdcarns
5c35ca433e
edited run updates
2022-02-15 10:12:39 -05:00
Matthew R. Kasun
c8fec5af80
fixed timing
2022-02-04 13:57:01 -05:00
Matthew R. Kasun
02b7025b28
added sleep
2022-02-04 13:11:11 -05:00
Matthew R. Kasun
f0037fb880
publish updates on key change from ui
2022-02-04 11:40:29 -05:00
afeiszli
a693217feb
switch for udp hole punch
2022-02-03 09:51:37 -05:00
afeiszli
c210a223ea
set networkservers on network create
2022-02-01 10:08:44 -05:00
0xdcarns
7846420fa7
added timer hooks
2022-01-25 11:00:56 -05:00
0xdcarns
916866f73c
began refactor
2022-01-17 18:35:16 -05:00
0xdcarns
72206817bb
added local range logic
2022-01-12 19:39:10 -05:00
0xdcarns
c40ab51737
disabled updating default post cmds if RCE disabled
2022-01-05 13:41:11 -05:00
0xdcarns
0c6c09caa9
organized http logic, renamed files
2021-12-07 12:46:55 -05:00