Beispiel #1
0
def core_auditlog_register():
    auditlog.register(Parameter, include_fields=['value_txt'])
    auditlog.register(LucteriosUser)
    auditlog.register(LucteriosGroup)
    set_auditlog_states()
Beispiel #2
0
def event_auditlog_register():
    auditlog.register(DegreeType, exclude_fields=['ID'])
    auditlog.register(SubDegreeType, exclude_fields=['ID'])
    auditlog.register(Event,
                      include_fields=[
                          'activity', 'status', 'event_type', 'date_txt',
                          'default_article', 'default_article_nomember',
                          'comment'
                      ])
    auditlog.register(Organizer, exclude_fields=['ID'])
    auditlog.register(Participant,
                      include_fields=[
                          "contact", 'degree_result', 'subdegree_result',
                          'comment', 'article', 'reduce'
                      ])
    auditlog.register(Degree, exclude_fields=['ID'])
Beispiel #3
0
def dummy_auditlog_register():
    auditlog.register(Example)
    auditlog.register(Other)
Beispiel #4
0
def mailing_auditlog_register():
    auditlog.register(Message,
                      include_fields=[
                          'status', 'date', 'subject', 'body', 'recipients',
                          'attachments'
                      ])
Beispiel #5
0
def contacts_auditlog_register():
    auditlog.register(LegalEntity)
    auditlog.register(Individual)
    auditlog.register(Responsability,
                      include_fields=['individual', 'functions'])
    auditlog.register(PostalCode)
    auditlog.register(Function)
    auditlog.register(StructureType)
    auditlog.register(CustomField,
                      include_fields=['name', 'model_title', 'kind_txt'])
    auditlog.register(ContactCustomField,
                      include_fields=['field', 'data'],
                      mapping_fields=['field'])
Beispiel #6
0
def documents_auditlog_register():
    auditlog.register(FolderContainer, include_fields=["name", "description", "viewer", "modifier"])
    auditlog.register(DocumentContainer, include_fields=["name", "description", "modif", "date_modif", "sharekey"])