Commit graph

6231 commits

Author SHA1 Message Date
abhishek9686
4e825f7b9e force set default acl field to false 2024-09-25 20:25:23 +04:00
abhishek9686
dfed77906a create default acl policies on network creation 2024-09-25 20:24:04 +04:00
abhishek9686
3d327bb89e fetch user gw via access policy 2024-09-25 18:18:23 +04:00
abhishek9686
fcd3325173 enforce new acl policy access check 2024-09-25 16:06:08 +04:00
abhishek9686
00b082d11c add validation check for tags 2024-09-25 13:01:40 +04:00
abhishek9686
630928b4f7 add acl policy checker 2024-09-25 10:37:44 +04:00
abhishek9686
6bc59adb2c add acls api handlers 2024-09-24 19:45:45 +04:00
abhishek9686
e258f12ecb set Acl DB crud 2024-09-24 19:09:15 +04:00
abhishek9686
873d3ea8d8 define acl model 2024-09-23 16:09:59 +04:00
abhishek9686
6c10724622 add mutex to tag operations 2024-09-22 18:24:48 +04:00
Abhishek K
f1a1ab5d0a
Merge pull request #3133 from gravitl/NET-1613-nodes
fix tag udpate with new ID
2024-09-22 15:23:06 +04:00
abhishek9686
ad4c663612 fix tag udpate with new ID 2024-09-22 15:22:36 +04:00
Abhishek K
5e385c84d1
Merge pull request #3132 from gravitl/NET-1613-nodes
NET-1613: Move tags to Network level
2024-09-22 14:07:45 +04:00
abhishek9686
7dffa98884 associate enrollment key tags to node 2024-09-22 14:06:17 +04:00
abhishek9686
04b8737a02 move tags to node model 2024-09-22 13:37:58 +04:00
abhishek9686
c64dc852ae associate tags to network level 2024-09-22 12:22:24 +04:00
abhishek9686
db224ba2d9 allow tag name update 2024-09-19 16:49:31 +04:00
abhishek9686
db2550b7bd add tag groups to enrollment key 2024-09-18 12:22:49 +04:00
abhishek9686
6640b66ac6 add tag to api host 2024-09-18 11:16:13 +04:00
abhishek9686
3d392ee9b1 add delete tag api 2024-09-18 11:08:47 +04:00
abhishek9686
ee5d87733b guard update tag with mutex 2024-09-18 10:46:42 +04:00
abhishek9686
99220fddd3 fix update tag handler 2024-09-18 00:35:50 +04:00
abhishek9686
d64f098181 Tag CRUD APIs 2024-09-17 19:34:45 +04:00
Abhishek K
2e7d9ad826
Merge pull request #3126 from gravitl/master
Master
2024-09-16 19:14:58 +04:00
Abhishek K
6ce1bcedd1
Merge pull request #3125 from gravitl/release-v0.25.0
add return response for user invites
2024-09-16 19:14:14 +04:00
Max Ma
19d4fbaa24
NET-1497:set node lastcheckin after reboot (#3102)
* set node lastcheckin after reboot

* set node connected after reboot
2024-09-16 18:41:11 +04:00
abhishek9686
6a1eb76633 add return response for user invites 2024-09-14 11:53:42 +04:00
dependabot[bot]
1903a49768
Bump github.com/eclipse/paho.mqtt.golang from 1.4.3 to 1.5.0 (#3070)
Bumps [github.com/eclipse/paho.mqtt.golang](https://github.com/eclipse/paho.mqtt.golang) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/eclipse/paho.mqtt.golang/releases)
- [Commits](https://github.com/eclipse/paho.mqtt.golang/compare/v1.4.3...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/eclipse/paho.mqtt.golang
  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>
2024-09-12 13:04:57 +04:00
dependabot[bot]
7b56e24ec6
Bump github.com/seancfoley/ipaddress-go from 1.6.0 to 1.7.0 (#3071)
Bumps [github.com/seancfoley/ipaddress-go](https://github.com/seancfoley/ipaddress-go) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/seancfoley/ipaddress-go/releases)
- [Commits](https://github.com/seancfoley/ipaddress-go/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/seancfoley/ipaddress-go
  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>
2024-09-12 13:01:12 +04:00
dependabot[bot]
1ed8e870f4
Bump golang.org/x/crypto from 0.23.0 to 0.27.0 (#3115)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.27.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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>
2024-09-12 13:01:01 +04:00
dependabot[bot]
dcf15681ba
Bump alpine from 3.20.2 to 3.20.3 (#3117)
Bumps alpine from 3.20.2 to 3.20.3.

---
updated-dependencies:
- dependency-name: alpine
  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>
2024-09-12 13:00:17 +04:00
Abhishek K
e0d6419a0f
Merge pull request #3116 from gravitl/dependabot/go_modules/develop/golang.org/x/oauth2-0.23.0
Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0
2024-09-12 12:30:36 +04:00
dependabot[bot]
2c11955c5f
Bump peter-evans/create-pull-request from 6 to 7 (#3118)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 12:30:18 +04:00
dependabot[bot]
a2612f38aa
Bump github.com/posthog/posthog-go (#3095)
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 0.0.0-20211028072449-93c17c49e2b0 to 1.2.21.
- [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/commits/v1.2.21)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 12:29:33 +04:00
dependabot[bot]
c0c61dd0f2
Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.23.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>
2024-09-12 08:25:17 +00:00
Abhishek K
0b030f7dec
Merge pull request #3123 from gravitl/master
Master
2024-09-12 12:23:50 +04:00
Abhishek K
4fb7578a43
Merge pull request #3084 from gravitl/fix/publish-docker-workflow
fix: remove auto-updating latest tag from publish docker workflow
2024-09-12 12:23:17 +04:00
Max Ma
32994f69bc
NET-1461:update peer info after extClient public key changed (#3088)
* update peer info after extClient public key changed

* peerUpdate after the extClient public key change
2024-09-12 12:20:41 +04:00
Abhishek K
bb8e4e53e9
NET-1574: Pro install arg, handle enrollment key exists error (#3109)
* generalise smtp config

* copy over smtp vars

* env new line

* fix master key api access

* comment user tests

* fix network and user invite for master key access

* remove email sender type

* user mgmt commands

* check user role on CE

* user role nmtcl cmds

* user groups commands

* fix role and groups command

* fix user create cmd

* add usage info

* rm user role check

* fix user update cmd

* fix static check

* add backwards comptability support for extclient api for mobile

* rm debug logs

* set frontend url from base domain if empty

* add flag to install pro

* collect tenant id and license on pro install

* collect tenant id and license on pro install

* add install log

* add pro arg to usage

* add pro arg

* get token if exists already

* trim double quotes from netmaker tag

* trim double quotes from netmaker token

* use jq -r

* copy license and tenant id from previous config

* rename used tenant id var in script
2024-09-12 12:19:50 +04:00
Max Ma
189ac27527
NET-1509:add ingresspersistentkeepalive and ingressmtu for extClient/RAC config (#3107)
* add ingresspersistentkeepalive and ingressmtu for extClient/RAC config

* add ingressmtu and PKA in api response

* add pka and mtu in api/nodes PUT call

* add default value for PKA and mtu for extClients
2024-09-12 12:19:27 +04:00
Abhishek K
8f7ed903b3
Merge pull request #3122 from gravitl/master
Master
2024-09-12 12:17:23 +04:00
Abhishek K
e74b028fd2
Merge pull request #3121 from gravitl/release-v0.25.0
Release v0.25.0
2024-09-12 12:16:45 +04:00
Abhishek K
ddfd1e8c5b
Merge pull request #3120 from gravitl/ACC-638
ACC-638: SaaS user mgmt compatibility changes
2024-09-11 16:48:53 +04:00
Abhishek K
4d56a7e575
Merge branch 'release-v0.25.0' into ACC-638 2024-09-11 15:44:50 +04:00
abhishek9686
30309a4f9a add email validation 2024-09-11 15:43:58 +04:00
Abhishek K
84c06a51ba
Merge pull request #3119 from gravitl/NET-1518
manual trigger getbranch logic change
2024-09-10 10:00:50 +04:00
Sayan Mallick
b385784e7d manual trigger getbranch logic change 2024-09-10 11:14:35 +05:30
Abhishek K
b13f4be5e9
Merge pull request #3114 from gravitl/NET-1518
manual trigger of workflow
2024-09-09 21:17:53 +04:00
Sayan Mallick
fa1cbfc6b2 manual trigger of workflow 2024-09-09 22:15:54 +05:30
Abhishek K
fe101da6c9
Merge pull request #3113 from gravitl/master
Master
2024-09-09 10:50:03 +04:00