mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-27 07:06:03 +01:00
Merge main into feat-add-invite-api and adapt the invite API
Resolve the conflicts with the cluster and endpoint changes and align the new peer_invite route with the other API v2 routes: instance access through validate_api_key, peer selection by uuid or public key, endpoint peers refused, email invites only when enabled, existing invites renewed and the send_email mock pointing to the view module.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views_api import (
|
||||
api_v2_manage_cluster_manage_status,
|
||||
api_v2_manage_cluster_status,
|
||||
api_v2_manage_dns_record,
|
||||
api_v2_manage_peer,
|
||||
api_v2_peer_detail,
|
||||
@@ -16,4 +18,6 @@ urlpatterns = [
|
||||
path('peer_detail/', api_v2_peer_detail, name='api_v2_peer_detail'),
|
||||
path('peer_invite/', api_v2_peer_invite, name='api_v2_peer_invite'),
|
||||
path('wireguard_status/', api_v2_wireguard_status, name='api_v2_wireguard_status'),
|
||||
path('manage_cluster/status/', api_v2_manage_cluster_status, name='api_v2_manage_cluster_status'),
|
||||
path('manage_cluster/manage_status/', api_v2_manage_cluster_manage_status, name='api_v2_manage_cluster_manage_status'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user