# You must use a tab-size of 4 spaces to edit this file.
---
display_name: Users and Contacts
author_name: Tribal Systems
copyright_info: © Tribal Limited
editions: Community, Pro, ProBusiness, Enterprise
start_running_on_install: true
license_info: 'Modified BSD License'
description: >
    <p>The Users and Contacts module enables the admin user interface to create or edit users/contacts.</p>
category: management
keywords: user

# Reminder: you need to increment the LATEST_REVISION_NO in this module's
# latest_revision_no.inc.php file if you change any of the fields below:
vlp_class_name: zenario_users
is_pluggable: false
default_framework: standard
default_instance_name: Untitled User

# Warning: adding a new dependency to an existing module will break any existing sites
# where the dependency is not running.
# You can fix this on a per-site basis by manually running the dependency, i.e. by running
#   UPDATE zenario_modules SET status = 'module_running' WHERE class_name = 'dependency'
# in MySQL and then going to /admin/ to apply database updates.
# If this is a core module, consider using runNewModuleDependency() in a 
# database-revision in zenario/admin/db_updates/step_4_migrate_the_data/plugins.inc.php
# to fix it automatically for every site.
dependencies:
    zenario_abstract_nest: true
    zenario_country_manager: true
signals:
    -
        name: eventGroupDeleted
        static: true
    -
        name: eventUserUpdatedProfile
        static: true

jobs:
    -
        name: jobRemoveInactivePendingUsers
        static: true
        months: jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec
        days: mon,tue,wed,thr,fri,sat,sun
        hours: 1h
        minutes: 0m
        log_on_action: true
        log_on_no_action: false
        email_on_action: true
    -
        name: jobSendInactiveUserEmail
        static: true
        months: jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec
        days: mon,tue,wed,thr,fri,sat,sun
        hours: >
            7h
        minutes: 0m
        log_on_action: true
        log_on_no_action: true
        email_on_action: false