Commit graph

927 commits

Author SHA1 Message Date
Tobias Cudnik
e286adda77
NET-291 PUT /api/networks/{networkname} (#2380)
* PUT /api/networks/{networkname}

* review
2023-06-08 17:22:35 -04:00
Abhishek K
78e26c4673
add nodes to pull response (#2371) 2023-06-06 22:16:21 -04:00
Christopher Blaha
c6b1ec494c
update version to 0.20.2 for develop (#2363) 2023-06-06 13:46:46 -04:00
Matthew R Kasun
9ad6d63b45
version and release note updates (#2358) 2023-06-01 09:29:29 -04:00
Matthew R Kasun
9af380fd3b
remove node check from getHosts (#2359) 2023-05-31 17:06:14 -04:00
Tobias Cudnik
f62eab1d18
Ignore stale nodes instead of 500 (#2357) 2023-05-31 19:19:12 +05:30
Tobias Cudnik
723375b334
NET-152 enrollment keys for non admins (#2346)
* return 401 instead of 403

* fixed http.StatusForbidden

* Tagged build version (temp)

* Unauthorized_Err when applicable

* untagged version

* fixed PUT /api/users/networks/user1

* - expired token redirs to login
- added `/api/enrollment_keys` for non-admins
- unit test for enrollment keys for non-admins

* handle user perms in `/hosts`

* removed debug

* misc

* - support masteradmin
- return hosts with partial access

* added `ismaster` to middleware
2023-05-31 13:11:54 +05:30
Aceix
5271a2084b
fix error with user update (#2348)
* fix: user update

* fix: user update
2023-05-30 13:07:47 +00:00
Tobias Cudnik
3a4363c890
NET-163: Return 403 instead of 401 (#2326)
* return 401 instead of 403

* fixed http.StatusForbidden

* Tagged build version (temp)

* Unauthorized_Err when applicable

* untagged version
2023-05-25 09:40:39 -04:00
Tobias Cudnik
615f058b3f
NET-53 Fixed user update returns old data (#2312)
* fixed gids in user update

* review comments

* review comments

* review comments
2023-05-22 17:57:32 -04:00
Matthew R Kasun
242745a57a
versions (#2302) 2023-05-18 08:08:44 -04:00
Matthew R Kasun
78640f1342
Extclient NET-63x (#2286)
* model changes

* additional fields for extclient create

* add DNS to extclient config

* extclient name checks

* update extclient

* nmctl extclient

* final tweaks

* review comments

* add extclientdns to node on ingress creation

* fix to add ingress dns to api (#2296)

---------

Co-authored-by: Aceix <aceixsmartX@gmail.com>
2023-05-17 10:58:03 -04:00
Matthew R Kasun
68ff45bca4 send host update when deleting relay 2023-05-09 14:55:49 -04:00
Alex Feiszli
89320e6124
Merge pull request #2256 from gravitl/NET-79
Net 79
2023-05-09 09:14:29 -04:00
Alex Feiszli
82f0ac492a
Merge pull request #2262 from gravitl/NET-80
return {} if no records found for acls/metrics
2023-05-09 09:13:30 -04:00
Matthew R Kasun
f675be5166
Merge branch 'develop' into NET-79 2023-05-04 16:56:24 -04:00
Matthew R Kasun
3e0d7720c8 return {} if no records found for acls/metrics 2023-05-04 16:50:03 -04:00
Alex Feiszli
146f50a1ea
Merge pull request #2236 from gravitl/v0.18.8_develop
update develop to v0.19.0
2023-05-03 15:49:13 -04:00
Matthew R Kasun
2750c6f914 free tier limit exceeded: status code now 403 2023-05-03 10:07:47 -04:00
theguy951357
ee27f22478 update to v0.19.0 instead 2023-05-02 22:18:05 -04:00
Alex Feiszli
8688e29db9
Merge pull request #2246 from gravitl/NET-35
NET-35: retrieve server public traffic key on pull
2023-05-02 17:01:21 -04:00
Abhishek Kondur
d12e4ecabf set server traffic pub key in pull resp 2023-04-29 17:23:57 +05:30
Abhishek Kondur
423abf0fe4 add use_turn option to config,check if server is using turn 2023-04-28 14:06:28 +05:30
Abhishek Kondur
75df40be9f fix conflict change 2023-04-26 13:37:07 +04:00
Abhishek Kondur
9f5239ec79 re-register host with turn 2023-04-26 13:12:16 +04:00
Abhishek Kondur
d0646392b3 merge conflicts resolved 2023-04-25 11:15:35 +04:00
Abhishek Kondur
9e0038f39c merge conflicts resolved 2023-04-25 11:12:22 +04:00
theguy951357
58cd6e4884 update develop to v0.18.8 2023-04-24 16:34:02 -04:00
dcarns
619c57f9c3
Merge pull request #2218 from gravitl/v0.18.7_develop
upgrade develop to v0.18.7
2023-04-19 15:30:02 -04:00
Matthew R Kasun
de111181bf restore sortNetworks 2023-04-19 14:06:39 -04:00
Matthew R Kasun
57723b7aae merge conflicts 2023-04-19 13:18:03 -04:00
Matthew R Kasun
c510846444
Merge branch 'develop' into GRA-1529-key-update 2023-04-19 13:16:09 -04:00
Christopher Blaha
e02c35e3f9
Merge branch 'develop' into v0.18.7_develop 2023-04-19 13:14:32 -04:00
dcarns
700147e3ca
Merge pull request #2171 from walkerwmanuel/GRA-1336-sort-before-sending
GRA-1336: sort before sending
2023-04-19 13:08:08 -04:00
Matthew R Kasun
920590b651 fix build issue 2023-04-19 09:58:16 -04:00
Matthew R Kasun
754ab44a48 Merge remote-tracking branch 'origin/develop' into GRA-1529-key-update 2023-04-19 09:48:04 -04:00
Abhishek Kondur
433b61417b merge conflicts resolved 2023-04-19 13:23:06 +04:00
theguy951357
bf884280cd upgrade develop to v0.18.7 2023-04-18 15:17:00 -04:00
dcarns
33834bae42
Merge pull request #2210 from gravitl/GRA-1530-network-edit
deprecated ability to edit networks
2023-04-18 10:37:18 -04:00
0xdcarns
18c9bcc58f adapted sso to host registration 2023-04-17 22:23:17 -04:00
Matthew R Kasun
cd89b4abef remove old peer when publickey updated 2023-04-17 18:20:09 -04:00
Matthew R Kasun
34eb699752 deprecated ability to edit networks 2023-04-14 10:39:36 -04:00
Matthew R Kasun
63552891ee refactor key updates on host basis vice node 2023-04-13 15:02:14 -04:00
Abhishek Kondur
1afad1f9ed avoid random update of host 2023-04-11 22:29:14 +04:00
Abhishek Kondur
31d5964f8a check if signal data is sufficient 2023-04-11 13:27:17 +04:00
Abhishek Kondur
726531af25 change relayendpoint type to str 2023-04-11 09:46:51 +04:00
Abhishek Kondur
be021d784e break after signalling matching host 2023-04-10 12:24:05 +04:00
Abhishek Kondur
4d223c1cdc api for signalling peer 2023-04-10 12:14:40 +04:00
0xdcarns
9d230d3540 initial commit 2023-04-06 12:27:33 -04:00
dcarns
b3be57c65b
Merge pull request #2158 from gravitl/GRA-1479-user-updates
add checks to user update processing
2023-04-04 16:08:34 -04:00