Ejemplo n.º 1
0
        sys_log_email_audit
    urlpatterns += patterns('',
        url(r'^api/v2.1/admin/logs/login/$', Login.as_view(), name='api-v2.1-admin-logs-login'),
        url(r'^sys/loginadmin/$', sys_login_admin, name='sys_login_admin'),
        url(r'^sys/loginadmin/export-excel/$', sys_login_admin_export_excel, name='sys_login_admin_export_excel'),

        url(r'^api/v2.1/admin/logs/file-audit/$', FileAudit.as_view(), name='api-v2.1-admin-logs-file-audit'),
        url(r'^sys/log/fileaudit/$', sys_log_file_audit, name='sys_log_file_audit'),
        url(r'^sys/log/emailaudit/$', sys_log_email_audit, name='sys_log_email_audit'),
        url(r'^sys/log/fileaudit/export-excel/$', sys_log_file_audit_export_excel, name='sys_log_file_audit_export_excel'),

        url(r'^api/v2.1/admin/logs/file-update/$', FileUpdate.as_view(), name='api-v2.1-admin-logs-file-update'),
        url(r'^sys/log/fileupdate/$', sys_log_file_update, name='sys_log_file_update'),
        url(r'^sys/log/fileupdate/export-excel/$', sys_log_file_update_export_excel, name='sys_log_file_update_export_excel'),

        url(r'^api/v2.1/admin/logs/perm-audit/$', PermAudit.as_view(), name='api-v2.1-admin-logs-perm-audit'),
        url(r'^sys/log/permaudit/$', sys_log_perm_audit, name='sys_log_perm_audit'),
        url(r'^sys/log/permaudit/export-excel/$', sys_log_perm_audit_export_excel, name='sys_log_perm_audit_export_excel'),
    )

if getattr(settings, 'MULTI_TENANCY', False):
    urlpatterns += patterns('',
        (r'^org/', include('seahub_extra.organizations.urls')),
    )

if getattr(settings, 'ENABLE_SHIB_LOGIN', False):
    urlpatterns += patterns(
        '',
        url(r'^shib-login/', shib_login, name="shib_login"),
        url(r'^shib-complete/', TemplateView.as_view(template_name='shibboleth/complete.html'), name="shib_complete"),
        url(r'^shib-success/', TemplateView.as_view(template_name="shibboleth/success.html"), name="shib_success"),
Ejemplo n.º 2
0
            sys_log_email_audit,
            name='sys_log_email_audit'),
        url(r'^sys/log/fileaudit/export-excel/$',
            sys_log_file_audit_export_excel,
            name='sys_log_file_audit_export_excel'),
        url(r'^api/v2.1/admin/logs/file-update/$',
            FileUpdate.as_view(),
            name='api-v2.1-admin-logs-file-update'),
        url(r'^sys/log/fileupdate/$',
            sys_log_file_update,
            name='sys_log_file_update'),
        url(r'^sys/log/fileupdate/export-excel/$',
            sys_log_file_update_export_excel,
            name='sys_log_file_update_export_excel'),
        url(r'^api/v2.1/admin/logs/perm-audit/$',
            PermAudit.as_view(),
            name='api-v2.1-admin-logs-perm-audit'),
        url(r'^sys/log/permaudit/$',
            sys_log_perm_audit,
            name='sys_log_perm_audit'),
        url(r'^sys/log/permaudit/export-excel/$',
            sys_log_perm_audit_export_excel,
            name='sys_log_perm_audit_export_excel'),
    )

if getattr(settings, 'MULTI_TENANCY', False):
    urlpatterns += patterns(
        '',
        (r'^org/', include('seahub_extra.organizations.urls')),
    )
