Commit graph

5671 commits

Author SHA1 Message Date
Abhishek K 4c35a7101e
Merge pull request #2695 from gravitl/NET-802
set superadmin to user if owner conf is set
2023-11-27 20:28:48 +04:00
Abhishek Kondur 2f76fa577a saas owner email 2023-11-27 20:27:10 +04:00
Abhishek Kondur 89e9a6f34e set superadmin to user if owner conf is set 2023-11-27 20:13:29 +04:00
Abhishek K 45398c21da
Merge pull request #2694 from gravitl/NET-802
NET-802: return user details form db
2023-11-27 17:39:27 +04:00
Abhishek K 0874618aac
Merge pull request #2693 from gravitl/NET-800
NET-800: Extclients ExtraAllowed IPs
2023-11-27 17:35:43 +04:00
Abhishek Kondur 81de838d93 return user details form db 2023-11-27 14:43:12 +04:00
Farukh Khan 99adc96f72
NET-698 (#2671)
* create emqx creds for host on pull if not found

* create emqx creds for host on pull if not found.

* emqx creds creation changed to host authenticate function

* emqx creds creation changed to host authenticate function.

* added node acls update

* added node acls update.
2023-11-27 13:54:21 +04:00
Abhishek Kondur a41fcb5faa initalize extraallowed ips field 2023-11-27 12:24:31 +04:00
Abhishek Kondur cf0b4cbd2b fix extclient route conv 2023-11-27 11:19:46 +04:00
Abhishek Kondur b3ec58a929 add extraclient egress routes 2023-11-27 10:16:18 +04:00
Abhishek Kondur 358bd12297 send peer update for extclient extraAllowedIps update 2023-11-27 10:03:21 +04:00
Abhishek Kondur fceae8f93a move code to extpeers 2023-11-24 19:29:43 +04:00
Abhishek Kondur b6b71c951e add extclient extra allowedIPs and attach them to egress routes 2023-11-24 18:32:43 +04:00
Abhishek Kondur 9a58c1237e extraAllowedIps fix for ext clients 2023-11-24 15:17:27 +04:00
Abhishek K 1d7299cbb3
Merge pull request #2692 from gravitl/master
master
2023-11-24 14:57:46 +04:00
Abhishek K a5249d0208
Merge pull request #2691 from gravitl/release-v0.21.2
Release v0.21.2
2023-11-24 14:56:38 +04:00
Abhishek K 0fc520ff6b
Merge pull request #2688 from gravitl/NET-793
NET-793: skip license validation on timeout error
2023-11-23 09:16:13 +04:00
Abhishek Kondur 5fd0f3c965 disable clear cache hook 2023-11-23 08:53:41 +04:00
Abhishek Kondur 8a0f96fe9c skip license validation on timeout error 2023-11-23 08:40:10 +04:00
dependabot[bot] 48d9192983
Bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 (#2681)
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 13:10:49 +04:00
dependabot[bot] d2294f8100
Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 (#2682)
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 13:10:34 +04:00
dependabot[bot] 9f58639d47
Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 (#2683)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 13:10:21 +04:00
Gabriel de Souza Seibel 944405f0b7
[ACC-339] Add route to restart server (#2672)
* Add route to restart server with SIGINT

* Respond with 200 in /api/server/health DELETE

* Log before sending SIGINT

* Change route to shutdown
2023-11-22 12:02:11 +04:00
Christopher Blaha b26a18d425
update develop (#2679) 2023-11-22 11:50:49 +04:00
dependabot[bot] c635d78aca
Bump github.com/mattn/go-sqlite3 from 1.14.17 to 1.14.18 (#2657)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.17 to 1.14.18.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.17...v1.14.18)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 15:58:53 +04:00
dependabot[bot] 0ceac2928e
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2658)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 15:58:37 +04:00
dependabot[bot] ae232d74cb
Bump github.com/go-playground/validator/v10 from 10.15.5 to 10.16.0 (#2659)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.15.5 to 10.16.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.5...v10.16.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 15:58:24 +04:00
dependabot[bot] 579d065e76
Bump github.com/gorilla/handlers from 1.5.1 to 1.5.2 (#2660)
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/handlers/releases)
- [Commits](https://github.com/gorilla/handlers/compare/v1.5.1...v1.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 15:57:40 +04:00
Abhishek K d7c1501cb6
Merge pull request #2656 from gravitl/dependabot/go_modules/develop/github.com/gorilla/mux-1.8.1
Bump github.com/gorilla/mux from 1.8.0 to 1.8.1
2023-11-20 15:56:19 +04:00
Abhishek K 5af7a6a50f
Merge pull request #2674 from gravitl/release-v0.21.2
v0.21.2
2023-11-19 20:34:26 +04:00
Abhishek K 7820d64f77
Merge pull request #2676 from gravitl/develop
Net 687 : fix license validation failure log (#2675)
2023-11-17 22:07:58 +04:00
Gabriel de Souza Seibel 291551b45c
Net 687 : fix license validation failure log (#2675)
* On license validation fail, parse and store the message of the response

* Return cached response body when necessary

* Have license validation return proper val,err

* Improve logs readability on lic val error
2023-11-17 22:07:22 +04:00
Abhishek K 82bbf9277a
V0.21.2 release notes (#2673)
* v0.21.2 release notes

* v0.21.2 release notes
2023-11-17 19:10:04 +04:00
Gabriel de Souza Seibel 0a88fdebd9
[NET-687] On license validation fail, parse and store the message of the response (#2669)
* On license validation fail, parse and store the message of the response

* Return cached response body when necessary

* Have license validation return proper val,err
2023-11-17 18:56:51 +04:00
Abhishek K 27378b9c52
NET-765: publish deleted node update on disconnect (#2668)
* publish deleted node update on disconnect

* delete any daemon node

* set peer update for disconnected Node

* set peer update for disconnected Node
2023-11-15 19:53:52 +04:00
Abhishek K 83e83f8392
NET-751: Send deleted node peer update on uninstall (#2665)
* send deleted node peer update, when deleted host from client

* remove duplicate peer update
2023-11-10 11:37:38 +04:00
Abhishek K de85d29eb2
Update README.md 2023-11-08 17:45:05 +04:00
Abhishek K 7169db78ea
NET-717: DNS Fixes (#2654)
* send dns with complete entry name

* publish dns records on adding host to network from UI

* publish node dns updates when host is removed
2023-11-08 17:43:41 +04:00
Abhishek K a9a237cafc
check if new network is overlapping (#2655) 2023-11-08 17:43:20 +04:00
dependabot[bot] fa4f125e1b
Bump github.com/gorilla/mux from 1.8.0 to 1.8.1
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 23:29:33 +00:00
Aceix 61ef6142ff
feat(NET-688): auto relaying via enrollment keys (#2647)
* feat(NET-688): auto relaying via enrollment keys

* feat(NET-688): address pr comments
2023-11-04 16:28:57 +04:00
dependabot[bot] 75e110a5a6
Bump github.com/google/uuid from 1.3.1 to 1.4.0 (#2649)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 07:27:24 +04:00
Gabriel de Souza Seibel abd6a9317c
Don't consider license invalid on 503/504 (#2650) 2023-11-01 23:37:01 +04:00
Abhishek K 800f6e2222
fix extclient caching (#2653) 2023-11-01 23:36:46 +04:00
Abhishek K 916694b2cf
NET-664: Local Connections improvements (#2651)
* deprecate endpoint detection form config

* add peer network info to pull
2023-11-01 20:37:43 +04:00
Abhishek K 7a9dc3458f
NET-667: force delete daemon node (#2645)
* force delete zombie node

* return correct resp

* fix zombie hosts processing

* add nil check rather checking error

* pr comments
2023-10-31 14:34:28 +04:00
dependabot[bot] b72fef833d
Bump github.com/coreos/go-oidc/v3 from 3.6.0 to 3.7.0 (#2640)
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](https://github.com/coreos/go-oidc/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 14:04:54 +04:00
guangwu 92260170f5
fix: typo (#2624) 2023-10-24 20:52:40 +04:00
Abhishek K 2662063c02
NET-686: bring up grafana,promethues containers for pro installation (#2637)
* bring up promethues and grafana containers

* rm nm-certs ref
2023-10-24 20:51:24 +04:00
Gabriel de Souza Seibel 4acba03b62
Have hooks be initialized after apis (#2626) 2023-10-20 10:41:17 +04:00