Commit graph

2665 commits

Author SHA1 Message Date
dcarns 5a10fe2ab3
Merge pull request #937 from gravitl/dev-gh-matrix
workflows/test.yml: add windows/darwin to workflow
2022-03-22 08:53:08 -04:00
dcarns 37ca4cfadf
Merge pull request #938 from gravitl/dependabot/go_modules/develop/github.com/stretchr/testify-1.7.1
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
2022-03-22 08:51:42 -04:00
dependabot[bot] 74ec5332f3
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 12:47:51 +00:00
dcarns 70057dd43f
Merge pull request #939 from gravitl/dependabot/go_modules/develop/github.com/golang-jwt/jwt/v4-4.4.0
Bump github.com/golang-jwt/jwt/v4 from 4.3.0 to 4.4.0
2022-03-22 08:47:17 -04:00
dcarns 51d9347413
Merge pull request #940 from gravitl/dependabot/go_modules/develop/github.com/urfave/cli/v2-2.4.0
Bump github.com/urfave/cli/v2 from 2.3.0 to 2.4.0
2022-03-22 08:46:35 -04:00
dcarns 64753348bb
Merge pull request #941 from gravitl/dependabot/go_modules/develop/github.com/guumaster/hostctl-1.1.2
Bump github.com/guumaster/hostctl from 1.1.1 to 1.1.2
2022-03-22 08:45:52 -04:00
dependabot[bot] d83253bcb0
Bump github.com/guumaster/hostctl from 1.1.1 to 1.1.2
Bumps [github.com/guumaster/hostctl](https://github.com/guumaster/hostctl) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/guumaster/hostctl/releases)
- [Changelog](https://github.com/guumaster/hostctl/blob/master/.goreleaser.yml)
- [Commits](https://github.com/guumaster/hostctl/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/guumaster/hostctl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:12:20 +00:00
dependabot[bot] 117550ad4e
Bump github.com/urfave/cli/v2 from 2.3.0 to 2.4.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:12:12 +00:00
dependabot[bot] a3a52b8867
Bump github.com/golang-jwt/jwt/v4 from 4.3.0 to 4.4.0
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:12:05 +00:00
John Sahhar 0e2f96b5d2 workflows/test.yml: add windows/darwin to workflow
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-21 14:10:39 -06:00
Matthew R Kasun f8bc889ea8
Merge pull request #936 from gravitl/hotfix_v0.12.1_initial_test_fixes
added graceful wait for comms
2022-03-21 16:03:04 -04:00
0xdcarns 8d63a8e058 added graceful wait for comms 2022-03-21 14:47:51 -04:00
dcarns 1f269d8730
Merge pull request #935 from gravitl/hotfix_v0.12.1_initial_test_fixes
comms join issue
2022-03-21 13:53:35 -04:00
0xdcarns d504e9e3cc comms join issue 2022-03-21 12:13:27 -04:00
dcarns 663445fd59
Merge pull request #933 from gravitl/feature_v0.12.1_port_forwarding
run iptables regularly
2022-03-21 11:54:27 -04:00
afeiszli 0ab78e4db2 run iptables regularly 2022-03-21 11:52:00 -04:00
dcarns 131edeb8ea
Merge pull request #932 from gravitl/feature_v0.12.1_versioning
Feature v0.12.1 versioning
2022-03-21 11:48:18 -04:00
afeiszli c26e7ec7ad readme edit 2022-03-21 11:45:56 -04:00
afeiszli dc3908b9f5 changing versions, removing ssh port forward, adding image link 2022-03-21 11:43:06 -04:00
dcarns 9b2742a3c5
Merge pull request #925 from gravitl/refactor_v0.12.0_logging
replace ncutil.Log/PrintLog with logger.Log
2022-03-21 11:35:06 -04:00
Alex Feiszli f8b4ebffc9
Merge pull request #922 from gravitl/bugfix_v0.11.0_server_routes
server routes
2022-03-21 11:34:33 -04:00
afeiszli 8901160237 don't set endpoint if server 2022-03-21 11:30:18 -04:00
Matthew R. Kasun e3d3c864ab fix for windows 2022-03-21 11:27:31 -04:00
Matthew R. Kasun fa78fe208f update for other architectures 2022-03-21 11:27:27 -04:00
Matthew R. Kasun 11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -04:00
dcarns 28efa45419
Merge pull request #924 from masakichi/patch-1
Fix typo for Arch Linux in netclient-install.sh
2022-03-21 10:47:54 -04:00
dcarns 400ce8843a
Merge pull request #931 from gravitl/hotfix_v0.12.1_db_mutex
set max open conns to 1 for sqlite
2022-03-21 10:46:39 -04:00
dcarns 9efb15e688
Merge pull request #929 from gravitl/bugfix_v0.12.0_keepalive
keepalive handling updates
2022-03-21 10:41:01 -04:00
dcarns b397f5014f
Merge pull request #918 from gravitl/bugfix_v0.12.1_hostctl_profile_names
use interface as hostctl profile
2022-03-21 10:24:28 -04:00
0xdcarns 5e327fdea4 set max open conns to 1 for sqlite 2022-03-21 09:14:04 -04:00
john s b16a6ab6a4 netclient: pass by value -> reference (#919)
* netclient: pass by value -> reference

Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-21 08:05:30 -04:00
Matthew R. Kasun c16687be61 keepalive handling updates 2022-03-21 07:07:50 -04:00
john s 24f292c934
netclient: pass by value -> reference (#919)
* netclient: pass by value -> reference

Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-20 23:43:17 -05:00
Yuanji dc470f47c3
Fix typo for Arch Linux 2022-03-20 22:50:41 +09:00
Matthew R. Kasun f615b685c7 server routes 2022-03-20 06:25:12 -04:00
Matthew R. Kasun b1a640eb83 temp code to remove netmaker profiles from /etc/hosts on daemon start 2022-03-18 15:53:59 -04:00
john s eb974dbd63
config/config_test: add test (#882)
* Adds a test for parsing the dev.yaml config included in the repository
* Changes readConfig() to return an error in addition to the envrionment
  config

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-18 14:06:48 -05:00
Matthew R. Kasun 58988706d9 missed on call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-18 13:47:03 -04:00
Matthew R. Kasun 3b12f55de0 use interface as hostctl profile 2022-03-18 10:10:34 -04:00
dcarns ef0d34c119
Merge pull request #912 from gravitl/feature_v0.12.1_default_acl
Feature v0.12.1 default acl
2022-03-18 10:00:35 -04:00
dcarns 7e92c52946
Merge pull request #913 from gravitl/feature_v0.12.1_docker_tags
add latest tag to docker images
2022-03-18 09:16:55 -04:00
Matthew R. Kasun bc4991e3d1 add latest tag to docker images
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-17 18:36:56 -04:00
0xdcarns 772e5e6e80 commsnet else init 2022-03-17 13:54:41 -04:00
0xdcarns d738a35eaf added comms net default acl check 2022-03-17 13:51:23 -04:00
0xdcarns 5ba79afeba added default acl value option for networks 2022-03-17 13:24:57 -04:00
Alex Feiszli ed1dcc9844
Merge pull request #911 from gravitl/refactor_v0.12.1_send_network_on_create
send created network back in response to net create
2022-03-17 13:18:55 -04:00
0xdcarns 3157511cd5 fixed comms id init 2022-03-17 13:14:06 -04:00
0xdcarns ffbc0db33f send created network back in response to net create 2022-03-17 10:08:28 -04:00
dcarns 8dd65d9cbd
Merge pull request #907 from gravitl/feature_v0.12.1_remove_docs
removing docs folder
2022-03-17 09:05:39 -04:00
dcarns a76ac63de0
Merge pull request #908 from gravitl/dev-csprng
logic/accesskeys: math.Rand -> crypto.Rand
2022-03-17 09:05:18 -04:00