Ejemplo n.º 3
0
        sys_log_email_audit
    urlpatterns += patterns('',
        url(r'^api/v2.1/admin/logs/login/$', Login.as_view(), name='api-v2.1-admin-logs-login'),
        url(r'^sys/loginadmin/$', sys_login_admin, name='sys_login_admin'),
        url(r'^sys/loginadmin/export-excel/$', sys_login_admin_export_excel, name='sys_login_admin_export_excel'),

        url(r'^api/v2.1/admin/logs/file-audit/$', FileAudit.as_view(), name='api-v2.1-admin-logs-file-audit'),
        url(r'^sys/log/fileaudit/$', sys_log_file_audit, name='sys_log_file_audit'),
        url(r'^sys/log/emailaudit/$', sys_log_email_audit, name='sys_log_email_audit'),
        url(r'^sys/log/fileaudit/export-excel/$', sys_log_file_audit_export_excel, name='sys_log_file_audit_export_excel'),

        url(r'^api/v2.1/admin/logs/file-update/$', FileUpdate.as_view(), name='api-v2.1-admin-logs-file-update'),
        url(r'^sys/log/fileupdate/$', sys_log_file_update, name='sys_log_file_update'),
        url(r'^sys/log/fileupdate/export-excel/$', sys_log_file_update_export_excel, name='sys_log_file_update_export_excel'),

        url(r'^api/v2.1/admin/logs/perm-audit/$', PermAudit.as_view(), name='api-v2.1-admin-logs-perm-audit'),
        url(r'^sys/log/permaudit/$', sys_log_perm_audit, name='sys_log_perm_audit'),
        url(r'^sys/log/permaudit/export-excel/$', sys_log_perm_audit_export_excel, name='sys_log_perm_audit_export_excel'),
    )

if getattr(settings, 'MULTI_TENANCY', False):
    urlpatterns += patterns('',
        (r'^org/', include('seahub_extra.organizations.urls')),
    )

if getattr(settings, 'ENABLE_SHIB_LOGIN', False):
    urlpatterns += patterns(
        '',
        url(r'^shib-login/', shib_login, name="shib_login"),
        url(r'^shib-complete/', TemplateView.as_view(template_name='shibboleth/complete.html'), name="shib_complete"),
        url(r'^shib-success/', TemplateView.as_view(template_name="shibboleth/success.html"), name="shib_success"),
Ejemplo n.º 4
0
        url(r"^api/v2.1/admin/logs/file-audit/$", FileAudit.as_view(), name="api-v2.1-admin-logs-file-audit"),
        url(r"^sys/log/fileaudit/$", sys_log_file_audit, name="sys_log_file_audit"),
        url(r"^sys/log/emailaudit/$", sys_log_email_audit, name="sys_log_email_audit"),
        url(
            r"^sys/log/fileaudit/export-excel/$",
            sys_log_file_audit_export_excel,
            name="sys_log_file_audit_export_excel",
        ),
        url(r"^api/v2.1/admin/logs/file-update/$", FileUpdate.as_view(), name="api-v2.1-admin-logs-file-update"),
        url(r"^sys/log/fileupdate/$", sys_log_file_update, name="sys_log_file_update"),
        url(
            r"^sys/log/fileupdate/export-excel/$",
            sys_log_file_update_export_excel,
            name="sys_log_file_update_export_excel",
        ),
        url(r"^api/v2.1/admin/logs/perm-audit/$", PermAudit.as_view(), name="api-v2.1-admin-logs-perm-audit"),
        url(r"^sys/log/permaudit/$", sys_log_perm_audit, name="sys_log_perm_audit"),
        url(
            r"^sys/log/permaudit/export-excel/$",
            sys_log_perm_audit_export_excel,
            name="sys_log_perm_audit_export_excel",
        ),
    )

if getattr(settings, "MULTI_TENANCY", False):
    urlpatterns += patterns("", (r"^org/", include("seahub_extra.organizations.urls")))

if getattr(settings, "ENABLE_SHIB_LOGIN", False):
    urlpatterns += patterns(
        "",
        url(r"^shib-login/", shib_login, name="shib_login"),