Commit graph

6023 commits

Author SHA1 Message Date
abhishek9686 3fe59a1082 setup email sender 2024-07-09 12:32:05 +05:30
abhishek9686 7b0906ac62 add user role as service user if empty 2024-07-08 17:54:44 +05:30
abhishek9686 7bc30f1213 deprecate usage of old user fields 2024-07-08 14:24:17 +05:30
abhishek9686 db3deba181 deprecate use of old admin fields 2024-07-07 13:53:22 +05:30
abhishek9686 78da9fa901 use new role id for user apis 2024-07-07 13:19:46 +05:30
abhishek9686 34bcff2b1d set admin field for backward compatbility 2024-07-07 10:49:01 +05:30
abhishek9686 4996122090 fix user signup via invite api 2024-07-07 10:30:19 +05:30
abhishek9686 1d2e59157b debug log 2024-07-07 00:30:50 +05:30
abhishek9686 018db7618f debug log 2024-07-07 00:26:04 +05:30
abhishek9686 faae8429f3 add query escape 2024-07-07 00:18:13 +05:30
abhishek9686 4d81d8ec1f get query params from url 2024-07-06 23:43:41 +05:30
abhishek9686 4dd7e14c4e get query params from url 2024-07-06 23:25:11 +05:30
abhishek9686 6abeab5b67 debug log 2024-07-06 23:12:55 +05:30
abhishek9686 d34396544e fix invite singup url 2024-07-06 22:49:02 +05:30
abhishek9686 ab1abb5e92 add error logging for email invite 2024-07-06 19:58:06 +05:30
abhishek9686 0dd6a237d3 create user invites tables 2024-07-06 19:55:41 +05:30
abhishek9686 e9e0a9136d add validation checks 2024-07-05 17:22:11 +05:30
abhishek9686 adec4c491a update create user handler with new role mgmt 2024-07-04 11:00:53 +05:30
abhishek9686 b75c0e89ee add group validation for user invite 2024-07-04 08:57:01 +05:30
abhishek9686 b486787deb create invited user on oauth signup, with groups in the invite 2024-07-04 08:51:27 +05:30
abhishek9686 12acada4a1 add invited user via oauth signup automatically 2024-07-02 16:14:22 +05:30
abhishek9686 0fc9a181fd add invite flow apis and magic links 2024-07-02 12:42:11 +05:30
abhishek9686 306d844540 add validation checks 2024-06-29 00:06:36 +05:30
abhishek9686 f1e8867817 update role and groups routes 2024-06-27 20:21:21 +05:30
abhishek9686 ca581aac5c set netid for acls api calls 2024-06-25 18:21:15 +05:30
abhishek9686 26d8259584 set netid for acls api calls 2024-06-25 15:53:08 +05:30
abhishek9686 9082b2fe91 set global check to true when accessing user apis 2024-06-25 14:20:49 +05:30
abhishek9686 2be6e8588c return err if jwt parsing fails 2024-06-25 14:08:35 +05:30
abhishek9686 b385b50a16 add migration func 2024-06-25 13:37:29 +05:30
abhishek9686 49c2e60744 allow multiple network roles 2024-06-25 00:09:24 +05:30
abhishek9686 e326c0fd49 allow multiple network roles 2024-06-24 09:51:06 +05:30
abhishek9686 7d9589f2a5 abort on error 2024-06-23 17:55:30 +05:30
abhishek9686 d08c5b6995 fix jwt parsing 2024-06-23 17:36:38 +05:30
abhishek9686 aa9ea13564 add new func to get username from jwt 2024-06-23 16:26:27 +05:30
abhishek9686 31fc7efe5f fix middleware error nil check 2024-06-23 12:17:44 +05:30
abhishek9686 8af425b0bc add debug logs 2024-06-23 12:09:39 +05:30
abhishek9686 bfef87ebd6 fix get all nodes api 2024-06-23 11:59:43 +05:30
abhishek9686 5033aef702 comment middleware 2024-06-23 11:40:34 +05:30
abhishek9686 bff38b54be add debug logs 2024-06-23 11:16:54 +05:30
abhishek9686 ccf86757e4 invoke sync users migration func 2024-06-23 09:57:38 +05:30
abhishek9686 54c540ef64 migration funcs 2024-06-23 09:10:35 +05:30
abhishek9686 2a1d59b07b nodes handler 2024-06-23 08:38:46 +05:30
abhishek9686 56fdd6d98e replace auth checks, add network id to role model 2024-06-22 17:32:38 +05:30
abhishek9686 3f2716ce37 refer network controls form roles, add debug headers 2024-06-20 08:24:25 +05:30
abhishek9686 7d052e64e2 refer network controls form roles, add debug headers 2024-06-20 07:28:33 +05:30
abhishek9686 0ff57bcc81 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1227 2024-06-19 14:46:09 +05:30
abhishek9686 16d438a390 add debug headers 2024-06-19 14:43:23 +05:30
abhishek9686 97140b3dd5 revert crypto version 2024-06-18 15:58:03 +05:30
dependabot[bot] 2ca7bf7481
Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 (#2968)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.20.0...v0.21.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-06-18 08:08:39 +05:30
dependabot[bot] 24f8edcfde
Bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#2969)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.24.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-06-18 07:33:37 +05:30