Пример #1
0
        name='sentry-media'),

    url(r'^templates/(?P<path>.*)$', generic.partial_static_media,
        name='sentry-partial-media'),

    # API
    url(r'^api/0/', include('sentry.api.urls')),
    url(r'^api/hooks/mailgun/inbound/', MailgunInboundWebhookView.as_view(),
        name='sentry-mailgun-inbound-hook'),
    url(r'^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/', ReleaseWebhookView.as_view(),
        name='sentry-release-hook'),
    url(r'^api/embed/error-page/$', ErrorPageEmbedView.as_view(),
        name='sentry-error-page-embed'),

    # Auth
    url(r'^auth/link/(?P<organization_slug>[^/]+)/$', AuthLinkIdentityView.as_view(),
        name='sentry-auth-link-identity'),
    url(r'^auth/login/$', AuthLoginView.as_view(),
        name='sentry-login'),
    url(r'^auth/login/(?P<organization_slug>[^/]+)/$', AuthOrganizationLoginView.as_view(),
        name='sentry-auth-organization'),
    url(r'^auth/sso/$', AuthProviderLoginView.as_view(),
        name='sentry-auth-sso'),


    url(r'^auth/logout/$', AuthLogoutView.as_view(),
        name='sentry-logout'),

    # Account
    url(r'^login-redirect/$', accounts.login_redirect,
        name='sentry-login-redirect'),
Пример #2
0
        name='sentry-api-csp-report'),

    url(r'^_static/(?P<module>[^/]+)/(?P<path>.*)$', generic.static_media,
        name='sentry-media'),

    # API
    url(r'^api/0/', include('sentry.api.urls')),
    url(r'^api/hooks/mailgun/inbound/', MailgunInboundWebhookView.as_view(),
        name='sentry-mailgun-inbound-hook'),
    url(r'^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/', ReleaseWebhookView.as_view(),
        name='sentry-release-hook'),
    url(r'^api/embed/error-page/$', ErrorPageEmbedView.as_view(),
        name='sentry-error-page-embed'),

    # Auth
    url(r'^auth/link/(?P<organization_slug>[^/]+)/$', AuthLinkIdentityView.as_view(),
        name='sentry-auth-link-identity'),
    url(r'^auth/login/$', AuthLoginView.as_view(),
        name='sentry-login'),
    url(r'^auth/login/(?P<organization_slug>[^/]+)/$', AuthOrganizationLoginView.as_view(),
        name='sentry-auth-organization'),
    url(r'^auth/sso/$', AuthProviderLoginView.as_view(),
        name='sentry-auth-sso'),


    url(r'^auth/logout/$', AuthLogoutView.as_view(),
        name='sentry-logout'),

    # Account
    url(r'^login-redirect/$', accounts.login_redirect,
        name='sentry-login-redirect'),
Пример #3
0
    # API
    url(r'^api/0/', include('sentry.api.urls')),
    url(r'^api/hooks/mailgun/inbound/',
        MailgunInboundWebhookView.as_view(),
        name='sentry-mailgun-inbound-hook'),
    url(r'^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/',
        ReleaseWebhookView.as_view(),
        name='sentry-release-hook'),
    url(r'^api/embed/error-page/$',
        ErrorPageEmbedView.as_view(),
        name='sentry-error-page-embed'),

    # Auth
    url(r'^auth/link/(?P<organization_slug>[^/]+)/$',
        AuthLinkIdentityView.as_view(),
        name='sentry-auth-link-identity'),
    url(r'^auth/login/$', AuthLoginView.as_view(), name='sentry-login'),
    url(r'^auth/login/(?P<organization_slug>[^/]+)/$',
        AuthOrganizationLoginView.as_view(),
        name='sentry-auth-organization'),
    url(r'^auth/sso/$',
        AuthProviderLoginView.as_view(),
        name='sentry-auth-sso'),
    url(r'^auth/logout/$', AuthLogoutView.as_view(), name='sentry-logout'),

    # Account
    url(r'^login-redirect/$',
        accounts.login_redirect,
        name='sentry-login-redirect'),
    url(r'^register/$', AuthLoginView.as_view(), name='sentry-register'),
Пример #4
0
 url(
     r"^_static/(?:(?P<version>\d{10}|[a-f0-9]{32,40})/)?(?P<module>[^/]+)/(?P<path>.*)$",
     generic.static_media,
     name="sentry-media",
 ),
 # API
 url(r"^api/0/", include("sentry.api.urls")),
 url(r"^api/hooks/mailgun/inbound/", MailgunInboundWebhookView.as_view(), name="sentry-mailgun-inbound-hook"),
 url(
     r"^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/",
     ReleaseWebhookView.as_view(),
     name="sentry-release-hook",
 ),
 url(r"^api/embed/error-page/$", ErrorPageEmbedView.as_view(), name="sentry-error-page-embed"),
 # Auth
 url(r"^auth/link/(?P<organization_slug>[^/]+)/$", AuthLinkIdentityView.as_view(), name="sentry-auth-link-identity"),
 url(r"^auth/login/$", AuthLoginView.as_view(), name="sentry-login"),
 url(
     r"^auth/login/(?P<organization_slug>[^/]+)/$",
     AuthOrganizationLoginView.as_view(),
     name="sentry-auth-organization",
 ),
 url(r"^auth/sso/$", AuthProviderLoginView.as_view(), name="sentry-auth-sso"),
 url(r"^auth/logout/$", AuthLogoutView.as_view(), name="sentry-logout"),
 # Account
 url(r"^login-redirect/$", accounts.login_redirect, name="sentry-login-redirect"),
 url(r"^register/$", AuthLoginView.as_view(), name="sentry-register"),
 url(r"^account/sudo/$", "sudo.views.sudo", {"template_name": "sentry/account/sudo.html"}, name="sentry-sudo"),
 url(r"^account/recover/$", accounts.recover, name="sentry-account-recover"),
 url(
     r"^account/recover/confirm/(?P<user_id>[\d]+)/(?P<hash>[0-9a-zA-Z]+)/$",