Exemple #1
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Quotas'), name='quotas')

event_quota_created = namespace.add_event_type(label=_('Quota created'),
                                               name='quota_created')
event_quota_edited = namespace.add_event_type(label=_('Quota edited'),
                                              name='quota_edited')
Exemple #2
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('User management'),
                               name='user_management')

event_group_created = namespace.add_event_type(label=_('Group created'),
                                               name='group_created')
event_group_edited = namespace.add_event_type(label=_('Group edited'),
                                              name='group_edited')

event_user_created = namespace.add_event_type(label=_('User created'),
                                              name='user_created')
event_user_edited = namespace.add_event_type(label=_('User edited'),
                                             name='user_edited')
event_user_logged_in = namespace.add_event_type(label=_('User logged in'),
                                                name='user_logged_in')
event_user_logged_out = namespace.add_event_type(label=_('User logged out'),
                                                 name='user_logged_out')
Exemple #3
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Smart links'), name='linking')

event_smart_link_created = namespace.add_event_type(
    label=_('Smart link created'), name='smart_link_created')
event_smart_link_edited = namespace.add_event_type(
    label=_('Smart link edited'), name='smart_link_edited')
Exemple #4
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Web links'), name='linking')

event_web_link_created = namespace.add_event_type(label=_('Web link created'),
                                                  name='web_link_created')
event_web_link_edited = namespace.add_event_type(label=_('Web link edited'),
                                                 name='web_link_edited')
event_web_link_navigated = namespace.add_event_type(
    label=_('Web link navigated'), name='web_link_navigated')
Exemple #5
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Appearance'), name='appearance')

event_theme_created = namespace.add_event_type(label=_('Theme created'),
                                               name='theme_created')
event_theme_edited = namespace.add_event_type(label=_('Theme edited'),
                                              name='theme_edited')
Exemple #6
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Access control lists'), name='acls')

event_acl_created = namespace.add_event_type(label=_('ACL created'),
                                             name='acl_created')
event_acl_edited = namespace.add_event_type(label=_('ACL edited'),
                                            name='acl_edited')
Exemple #7
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Messages'), name='motd')

event_message_created = namespace.add_event_type(label=_('Message created'),
                                                 name='message_created')
event_message_edited = namespace.add_event_type(label=_('Message edited'),
                                                name='message_edited')
Exemple #8
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Documents'), name='documents')

event_document_create = namespace.add_event_type(label=_('Document created'),
                                                 name='document_create')
event_document_download = namespace.add_event_type(
    label=_('Document downloaded'), name='document_download')
event_document_new_version = namespace.add_event_type(
    label=_('New version uploaded'), name='document_new_version')
event_document_properties_edit = namespace.add_event_type(
    label=_('Document properties edited'), name='document_edit')
# The type of an existing document is changed to another type
event_document_type_change = namespace.add_event_type(
    label=_('Document type changed'), name='document_type_change')
# A document type is created
event_document_type_created = namespace.add_event_type(
    label=_('Document type created'), name='document_type_created')
# An existing document type is modified
event_document_type_edited = namespace.add_event_type(
    label=_('Document type edited'), name='document_type_edit')
event_document_version_revert = namespace.add_event_type(
    label=_('Document version reverted'), name='document_version_revert')
event_document_view = namespace.add_event_type(label=_('Document viewed'),
                                               name='document_view')
Exemple #9
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Document comments'),
                               name='document_comments')

event_document_comment_created = namespace.add_event_type(
    label=_('Document comment created'), name='create')
event_document_comment_deleted = namespace.add_event_type(
    label=_('Document comment deleted'), name='delete')
event_document_comment_edited = namespace.add_event_type(
    label=_('Document comment edited'), name='edited')
Exemple #10
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(
    label=_('File caching'), name='file_caching'
)

event_cache_created = namespace.add_event_type(
    label=_('Cache created'), name='cache_created'
)
event_cache_edited = namespace.add_event_type(
    label=_('Cache edited'), name='cache_edited'
)
event_cache_purged = namespace.add_event_type(
    label=_('Cache purged'), name='cache_purged'
)
Exemple #11
0
Created on 24 abr. 2020
@author: julio

Copyright (C) 2020  Julio Santa Cruz <*****@*****.**>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

