Esempio n. 1
0
                namespace='notifications')),
    path(
        'sfauth/',
        include(('fleio.core.second_factor_auth.urls',
                 'fleio.core.second_factor_auth'),
                namespace='sfatypesmanager')),
    path('login', views.login, name='login'),
    path('logout', views.logout, name='logout'),
    path('sso', views.sso, name='sso'),
    path('current-user', views.current_user, name='current-user'),
    path('reset-password/', views.password_reset, name='reset-password'),
    path('reset-password/confirm/',
         views.password_reset_confirm,
         name='reset-password-confirm'),
    path('confirm-email/',
         views.confirm_email_after_signup,
         name='email-sign-up-confirmation'),
    path('resend-confirmation-email/',
         views.resend_email_confirmation_email_message,
         name='resend-email-confirmation'),
    path('get-external-billing-url/',
         views.get_external_billing_url,
         name='get-external-billing-url'),
    path('terms-of-service', tos_preview, name='terms_of_service_preview'),
]

PluginUtils.append_plugin_urls(
    urlpatterns=urlpatterns,
    config_type=PluginConfigTypes.enduser,
)
Esempio n. 2
0
    url(
        r'',
        include(('fleiostaff.servers.urls', 'fleiostaff.servers'),
                namespace='server')),
    url(
        r'',
        include(('fleio.osbackup.urls', 'fleio.osbackup'),
                namespace='osbackup')),
    url(r'^get-sso-session$', views.get_sso_session, name='get-sso-session'),
    url(r'^set-license$', views.set_license, name='set-license'),
    url(r'^refresh-license$', views.refresh_license, name='refresh-license'),
    url(r'^login$', views.login, name='login'),
    url(r'^logout$', views.logout, name='logout'),
    url(r'^current-user$', views.current_user, name='current-user'),
    url(r'^services-statuses$',
        views.get_services_statuses,
        name='services-statuses'),
    url(r'^app-status', views.get_app_status, name='app-status'),
    url(r'^get-license-info$', views.get_license_info,
        name='get-license-info'),
    url(r'^reset-password/$', password_reset, name='reset-password'),
    url(r'^reset-password/confirm/$',
        password_reset_confirm,
        name='reset-password-confirm'),
    url('',
        include(('fleio.reports.urls', 'fleio.reports'), namespace='reports'))
]

PluginUtils.append_plugin_urls(urlpatterns=urlpatterns,
                               config_type=PluginConfigTypes.staff)