def core_auditlog_register(): auditlog.register(Parameter, include_fields=['value_txt']) auditlog.register(LucteriosUser) auditlog.register(LucteriosGroup) set_auditlog_states()
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'])
def dummy_auditlog_register(): auditlog.register(Example) auditlog.register(Other)
def mailing_auditlog_register(): auditlog.register(Message, include_fields=[ 'status', 'date', 'subject', 'body', 'recipients', 'attachments' ])
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'])
def documents_auditlog_register(): auditlog.register(FolderContainer, include_fields=["name", "description", "viewer", "modifier"]) auditlog.register(DocumentContainer, include_fields=["name", "description", "modif", "date_modif", "sharekey"])