'''

from django.utils.translation import ugettext_lazy as _
from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Barcodes'), name='mayan_barcodes')

event_barcode_document_version_finish = namespace.add_event_type(
    label=_('Document version barcode scan finished'),
    name='document_version_finish'
)
Exemple #12
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(
    label=_('File metadata'), name='file_metadata'
)

event_file_metadata_document_version_submit = namespace.add_event_type(
    label=_('Document version submitted for file metadata processing'),
    name='document_version_submit'
)
event_file_metadata_document_version_finish = namespace.add_event_type(
    label=_('Document version file metadata processing finished'),
    name='document_version_finish'
)
Exemple #13
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Cabinets'), name='cabinets')

event_cabinet_created = namespace.add_event_type(label=_('Cabinet created'),
                                                 name='cabinet_created')
event_cabinet_edited = namespace.add_event_type(label=_('Cabinet edited'),
                                                name='cabinet_edited')
event_cabinet_add_document = namespace.add_event_type(
    label=_('Document added to cabinet'), name='add_document')
event_cabinet_remove_document = namespace.add_event_type(
    label=_('Document removed from cabinet'), name='remove_document')
Exemple #14
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(
    label=_('Permissions'), name='permissions'
)

event_role_created = namespace.add_event_type(
    label=_('Role created'), name='role_created'
)
event_role_edited = namespace.add_event_type(
    label=_('Role edited'), name='role_edited'
)
Exemple #15
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Converter'), name='converter')

event_asset_created = namespace.add_event_type(label=_('Asset created'),
                                               name='asset_created')
event_asset_edited = namespace.add_event_type(label=_('Asset edited'),
                                              name='asset_edited')
Exemple #16
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Checkouts'), name='checkouts')

event_document_auto_check_in = namespace.add_event_type(
    label=_('Document automatically checked in'),
    name='document_auto_check_in')
event_document_check_in = namespace.add_event_type(
    label=_('Document checked in'), name='document_check_in')
event_document_check_out = namespace.add_event_type(
    label=_('Document checked out'), name='document_check_out')
event_document_forceful_check_in = namespace.add_event_type(
    label=_('Document forcefully checked in'),
    name='document_forceful_check_in')
Exemple #17
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Document indexing'),
                               name='document_indexing')

event_index_template_created = namespace.add_event_type(
    label=_('Index created'), name='index_created')
event_index_template_edited = namespace.add_event_type(label=_('Index edited'),
                                                       name='index_edited')
Exemple #18
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Workflows'), name='document_states')

event_workflow_created = namespace.add_event_type(label=_('Workflow created'),
                                                  name='workflow_created')
event_workflow_edited = namespace.add_event_type(label=_('Workflow edited'),
                                                 name='workflow_edited')
Exemple #19
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Document parsing'),
                               name='document_parsing')

event_parsing_document_content_deleted = namespace.add_event_type(
    label=_('Document parsed content deleted'),
    name='document_content_deleted')
event_parsing_document_version_submit = namespace.add_event_type(
    label=_('Document version submitted for parsing'), name='version_submit')
event_parsing_document_version_finish = namespace.add_event_type(
    label=_('Document version parsing finished'), name='version_finish')
Exemple #20
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('OCR'), name='ocr')

event_ocr_document_content_deleted = namespace.add_event_type(
    label=_('Document OCR content deleted'),
    name='document_content_deleted'
)
event_ocr_document_version_submit = namespace.add_event_type(
    label=_('Document version submitted for OCR'),
    name='document_version_submit'
)
event_ocr_document_version_finish = namespace.add_event_type(
    label=_('Document version OCR finished'),
    name='document_version_finish'
)
Exemple #21
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Authentication'),
                               name='authentication')

event_user_impersonation_ended = namespace.add_event_type(
    label=_('User impersonation ended'), name='user_impersonation_ended')
event_user_impersonation_started = namespace.add_event_type(
    label=_('User impersonation started'), name='user_impersonation_started')
Exemple #22
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Metadata'), name='metadata')

event_document_metadata_added = namespace.add_event_type(
    label=_('Document metadata added'), name='document_metadata_added'
)
event_document_metadata_edited = namespace.add_event_type(
    label=_('Document metadata edited'), name='document_metadata_edited'
)
event_document_metadata_removed = namespace.add_event_type(
    label=_('Document metadata removed'), name='document_metadata_removed'
)
event_metadata_type_created = namespace.add_event_type(
    label=_('Metadata type created'), name='metadata_type_created'
)
event_metadata_type_edited = namespace.add_event_type(
    label=_('Metadata type edited'), name='metadata_type_edited'
)
event_metadata_type_relationship = namespace.add_event_type(
    label=_('Metadata type relationship updated'),
    name='metadata_type_relationship'
)
Exemple #23
0
from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Mailing'), name='mailing')

event_email_sent = namespace.add_event_type(label=_('Email sent'),
                                            name='email_send')
Exemple #24
0
from __future__ import absolute_import, unicode_literals

from django.utils.translation import ugettext_lazy as _

from mayan.apps.events.classes import EventTypeNamespace

namespace = EventTypeNamespace(label=_('Tags'), name='tags')

event_tag_attach = namespace.add_event_type(
    label=_('Tag attached to document'), name='attach')
event_tag_created = namespace.add_event_type(label=_('Tag created'),
                                             name='tag_created')
event_tag_edited = namespace.add_event_type(label=_('Tag edited'),
                                            name='tag_edited')
event_tag_remove = namespace.add_event_type(
    label=_('Tag removed from document'), name='remove')