Esempio n. 1
0
        (r'^pay/', include('seahub_extra.pay.urls')),
    )


if getattr(settings, 'ENABLE_SYSADMIN_EXTRA', False):
    from seahub_extra.sysadmin_extra.views import sys_login_admin, \
        sys_log_file_audit, sys_log_file_update, sys_log_perm_audit, \
        sys_login_admin_export_excel, sys_log_file_audit_export_excel, \
        sys_log_file_update_export_excel, sys_log_perm_audit_export_excel, \
        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('',
Esempio n. 2
0
 from seahub_extra.sysadmin_extra.views import sys_login_admin, \
     sys_log_file_audit, sys_log_file_update, sys_log_perm_audit, \
     sys_login_admin_export_excel, sys_log_file_audit_export_excel, \
     sys_log_file_update_export_excel, sys_log_perm_audit_export_excel, \
     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,
Esempio n. 3
0
        (r'^pay/', include('seahub_extra.pay.urls')),
    )


if getattr(settings, 'ENABLE_SYSADMIN_EXTRA', False):
    from seahub_extra.sysadmin_extra.views import sys_login_admin, \
        sys_log_file_audit, sys_log_file_update, sys_log_perm_audit, \
        sys_login_admin_export_excel, sys_log_file_audit_export_excel, \
        sys_log_file_update_export_excel, sys_log_perm_audit_export_excel, \
        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('',
Esempio n. 4
0
        sys_log_file_audit,
        sys_log_file_update,
        sys_log_perm_audit,
        sys_login_admin_export_excel,
        sys_log_file_audit_export_excel,
        sys_log_file_update_export_excel,
        sys_log_perm_audit_export_excel,
        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"),