<commit_before># Use this file to set generic parameters for Gemeinschaft

GEMEINSCHAFT_VERSION = '5.0.1'
SUPER_TENANT_NAME = 'Super-Tenant'

# System defaults
MINIMUM_PIN_LENGTH = 4
MAXIMUM_PIN_LENGTH = 10

# GUI
GUI_REDIRECT_HTTPS = false

# Phone numbers
# Only touch this if you know what you are doing!
STRICT_INTERNAL_EXTENSION_HANDLING = false
STRICT_DID_HANDLING = false

# SIP defaults
DEFAULT_LENGTH_SIP_AUTH_NAME = 10
DEFAULT_LENGTH_SIP_PASSWORD = 15
CALL_WAITING = false
DEFAULT_CLIR_SETTING = false
DEFAULT_CLIP_SETTING = true

TO_S_MAX_CALLER_NAME_LENGTH = 25
TO_S_MAX_LENGTH_OF_AUTH_NAME = 6

# Pagination defaults
DEFAULT_PAGINATION_ENTRIES_PER_PAGE = 50

# Conference defaults
MAXIMUM_NUMBER_OF_PEOPLE_IN_A_CONFERENCE = 100
DEFAULT_MAX_CONFERENCE_MEMBERS = 10

# Misc defaults
MAX_EXTENSION_LENGTH = 6

# Fax defaults
DEFAULT_NUMBER_OF_RETRIES = 3
DAYS_TILL_AUTO_DELETE = 90

# Names of PhoneNumberRanges
INTERNAL_EXTENSIONS = 'internal_extensions'
SERVICE_NUMBERS = 'service_numbers'
DIRECT_INWARD_DIALING_NUMBERS = 'direct_inward_dialing_numbers'

# Callthrough defaults
CALLTHROUGH_HAS_WHITELISTS = true

# Hunt groups
HUNT_GROUP_STRATEGIES = ['ring_all', 'ring_recursively']
VALID_SECONDS_BETWEEN_JUMPS_VALUES = (1 .. 60).to_a.map{|x| x * 2}

# Callforward
DEFAULT_CALL_FORWARD_DEPTH = 1
MAX_CALL_FORWARD_DEPTH = 40
CALLFORWARD_DESTINATION_DEFAULT = '+49'
CALLFORWARD_RULES_ACT_PER_SIP_ACCOUNT_DEFAULT = true

# Phone
PROVISIONING_AUTO_ADD_PHONE = true
PROVISIONING_AUTO_ADD_SIP_ACCOUNT = true
PROVISIONING_AUTO_TENANT_ID = 2
PROVISIONING_AUTO_SIP_ACCOUNT_CALLER_PREFIX = 'Gemeinschaft '
PROVISIONING_IEEE8021X_EAP_USERNAME = ''
PROVISIONING_IEEE8021X_EAP_PASSWORD = ''
NIGHTLY_REBOOT_OF_PHONES = true
SIEMENS_HISTORY_RELOAD_TIMES = {0..6 => 600, 7..20 => 40, 21..24 => 300}

# API configuration
DEFAULT_API_TENANT_ID = 2
REMOTE_IP_ADDRESS_WHITELIST = [] # e.g. ['10.0.0.1']
IMPORT_CSV_FILE = '/var/tmp/ExampleVoipCsvExport.csv'
DOUBLE_CHECK_POSITIVE_USERS_CSV = '/var/tmp/ExampleDoubleCheckVoipCsvExport.csv'
IMPORT_CSV_ENCODING = 'UTF-8'
USER_NAME_PREFIX = 'dtc'
CALLTHROUGH_NAME_TO_BE_USED_FOR_DEFAULT_ACTIVATION = 'Callthrough for employees'

# GS Cluster configuration
WRITE_GS_CLUSTER_SYNC_LOG = true
HOMEBASE_IP_ADDRESS = '0.0.0.0'
<commit_msg>Version 5.0.2<commit_after># Use this file to set generic parameters for Gemeinschaft

