Commit graph

7104 commits

Author SHA1 Message Date
Vishal Dalwadi
f3bd8e8d05 fix(go): failover not set; 2025-08-19 17:10:48 +05:30
Vishal Dalwadi
fc58ee27c6 fix(go): migration nodes creation failure; 2025-08-19 14:20:28 +05:30
Vishal Dalwadi
0a6bdf5ace fix(go): workflow test failures; 2025-08-15 17:55:21 +05:30
Vishal Dalwadi
469c4a7b14 fix(go): set other logger verbosity as well;
TODO: We should aim to clean up and use just one logger.
2025-08-15 17:45:18 +05:30
Vishal Dalwadi
308e8f0c1d fix(go): additional rag ips persistence; 2025-08-15 17:32:10 +05:30
Vishal Dalwadi
c2ac4e6816 fix(go): node status update; 2025-08-15 16:09:29 +05:30
Vishal Dalwadi
0278bf5826 fix(go): static check failures; 2025-08-15 14:44:38 +05:30
Vishal Dalwadi
d5db0fe185 fix(go): extclient ip clashes 2025-08-15 11:57:48 +05:30
Vishal Dalwadi
b51520215a fix(go): merge fixes; 2025-08-14 23:13:24 +05:30
Vishal Dalwadi
131025a23e Merge branch 'develop' into task/schema-changes
# Conflicts:
#	go.sum
#	logic/hosts.go
#	logic/networks.go
#	pro/controllers/networks.go
#	pro/controllers/users.go
2025-08-14 23:07:16 +05:30
Vishal Dalwadi
30c44a48df fix(go): set max open conns; 2025-08-14 22:27:33 +05:30
Vishal Dalwadi
a115ad0547 fix(go): allow creation of extclient; 2025-08-14 22:06:39 +05:30
Vishal Dalwadi
3875d12d3a fix(go): relay nodes not getting added; 2025-08-14 16:35:31 +05:30
Vishal Dalwadi
85e4877803
Merge pull request #3576 from gravitl/NM-38
NM-38: User Config Fixes
2025-08-12 14:07:45 +05:30
abhishek9686
773693568c resolve merge conflicts 2025-08-12 11:30:44 +05:30
Abhishek K
48de8ff4a2
Merge pull request #3595 from gravitl/release-v1.0.0
Release v1.0.0
2025-08-12 11:18:18 +05:30
dependabot[bot]
95e55894fa
Build(deps): bump alpine from 3.22.0 to 3.22.1 (#3571)
Bumps alpine from 3.22.0 to 3.22.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.22.1
  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>
2025-08-12 09:21:55 +05:30
dependabot[bot]
fdc9fd869d
Build(deps): bump github.com/mattn/go-sqlite3 from 1.14.28 to 1.14.30 (#3584)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.28 to 1.14.30.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.28...v1.14.30)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-version: 1.14.30
  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>
2025-08-12 09:21:35 +05:30
dependabot[bot]
9faa4ffa3d
Build(deps): bump github.com/posthog/posthog-go from 1.5.12 to 1.6.1 (#3572)
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 1.5.12 to 1.6.1.
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/posthog/posthog-go/compare/v1.5.12...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.6.1
  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>
2025-08-12 09:21:18 +05:30
dependabot[bot]
b81d416e47
Build(deps): bump google.golang.org/api from 0.240.0 to 0.244.0 (#3585)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.240.0 to 0.244.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.240.0...v0.244.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.244.0
  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>
2025-08-12 09:20:47 +05:30
dependabot[bot]
33976c709b
Build(deps): bump gorm.io/gorm from 1.30.0 to 1.30.1 (#3575)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.30.0 to 1.30.1.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.0...v1.30.1)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-version: 1.30.1
  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>
2025-08-12 09:20:29 +05:30
Vishal Dalwadi
85c7da75d3
Fix: Use template variable correctly. (#3578)
* fix(go): use template variable correctly;

* feat(go): update docs link.

* feat(go): update docs link.
2025-08-12 09:17:21 +05:30
Abhishek K
a8a0dd066c
NM-44: Device Approvals for Network Join (#3579)
* add pending hosts apis, migration logic for network auto join field

* fix pending hosts logic on join

* delete pending hosts on host delete

* ignore pedning device request if host in the network already

* add peer update on host approval
2025-08-12 09:16:51 +05:30
Vishal Dalwadi
062552170d
NM-24: IDP UX improvements (#3583)
* fix(go): parse error message when url.Error.

* fix(go): suppress intermediate errors and return the root cause.
2025-08-12 09:14:45 +05:30
Abhishek K
b3253cd17d
NM-9: fix all rsrc static node rule (#3593)
* user policies fix

* fix user acl rules for all resources tag

* handle relayed comms via gateway with active acl policies

* fix static node comms to all resources

* add all resources src rule for static node
2025-08-11 22:04:39 +05:30
Abhishek K
32657dde82
NM-9: User All resources Policy and relayed node acl Fix (#3592)
* user policies fix

* fix user acl rules for all resources tag

* handle relayed comms via gateway with active acl policies

* fix static node comms to all resources
2025-08-11 14:32:26 +05:30
Abhishek K
b972e7a969
add mutex on failover ops (#3590) 2025-08-11 12:17:11 +05:30
Vishal Dalwadi
e4da84aa85
NM-61: User group ACL fixes (#3546)
* feat(go): create default acl only for networks that are part of the group;

* feat(go): update acls on user group update and delete;

* feat(go): add migration for existing acls.

* feat(go): check for network roles in migration.
2025-08-08 22:17:39 +05:30
Vishal Dalwadi
996410fc61
NM-57: Graphs API Forbidden for Platform User (#3577)
* fix(go): permissions for network graph;

* fix(go): allow platform user to get network graph;

* feat(go): allow read only access to host resource to network users.

* feat(go): remove specific check for hosts resource.
2025-08-08 22:14:42 +05:30
Vishal Dalwadi
d5cc14ce49
Patch: Okta IDP Integration (#3586)
* feat(go): add support for okta.

* feat(go): update docs link.

* feat(go): handle okta.

* feat(go): handle okta.
2025-08-07 23:05:58 +05:30
Abhishek K
e0e0a76563
Merge pull request #3565 from gravitl/NM-49
NM-49: Okta IDP Integration
2025-08-04 08:15:48 +05:30
Vishal Dalwadi
6f57f03ad4 fix(go): gateway creation failing; 2025-08-01 18:48:08 +05:30
Vishal Dalwadi
a646b5e283 fix(go): netclient sso login; 2025-08-01 13:21:52 +05:30
Vishal Dalwadi
e1abff3566 fix(go): add location and dns status to host schema; 2025-08-01 11:01:41 +05:30
Vishal Dalwadi
2f6817821c fix(go): avoid panic on client_email missing. 2025-07-31 21:58:45 +05:30
Vishal Dalwadi
025eebe7f2 fix(go): add okta to idp sync test. 2025-07-31 21:36:59 +05:30
Vishal Dalwadi
bca4565256 fix(go): idp sync status. 2025-07-31 21:27:15 +05:30
Vishal Dalwadi
1337b63816 fix(go): sort directly; 2025-07-30 22:50:37 +05:30
Vishal Dalwadi
f4ab479593 Merge branch 'NM-57' into task/schema-changes
# Conflicts:
#	pro/controllers/metrics.go
2025-07-30 22:49:53 +05:30
Vishal Dalwadi
3a30c48091 Merge branch 'develop' into task/schema-changes
# Conflicts:
#	auth/host_session.go
#	pro/controllers/users.go
2025-07-30 22:48:38 +05:30
Vishal Dalwadi
d90ad6f916 fix(go): allow platform user to get network graph; 2025-07-30 22:34:43 +05:30
Vishal Dalwadi
6bfd910b4c Merge branch 'develop' into NM-57 2025-07-30 21:43:13 +05:30
Vishal Dalwadi
7584235022 fix(go): set num access tokens in user object; 2025-07-30 21:32:09 +05:30
Vishal Dalwadi
0c43dd3788 feat(go): add verify method for okta idp client; 2025-07-30 19:29:47 +05:30
Vishal Dalwadi
99f1be4aba Merge branch 'develop' into NM-49
# Conflicts:
#	pro/auth/sync.go
2025-07-30 19:21:59 +05:30
Abhishek K
f075eebedb
Merge pull request #3557 from gravitl/NM-24
NM-24: IDP UX improvements
2025-07-29 19:54:48 +05:30
Abhishek K
ded01ed85d
Merge pull request #3558 from gravitl/NM-37
NM-37: User Settings
2025-07-29 19:50:14 +05:30
Abhishek K
b341dbff51
Merge pull request #3570 from gravitl/NM-56
NM-56: Netclient SSO Login
2025-07-29 19:44:59 +05:30
Vishal Dalwadi
2ee8e18ceb fix(go): permissions for network graph; 2025-07-29 16:32:30 +05:30
Vishal Dalwadi
dcdfe1dc35 fix(go): netclient SSO login; 2025-07-29 15:33:50 +05:30