469 Commits

Author SHA1 Message Date
VishalDalwadi 2e75e34abb fix(go): use GetMatchingUser in headless callback for azure ad; 2026-04-08 23:32:18 +05:30
Vishal Dalwadi 2453786c6f Merge branch 'release-v1.5.1' into feat/match-azure-user-by-id 2026-04-08 21:11:54 +05:30
VishalDalwadi 660cd2fcfd fix(go): send mq messages in go routine; 2026-04-07 16:14:30 +05:30
VishalDalwadi f4d5e3fa2f fix(go): publish peer update post license validation; 2026-04-07 15:48:57 +05:30
VishalDalwadi b8016780b9 fix(go): remove debug logs; 2026-04-02 22:35:54 +05:30
VishalDalwadi bb7f640df4 fix(go): pass array as arg; 2026-04-02 22:34:23 +05:30
VishalDalwadi 85c1ecee35 fix(go): use start_ts instead of version; 2026-04-02 22:14:27 +05:30
VishalDalwadi f07ce69839 fix(go): allow multivalued filters; 2026-04-02 17:35:41 +05:30
VishalDalwadi b9f40a871d Merge branch 'fixes/release-v1.5.1' of https://github.com/gravitl/netmaker into fixes/release-v1.5.1 2026-04-02 15:23:11 +05:30
VishalDalwadi 8dc250bcd1 fix(go): remove incomplete flow logs; 2026-04-02 15:22:30 +05:30
abhishek9686 675f096d32 v1.5.1: fix auditor activity logs permissions 2026-04-02 15:18:09 +05:30
VishalDalwadi 96d680bfc8 fix(go): remove tags from nameservers; 2026-04-02 09:58:17 +05:30
VishalDalwadi 1e5f7c537e fix(go): if secret is masked use configured secret; 2026-04-01 22:22:49 +05:30
VishalDalwadi 6a54966099 Merge branch 'release-v1.5.1' of https://github.com/gravitl/netmaker into feat/match-azure-user-by-id 2026-04-01 13:04:40 +05:30
abhishek9686 8fafa55f38 v1.5.1: cleanup grps from posture checks on grp updates 2026-04-01 07:26:42 +05:30
abhishek9686 79efb347cf NM-288: move the platform user check in the middleware 2026-04-01 06:41:59 +05:30
abhishek9686 c721ce4886 NM-288: pass all network scoped get apis for platform users 2026-03-30 22:13:31 +05:30
abhishek9686 9925de4dd7 NM-288: optimise network users api call 2026-03-30 15:37:46 +05:30
abhishek9686 76e64200f1 now check each group's NetworkRoles for either the specific network ID or schema.AllNetworks (all_networks) 2026-03-30 10:22:49 +05:30
abhishek9686 9f3894c1ed NM-288: add network users api 2026-03-28 01:06:31 +05:30
abhishek9686 813d7841bf NM-228: add network grps api 2026-03-27 19:14:08 +05:30
abhishek9686 7d2d7daf3a NM-288: populate grp names for posture check apis 2026-03-27 18:59:08 +05:30
VishalDalwadi 6ad14093d2 fix(go): skip fatal log on clickhouse conn; 2026-03-27 15:49:27 +05:30
VishalDalwadi ab9feec1d2 fix(go): create policies for existing groups on network create; 2026-03-27 13:43:06 +05:30
VishalDalwadi fb2786d47d fix(go): separate out migration from normal usage; 2026-03-27 12:33:07 +05:30
VishalDalwadi a1e7603fe0 fix(go): skip global network admin and user groups when splitting; 2026-03-27 11:39:53 +05:30
abhishek9686 9988287942 v1.5.1: clear posture check violations when all checks are deleted 2026-03-26 23:12:55 +05:30
abhishek9686 316f82d4f6 v1.5.1: add grps with name for logging 2026-03-26 22:51:46 +05:30
abhishek9686 086ccc8699 v1.5.1: separate out idp sync and reset signals for HA 2026-03-26 22:30:30 +05:30
VishalDalwadi a9254670ea fix(go): fix 2026-03-26 15:10:25 +05:30
VishalDalwadi 224f857f95 fix(go): remove additional loop; 2026-03-26 14:36:03 +05:30
VishalDalwadi 85d68cfc30 fix(go): review fixes; 2026-03-26 10:38:42 +05:30
VishalDalwadi 5f4b123eec Merge branch 'fixes/v1.5.1' of https://github.com/gravitl/netmaker into fixes/v1.5.1 2026-03-26 10:23:53 +05:30
VishalDalwadi f98c6ba9c5 fix(go): cleanup acls; 2026-03-26 10:23:38 +05:30
abhishek9686 d09630e432 resolve merge conflicts 2026-03-26 10:23:31 +05:30
Abhishek Kondur c3c3ed1fb8 NM-254: add bulk delete apis, rm old acl code (#3937)
* NM-254: add bulk delete apis for users, hosts, nodes and optimise postgres connection settings

* NM-254: rm debug logs

* NM-254: add bulk delete apis, remove old acl code

* NM-254: rm unused flag

* NM-254: fix bulk delete bugs, add security and performance improvements

- Fix host delete notifying peers before confirming deletion from DB
- Fix self-delete vulnerability in bulk user delete
- Fix DissasociateNodeFromHost failing when host.Nodes is empty
- Fix AssociateNodeToHost/DissasociateNodeFromHost stale read race
- Hoist GetAllExtClients outside loop in bulk user delete/status
- Move initializeUUID outside master-pod guard for HA correctness

* NM-254: return 202 Accepted for async bulk APIs, fix relay allowedIPs and host association error handling

- Change all bulk endpoints (hosts, nodes, users, ext clients) from
  200 OK to 202 Accepted to correctly signal async processing
- Add ReturnAcceptedResponse helper in logic/errors.go
- Fix GetAllowedIpsForRelayed returning empty allowedIPs slice,
  restoring relay connectivity
- Make AssociateNodeToHost and DissasociateNodeFromHost return an
  error when the host DB re-fetch fails instead of silently using
  stale data
- Add bulk-apis.md documenting all five bulk endpoints

* NM-254: rm coredns container

* NM-254: add bulk apis for node,extclient status, add activity logs to bulk apis

* NM-254: add bulk api for connection toggle

* NM-254: add network check

* Update controllers/hosts.go

Co-authored-by: tenki-reviewer[bot] <262613592+tenki-reviewer[bot]@users.noreply.github.com>

* NM-254: optimise bulk extclient deletion

---------

Co-authored-by: tenki-reviewer[bot] <262613592+tenki-reviewer[bot]@users.noreply.github.com>
2026-03-26 10:15:07 +05:30
VishalDalwadi aff1319f25 feat(go): add a search query; 2026-03-25 17:51:31 +05:30
VishalDalwadi 3c8b9b0220 fix(go): use filters with count; 2026-03-25 15:32:47 +05:30
VishalDalwadi 010d2d4a8f Merge branch 'fixes/v1.5.1' of https://github.com/gravitl/netmaker into fixes/v1.5.1 2026-03-24 22:56:15 +05:30
VishalDalwadi a27a6b2a76 fix(go): remove acl for idp groups; 2026-03-24 22:39:04 +05:30
Vishal Dalwadi 24cdcc52ac Merge branch 'develop' into fixes/v1.5.1 2026-03-24 17:56:43 +05:30
VishalDalwadi 7507d35b8c fix(go): use conn directly for now; 2026-03-24 17:53:30 +05:30
VishalDalwadi 03a4a2a9e9 fix(go): skip delete and update superadmin on sync users; 2026-03-24 14:22:34 +05:30
VishalDalwadi 1745f80bf2 fix(go): update doc links; 2026-03-23 15:51:59 +05:30
Abhishek Kondur e149f8e582 Merge pull request #3930 from gravitl/master
Master
2026-03-23 14:50:13 +05:30
VishalDalwadi b07255a637 Merge branch 'fixes/v1.5.1' of https://github.com/gravitl/netmaker into fixes/v1.5.1 2026-03-23 14:33:34 +05:30
VishalDalwadi d0a1fff8d0 fix(go): resolve concurrency issues during group delete cleanup; 2026-03-23 14:33:25 +05:30
Vishal Dalwadi 3600e92749 Merge branch 'develop' into fixes/v1.5.1 2026-03-23 14:29:42 +05:30
VishalDalwadi 9cb80e6428 fix(go): run posture check violations on delete; 2026-03-23 10:38:05 +05:30
Abhishek Kondur 79c56b0c1c NM-273: Vnat pool assignments fix (#3926)
* NM-273: Vnat pool assignments fix

* NM-273: rename var

* NM-273: add 2 vCPUs indication for monitoring stack
2026-03-20 08:10:16 +05:30