Commit graph

7040 commits

Author SHA1 Message Date
Abhishek K
8b876c17b9
Merge pull request #3624 from gravitl/release-v1.0.0
Release v1.0.0
2025-08-29 11:07:29 +05:30
Abhishek K
c3935d18fd
Merge pull request #3613 from gravitl/NM-96-v1
NM-96: Custom nameservers, Match domains functionality
2025-08-29 11:05:33 +05:30
Abhishek K
bbbe96ad7b
Merge branch 'release-v1.0.0' into NM-96-v1 2025-08-28 21:27:29 +05:30
Abhishek K
b3662828ea
Merge pull request #3623 from gravitl/NM-102
NM-102: IDP Filtering Improvements
2025-08-28 21:27:14 +05:30
Vishal Dalwadi
5be1fb4906 Merge branch 'release-v1.0.0' into NM-102
# Conflicts:
#	pro/idp/azure/azure.go
#	pro/idp/google/google.go
2025-08-28 20:49:00 +05:30
abhishek9686
40fa48f15f fix peer updates on extclient update 2025-08-28 20:36:08 +05:30
abhishek9686
1d9136838f Merge branch 'NM-96-v1' of https://github.com/gravitl/netmaker into NM-96-v1 2025-08-28 20:14:17 +05:30
Abhishek K
a670bdb18a
Merge branch 'release-v1.0.0' into NM-96-v1 2025-08-28 20:13:54 +05:30
abhishek9686
8a76566de2 Merge branch 'release-v1.0.0' of https://github.com/gravitl/netmaker into NM-96-v1 2025-08-28 18:56:44 +05:30
Vishal Dalwadi
5eea06f887 feat(go): apply filters only if they exist; 2025-08-28 13:58:21 +05:30
abhishek9686
599a24ce55 separate pro and ce nameserver funcs 2025-08-28 00:26:32 +05:30
Vishal Dalwadi
146d907f5d feat(go): add filters support for google and okta; 2025-08-27 23:18:41 +05:30
Vishal Dalwadi
56c4e4b155 fix(go): use user.id while matching against member id; 2025-08-27 23:18:41 +05:30
Vishal Dalwadi
7f57339c5a feat(go): remove empty string filters from user and group filters; 2025-08-27 23:18:41 +05:30
Vishal Dalwadi
ded8f1d4cb feat(go): filter out users and groups using membership; 2025-08-27 23:18:41 +05:30
abhishek9686
885b36810b depreacte ingress dns usage on client configs 2025-08-27 14:04:57 +05:30
abhishek9686
b043ed8cb7 add migration func for old upstream servers 2025-08-26 23:53:09 +05:30
Abhishek K
f8f4dee814
Merge pull request #3619 from gravitl/NM-102
Fix IDP Sync Issue
2025-08-26 22:09:50 +05:30
Vishal Dalwadi
5e676d595f fix(go): use user.id while matching against member id; 2025-08-26 22:04:53 +05:30
abhishek9686
18f74e5539 update match domain to list 2025-08-26 18:11:55 +05:30
Abhishek K
d0a3467784
Merge pull request #3618 from gravitl/NM-102
NM-102: IDP Filter Improvements
2025-08-26 18:04:36 +05:30
Vishal Dalwadi
1bfd083e46 feat(go): remove empty string filters from user and group filters; 2025-08-26 17:53:39 +05:30
Vishal Dalwadi
d1582268a3 feat(go): filter out users and groups using membership; 2025-08-26 17:40:53 +05:30
Abhishek K
fa4fb3a311
NM-82: check for all network user groups on gateways selection (#3611) (#3615)
* check for all network user groups on gateways selection

* check network admin policy for admins and superadmins

* remvove default user group changes

* add network admin grp to admins users
2025-08-25 12:42:19 +05:30
Abhishek K
b4c225b2bb
Merge branch 'master' into release-v1.0.0 2025-08-25 12:41:52 +05:30
Abhishek K
93fd03039e
NM-82: check for all network user groups on gateways selection (#3611)
* check for all network user groups on gateways selection

* check network admin policy for admins and superadmins

* remvove default user group changes

* add network admin grp to admins users
2025-08-25 12:40:53 +05:30
abhishek9686
3f2b480057 set match domain on update 2025-08-25 10:25:13 +05:30
abhishek9686
4e8ab0ec3c add global nameservers in case of internet gw 2025-08-22 16:09:13 +05:30
Vishal Dalwadi
b55d512141 fix(go): use iterator var to set ns; 2025-08-22 16:06:34 +05:30
abhishek9686
4902e83fee sync create and update ns req 2025-08-22 16:06:24 +05:30
abhishek9686
1b563b9483 add nameservers to peer update 2025-08-22 16:06:07 +05:30
abhishek9686
dcd7fe72dd add nameserver apis 2025-08-22 16:05:10 +05:30
abhishek9686
fc39247042 setup nameserver schema and models 2025-08-22 16:04:57 +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
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
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
20493c5350
Release v1.0.0 (#3567)
* increase offline auto delete node time

* fix egress HA migration (#3555)

* check for node connectivity status

* NM-20: Add more refined event logs. (#3552)

* feat(go): add more refined event logs;

* feat(go): add more refined event logs;

* feat(go): add an api to validate user identity.

* feat(go): move validate-user-identity under user;

* fix(go): prevent disabling basic auth if deployed by operator; (#3561)

* NM-38: User Config Fixes (#3559)

* Build(deps): bump gorm.io/datatypes from 1.2.5 to 1.2.6

Bumps [gorm.io/datatypes](https://github.com/go-gorm/datatypes) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/go-gorm/datatypes/releases)
- [Commits](https://github.com/go-gorm/datatypes/compare/v1.2.5...v1.2.6)

---
updated-dependencies:
- dependency-name: gorm.io/datatypes
  dependency-version: 1.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Build(deps): bump google.golang.org/api from 0.238.0 to 0.240.0 (#3541)

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.238.0 to 0.240.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.238.0...v0.240.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.240.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>

* Build(deps): bump github.com/go-playground/validator/v10 (#3539)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.26.0 to 10.27.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.26.0...v10.27.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.27.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>

* fix(go): prevent idp user from being deleted; (#3538)

* fix(go): use correct method for pro;

fixes: User Config nodes are always reported online.

* fix(go): add device id to extclient;

* fix(go): try match device id;

* fix(go): set device id if not set;

* feat(go): return best match offline extclient;

* fix(go): match device id with owner and gateway;

* fix(go): remove check for rac id;

* fix(go): check status on get node status;

* fix(go): allow offline or unknown extclient;

* feat(go): add count db method;

* feat(go): revert change;

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Abhishek K <abhi281342@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Revert "NM-38: User Config Fixes (#3559)" (#3562)

This reverts commit 9d65c62860.

* fix(go): usage report; (#3563)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Vishal Dalwadi <51291657+VishalDalwadi@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-28 18:11:55 +05:30
Vishal Dalwadi
a4d961601d
fix(go): usage report; (#3563) 2025-07-25 11:08:05 +05:30
Abhishek K
ebff185706
Revert "NM-38: User Config Fixes (#3559)" (#3562)
This reverts commit 9d65c62860.
2025-07-24 23:07:25 +05:30
Vishal Dalwadi
9d65c62860
NM-38: User Config Fixes (#3559)
* Build(deps): bump gorm.io/datatypes from 1.2.5 to 1.2.6

Bumps [gorm.io/datatypes](https://github.com/go-gorm/datatypes) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/go-gorm/datatypes/releases)
- [Commits](https://github.com/go-gorm/datatypes/compare/v1.2.5...v1.2.6)

---
updated-dependencies:
- dependency-name: gorm.io/datatypes
  dependency-version: 1.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Build(deps): bump google.golang.org/api from 0.238.0 to 0.240.0 (#3541)

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.238.0 to 0.240.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.238.0...v0.240.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.240.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>

* Build(deps): bump github.com/go-playground/validator/v10 (#3539)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.26.0 to 10.27.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.26.0...v10.27.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.27.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>

* fix(go): prevent idp user from being deleted; (#3538)

* fix(go): use correct method for pro;

fixes: User Config nodes are always reported online.

* fix(go): add device id to extclient;

* fix(go): try match device id;

* fix(go): set device id if not set;

* feat(go): return best match offline extclient;

* fix(go): match device id with owner and gateway;

* fix(go): remove check for rac id;

* fix(go): check status on get node status;

* fix(go): allow offline or unknown extclient;

* feat(go): add count db method;

* feat(go): revert change;

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Abhishek K <abhi281342@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-24 12:09:25 +05:30
Vishal Dalwadi
ffe5e0e65a
fix(go): prevent disabling basic auth if deployed by operator; (#3561) 2025-07-24 11:57:53 +05:30
Vishal Dalwadi
39ea1ed9fc
NM-20: Add more refined event logs. (#3552)
* feat(go): add more refined event logs;

* feat(go): add more refined event logs;

* feat(go): add an api to validate user identity.

* feat(go): move validate-user-identity under user;
2025-07-23 14:45:41 +05:30
abhishek9686
5371736d78 check for node connectivity status 2025-07-22 10:31:37 +05:30
Abhishek K
e517a0ac66
fix egress HA migration (#3555) 2025-07-18 12:33:21 +05:30
abhishek9686
f4e6cc94d4 increase offline auto delete node time 2025-07-17 20:24:07 +05:30
Abhishek K
2e47484c7b
Merge pull request #3544 from gravitl/release-v1.0.0
Release v1.0.0
2025-07-08 21:50:00 +05:30
Abhishek K
5be4548597
Merge branch 'master' into release-v1.0.0 2025-07-08 21:47:49 +05:30
Abhishek K
62bfc917ec
Merge pull request #3540 from gravitl/v1.0.0_fixes
comment out default relay access
2025-07-08 07:37:25 +05:30