GEMEINSCHAFT_VERSION = '5.0.2'
SUPER_TENANT_NAME = 'Super-Tenant'

# System defaults
MINIMUM_PIN_LENGTH = 4
MAXIMUM_PIN_LENGTH = 10

# GUI
GUI_REDIRECT_HTTPS = false

# Phone numbers
# Only touch this if you know what you are doing!
STRICT_INTERNAL_EXTENSION_HANDLING = false
STRICT_DID_HANDLING = false

# SIP defaults
DEFAULT_LENGTH_SIP_AUTH_NAME = 10
DEFAULT_LENGTH_SIP_PASSWORD = 15
CALL_WAITING = false
DEFAULT_CLIR_SETTING = false
DEFAULT_CLIP_SETTING = true

TO_S_MAX_CALLER_NAME_LENGTH = 25
TO_S_MAX_LENGTH_OF_AUTH_NAME = 6

# Pagination defaults
DEFAULT_PAGINATION_ENTRIES_PER_PAGE = 50

# Conference defaults
MAXIMUM_NUMBER_OF_PEOPLE_IN_A_CONFERENCE = 100
DEFAULT_MAX_CONFERENCE_MEMBERS = 10

# Misc defaults
MAX_EXTENSION_LENGTH = 6

# Fax defaults
DEFAULT_NUMBER_OF_RETRIES = 3
DAYS_TILL_AUTO_DELETE = 90

# Names of PhoneNumberRanges
INTERNAL_EXTENSIONS = 'internal_extensions'
SERVICE_NUMBERS = 'service_numbers'
DIRECT_INWARD_DIALING_NUMBERS = 'direct_inward_dialing_numbers'

# Callthrough defaults
CALLTHROUGH_HAS_WHITELISTS = true

# Hunt groups
HUNT_GROUP_STRATEGIES = ['ring_all', 'ring_recursively']
VALID_SECONDS_BETWEEN_JUMPS_VALUES = (1 .. 60).to_a.map{|x| x * 2}

# Callforward
DEFAULT_CALL_FORWARD_DEPTH = 1
MAX_CALL_FORWARD_DEPTH = 40
CALLFORWARD_DESTINATION_DEFAULT = '+49'
CALLFORWARD_RULES_ACT_PER_SIP_ACCOUNT_DEFAULT = true

# Phone
PROVISIONING_AUTO_ADD_PHONE = true
PROVISIONING_AUTO_ADD_SIP_ACCOUNT = true
PROVISIONING_AUTO_TENANT_ID = 2
PROVISIONING_AUTO_SIP_ACCOUNT_CALLER_PREFIX = 'Gemeinschaft '
PROVISIONING_IEEE8021X_EAP_USERNAME = ''
PROVISIONING_IEEE8021X_EAP_PASSWORD = ''
NIGHTLY_REBOOT_OF_PHONES = true
SIEMENS_HISTORY_RELOAD_TIMES = {0..6 => 600, 7..20 => 40, 21..24 => 300}

# API configuration
DEFAULT_API_TENANT_ID = 2
REMOTE_IP_ADDRESS_WHITELIST = [] # e.g. ['10.0.0.1']
IMPORT_CSV_FILE = '/var/tmp/ExampleVoipCsvExport.csv'
DOUBLE_CHECK_POSITIVE_USERS_CSV = '/var/tmp/ExampleDoubleCheckVoipCsvExport.csv'
IMPORT_CSV_ENCODING = 'UTF-8'
USER_NAME_PREFIX = 'dtc'
CALLTHROUGH_NAME_TO_BE_USED_FOR_DEFAULT_ACTIVATION = 'Callthrough for employees'

# GS Cluster configuration
WRITE_GS_CLUSTER_SYNC_LOG = true
HOMEBASE_IP_ADDRESS = '0.0.0.0'

{'fraction_non_alphanumeric': 0.07086267605633803, 'fraction_numerical': 0.03147007042253521, 'mean_word_length': 7.263636363636364, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1879127', 'n_tokens_mistral': 1949, 'n_tokens_neox': 1823, 'n_words': 307}