Commit graph

6188 commits

Author SHA1 Message Date
abhishek9686 7e1af54787 fix query params lookup 2024-07-16 09:27:41 +05:30
abhishek9686 442819d95d point invite link to frontend 2024-07-11 10:45:11 +05:30
Max Ma 023956d361
NET-1288:Fix egress node id issue (#3004)
* add egress range check with netmaker network address

* add egerssrange check for delete egressGW and extClientGW

* remove egress range check for delete

* fix egress nodeid issue
2024-07-10 15:03:25 +05:30
abhishek9686 64601600d2 fix invite redirect 2024-07-10 10:30:27 +05:30
abhishek9686 3bcf4a8f5a temporary redirect 2024-07-10 08:25:11 +05:30
abhishek9686 f18822b2b3 fix invite redirect 2024-07-10 00:53:01 +05:30
abhishek9686 377c73f5ca redirect on invite verification link 2024-07-10 00:38:06 +05:30
Max Ma 65faf73fe9
NET-1226: Scalability Improvements (#2987)
* add api to check if failover node existed

* remove 5 minute peerUpdate

* update peerUpdate to trigger pull

* update Action name to SignalPull

* revert the peerUpdate from SignalPull

* fix getfailover error issue

* rm acls creation for on-prem emqx

* remove use of acls

* add additional broker status field on status api

* NET-1165: Remove creation of acls on emqx (#2996)

* rm acls creation for on-prem emqx

* remove use of acls

* add additional broker status field on status api

* comment out mq reconnect logic

* configure mq conn params

* add metric_interval in ENV for publishing metrics

* add metric_interval in ENV for publishing metrics

* update PUBLISH_METRIC_INTERVAL env name

* revert the mq setttings back

* fix error nil issue

---------

Co-authored-by: abhishek9686 <abhi281342@gmail.com>
Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2024-07-09 18:56:55 +05:30
Max Ma 5b9ccb74a9
improve message for create egressGW (#3001) 2024-07-09 18:56:36 +05:30
abhishek9686 87b585266e add plaform user role 2024-07-09 13:56:55 +05:30
abhishek9686 a797875c9b delete invite after user singup 2024-07-09 13:37:35 +05:30
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
Aceix 2de3fde872
fix(NET-1280): remove RAG metadata length restriction (#2990) 2024-07-05 15:54:05 +05:30
Max Ma f63dfaf4b5
NET-1288:add egress range check with netmaker network address (#2978)
* add egress range check with netmaker network address

* add egerssrange check for delete egressGW and extClientGW

* remove egress range check for delete
2024-07-05 15:53:46 +05:30
Max Ma 7254fd850a
NET-1308:return error if relayed node is an InetClient (#2980)
* return error if relayed node is an InetClient

* add relayed InetGW/Relay check

* add relayedby check when adding InetClient
2024-07-05 15:53:14 +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