* dev: magic link login and email password disable * dev: user account deactivation * dev: change nginx conf routes * feat: changemod space * fix: space app dir fixes * dev: invalidate cache for instances when creating workspace * dev: update email templates for test email * dev: fix build errors * fix: auth fixes and improvement (#4452) * chore: change password api updated and missing password error code added * chore: auth helper updated * chore: disable send code input suggestion * chore: change password function updated * fix: application error on sign in page * chore: change password validation added and enhancement * dev: space base path in web * dev: admin user deactivated * dev: user and instance admin session endpoint * fix: last_workspace_id endpoint updated * fix: magic sign in and email password check added --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com> Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com> Co-authored-by: guru_sainath <gurusainath007@gmail.com>
72 lines
1.7 KiB
Python
72 lines
1.7 KiB
Python
from django.urls import path
|
|
|
|
from plane.license.api.views import (
|
|
EmailCredentialCheckEndpoint,
|
|
InstanceAdminEndpoint,
|
|
InstanceAdminSignInEndpoint,
|
|
InstanceAdminSignUpEndpoint,
|
|
InstanceConfigurationEndpoint,
|
|
InstanceEndpoint,
|
|
SignUpScreenVisitedEndpoint,
|
|
InstanceAdminUserMeEndpoint,
|
|
InstanceAdminSignOutEndpoint,
|
|
InstanceAdminUserSessionEndpoint,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"",
|
|
InstanceEndpoint.as_view(),
|
|
name="instance",
|
|
),
|
|
path(
|
|
"admins/",
|
|
InstanceAdminEndpoint.as_view(),
|
|
name="instance-admins",
|
|
),
|
|
path(
|
|
"admins/me/",
|
|
InstanceAdminUserMeEndpoint.as_view(),
|
|
name="instance-admins",
|
|
),
|
|
path(
|
|
"admins/session/",
|
|
InstanceAdminUserSessionEndpoint.as_view(),
|
|
name="instance-admin-session",
|
|
),
|
|
path(
|
|
"admins/sign-out/",
|
|
InstanceAdminSignOutEndpoint.as_view(),
|
|
name="instance-admins",
|
|
),
|
|
path(
|
|
"admins/<uuid:pk>/",
|
|
InstanceAdminEndpoint.as_view(),
|
|
name="instance-admins",
|
|
),
|
|
path(
|
|
"configurations/",
|
|
InstanceConfigurationEndpoint.as_view(),
|
|
name="instance-configuration",
|
|
),
|
|
path(
|
|
"admins/sign-in/",
|
|
InstanceAdminSignInEndpoint.as_view(),
|
|
name="instance-admin-sign-in",
|
|
),
|
|
path(
|
|
"admins/sign-up/",
|
|
InstanceAdminSignUpEndpoint.as_view(),
|
|
name="instance-admin-sign-in",
|
|
),
|
|
path(
|
|
"admins/sign-up-screen-visited/",
|
|
SignUpScreenVisitedEndpoint.as_view(),
|
|
name="instance-sign-up",
|
|
),
|
|
path(
|
|
"email-credentials-check/",
|
|
EmailCredentialCheckEndpoint.as_view(),
|
|
name="email-credential-check",
|
|
),
|
|
]
|