Commit graph

5927 commits

Author SHA1 Message Date
abhishek9686 68758c8f76 add additional scopes url 2024-05-27 13:48:36 +05:30
abhishek9686 5eb87dc327 add additional scopes 2024-05-27 13:41:56 +05:30
abhishek9686 1cf6387f76 additional api checks 2024-05-27 01:39:15 +05:30
abhishek9686 beaaefb871 user groups CRUD Apis 2024-05-27 01:28:17 +05:30
abhishek9686 01c50b3457 user roles CRUD apis 2024-05-27 00:48:03 +05:30
abhishek9686 f70e27b64f print oauth token in debug log 2024-05-24 16:54:47 +05:30
abhishek9686 e856c769d2 initialize user role after db conn 2024-05-24 16:46:33 +05:30
abhishek9686 50c7de1608 oauth debug log 2024-05-24 16:16:48 +05:30
abhishek9686 0ed44422b3 define models for new user mgmt and groups 2024-05-24 15:10:09 +05:30
abhishek9686 33375bba0f define user roles 2024-05-22 08:51:55 +05:30
abhishek9686 7e0be14892 user mgmt models 2024-05-21 20:05:25 +05:30
Christopher Blaha 2bd38def35
Net 1043 add issues to a kitemaker ticket. (#2924)
* send ticket to kitemaker

* inherit secrets
2024-05-17 12:48:44 +05:30
Christopher Blaha ee6cdc604b
update develop to v0.24.2 (#2938) 2024-05-17 12:47:54 +05:30
Abhishek K c97dc402b1
Merge pull request #2943 from gravitl/master
Master
2024-05-17 12:41:55 +05:30
Abhishek K b2ae18dde3
Merge pull request #2936 from gravitl/release-v0.24.1
v0.24.1
2024-05-17 12:41:21 +05:30
Abhishek K 09d7001fa5
Merge pull request #2941 from gravitl/NET-1255
NET-1255: Send peer update on startup
2024-05-17 12:20:50 +05:30
Abhishek K 8048565664
Merge pull request #2939 from gravitl/NET-1253
NET-1253: Fix Overwriting of IPv6 endpoint
2024-05-17 12:06:23 +05:30
abhishek9686 72577a96d9 replace peer on first peer update 2024-05-17 12:02:47 +05:30
abhishek9686 450d7d4766 Merge branch 'release-v0.24.1' of https://github.com/gravitl/netmaker into NET-1255 2024-05-17 12:01:53 +05:30
Abhishek K 7e91b197ad
Merge pull request #2942 from gravitl/develop
v0.24.1 release notes (#2935)
2024-05-17 11:59:56 +05:30
abhishek9686 3ed183344b send peer update on startup 2024-05-17 11:28:53 +05:30
abhishek9686 86a0db981e fix overwriting of ipv6 endpoint 2024-05-16 09:34:01 +05:30
Max Ma 0e167e521c
v0.24.1 release notes (#2935)
* v0.24.1 release notes

* Update release.md

---------

Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2024-05-15 20:07:00 +05:30
Max Ma 6dc881260f
NET-1224:add egressGW ip for setroutes (#2933)
* add egressGW ip for setroutes

* fix peer endpoint selection

---------

Co-authored-by: abhishek9686 <abhi281342@gmail.com>
2024-05-14 19:56:24 +05:30
Aceix faf50c8c3d
chore(NET-1245): remove check for private network address (#2934) 2024-05-14 19:54:00 +05:30
Abhishek K 4a355ee9f3
add gw listen port (#2931) 2024-05-09 13:00:21 +05:30
Aceix abf3f4f55d
feat(NET-1106): support additional RAG endpoint IPs (#2907) 2024-05-08 14:45:05 +05:30
Max Ma da11dc8a87
NET-1134:move oauth from CE build block to pro (#2919)
* move oauth from CE build block to pro

* move oauth code and api handler under pro

* move common func back to auth from pro/auth

* change log level to Info for information logs

* fix import issue
2024-05-08 12:44:39 +05:30
dependabot[bot] 7eb1cf49e0
Bump golang.org/x/crypto from 0.22.0 to 0.23.0 (#2928)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.23.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-05-08 12:19:09 +05:30
dependabot[bot] fc5f84e04f
Bump github.com/go-playground/validator/v10 from 10.19.0 to 10.20.0 (#2927)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.19.0 to 10.20.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.19.0...v10.20.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>
2024-05-08 12:17:56 +05:30
momantech 7e2b5b196a
chore: fix some comments (#2918) 2024-05-08 12:17:23 +05:30
Max Ma 1b86e80299
NET-1180: fix install issue for latest debian and centos distributions (#2921)
* fix install issue for Ubunut Fedora Centos Debian latest version

* fix install issue for rocky alma amazon suse latest version

* fix install issue for redhat latest version and misc dpkg command issues

* remove suse and add supported OS message

* change wireguard-tools package name and remove FreeBSD etc in the list

* add yum repo pacakge for centos8&7

* add sleep for nm-quick.sh to avoid failure
2024-05-08 12:15:09 +05:30
Max Ma 86fac41868
fix metric exporter mq connection issue (#2925) 2024-05-08 12:13:11 +05:30
Abhishek K 33846a5124
NET-1061: check if user exists, handle oauth not configured for host SSO (#2917)
* add debug logs

* check if user exists, handle oauth not configured for host SSO

* check if user exists, handle oauth not configured for host SSO

* check if user exists, handle oauth not configured for host SSO

* quit when websocket is closed

* quit when websocket is closed

* quit when websocket is closed

* avoid sending msg onb closed channel

* add debug log

* exit when oauth state is deleted

* add debug log

* handle oauth state not valid with appropirate message

* handle oauth state not valid with appropirate message

* check for invalid oauth state

* rm debug logs
2024-05-08 12:11:37 +05:30
Abhishek K 790681c992
Merge pull request #2930 from gravitl/master
Master
2024-05-07 16:21:58 +05:30
Abhishek K a55a3cc4be
Merge pull request #2929 from gravitl/release-v0.24.0
Release v0.24.0
2024-05-07 16:21:18 +05:30
Abhishek K 24c05ca21c
Merge pull request #2922 from gravitl/hotfix/telemetry-trial-end-date
fix(NET-1175): use default trial end date
2024-05-07 16:20:54 +05:30
dependabot[bot] f59dbc8bf9
Bump golang.org/x/oauth2 from 0.18.0 to 0.20.0 (#2926)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.18.0 to 0.20.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.18.0...v0.20.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>
2024-05-07 16:18:12 +05:30
Abhishek K 2c38d1e8b1
Merge pull request #2923 from gravitl/hotfix/telemetry-trial-end-date
update develop with v0.24.0 hotfixes
2024-05-07 16:14:17 +05:30
the_aceix 5d02109252 fix(NET-1175): use default trial end date
this "more recent" arbitrary date is needed for hubspot to consume exported data without throwing out of date range exeptions
2024-05-03 12:52:55 +00:00
Abhishek K 76e0ba457a
Merge pull request #2910 from gravitl/kwesi/net-1175-posthog-trials-to-hubspot
fix(NET-1175): add "email" to telemetry data
2024-05-03 12:54:03 +05:30
Max Ma 1ad837ad72
NET-1164:PublishDeletedClientPeerUpdate when deleting user from RAGW (#2912)
* PublishDeletedClientPeerUpdate when deleting user from RAGW

* update ACLs after extClient is removed
2024-05-03 12:25:38 +05:30
Abhishek K 715c3051a9
Merge pull request #2911 from gravitl/kwesi/net-1175-posthog-trials-to-hubspot
fix(NET-1175): add "email" to telemetry data
2024-05-02 19:52:55 +05:30
Abhishek K 26e6ad53d1
Merge pull request #2916 from gravitl/master
Master
2024-04-30 21:43:18 +05:30
Abhishek K fccc54d47e
Merge pull request #2915 from gravitl/release-v0.24.0
Release v0.24.0
2024-04-30 21:42:08 +05:30
Abhishek K 79d3d29f6f
Merge pull request #2914 from gravitl/release-v0.24.0-patch-1
fix: update nm-quick script to use create_remote_access_gateway
2024-04-30 21:41:42 +05:30
pwilson77 bd2cd00f9e fix: update nm-quick script to use create_remote_access_gateway 2024-04-30 16:09:49 +00:00
Aceix 117c8ba1f1
fix: fix typo "admin_email" 2024-04-30 09:20:15 +00:00
Aceix 4a8ce7b6fa
fix(NET-1155): sso login changes (#2905)
* fix(NET-1155): prompt for user account on each sso login

* fix(NET-1152): correct pending user response from rac
2024-04-30 09:57:48 +05:30
Max Ma 7de252f996
add ipv6 address/network for egress (#2906) 2024-04-30 09:57:17 +05:30