2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
2021-06-01 12:20:20 +00:00
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Application secret' ) ,
2018-12-19 17:31:51 +00:00
name : 'application_secret' ,
area : 'Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the random application secret.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : SecureRandom . hex ( 128 ) ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin' ] ,
2021-09-10 16:01:23 +00:00
protected : true ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'System Init Done' ) ,
2018-12-19 17:31:51 +00:00
name : 'system_init_done' ,
area : 'Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if application is in init mode.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : false ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'App Version' ) ,
2018-12-19 17:31:51 +00:00
name : 'app_version' ,
area : 'Core::WebApp' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Only used internally to propagate current web app version to clients.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Maintenance Mode' ) ,
2018-12-19 17:31:51 +00:00
name : 'maintenance_mode' ,
area : 'Core::WebApp' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable or disable the maintenance mode of Zammad. If enabled, all non-administrators get logged out and only administrators can start a new session.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.maintenance' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Maintenance Login' ) ,
2018-12-19 17:31:51 +00:00
name : 'maintenance_login' ,
area : 'Core::WebApp' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Put a message on the login page. To change it, click on the text area below and change it in-line.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.maintenance' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Maintenance Login' ) ,
2018-12-19 17:31:51 +00:00
name : 'maintenance_login_message' ,
area : 'Core::WebApp' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Message for login page.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2022-01-21 15:00:17 +00:00
state : __ ( 'This is a default maintenance message. Click here to change.' ) ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.maintenance' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Developer System' ) ,
2018-12-19 17:31:51 +00:00
name : 'developer_mode' ,
area : 'Core::Develop' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines if the application is in developer mode (all users have the same password and password reset will work without email delivery).' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-02-18 14:06:02 +00:00
state : Rails . env . development? ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Online Service' ) ,
2018-12-19 17:31:51 +00:00
name : 'system_online_service' ,
area : 'Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if application is used as online service.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : false ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Product Name' ) ,
2018-12-19 17:31:51 +00:00
name : 'product_name' ,
area : 'System::Branding' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the name of the application, shown in the web interface, tabs, and title bar of the web browser.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'product_name' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
render : true ,
prio : 1 ,
2017-04-26 11:28:32 +00:00
placeholder : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.branding' ] ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-15 15:58:19 +00:00
state : __ ( 'Zammad Helpdesk' ) ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Logo' ) ,
2018-12-19 17:31:51 +00:00
name : 'product_logo' ,
area : 'System::Branding' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the logo of the application, shown in the web interface.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'product_logo' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
prio : 3 ,
2017-04-26 11:28:32 +00:00
controller : 'SettingsAreaLogo' ,
permission : [ 'admin.branding' ] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'logo.svg' ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Organization' ) ,
2018-12-19 17:31:51 +00:00
name : 'organization' ,
area : 'System::Branding' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Will be shown in the app and is included in email footers.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'organization' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
placeholder : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.branding' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
2017-12-06 14:31:27 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Locale' ) ,
2018-12-19 17:31:51 +00:00
name : 'locale_default' ,
area : 'System::Branding' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the default system language.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-12-06 14:31:27 +00:00
form : [
{
name : 'locale_default' ,
}
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'en-us' ,
2017-12-06 14:31:27 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 8 ,
2017-12-06 14:31:27 +00:00
controller : 'SettingsAreaItemDefaultLocale' ,
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-12-06 14:31:27 +00:00
)
2019-02-10 11:01:38 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Timezone' ) ,
2019-02-10 11:01:38 +00:00
name : 'timezone_default' ,
area : 'System::Branding' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the default system timezone.' ) ,
2019-02-10 11:01:38 +00:00
options : {
form : [
{
name : 'timezone_default' ,
}
] ,
} ,
state : '' ,
preferences : {
prio : 9 ,
controller : 'SettingsAreaItemDefaultTimezone' ,
permission : [ 'admin.system' ] ,
} ,
frontend : true
)
2017-04-26 11:28:32 +00:00
Setting . create_or_update (
2021-11-15 15:58:19 +00:00
title : __ ( 'Pretty Date' ) ,
2018-12-19 17:31:51 +00:00
name : 'pretty_date_format' ,
area : 'System::Branding' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines pretty date format.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'pretty_date_format' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2021-02-01 12:42:44 +00:00
relative : 'relative - e. g. "2 hours ago" or "2 days and 15 minutes ago"' ,
absolute : 'absolute - e. g. "Monday 09:30" or "Tuesday 23. Feb 14:20"' ,
timestamp : 'timestamp - e. g. "2018-08-30 14:30"' ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
render : true ,
prio : 10 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.branding' ] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'relative' ,
frontend : true
2017-04-26 11:28:32 +00:00
)
options = { }
2017-10-01 12:25:52 +00:00
( 10 .. 99 ) . each do | item |
2017-04-26 11:28:32 +00:00
options [ item ] = item
2017-10-01 12:25:52 +00:00
end
2021-09-20 10:47:05 +00:00
system_id = rand ( 10 .. 99 ) # rubocop:disable Zammad/ForbidRand
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'SystemID' ) ,
2018-12-19 17:31:51 +00:00
name : 'system_id' ,
area : 'System::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the system identifier. Every ticket number contains this ID. This ensures that only tickets which belong to your system will be processed as follow-ups (useful when communicating between two instances of Zammad).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'system_id' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : options ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : system_id ,
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
placeholder : true ,
authentication : true ,
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Fully Qualified Domain Name' ) ,
2018-12-19 17:31:51 +00:00
name : 'fqdn' ,
area : 'System::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the fully qualified domain name of the system. This setting is used as a variable, #{setting.fqdn} which is found in all forms of messaging used by the application, to build links to the tickets within your system.' ) , # rubocop:disable Lint/InterpolationCheck
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'fqdn' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'zammad.example.com' ,
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
placeholder : true ,
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
2020-04-24 05:55:06 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Websocket backend' ) ,
2020-04-24 05:55:06 +00:00
name : 'websocket_backend' ,
area : 'System::WebSocket' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines how to reach websocket server. "websocket" is default on production, "websocketPort" is for CI' ) ,
2020-04-24 05:55:06 +00:00
state : Rails . env . production? ? 'websocket' : 'websocketPort' ,
frontend : true
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Websocket port' ) ,
2018-12-19 17:31:51 +00:00
name : 'websocket_port' ,
area : 'System::WebSocket' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the port of the websocket server.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'websocket_port' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '6042' ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'HTTP type' ) ,
2018-12-19 17:31:51 +00:00
name : 'http_type' ,
area : 'System::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the HTTP protocol of your instance.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'http_type' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
'https' = > 'https' ,
'http' = > 'http' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'http' ,
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
placeholder : true ,
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Storage Mechanism' ) ,
2018-12-19 17:31:51 +00:00
name : 'storage_provider' ,
area : 'System::Storage' ,
2021-11-15 15:58:19 +00:00
description : __ ( '"Database" stores all attachments in the database (not recommended for storing large amounts of data). "Filesystem" stores the data in the filesystem. You can switch between the modules even on a system that is already in production without any loss of data.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'storage_provider' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
tranlate : true ,
2018-12-19 17:31:51 +00:00
options : {
2021-11-15 15:58:19 +00:00
'DB' = > __ ( 'Database' ) ,
'File' = > __ ( 'Filesystem' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'DB' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaStorageProvider' ,
2017-04-26 11:28:32 +00:00
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Image Service' ) ,
2018-12-19 17:31:51 +00:00
name : 'image_backend' ,
area : 'System::Services' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the backend for user and organization image lookups.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'image_backend' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
'' = > '-' ,
2021-11-15 15:58:19 +00:00
'Service::Image::Zammad' = > __ ( 'Zammad Image Service' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'Service::Image::Zammad' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Geo IP Service' ) ,
2018-12-19 17:31:51 +00:00
name : 'geo_ip_backend' ,
area : 'System::Services' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the backend for geo IP lookups. Also shows location of an IP address if it is traceable.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'geo_ip_backend' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
'' = > '-' ,
2021-11-15 15:58:19 +00:00
'Service::GeoIp::Zammad' = > __ ( 'Zammad GeoIP Service' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'Service::GeoIp::Zammad' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Geo Location Service' ) ,
2018-12-19 17:31:51 +00:00
name : 'geo_location_backend' ,
area : 'System::Services' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the backend for geo location lookups to store geo locations for addresses.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'geo_location_backend' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
'' = > '-' ,
2021-11-15 15:58:19 +00:00
'Service::GeoLocation::Gmaps' = > __ ( 'Google Maps' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'Service::GeoLocation::Gmaps' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 3 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Geo Calendar Service' ) ,
2018-12-19 17:31:51 +00:00
name : 'geo_calendar_backend' ,
area : 'System::Services' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the backend for geo calendar lookups. Used for initial calendar succession.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'geo_calendar_backend' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
'' = > '-' ,
2021-11-15 15:58:19 +00:00
'Service::GeoCalendar::Zammad' = > __ ( 'Zammad GeoCalendar Service' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'Service::GeoCalendar::Zammad' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Proxy Settings' ) ,
2018-12-19 17:31:51 +00:00
name : 'proxy' ,
area : 'System::Network' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Address of the proxy server for http and https resources.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'proxy' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
placeholder : 'proxy.example.com:3128' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaProxy' ,
prio : 1 ,
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Proxy User' ) ,
2018-12-19 17:31:51 +00:00
name : 'proxy_username' ,
area : 'System::Network' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Username for proxy connection.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'proxy_username' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
disabled : true ,
2017-04-26 11:28:32 +00:00
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
prio : 2 ,
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Proxy Password' ) ,
2018-12-19 17:31:51 +00:00
name : 'proxy_password' ,
area : 'System::Network' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Password for proxy connection.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'proxy_password' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
disabled : true ,
2017-04-26 11:28:32 +00:00
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
prio : 3 ,
permission : [ 'admin.system' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-07-27 10:05:54 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'No Proxy' ) ,
2018-12-19 17:31:51 +00:00
name : 'proxy_no' ,
area : 'System::Network' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'No proxy for the following hosts.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-27 10:05:54 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'proxy_no' ,
tag : 'input' ,
2017-07-27 10:05:54 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'localhost,127.0.0.0,::1' ,
2017-07-27 10:05:54 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
disabled : true ,
2017-07-27 10:05:54 +00:00
online_service_disable : true ,
2018-12-19 17:31:51 +00:00
prio : 4 ,
permission : [ 'admin.system' ] ,
2017-07-27 10:05:54 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-07-27 10:05:54 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Send client stats' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_send_client_stats' ,
area : 'System::UI' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Send client stats/error message to central server to improve the usability.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ui_send_client_stats' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Client storage' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_client_storage' ,
area : 'System::UI' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Use client storage to cache data to enhance performance of application.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ui_client_storage' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.system' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
2021-08-25 12:24:42 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Core Workflow Ajax Mode' ) ,
2021-08-25 12:24:42 +00:00
name : 'core_workflow_ajax_mode' ,
area : 'System::UI' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if the core workflow communication should run over ajax instead of websockets.' ) ,
2021-08-25 12:24:42 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'core_workflow_ajax_mode' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : false ,
preferences : {
prio : 3 ,
permission : [ 'admin.system' ] ,
} ,
frontend : true
)
2018-02-20 11:33:13 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'User Organization Selector - email' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_user_organization_selector_with_email' ,
area : 'UI::UserOrganizatiomSelector' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines if the email should be displayed in the result of the user/organization widget.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-20 11:33:13 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_user_organization_selector_with_email' ,
tag : 'boolean' ,
2018-02-20 11:33:13 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-20 11:33:13 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-02-20 11:33:13 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 100 ,
2018-02-20 11:33:13 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-02-20 11:33:13 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Note - default visibility' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_article_note_new_internal' ,
area : 'UI::TicketZoom' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the default visibility for new notes.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_article_note_new_internal' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
true = > 'internal' ,
false = > 'public' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 100 ,
2017-07-05 05:18:19 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-07-05 05:18:19 +00:00
)
2022-01-21 07:54:10 +00:00
Setting . create_if_not_exists (
title : __ ( 'Note - visibility confirmation dialog' ) ,
name : 'ui_ticket_zoom_article_visibility_confirmation_dialog' ,
area : 'UI::TicketZoom' ,
description : __ ( 'Defines if the agent has to accept a confirmation dialog when changing the article visibility to "public".' ) ,
options : {
form : [
{
display : '' ,
null : true ,
name : 'ui_ticket_zoom_article_visibility_confirmation_dialog' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : false ,
preferences : {
prio : 100 ,
permission : [ 'admin.ui' ] ,
} ,
frontend : true
)
2017-07-05 05:18:19 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Email - subject field' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_article_email_subject' ,
area : 'UI::TicketZoom' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Use subject field for emails. If disabled, the ticket title will be used as subject.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-05 05:18:19 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_article_email_subject' ,
tag : 'boolean' ,
2017-07-05 05:18:19 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-05 05:18:19 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-07-05 05:18:19 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 200 ,
2017-07-05 05:18:19 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-07-05 05:18:19 +00:00
)
2017-07-13 11:09:16 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Email - full quote' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_article_email_full_quote' ,
area : 'UI::TicketZoom' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable if you want to quote the full email in your answer. The quoted email will be put at the end of your answer. If you just want to quote a certain phrase, just mark the text and press reply (this feature is always available).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-13 11:09:16 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_article_email_full_quote' ,
tag : 'boolean' ,
2017-07-13 11:09:16 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-13 11:09:16 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-07-13 11:09:16 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 220 ,
2017-07-13 11:09:16 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-07-13 11:09:16 +00:00
)
2018-12-03 13:06:47 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Email - quote header' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_article_email_full_quote_header' ,
area : 'UI::TicketZoom' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable if you want a timestamped reply header to be automatically inserted in front of quoted messages.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-12-03 13:06:47 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_article_email_full_quote_header' ,
tag : 'boolean' ,
2018-12-03 13:06:47 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2018-12-03 13:06:47 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2018-12-03 13:06:47 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 240 ,
2018-12-03 13:06:47 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-12-03 13:06:47 +00:00
)
2017-07-05 05:18:19 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Twitter - tweet initials' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_article_twitter_initials' ,
area : 'UI::TicketZoom' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Add sender initials to end of a tweet.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-05 05:18:19 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_article_twitter_initials' ,
tag : 'boolean' ,
2017-07-05 05:18:19 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-05 05:18:19 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-07-05 05:18:19 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 300 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
2018-02-20 06:47:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sidebar Attachments' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_attachments_preview' ,
area : 'UI::TicketZoom::Preview' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables preview of attachments.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-20 06:47:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_attachments_preview' ,
tag : 'boolean' ,
2018-02-20 06:47:32 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-20 06:47:32 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2019-02-14 05:42:41 +00:00
state : true ,
2018-02-20 06:47:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 400 ,
2018-02-20 06:47:32 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-02-20 06:47:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sidebar Attachments' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_zoom_sidebar_article_attachments' ,
area : 'UI::TicketZoom::Preview' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables a sidebar to show an overview of all attachments.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-20 06:47:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_ticket_zoom_sidebar_article_attachments' ,
tag : 'boolean' ,
2018-02-20 06:47:32 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-20 06:47:32 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-02-20 06:47:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 500 ,
2018-02-20 06:47:32 +00:00
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-02-20 06:47:32 +00:00
)
2018-01-28 00:24:54 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Set notes for ticket create types.' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_create_notes' ,
area : 'UI::TicketCreate' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Set notes for ticket create types by selecting type.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : {
2021-12-15 21:00:53 +00:00
# 'email-out' => __('Attention: When creating a ticket an email is sent.'),
2018-01-28 00:24:54 +00:00
} ,
preferences : {
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-01-28 00:24:54 +00:00
)
2017-04-26 11:28:32 +00:00
2018-05-02 15:49:35 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Default type for a new ticket' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_create_default_type' ,
area : 'UI::TicketCreate' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Select default ticket type' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-02 15:49:35 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
2018-05-02 15:49:35 +00:00
multiple : false ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_create_default_type' ,
tag : 'select' ,
options : {
'phone-in' = > '1. Phone inbound' ,
2018-05-02 15:49:35 +00:00
'phone-out' = > '2. Phone outbound' ,
'email-out' = > '3. Email outbound' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'phone-in' ,
2018-05-02 15:49:35 +00:00
preferences : {
permission : [ 'admin.ui' ]
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-05-02 15:49:35 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Available types for a new ticket' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_create_available_types' ,
area : 'UI::TicketCreate' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Set available ticket types' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-02 15:49:35 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
2018-05-02 15:49:35 +00:00
multiple : true ,
2018-12-19 17:31:51 +00:00
name : 'ui_ticket_create_available_types' ,
tag : 'select' ,
options : {
'phone-in' = > '1. Phone inbound' ,
2018-05-02 15:49:35 +00:00
'phone-out' = > '2. Phone outbound' ,
'email-out' = > '3. Email outbound' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : %w[ phone-in phone-out email-out ] ,
2018-05-02 15:49:35 +00:00
preferences : {
permission : [ 'admin.ui' ]
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-05-02 15:49:35 +00:00
)
2018-02-02 06:34:57 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Open ticket indicator' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_sidebar_open_ticket_indicator_colored' ,
area : 'UI::Sidebar' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Color representation of the open ticket indicator in the sidebar.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-02 06:34:57 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_sidebar_open_ticket_indicator_colored' ,
tag : 'boolean' ,
2018-02-02 06:34:57 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-02 06:34:57 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-02-02 06:34:57 +00:00
preferences : {
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-02-02 06:34:57 +00:00
)
2018-03-30 11:09:57 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Open ticket indicator' ) ,
2018-12-19 17:31:51 +00:00
name : 'ui_table_group_by_show_count' ,
area : 'UI::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Total display of the number of objects in a grouping.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-03-30 11:09:57 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ui_table_group_by_show_count' ,
tag : 'boolean' ,
2018-03-30 11:09:57 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2018-03-30 11:09:57 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-03-30 11:09:57 +00:00
preferences : {
permission : [ 'admin.ui' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-03-30 11:09:57 +00:00
)
2019-04-11 05:23:35 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Priority Icons in Overviews' ) ,
2019-04-11 05:23:35 +00:00
name : 'ui_ticket_overview_priority_icon' ,
area : 'UI::TicketOverview::PriorityIcons' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables priority icons in ticket overviews.' ) ,
2019-04-11 05:23:35 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'ui_ticket_overview_priority_icon' ,
tag : 'boolean' ,
translate : true ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : false ,
preferences : {
prio : 500 ,
permission : [ 'admin.ui' ] ,
} ,
frontend : true
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'New User Accounts' ) ,
2018-12-19 17:31:51 +00:00
name : 'user_create_account' ,
area : 'Security::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables users to create their own account via web interface.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'user_create_account' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-04-22 07:17:01 +00:00
prio : 10 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Lost Password' ) ,
2018-12-19 17:31:51 +00:00
name : 'user_lost_password' ,
area : 'Security::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Activates lost password feature for users.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'user_lost_password' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-04-22 07:17:01 +00:00
prio : 20 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
2021-05-28 11:28:06 +00:00
2021-11-15 15:58:19 +00:00
options = [ { value : '0' , name : 'disabled' } , { value : 1 . hour . seconds , name : __ ( '1 hour' ) } , { value : 2 . hours . seconds , name : __ ( '2 hours' ) } , { value : 1 . day . seconds , name : __ ( '1 day' ) } , { value : 7 . days . seconds , name : __ ( '1 week' ) } , { value : 14 . days . seconds , name : __ ( '2 weeks' ) } , { value : 21 . days . seconds , name : __ ( '3 weeks' ) } , { value : 28 . days . seconds , name : __ ( '4 weeks' ) } ]
2021-04-22 07:17:01 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Session Timeout' ) ,
2021-04-22 07:17:01 +00:00
name : 'session_timeout' ,
area : 'Security::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the session timeout for inactivity of users. Based on the assigned permissions the highest timeout value will be used, otherwise the default.' ) ,
2021-04-22 07:17:01 +00:00
options : {
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Default' ) ,
2021-05-28 11:28:06 +00:00
null : false ,
name : 'default' ,
tag : 'select' ,
options : options ,
translate : true ,
2021-04-22 07:17:01 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'admin' ) ,
2021-05-28 11:28:06 +00:00
null : false ,
name : 'admin' ,
tag : 'select' ,
options : options ,
translate : true ,
2021-04-22 07:17:01 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'ticket.agent' ) ,
2021-05-28 11:28:06 +00:00
null : false ,
name : 'ticket.agent' ,
tag : 'select' ,
options : options ,
translate : true ,
2021-04-22 07:17:01 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'ticket.customer' ) ,
2021-05-28 11:28:06 +00:00
null : false ,
name : 'ticket.customer' ,
tag : 'select' ,
options : options ,
translate : true ,
2021-04-22 07:17:01 +00:00
} ,
] ,
} ,
preferences : {
prio : 30 ,
} ,
state : {
2021-04-26 12:17:44 +00:00
'default' = > 4 . weeks . seconds ,
'admin' = > 4 . weeks . seconds ,
'ticket.agent' = > 4 . weeks . seconds ,
'ticket.customer' = > 4 . weeks . seconds ,
2021-04-22 07:17:01 +00:00
} ,
frontend : true
)
2017-07-14 22:35:44 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'User email for multiple users' ) ,
2018-12-19 17:31:51 +00:00
name : 'user_email_multiple_use' ,
area : 'Model::User' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Allow using one email address for multiple users.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-14 22:35:44 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'user_email_multiple_use' ,
tag : 'boolean' ,
2017-07-14 22:35:44 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-07-14 22:35:44 +00:00
preferences : {
permission : [ 'admin' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-07-14 22:35:44 +00:00
)
2021-08-16 06:49:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2021-08-16 06:49:32 +00:00
name : 'auth_internal' ,
area : 'Security::Authentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s.' ) ,
2021-08-16 06:49:32 +00:00
preferences : {
title_i18n : [ 'internal database' ] ,
description_i18n : [ 'internal database' ] ,
permission : [ 'admin.security' ] ,
} ,
state : {
priority : 1 ,
adapter : 'Auth::Backend::Internal' ,
} ,
frontend : false
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2021-08-16 06:49:32 +00:00
name : 'auth_developer' ,
area : 'Security::Authentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s.' ) ,
2021-08-16 06:49:32 +00:00
preferences : {
title_i18n : [ 'developer password' ] ,
description_i18n : [ 'developer password' ] ,
permission : [ 'admin.security' ] ,
} ,
state : {
priority : 2 ,
adapter : 'Auth::Backend::Developer' ,
} ,
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_ldap' ,
area : 'Security::Authentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s.' ) ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
title_i18n : [ 'LDAP' ] ,
2017-04-26 11:28:32 +00:00
description_i18n : [ 'LDAP' ] ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : {
2021-08-16 06:49:32 +00:00
priority : 3 ,
adapter : 'Auth::Backend::Ldap' ,
2018-12-19 17:31:51 +00:00
host : 'localhost' ,
port : 389 ,
bind_dn : 'cn=Manager,dc=example,dc=org' ,
bind_pw : 'example' ,
uid : 'mail' ,
base : 'dc=example,dc=org' ,
2017-04-26 11:28:32 +00:00
always_filter : '' ,
2018-12-19 17:31:51 +00:00
always_roles : %w[ Admin Agent ] ,
2017-04-26 11:28:32 +00:00
always_groups : [ 'Users' ] ,
2018-12-19 17:31:51 +00:00
sync_params : {
2017-04-26 11:28:32 +00:00
firstname : 'sn' ,
2018-12-19 17:31:51 +00:00
lastname : 'givenName' ,
email : 'mail' ,
login : 'mail' ,
2017-04-26 11:28:32 +00:00
} ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-04-18 09:17:29 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Automatic account link on initial logon' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_third_party_auto_link_at_inital_login' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables the automatic linking of an existing account on initial login via a third party application. If this is disabled, an existing user must first log into Zammad and then link his "Third Party" account to his Zammad account via Profile -> Linked Accounts.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-04-18 09:17:29 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_third_party_auto_link_at_inital_login' ,
tag : 'boolean' ,
2018-04-18 09:17:29 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
permission : [ 'admin.security' ] ,
2018-12-19 17:31:51 +00:00
prio : 10 ,
2018-04-18 09:17:29 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : false
2018-04-18 09:17:29 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_twitter' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_twitter' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_twitter_credentials' ] ,
title_i18n : [ 'Twitter' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'Twitter' , 'Twitter Developer Site' , 'https://dev.twitter.com/apps' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Twitter App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_twitter_credentials' ,
area : 'Security::ThirdPartyAuthentication::Twitter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'App credentials for Twitter.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Twitter Key' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'key' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Twitter Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'secret' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_twitter' ,
} ,
2017-04-26 11:28:32 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_facebook' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_facebook' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_facebook_credentials' ] ,
title_i18n : [ 'Facebook' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'Facebook' , 'Facebook Developer Site' , 'https://developers.facebook.com/apps/' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Facebook App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_facebook_credentials' ,
area : 'Security::ThirdPartyAuthentication::Facebook' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'App credentials for Facebook.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_id' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_secret' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_facebook' ,
} ,
2017-04-26 11:28:32 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_google_oauth2' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_google_oauth2' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_google_oauth2_credentials' ] ,
title_i18n : [ 'Google' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'Google' , 'Google API Console Site' , 'https://console.cloud.google.com/apis/credentials' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Google App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_google_oauth2_credentials' ,
area : 'Security::ThirdPartyAuthentication::Google' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via Google.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Client ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'client_id' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Client Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'client_secret' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_google_oauth2' ,
} ,
2017-04-26 11:28:32 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_linkedin' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_linkedin' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_linkedin_credentials' ] ,
title_i18n : [ 'LinkedIn' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'LinkedIn' , 'LinkedIn Developer Site' , 'https://www.linkedin.com/developer/apps' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'LinkedIn App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_linkedin_credentials' ,
area : 'Security::ThirdPartyAuthentication::Linkedin' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via LinkedIn.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_id' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_secret' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_linkedin' ,
} ,
2017-04-26 11:28:32 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_github' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_github' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_github_credentials' ] ,
title_i18n : [ 'Github' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'Github' , 'GitHub OAuth Applications' , 'https://github.com/settings/applications' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'GitHub App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_github_credentials' ,
area : 'Security::ThirdPartyAuthentication::Github' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Enables user authentication via GitHub.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_id' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_secret' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_github' ,
} ,
2017-04-26 11:28:32 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_gitlab' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_gitlab' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_gitlab_credentials' ] ,
2021-03-10 16:11:14 +00:00
title_i18n : [ 'GitLab' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'GitLab' , 'GitLab Applications' , 'https://your-gitlab-host/admin/applications' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'GitLab App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_gitlab_credentials' ,
2021-03-10 16:11:14 +00:00
area : 'Security::ThirdPartyAuthentication::GitLab' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via GitLab.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_id' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_secret' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Site' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'site' ,
tag : 'input' ,
2019-09-04 06:38:28 +00:00
placeholder : 'https://gitlab.YOURDOMAIN.com/api/v4/' ,
2017-04-26 11:28:32 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_gitlab' ,
} ,
2017-04-26 11:28:32 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-07-13 15:08:53 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_microsoft_office365' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-13 15:08:53 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_microsoft_office365' ,
tag : 'boolean' ,
2017-07-13 15:08:53 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_microsoft_office365_credentials' ] ,
2022-01-21 15:00:17 +00:00
title_i18n : [ 'Office 365' ] , # rubocop:disable Zammad/DetectTranslatableString
description_i18n : [ 'Office 365' , 'Microsoft Application Registration Portal' , 'https://portal.azure.com' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-07-13 15:08:53 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-07-13 15:08:53 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Office 365 App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_microsoft_office365_credentials' ,
area : 'Security::ThirdPartyAuthentication::Office365' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via Office 365.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-07-13 15:08:53 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_id' ,
tag : 'input' ,
2017-07-13 15:08:53 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'app_secret' ,
tag : 'input' ,
2017-07-13 15:08:53 +00:00
} ,
2021-03-08 13:13:15 +00:00
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Tenant ID' ) ,
2021-03-08 13:13:15 +00:00
null : true ,
name : 'app_tenant' ,
tag : 'input' ,
placeholder : 'common' ,
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_microsoft_office365' ,
} ,
2017-07-13 15:08:53 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-07-13 15:08:53 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-07-13 15:08:53 +00:00
)
2017-09-26 14:41:55 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_weibo' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s. Register your app first at [%s](%s).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-09-26 14:41:55 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'auth_weibo' ,
tag : 'boolean' ,
2017-09-26 14:41:55 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_weibo_credentials' ] ,
title_i18n : [ 'Weibo' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'Sina Weibo' , 'Sina Weibo Open Portal' , 'http://open.weibo.com' ] , # rubocop:disable Zammad/DetectTranslatableString
2018-12-19 17:31:51 +00:00
permission : [ 'admin.security' ] ,
2017-09-26 14:41:55 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-09-26 14:41:55 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Weibo App Credentials' ) ,
2018-12-19 17:31:51 +00:00
name : 'auth_weibo_credentials' ,
area : 'Security::ThirdPartyAuthentication::Weibo' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via Weibo.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-09-26 14:41:55 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App ID' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'client_id' ,
tag : 'input' ,
2017-09-26 14:41:55 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'App Secret' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'client_secret' ,
tag : 'input' ,
2017-09-26 14:41:55 +00:00
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_weibo' ,
} ,
2017-09-26 14:41:55 +00:00
] ,
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
2017-09-26 14:41:55 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-09-26 14:41:55 +00:00
)
2019-09-18 08:07:46 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2019-09-18 08:07:46 +00:00
name : 'auth_saml' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via %s.' ) ,
2019-09-18 08:07:46 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'auth_saml' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
controller : 'SettingsAreaSwitch' ,
sub : [ 'auth_saml_credentials' ] ,
title_i18n : [ 'SAML' ] ,
description_i18n : [ 'SAML' ] ,
permission : [ 'admin.security' ] ,
} ,
state : false ,
frontend : true
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'SAML App Credentials' ) ,
2019-09-18 08:07:46 +00:00
name : 'auth_saml_credentials' ,
area : 'Security::ThirdPartyAuthentication::SAML' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables user authentication via SAML.' ) ,
2019-09-18 08:07:46 +00:00
options : {
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'IDP SSO target URL' ) ,
2019-09-18 08:07:46 +00:00
null : true ,
name : 'idp_sso_target_url' ,
tag : 'input' ,
placeholder : 'https://capriza.github.io/samling/samling.html' ,
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'IDP certificate' ) ,
2019-09-18 08:07:46 +00:00
null : true ,
name : 'idp_cert' ,
tag : 'input' ,
placeholder : '-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----' ,
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'IDP certificate fingerprint' ) ,
2019-09-18 08:07:46 +00:00
null : true ,
name : 'idp_cert_fingerprint' ,
tag : 'input' ,
placeholder : 'E7:91:B2:E1:...' ,
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Name Identifier Format' ) ,
2019-09-18 08:07:46 +00:00
null : true ,
name : 'name_identifier_format' ,
tag : 'input' ,
placeholder : 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' ,
} ,
2021-11-26 10:37:16 +00:00
{
display : __ ( 'Your callback URL' ) ,
null : true ,
name : 'callback_url' ,
tag : 'auth_provider' ,
provider : 'auth_saml' ,
} ,
2019-09-18 08:07:46 +00:00
] ,
} ,
state : { } ,
preferences : {
permission : [ 'admin.security' ] ,
} ,
frontend : false
)
2017-09-26 14:41:55 +00:00
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Minimum length' ) ,
2018-12-19 17:31:51 +00:00
name : 'password_min_size' ,
area : 'Security::Password' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Password needs to have at least a minimal number of characters.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'password_min_size' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
4 = > ' 4' ,
5 = > ' 5' ,
6 = > ' 6' ,
7 = > ' 7' ,
8 = > ' 8' ,
9 = > ' 9' ,
2017-04-26 11:28:32 +00:00
10 = > '10' ,
11 = > '11' ,
12 = > '12' ,
13 = > '13' ,
14 = > '14' ,
15 = > '15' ,
16 = > '16' ,
17 = > '17' ,
18 = > '18' ,
19 = > '19' ,
20 = > '20' ,
} ,
} ,
] ,
} ,
2020-08-28 14:07:30 +00:00
state : 10 ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( '2 lower case and 2 upper case characters' ) ,
2018-12-19 17:31:51 +00:00
name : 'password_min_2_lower_2_upper_characters' ,
area : 'Security::Password' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Password needs to contain 2 lower case and 2 upper case characters.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'password_min_2_lower_2_upper_characters' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
1 = > 'yes' ,
0 = > 'no' ,
} ,
} ,
] ,
} ,
2020-08-28 14:07:30 +00:00
state : 1 ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Digit required' ) ,
2018-12-19 17:31:51 +00:00
name : 'password_need_digit' ,
area : 'Security::Password' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Password needs to contain at least one digit.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Needed' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'password_need_digit' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
1 = > 'yes' ,
0 = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 1 ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.security' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2020-08-28 14:07:30 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Special character required' ) ,
2020-08-28 14:07:30 +00:00
name : 'password_need_special_character' ,
area : 'Security::Password' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Password needs to contain at least one special character.' ) ,
2020-08-28 14:07:30 +00:00
options : {
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Needed' ) ,
2020-08-28 14:07:30 +00:00
null : true ,
name : 'password_need_special_character' ,
tag : 'select' ,
options : {
1 = > 'yes' ,
0 = > 'no' ,
} ,
} ,
] ,
} ,
state : 0 ,
preferences : {
permission : [ 'admin.security' ] ,
} ,
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Maximum failed logins' ) ,
2018-12-19 17:31:51 +00:00
name : 'password_max_login_failed' ,
area : 'Security::Password' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines after how many failed logins accounts will be deactivated.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'password_max_login_failed' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
4 = > ' 4' ,
5 = > ' 5' ,
6 = > ' 6' ,
7 = > ' 7' ,
8 = > ' 8' ,
9 = > ' 9' ,
2017-04-26 11:28:32 +00:00
10 = > '10' ,
11 = > '11' ,
13 = > '13' ,
14 = > '14' ,
15 = > '15' ,
16 = > '16' ,
17 = > '17' ,
18 = > '18' ,
19 = > '19' ,
20 = > '20' ,
} ,
} ,
] ,
} ,
2020-08-28 14:07:30 +00:00
state : 5 ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-08-05 08:11:35 +00:00
authentication : true ,
permission : [ 'admin.security' ] ,
2017-04-26 11:28:32 +00:00
} ,
2021-08-05 08:11:35 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Hook' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_hook' ,
area : 'Ticket::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'The identifier for a ticket, e.g. Ticket#, Call#, MyTicket#. The default is Ticket#.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'ticket_hook' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
render : true ,
placeholder : true ,
2017-04-26 11:28:32 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.ticket' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : 'Ticket#' ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Hook Divider' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_hook_divider' ,
area : 'Ticket::Base::Shadow' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'The divider between TicketHook and ticket number. E. g. \': \'.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_hook_divider' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.ticket' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Hook Position' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_hook_position' ,
area : 'Ticket::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( " The format of the subject.
2017-04-26 11:28:32 +00:00
* ** Right ** means ** Some Subject [ Ticket #12345]**
* ** Left ** means ** [ Ticket #12345] Some Subject**
2021-11-15 15:58:19 +00:00
* ** None ** means ** Some Subject ** ( without ticket number ) . In the last case you should enable * postmaster_follow_up_search_in * to recognize follow - ups based on email headers and / or body . " ),
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ticket_hook_position' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
'left' = > 'left' ,
'right' = > 'right' ,
'none' = > 'none' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'right' ,
2017-04-26 11:28:32 +00:00
preferences : {
controller : 'SettingsAreaTicketHookPosition' ,
permission : [ 'admin.ticket' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-05-30 08:49:54 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Last Contact Behaviour' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_last_contact_behaviour' ,
area : 'Ticket::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Sets the last customer contact based on either the last contact of the customer in general or on the last contact of the customer that has not received a response.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-30 08:49:54 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ticket_last_contact_behaviour' ,
tag : 'select' ,
2018-05-30 08:49:54 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2021-11-15 15:58:19 +00:00
'based_on_customer_reaction' = > __ ( 'Last customer contact (without consideration an agent has replied to it)' ) ,
'check_if_agent_already_replied' = > __ ( 'Last customer contact (with consideration an agent has replied to it)' ) ,
2018-05-30 08:49:54 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'check_if_agent_already_replied' ,
2018-05-30 08:49:54 +00:00
preferences : {
permission : [ 'admin.ticket' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-05-30 08:49:54 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Number Format' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_number' ,
area : 'Ticket::Number' ,
2021-11-15 15:58:19 +00:00
description : __ ( " Selects the ticket number generator module.
2017-04-26 11:28:32 +00:00
* ** Increment ** increments the ticket number , the SystemID and the counter are used with SystemID . Counter format ( e . g . 1010138 , 1010139 ) .
2021-11-15 15:58:19 +00:00
* With ** Date ** the ticket numbers will be generated by the current date , the SystemID and the counter . The format looks like Year . Month . Day . SystemID . counter ( e . g . 201206231010138 , 201206231010139 ) . " ),
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'ticket_number' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
translate : true ,
2018-12-19 17:31:51 +00:00
options : {
2021-11-15 15:58:19 +00:00
'Ticket::Number::Increment' = > __ ( 'Increment (SystemID.Counter)' ) ,
'Ticket::Number::Date' = > __ ( 'Date (Year.Month.Day.SystemID.Counter)' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'Ticket::Number::Increment' ,
2017-04-26 11:28:32 +00:00
preferences : {
2017-11-23 08:09:44 +00:00
settings_included : %w[ ticket_number_increment ticket_number_date ] ,
2018-12-19 17:31:51 +00:00
controller : 'SettingsAreaTicketNumber' ,
permission : [ 'admin.ticket' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Number Increment' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_number_increment' ,
area : 'Ticket::Number' ,
2017-04-26 11:28:32 +00:00
description : '-' ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Checksum' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'checksum' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Min. size of number' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'min_size' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
1 = > ' 1' ,
2 = > ' 2' ,
3 = > ' 3' ,
4 = > ' 4' ,
5 = > ' 5' ,
6 = > ' 6' ,
7 = > ' 7' ,
8 = > ' 8' ,
9 = > ' 9' ,
2017-04-26 11:28:32 +00:00
10 = > '10' ,
11 = > '11' ,
12 = > '12' ,
13 = > '13' ,
14 = > '14' ,
15 = > '15' ,
16 = > '16' ,
17 = > '17' ,
18 = > '18' ,
19 = > '19' ,
20 = > '20' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : {
2017-04-26 11:28:32 +00:00
checksum : false ,
min_size : 5 ,
} ,
preferences : {
permission : [ 'admin.ticket' ] ,
2018-12-19 17:31:51 +00:00
hidden : true ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Number Increment Date' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_number_date' ,
area : 'Ticket::Number' ,
2017-04-26 11:28:32 +00:00
description : '-' ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Checksum' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'checksum' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : {
2017-04-26 11:28:32 +00:00
checksum : false
} ,
preferences : {
permission : [ 'admin.ticket' ] ,
2018-12-19 17:31:51 +00:00
hidden : true ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-02-12 16:31:02 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Auto Assignment' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_auto_assignment' ,
area : 'Web::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable ticket auto assignment.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-12 16:31:02 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_auto_assignment' ,
tag : 'boolean' ,
2018-02-12 16:31:02 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.ticket_auto_assignment' ] ,
2018-02-12 16:31:02 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2018-02-12 16:31:02 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Time Accounting Selector' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_auto_assignment_selector' ,
area : 'Web::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable auto assignment for following matching tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-02-12 16:31:02 +00:00
form : [
{ } ,
] ,
} ,
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.ticket_auto_assignment' ] ,
2018-02-12 16:31:02 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : { condition : { 'ticket.state_id' = > { operator : 'is' , value : Ticket :: State . by_category ( :work_on ) . pluck ( :id ) } } } ,
frontend : true
2018-02-12 16:31:02 +00:00
)
2018-06-04 12:57:53 +00:00
Setting . create_or_update (
2021-11-15 15:58:19 +00:00
title : __ ( 'Time Accounting Selector' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_auto_assignment_user_ids_ignore' ,
area : 'Web::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Define an exception of "automatic assignment" for certain users (e.g. executives).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-06-04 12:57:53 +00:00
form : [
{ } ,
] ,
} ,
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.ticket_auto_assignment' ] ,
2018-06-04 12:57:53 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : [ ] ,
frontend : true
2018-06-04 12:57:53 +00:00
)
2018-01-16 05:56:40 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Number ignore system_id' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_number_ignore_system_id' ,
area : 'Ticket::Core' ,
2018-01-16 05:56:40 +00:00
description : '-' ,
2018-12-19 17:31:51 +00:00
options : {
2018-01-16 05:56:40 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Ignore system_id' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_number_ignore_system_id' ,
tag : 'boolean' ,
2018-01-16 05:56:40 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2019-04-18 03:04:43 +00:00
state : false ,
2018-01-16 05:56:40 +00:00
preferences : {
permission : [ 'admin.ticket' ] ,
2018-12-19 17:31:51 +00:00
hidden : true ,
2018-01-16 05:56:40 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-01-16 05:56:40 +00:00
)
2017-04-26 11:28:32 +00:00
2018-05-29 15:42:14 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Recursive Ticket Triggers' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_trigger_recursive' ,
area : 'Ticket::Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Activate the recursive processing of ticket triggers.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-29 15:42:14 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Recursive Ticket Triggers' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_trigger_recursive' ,
tag : 'boolean' ,
2018-05-29 15:42:14 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-05-29 15:42:14 +00:00
preferences : {
permission : [ 'admin.ticket' ] ,
2018-12-19 17:31:51 +00:00
hidden : true ,
2018-05-29 15:42:14 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-05-29 15:42:14 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Recursive Ticket Triggers Loop Max.' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_trigger_recursive_max_loop' ,
area : 'Ticket::Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Maximum number of recursively executed triggers.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-29 15:42:14 +00:00
form : [
{
2021-11-15 15:58:19 +00:00
display : __ ( 'Recursive Ticket Triggers' ) ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_trigger_recursive_max_loop' ,
tag : 'select' ,
2018-05-29 15:42:14 +00:00
options : {
2018-12-19 17:31:51 +00:00
1 = > ' 1' ,
2 = > ' 2' ,
3 = > ' 3' ,
4 = > ' 4' ,
5 = > ' 5' ,
6 = > ' 6' ,
7 = > ' 7' ,
8 = > ' 8' ,
9 = > ' 9' ,
2018-05-29 15:42:14 +00:00
10 = > '10' ,
11 = > '11' ,
12 = > '12' ,
13 = > '13' ,
14 = > '14' ,
15 = > '15' ,
16 = > '16' ,
17 = > '17' ,
18 = > '18' ,
19 = > '19' ,
20 = > '20' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 10 ,
2018-05-29 15:42:14 +00:00
preferences : {
permission : [ 'admin.ticket' ] ,
2018-12-19 17:31:51 +00:00
hidden : true ,
2018-05-29 15:42:14 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-05-29 15:42:14 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Enable Ticket creation' ) ,
2018-12-19 17:31:51 +00:00
name : 'customer_ticket_create' ,
area : 'CustomerWeb::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if a customer can create tickets via the web interface.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'customer_ticket_create' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.channel_web' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Group selection for Ticket creation' ) ,
2018-12-19 17:31:51 +00:00
name : 'customer_ticket_create_group_ids' ,
area : 'CustomerWeb::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines groups for which a customer can create tickets via web interface. "-" means all groups are available.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'group_ids' ,
tag : 'select' ,
multiple : true ,
2017-04-26 11:28:32 +00:00
nulloption : true ,
2018-12-19 17:31:51 +00:00
relation : 'Group' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.channel_web' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
2021-09-09 12:35:00 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Tab behaviour after ticket action' ) ,
2021-09-09 12:35:00 +00:00
name : 'ticket_secondary_action' ,
area : 'CustomerWeb::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the tab behaviour after a ticket action.' ) ,
2021-09-09 12:35:00 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'ticket_secondary_action' ,
tag : 'boolean' ,
options : {
2021-11-15 15:58:19 +00:00
'closeTab' = > __ ( 'Close tab' ) ,
'closeTabOnTicketClose' = > __ ( 'Close tab on ticket close' ) ,
'closeNextInOverview' = > __ ( 'Next in overview' ) ,
'stayOnTab' = > __ ( 'Stay on tab' ) ,
2021-09-09 12:35:00 +00:00
} ,
} ,
] ,
} ,
state : 'stayOnTab' ,
preferences : {
authentication : true ,
permission : [ 'admin.channel_web' ] ,
} ,
frontend : true
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Enable Ticket creation' ) ,
2018-12-19 17:31:51 +00:00
name : 'form_ticket_create' ,
area : 'Form::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if tickets can be created via web form.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'form_ticket_create' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.channel_formular' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-04-26 11:28:32 +00:00
)
2017-06-28 17:19:19 +00:00
group = Group . where ( active : true ) . first
if ! group
group = Group . first
end
group_id = 1
if group
group_id = group . id
end
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Group selection for ticket creation' ) ,
2018-12-19 17:31:51 +00:00
name : 'form_ticket_create_group_id' ,
area : 'Form::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the group of tickets created via web form.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-06-28 17:19:19 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'form_ticket_create_group_id' ,
tag : 'select' ,
2017-06-28 17:19:19 +00:00
relation : 'Group' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : group_id ,
2017-06-28 17:19:19 +00:00
preferences : {
permission : [ 'admin.channel_formular' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-06-28 17:19:19 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Limit tickets by IP per hour' ) ,
2018-12-19 17:31:51 +00:00
name : 'form_ticket_create_by_ip_per_hour' ,
area : 'Form::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a limit for how many tickets can be created via web form from one IP address per hour.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-06-28 17:19:19 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'form_ticket_create_by_ip_per_hour' ,
tag : 'input' ,
2017-06-28 17:19:19 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 20 ,
2017-06-28 17:19:19 +00:00
preferences : {
permission : [ 'admin.channel_formular' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-06-28 17:19:19 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Limit tickets by IP per day' ) ,
2018-12-19 17:31:51 +00:00
name : 'form_ticket_create_by_ip_per_day' ,
area : 'Form::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a limit for how many tickets can be created via web form from one IP address per day.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-06-28 17:19:19 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'form_ticket_create_by_ip_per_day' ,
tag : 'input' ,
2017-06-28 17:19:19 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 240 ,
2017-06-28 17:19:19 +00:00
preferences : {
permission : [ 'admin.channel_formular' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-06-28 17:19:19 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Limit tickets per day' ) ,
2018-12-19 17:31:51 +00:00
name : 'form_ticket_create_per_day' ,
area : 'Form::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a limit for how many tickets can be created via web form per day.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-06-28 17:19:19 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'form_ticket_create_per_day' ,
tag : 'input' ,
2017-06-28 17:19:19 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 5000 ,
2017-06-28 17:19:19 +00:00
preferences : {
permission : [ 'admin.channel_formular' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-06-28 17:19:19 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Subject Size' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_subject_size' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Max. length of the subject in an email reply.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'ticket_subject_size' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '110' ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Subject Reply' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_subject_re' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'The text at the beginning of the subject in an email reply, e.g. RE, AW, or AS.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_subject_re' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'RE' ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-05-18 10:59:08 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ticket Subject Forward' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_subject_fwd' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'The text at the beginning of the subject in an email forward, e. g. FWD.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-18 10:59:08 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_subject_fwd' ,
tag : 'input' ,
2018-05-18 10:59:08 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'FWD' ,
2018-05-18 10:59:08 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2018-05-18 10:59:08 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-05-18 10:59:08 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sender Format' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_define_email_from' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines how the From field of emails (sent from answers and email tickets) should look like.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ticket_define_email_from' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2021-11-15 15:58:19 +00:00
SystemAddressName : __ ( 'System Address Display Name' ) ,
AgentNameSystemAddressName : __ ( 'Agent Name + FromSeparator + System Address Display Name' ) ,
AgentName : __ ( 'Agent Name' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'AgentNameSystemAddressName' ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sender Format Separator' ) ,
2018-12-19 17:31:51 +00:00
name : 'ticket_define_email_from_separator' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the separator between the agent\'s real name and the given group email address.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'ticket_define_email_from_separator' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'via' ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Maximum Email Size' ) ,
2018-12-19 17:31:51 +00:00
name : 'postmaster_max_size' ,
area : 'Email::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the maximum accepted email size in MB.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'postmaster_max_size' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
options : {
2018-12-19 17:31:51 +00:00
1 = > ' 1' ,
2 = > ' 2' ,
3 = > ' 3' ,
4 = > ' 4' ,
5 = > ' 5' ,
6 = > ' 6' ,
7 = > ' 7' ,
8 = > ' 8' ,
9 = > ' 9' ,
10 = > ' 10' ,
15 = > ' 15' ,
20 = > ' 20' ,
25 = > ' 25' ,
30 = > ' 30' ,
35 = > ' 35' ,
40 = > ' 40' ,
45 = > ' 45' ,
50 = > ' 50' ,
60 = > ' 60' ,
70 = > ' 70' ,
80 = > ' 80' ,
90 = > ' 90' ,
2017-04-26 11:28:32 +00:00
100 = > '100' ,
125 = > '125' ,
150 = > '150' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 10 ,
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Additional follow-up detection' ) ,
2018-12-19 17:31:51 +00:00
name : 'postmaster_follow_up_search_in' ,
area : 'Email::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'By default, the follow-up check is done via the subject of an email. This setting lets you add more fields for which the follow-up check will be executed.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'postmaster_follow_up_search_in' ,
tag : 'checkbox' ,
2017-04-26 11:28:32 +00:00
options : {
2021-11-15 15:58:19 +00:00
'references' = > __ ( 'References - Search for follow-up also in In-Reply-To or References headers.' ) ,
'body' = > __ ( 'Body - Search for follow-up also in mail body.' ) ,
'attachment' = > __ ( 'Attachment - Search for follow-up also in attachments.' ) ,
2017-04-26 11:28:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : [ ] ,
2017-04-26 11:28:32 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-05-26 13:34:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sender based on Reply-To header' ) ,
2018-12-19 17:31:51 +00:00
name : 'postmaster_sender_based_on_reply_to' ,
area : 'Email::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Set/overwrite sender/from of email based on "Reply-To" header. Useful to set correct customer if email is received from a third-party system on behalf of a customer.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-05-26 13:34:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'postmaster_sender_based_on_reply_to' ,
tag : 'select' ,
2017-05-26 13:34:32 +00:00
options : {
'' = > '-' ,
2021-11-15 15:58:19 +00:00
'as_sender_of_email' = > __ ( 'Take reply-to header as sender/from of email.' ) ,
'as_sender_of_email_use_from_realname' = > __ ( 'Take reply-to header as sender/from of email and use realname of origin from.' ) ,
2017-05-26 13:34:32 +00:00
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : [ ] ,
2017-05-26 13:34:32 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-05-26 13:34:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-05-26 13:34:32 +00:00
)
2017-11-23 19:43:01 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Customer selection based on sender and receiver list' ) ,
2018-12-19 17:31:51 +00:00
name : 'postmaster_sender_is_agent_search_for_customer' ,
area : 'Email::Base' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'If the sender is an agent, set the first user in the recipient list as the customer.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-11-23 19:43:01 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'postmaster_sender_is_agent_search_for_customer' ,
tag : 'boolean' ,
2017-11-23 19:43:01 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-11-23 19:43:01 +00:00
preferences : {
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-11-23 19:43:01 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-11-23 19:43:01 +00:00
)
2019-08-06 15:26:29 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Send postmaster mail if mail too large' ) ,
2019-08-06 15:26:29 +00:00
name : 'postmaster_send_reject_if_mail_too_large' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Send postmaster reject mail to sender of mail if mail is too large.' ) ,
2019-08-06 15:26:29 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'postmaster_send_reject_if_mail_too_large' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : true ,
preferences : {
online_service_disable : true ,
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2019-08-06 15:26:29 +00:00
} ,
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Notification Sender' ) ,
2018-12-19 17:31:51 +00:00
name : 'notification_sender' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the sender of email notifications.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'notification_sender' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2021-08-17 12:10:02 +00:00
state : '#{config.product_name} <noreply@#{config.fqdn}>' , # rubocop:disable Lint/InterpolationCheck
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Block Notifications' ) ,
2018-12-19 17:31:51 +00:00
name : 'send_no_auto_response_reg_exp' ,
area : 'Email::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'If this regex matches, no notification will be sent by the sender.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'send_no_auto_response_reg_exp' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '(mailer-daemon|postmaster|abuse|root|noreply|noreply.+?|no-reply|no-reply.+?)@.+?' ,
2017-04-26 11:28:32 +00:00
preferences : {
online_service_disable : true ,
2021-09-20 16:03:47 +00:00
permission : [ 'admin.channel_email' , 'admin.channel_google' , 'admin.channel_microsoft365' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-09-13 07:09:05 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'BCC address for all outgoing emails' ) ,
2018-12-19 17:31:51 +00:00
name : 'system_bcc' ,
area : 'Email::Enhanced' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'To archive all outgoing emails from Zammad to external, you can store a BCC email address here.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : '' ,
2018-09-13 07:09:05 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-09-13 07:09:05 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'API Token Access' ) ,
2018-12-19 17:31:51 +00:00
name : 'api_token_access' ,
area : 'API::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable REST API using tokens (not username/email address and password). Each user needs to create its own access tokens in user profile.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'api_token_access' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.api' ] ,
} ,
2021-09-10 15:26:17 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'API Password Access' ) ,
2018-12-19 17:31:51 +00:00
name : 'api_password_access' ,
area : 'API::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable REST API access using the username/email address and password for the authentication user.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'api_password_access' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.api' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Monitoring Token' ) ,
2018-12-19 17:31:51 +00:00
name : 'monitoring_token' ,
area : 'HealthCheck::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Token for monitoring.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'monitoring_token' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : ENV [ 'MONITORING_TOKEN' ] || SecureRandom . urlsafe_base64 ( 40 ) ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.monitoring' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Enable Chat' ) ,
2018-12-19 17:31:51 +00:00
name : 'chat' ,
area : 'Chat::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable/disable online chat.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'chat' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
2018-12-19 17:31:51 +00:00
trigger : [ 'menu:render' , 'chat:rerender' ] ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.channel_chat' ] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Agent idle timeout' ) ,
2018-12-19 17:31:51 +00:00
name : 'chat_agent_idle_timeout' ,
area : 'Chat::Extended' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Idle timeout in seconds until agent is set offline automatically.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'chat_agent_idle_timeout' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '120' ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin.channel_chat' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines searchable models.' ) ,
2018-12-19 17:31:51 +00:00
name : 'models_searchable' ,
area : 'Models::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the searchable models.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : Models . searchable . map ( & :to_s ) ,
2017-04-26 11:28:32 +00:00
preferences : {
authentication : true ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true ,
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Default Screen' ) ,
2018-12-19 17:31:51 +00:00
name : 'default_controller' ,
area : 'Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the default screen.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : '#dashboard' ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Endpoint URL' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_url' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines endpoint of Elasticsearch.' ) ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Endpoint User' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_user' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines HTTP basic auth user of Elasticsearch.' ) ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Endpoint Password' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_password' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines HTTP basic auth password of Elasticsearch.' ) ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Endpoint Index' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_index' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines Elasticsearch index name.' ) ,
2018-12-19 17:31:51 +00:00
state : 'zammad' ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Attachment Extensions' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_attachment_ignore' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines attachment extensions which will be ignored by Elasticsearch.' ) ,
2018-12-19 17:31:51 +00:00
state : [ '.png' , '.jpg' , '.jpeg' , '.mpeg' , '.mpg' , '.mov' , '.bin' , '.exe' , '.box' , '.mbox' ] ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Attachment Size' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_attachment_max_size_in_mb' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Define max. attachment size for Elasticsearch.' ) ,
2018-12-19 17:31:51 +00:00
state : 10 ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2021-03-01 08:50:07 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Total Payload Size' ) ,
2021-03-01 08:50:07 +00:00
name : 'es_total_max_size_in_mb' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Define max. payload size for Elasticsearch.' ) ,
2021-03-01 08:50:07 +00:00
state : 300 ,
preferences : { online_service_disable : true } ,
frontend : false
)
2017-12-04 00:24:58 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Elasticsearch Pipeline Name' ) ,
2018-12-19 17:31:51 +00:00
name : 'es_pipeline' ,
area : 'SearchIndex::Elasticsearch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Define pipeline name for Elasticsearch.' ) ,
2018-12-19 17:31:51 +00:00
state : '' ,
2017-12-04 00:24:58 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-12-04 00:24:58 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Mode' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_mode' ,
area : 'Import::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Puts Zammad into import mode (disables some triggers).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'import_mode' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Backend' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_backend' ,
area : 'Import::Base::Internal' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Set backend which is being used for import.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : '' ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Ignore Escalation/SLA Information' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_ignore_sla' ,
area : 'Import::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Ignore escalation/SLA information for import.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'import_ignore_sla' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Endpoint' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_otrs_endpoint' ,
area : 'Import::OTRS' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines an OTRS endpoint to import users, tickets, states, and articles.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'import_otrs_endpoint' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'http://otrs_host/otrs' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Key' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_otrs_endpoint_key' ,
area : 'Import::OTRS' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines OTRS endpoint authentication key.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'import_otrs_endpoint_key' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import User for HTTP basic authentication' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_otrs_user' ,
area : 'Import::OTRS' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines HTTP basic authentication user (only if OTRS is protected via HTTP basic auth).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'import_otrs_user' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Import Password for HTTP basic authentication' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_otrs_password' ,
area : 'Import::OTRS' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines HTTP basic authentication password (only if OTRS is protected via HTTP basic auth).' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'import_otrs_password' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Endpoint' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_zendesk_endpoint' ,
area : 'Import::Zendesk' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a Zendesk endpoint to import users, tickets, states, and articles.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'import_zendesk_endpoint' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'https://yours.zendesk.com/api/v2' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Import API key for requesting the Zendesk API' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_zendesk_endpoint_key' ,
area : 'Import::Zendesk' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines Zendesk endpoint authentication API key.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'import_zendesk_endpoint_key' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import User for requesting the Zendesk API' ) ,
2018-12-19 17:31:51 +00:00
name : 'import_zendesk_endpoint_username' ,
area : 'Import::Zendesk' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines Zendesk endpoint authentication user.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'import_zendesk_endpoint_username' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
2021-05-25 12:30:12 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Endpoint' ) ,
2021-05-25 12:30:12 +00:00
name : 'import_freshdesk_endpoint' ,
area : 'Import::Freshdesk' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a Freshdesk endpoint to import users, tickets, states, and articles.' ) ,
2021-05-25 12:30:12 +00:00
options : {
form : [
{
display : '' ,
null : false ,
name : 'import_freshdesk_endpoint' ,
tag : 'input' ,
} ,
] ,
} ,
state : 'https://yours.freshdesk.com/api/v2' ,
frontend : false
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Import API key for requesting the Freshdesk API' ) ,
2021-05-25 12:30:12 +00:00
name : 'import_freshdesk_endpoint_key' ,
area : 'Import::Freshdesk' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines Freshdesk endpoint authentication API key.' ) ,
2021-05-25 12:30:12 +00:00
options : {
form : [
{
display : '' ,
null : false ,
name : 'import_freshdesk_endpoint_key' ,
tag : 'input' ,
} ,
] ,
} ,
state : '' ,
frontend : false
)
2021-10-20 09:43:35 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Endpoint' ) ,
2021-10-20 09:43:35 +00:00
name : 'import_kayako_endpoint' ,
area : 'Import::Kayako' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a Kayako endpoint to import users, tickets, states, and articles.' ) ,
2021-10-20 09:43:35 +00:00
options : {
form : [
{
display : '' ,
null : false ,
name : 'import_kayako_endpoint' ,
tag : 'input' ,
} ,
] ,
} ,
state : 'https://yours.kayako.com/api/v1' ,
frontend : false
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import User for requesting the Kayako API' ) ,
2021-10-20 09:43:35 +00:00
name : 'import_kayako_endpoint_username' ,
area : 'Import::Kayako' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines Kayako endpoint authentication user.' ) ,
2021-10-20 09:43:35 +00:00
options : {
form : [
{
display : '' ,
null : false ,
name : 'import_kayako_endpoint_username' ,
tag : 'input' ,
} ,
] ,
} ,
state : '' ,
frontend : false
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Password for requesting the Kayako API' ) ,
2021-10-20 09:43:35 +00:00
name : 'import_kayako_endpoint_password' ,
area : 'Import::Kayako' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines Kayako endpoint authentication password.' ) ,
2021-10-20 09:43:35 +00:00
options : {
form : [
{
display : '' ,
null : false ,
name : 'import_kayako_endpoint_password' ,
tag : 'input' ,
} ,
] ,
} ,
state : '' ,
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Import Backends' ) ,
2017-04-26 11:28:32 +00:00
name : 'import_backends' ,
area : 'Import' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'A list of active import backends that gets scheduled automatically.' ) ,
2017-04-26 11:28:32 +00:00
options : { } ,
2017-08-14 11:56:23 +00:00
state : [ 'Import::Ldap' , 'Import::Exchange' ] ,
2017-04-26 11:28:32 +00:00
preferences : {
permission : [ 'admin' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-06-22 14:36:20 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sequencer log level' ) ,
2018-06-22 14:36:20 +00:00
name : 'sequencer_log_level' ,
area : 'Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the log levels for various logging actions of the Sequencer.' ) ,
2018-06-22 14:36:20 +00:00
options : { } ,
state : {
sequence : {
start_finish : :debug ,
unit : :debug ,
result : :debug ,
} ,
2018-12-19 17:31:51 +00:00
state : {
optional : :debug ,
set : :debug ,
get : :debug ,
attribute_initialization : {
2018-06-22 14:36:20 +00:00
start_finish : :debug ,
attributes : :debug ,
} ,
2018-12-19 17:31:51 +00:00
parameter_initialization : {
2018-06-22 14:36:20 +00:00
parameters : :debug ,
start_finish : :debug ,
unused : :debug ,
} ,
expectations_initialization : :debug ,
2018-12-19 17:31:51 +00:00
cleanup : {
2018-06-22 14:36:20 +00:00
start_finish : :debug ,
remove : :debug ,
}
}
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2018-06-22 14:36:20 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Time Accounting' ) ,
2018-12-19 17:31:51 +00:00
name : 'time_accounting' ,
area : 'Web::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable time accounting.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'time_accounting' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.time_accounting' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : false ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Time Accounting Selector' ) ,
2018-12-19 17:31:51 +00:00
name : 'time_accounting_selector' ,
area : 'Web::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enable time accounting for these tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{ } ,
] ,
} ,
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.time_accounting' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : { } ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'New Tags' ) ,
2018-12-19 17:31:51 +00:00
name : 'tag_new' ,
area : 'Web::Base' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Allow users to create new tags.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'tag_new' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.tag' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
state : true ,
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Default calendar tickets subscriptions' ) ,
2018-12-19 17:31:51 +00:00
name : 'defaults_calendar_subscriptions_tickets' ,
area : 'Defaults::CalendarSubscriptions' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the default calendar tickets subscription settings.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : {
2017-04-26 11:28:32 +00:00
escalation : {
2018-12-19 17:31:51 +00:00
own : true ,
2017-04-26 11:28:32 +00:00
not_assigned : false ,
} ,
2018-12-19 17:31:51 +00:00
new_open : {
own : true ,
2017-04-26 11:28:32 +00:00
not_assigned : false ,
} ,
2018-12-19 17:31:51 +00:00
pending : {
own : true ,
2017-04-26 11:28:32 +00:00
not_assigned : false ,
}
} ,
preferences : {
authentication : true ,
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines translator identifier.' ) ,
2018-12-19 17:31:51 +00:00
name : 'translator_key' ,
area : 'i18n::translator_key' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the translator identifier for contributions.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : '' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0005_postmaster_filter_trusted' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to remove X-Zammad headers from untrustworthy sources.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::Trusted' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-05-26 13:34:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0006_postmaster_filter_auto_response_check' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to identify auto responses to prevent auto replies from Zammad.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::AutoResponseCheck' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-05-26 13:34:32 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0007_postmaster_filter_follow_up_check' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to identify follow-ups (based on admin settings).' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::FollowUpCheck' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0008_postmaster_filter_follow_up_merged' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to identify follow-up ticket for merged tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::FollowUpMerged' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2021-08-24 13:57:50 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2021-08-24 13:57:50 +00:00
name : '0009_postmaster_filter_follow_up_assignment' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to set the owner (based on group follow up assignment).' ) ,
2021-08-24 13:57:50 +00:00
options : { } ,
state : 'Channel::Filter::FollowUpAssignment' ,
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0011_postmaster_sender_based_on_reply_to' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to set the sender/from of emails based on reply-to header.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::ReplyToBasedSender' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2020-10-29 14:58:36 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Define postmaster filter.' ) ,
2020-10-29 14:58:36 +00:00
name : '0018_postmaster_import_archive' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Define postmaster filter to import archive mailboxes.' ) ,
2020-10-29 14:58:36 +00:00
options : { } ,
state : 'Channel::Filter::ImportArchive' ,
frontend : false
)
2020-06-02 11:01:16 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0012_postmaster_filter_sender_is_system_address' ,
2020-06-02 11:01:16 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to check if email has been created by Zammad itself and will set the article sender.' ) ,
2020-06-02 11:01:16 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::SenderIsSystemAddress' ,
2020-06-02 11:01:16 +00:00
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0014_postmaster_filter_own_notification_loop_detection' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to check if the email is a self-created notification email, then ignore it to prevent email loops.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::OwnNotificationLoopDetection' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0015_postmaster_filter_identify_sender' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to identify sender user.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::IdentifySender' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0016_postmaster_filter_smime' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to handle secure mailing.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::SecureMailing' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-05-05 09:17:34 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-08-20 07:10:08 +00:00
name : '0030_postmaster_filter_out_of_office_check' ,
2018-12-19 17:31:51 +00:00
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to identify out-of-office emails for follow-up detection and keeping current ticket state.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
2020-08-20 07:10:08 +00:00
state : 'Channel::Filter::OutOfOfficeCheck' ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-05-05 09:17:34 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '0200_postmaster_filter_follow_up_possible_check' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Define postmaster filter to check if follow-ups get created (based on admin settings).' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::FollowUpPossibleCheck' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '0900_postmaster_filter_bounce_follow_up_check' ,
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify postmaster bounces; and handles them as follow-up of the original tickets' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::BounceFollowUpCheck' ,
frontend : false
2017-05-30 06:55:51 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '0950_postmaster_filter_bounce_delivery_permanent_failed' ,
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify postmaster bounces; and disables sending notification if delivery fails permanently.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::BounceDeliveryPermanentFailed' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-08-31 15:17:59 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '0955_postmaster_filter_bounce_delivery_temporary_failed' ,
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify postmaster bounces; and reopens tickets if delivery fails permanently.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::BounceDeliveryTemporaryFailed' ,
frontend : false
2018-08-31 15:17:59 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '1000_postmaster_filter_database_check' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter for filters managed via admin interface.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::Database' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '5000_postmaster_filter_icinga' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to manage Icinga (http://www.icinga.org) emails.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::Icinga' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '5100_postmaster_filter_nagios' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to manage Nagios (http://www.nagios.org) emails.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::Nagios' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-10-24 23:24:07 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2018-12-19 17:31:51 +00:00
name : '5300_postmaster_filter_monit' ,
area : 'Postmaster::PreFilter' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines postmaster filter to manage Monit (https://mmonit.com/monit/) emails.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Channel::Filter::Monit' ,
frontend : false
2017-10-24 23:24:07 +00:00
)
2020-04-17 07:24:57 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-04-17 07:24:57 +00:00
name : '5400_postmaster_filter_service_now_check' ,
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify ServiceNow mails for correct follow-ups.' ) ,
2020-04-17 07:24:57 +00:00
options : { } ,
state : 'Channel::Filter::ServiceNowCheck' ,
frontend : false
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2020-04-17 07:24:57 +00:00
name : '5401_postmaster_filter_service_now_check' ,
area : 'Postmaster::PostFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify ServiceNow mails for correct follow-ups.' ) ,
2020-04-17 07:24:57 +00:00
options : { } ,
state : 'Channel::Filter::ServiceNowCheck' ,
frontend : false
)
2021-08-13 12:39:09 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2021-08-13 12:39:09 +00:00
name : '5400_postmaster_filter_jira_check' ,
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify Jira mails for correct follow-ups.' ) ,
2021-08-13 12:39:09 +00:00
options : { } ,
state : 'Channel::Filter::JiraCheck' ,
frontend : false
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines postmaster filter.' ) ,
2021-08-13 12:39:09 +00:00
name : '5401_postmaster_filter_jira_check' ,
area : 'Postmaster::PostFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter to identify Jira mails for correct follow-ups.' ) ,
2021-08-13 12:39:09 +00:00
options : { } ,
state : 'Channel::Filter::JiraCheck' ,
frontend : false
)
2021-05-10 17:30:12 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Define postmaster filter.' ) ,
2021-05-10 17:30:12 +00:00
name : '5500_postmaster_internal_article_check' ,
area : 'Postmaster::PreFilter' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines postmaster filter which sets the articles visibility to internal if it is a rely to an internal article or the last outgoing email is internal.' ) ,
2021-05-10 17:30:12 +00:00
options : { } ,
state : 'Channel::Filter::InternalArticleCheck' ,
frontend : false
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Icinga integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'icinga_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Icinga (http://www.icinga.org) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'icinga_integration' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sender' ) ,
2018-12-19 17:31:51 +00:00
name : 'icinga_sender' ,
area : 'Integration::Icinga' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the sender email address of Icinga emails.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'icinga_sender' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
placeholder : 'icinga@monitoring.example.com' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'icinga@monitoring.example.com' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Auto close' ) ,
2018-12-19 17:31:51 +00:00
name : 'icinga_auto_close' ,
area : 'Integration::Icinga' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if tickets should be closed if service is recovered.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'icinga_auto_close' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 3 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Auto-close state' ) ,
2018-12-19 17:31:51 +00:00
name : 'icinga_auto_close_state_id' ,
area : 'Integration::Icinga' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the state of auto-closed tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'icinga_auto_close_state_id' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
relation : 'TicketState' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 4 ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 4 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Nagios integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'nagios_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Nagios (http://www.nagios.org) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'nagios_integration' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sender' ) ,
2018-12-19 17:31:51 +00:00
name : 'nagios_sender' ,
area : 'Integration::Nagios' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the sender email address of Nagios emails.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'nagios_sender' ,
tag : 'input' ,
2017-04-26 11:28:32 +00:00
placeholder : 'nagios@monitoring.example.com' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'nagios@monitoring.example.com' ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Auto close' ) ,
2018-12-19 17:31:51 +00:00
name : 'nagios_auto_close' ,
area : 'Integration::Nagios' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if tickets should be closed if service is recovered.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'nagios_auto_close' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 3 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Auto-close state' ) ,
2018-12-19 17:31:51 +00:00
name : 'nagios_auto_close_state_id' ,
area : 'Integration::Nagios' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the state of auto-closed tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'nagios_auto_close_state_id' ,
tag : 'select' ,
2017-04-26 11:28:32 +00:00
relation : 'TicketState' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 4 ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 4 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2017-08-21 23:13:19 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Checkmk integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'check_mk_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Checkmk (https://checkmk.com/) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-08-21 23:13:19 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'check_mk_integration' ,
tag : 'boolean' ,
2017-08-21 23:13:19 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-08-21 23:13:19 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-08-21 23:13:19 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-08-21 23:13:19 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Group' ) ,
2018-12-19 17:31:51 +00:00
name : 'check_mk_group_id' ,
area : 'Integration::CheckMK' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the group of created tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-08-21 23:13:19 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'check_mk_group_id' ,
tag : 'select' ,
2017-08-21 23:13:19 +00:00
relation : 'Group' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 1 ,
2017-08-21 23:13:19 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-08-21 23:13:19 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-08-21 23:13:19 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Auto close' ) ,
2018-12-19 17:31:51 +00:00
name : 'check_mk_auto_close' ,
area : 'Integration::CheckMK' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if tickets should be closed if service is recovered.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-08-21 23:13:19 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
2021-08-27 11:40:14 +00:00
name : 'check_mk_auto_close' ,
2018-12-19 17:31:51 +00:00
tag : 'boolean' ,
2017-08-21 23:13:19 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-08-21 23:13:19 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 3 ,
2017-08-21 23:13:19 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-08-21 23:13:19 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Auto-close state' ) ,
2018-12-19 17:31:51 +00:00
name : 'check_mk_auto_close_state_id' ,
area : 'Integration::CheckMK' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the state of auto-closed tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-08-21 23:13:19 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'check_mk_auto_close_state_id' ,
tag : 'select' ,
2017-08-21 23:13:19 +00:00
relation : 'TicketState' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 4 ,
2017-08-21 23:13:19 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 4 ,
2017-08-21 23:13:19 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-08-21 23:13:19 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Checkmk token' ) ,
2018-12-19 17:31:51 +00:00
name : 'check_mk_token' ,
area : 'Core' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the Checkmk token for allowing updates.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : ENV [ 'CHECK_MK_TOKEN' ] || SecureRandom . hex ( 16 ) ,
2017-08-21 23:13:19 +00:00
preferences : {
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-08-21 23:13:19 +00:00
)
2017-10-24 23:24:07 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Monit integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'monit_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Monit (https://mmonit.com/monit/) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-10-24 23:24:07 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'monit_integration' ,
tag : 'boolean' ,
2017-10-24 23:24:07 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-10-24 23:24:07 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-10-24 23:24:07 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-10-24 23:24:07 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Sender' ) ,
2018-12-19 17:31:51 +00:00
name : 'monit_sender' ,
area : 'Integration::Monit' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the sender email address of the service emails.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-10-24 23:24:07 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'monit_sender' ,
tag : 'input' ,
2017-10-24 23:24:07 +00:00
placeholder : 'monit@monitoring.example.com' ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 'monit@monitoring.example.com' ,
2017-10-24 23:24:07 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-10-24 23:24:07 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-10-24 23:24:07 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Auto close' ) ,
2018-12-19 17:31:51 +00:00
name : 'monit_auto_close' ,
area : 'Integration::Monit' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if tickets should be closed if service is recovered.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-10-24 23:24:07 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : true ,
name : 'monit_auto_close' ,
tag : 'boolean' ,
options : {
2017-10-24 23:24:07 +00:00
true = > 'yes' ,
false = > 'no' ,
} ,
translate : true ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : true ,
2017-10-24 23:24:07 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 3 ,
2017-10-24 23:24:07 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-10-24 23:24:07 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Auto-close state' ) ,
2018-12-19 17:31:51 +00:00
name : 'monit_auto_close_state_id' ,
area : 'Integration::Monit' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the state of auto-closed tickets.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-10-24 23:24:07 +00:00
form : [
{
2018-12-19 17:31:51 +00:00
display : '' ,
null : false ,
name : 'monit_auto_close_state_id' ,
tag : 'select' ,
relation : 'TicketState' ,
2017-10-24 23:24:07 +00:00
translate : true ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : 4 ,
2017-10-24 23:24:07 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 4 ,
2017-10-24 23:24:07 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-10-24 23:24:07 +00:00
)
2017-08-21 23:13:19 +00:00
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'LDAP integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'ldap_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if LDAP is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'ldap_integration' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.integration' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-08-14 11:56:23 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Exchange config' ) ,
2018-12-19 17:31:51 +00:00
name : 'exchange_config' ,
area : 'Integration::Exchange' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the Exchange config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { } ,
2017-08-14 11:56:23 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-08-14 11:56:23 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-08-14 11:56:23 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Exchange integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'exchange_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Exchange is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-08-14 11:56:23 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'exchange_integration' ,
tag : 'boolean' ,
2017-08-14 11:56:23 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-08-14 11:56:23 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-08-14 11:56:23 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.integration' ] ,
2017-08-14 11:56:23 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'LDAP config' ) ,
2018-12-19 17:31:51 +00:00
name : 'ldap_config' ,
area : 'Integration::LDAP' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the LDAP config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { } ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-04-26 11:28:32 +00:00
)
2017-09-06 06:39:02 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'i-doit integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'idoit_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if i-doit (http://www.i-doit) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-09-06 06:39:02 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'idoit_integration' ,
tag : 'boolean' ,
2017-09-06 06:39:02 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-09-06 06:39:02 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-09-06 06:39:02 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.integration' ] ,
2017-09-06 06:39:02 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-09-06 06:39:02 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'i-doit config' ) ,
2018-12-19 17:31:51 +00:00
name : 'idoit_config' ,
area : 'Integration::Idoit' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the i-doit config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { } ,
2017-09-06 06:39:02 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-09-06 06:39:02 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-09-06 06:39:02 +00:00
)
2021-03-10 16:11:14 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'GitLab integration' ) ,
2021-03-10 16:11:14 +00:00
name : 'gitlab_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if the GitLab (http://www.gitlab.com) integration is enabled or not.' ) ,
2021-03-10 16:11:14 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'gitlab_integration' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : false ,
preferences : {
prio : 1 ,
authentication : true ,
permission : [ 'admin.integration' ] ,
} ,
frontend : true
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'GitLab config' ) ,
2021-03-10 16:11:14 +00:00
name : 'gitlab_config' ,
area : 'Integration::GitLab' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Stores the GitLab configuration.' ) ,
2021-03-10 16:11:14 +00:00
options : { } ,
state : {
endpoint : 'https://gitlab.com/api/graphql' ,
} ,
preferences : {
prio : 2 ,
permission : [ 'admin.integration' ] ,
} ,
frontend : false ,
)
2021-03-10 16:25:26 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'GitHub integration' ) ,
2021-03-10 16:25:26 +00:00
name : 'github_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if the GitHub (http://www.github.com) integration is enabled or not.' ) ,
2021-03-10 16:25:26 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'github_integration' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : false ,
preferences : {
prio : 1 ,
authentication : true ,
permission : [ 'admin.integration' ] ,
} ,
frontend : true
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'GitHub config' ) ,
2021-03-10 16:25:26 +00:00
name : 'github_config' ,
area : 'Integration::GitHub' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Stores the GitHub configuration.' ) ,
2021-03-10 16:25:26 +00:00
options : { } ,
state : {
endpoint : 'https://api.github.com/graphql' ,
} ,
preferences : {
prio : 2 ,
permission : [ 'admin.integration' ] ,
} ,
frontend : false ,
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines sync transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '0100_trigger' ,
area : 'Transaction::Backend::Sync' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the transaction backend to execute triggers.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::Trigger' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '0100_notification' ,
area : 'Transaction::Backend::Async' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the transaction backend to send agent notifications.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::Notification' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '1000_signature_detection' ,
area : 'Transaction::Backend::Async' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the transaction backend to detect customer signatures in emails.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::SignatureDetection' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '6000_slack_webhook' ,
area : 'Transaction::Backend::Async' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the transaction backend which posts messages to Slack (http://www.slack.com).' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::Slack' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Slack integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'slack_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Slack (http://www.slack.org) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'slack_integration' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Slack config' ) ,
2018-12-19 17:31:51 +00:00
name : 'slack_config' ,
area : 'Integration::Slack' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the Slack config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : {
2017-04-26 11:28:32 +00:00
items : [ ]
} ,
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'sipgate.io integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'sipgate_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if sipgate.io (http://www.sipgate.io) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'sipgate_integration' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
trigger : [ 'menu:render' , 'cti:reload' ] ,
2017-04-26 11:28:32 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.integration' ] ,
2017-04-26 11:28:32 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'sipgate.io config' ) ,
2018-12-19 17:31:51 +00:00
name : 'sipgate_config' ,
area : 'Integration::Sipgate' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the sipgate.io config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { 'outbound' = > { 'routing_table' = > [ ] , 'default_caller_id' = > '' } , 'inbound' = > { 'block_caller_ids' = > [ ] } } ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2017-04-26 11:28:32 +00:00
)
2018-10-10 13:26:32 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'sipgate.io alternative FQDN' ) ,
2018-12-19 17:31:51 +00:00
name : 'sipgate_alternative_fqdn' ,
area : 'Integration::Sipgate::Expert' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Alternative FQDN for callbacks if you operate Zammad in an internal network.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-10-10 13:26:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'sipgate_alternative_fqdn' ,
tag : 'input' ,
2018-10-10 13:26:32 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : '' ,
2018-10-10 13:26:32 +00:00
preferences : {
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-10-10 13:26:32 +00:00
)
2018-05-28 23:45:29 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'CTI integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'cti_integration' ,
area : 'Integration::Switch' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines if generic CTI integration is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-28 23:45:29 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'cti_integration' ,
tag : 'boolean' ,
2018-05-28 23:45:29 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-05-28 23:45:29 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
trigger : [ 'menu:render' , 'cti:reload' ] ,
2018-05-28 23:45:29 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.integration' ] ,
2018-05-28 23:45:29 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-05-28 23:45:29 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'CTI config' ) ,
2018-12-19 17:31:51 +00:00
name : 'cti_config' ,
area : 'Integration::Cti' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the CTI config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { 'outbound' = > { 'routing_table' = > [ ] , 'default_caller_id' = > '' } , 'inbound' = > { 'block_caller_ids' = > [ ] } } ,
2018-05-28 23:45:29 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2018-05-28 23:45:29 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2018-05-28 23:45:29 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'CTI Token' ) ,
2018-12-19 17:31:51 +00:00
name : 'cti_token' ,
area : 'Integration::Cti' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Token for CTI.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-05-28 23:45:29 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'cti_token' ,
tag : 'input' ,
2018-05-28 23:45:29 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : ENV [ 'CTI_TOKEN' ] || SecureRandom . urlsafe_base64 ( 20 ) ,
2018-05-28 23:45:29 +00:00
preferences : {
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-05-28 23:45:29 +00:00
)
2020-08-17 13:37:55 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'CTI customer last activity' ) ,
2020-08-17 13:37:55 +00:00
name : 'cti_customer_last_activity' ,
area : 'Integration::Cti' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the duration of customer activity (in seconds) on a call until the user profile dialog is shown.' ) ,
2020-08-17 13:37:55 +00:00
options : { } ,
state : 30 . days ,
preferences : {
prio : 2 ,
permission : [ 'admin.integration' ] ,
} ,
frontend : false ,
)
2018-10-15 09:47:59 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Placetel integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'placetel_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Placetel (http://www.placetel.de) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-10-15 09:47:59 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'placetel_integration' ,
tag : 'boolean' ,
2018-10-15 09:47:59 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2018-10-15 09:47:59 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
trigger : [ 'menu:render' , 'cti:reload' ] ,
2018-10-15 09:47:59 +00:00
authentication : true ,
2018-12-19 17:31:51 +00:00
permission : [ 'admin.integration' ] ,
2018-10-15 09:47:59 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : true
2018-10-15 09:47:59 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Placetel config' ) ,
2018-12-19 17:31:51 +00:00
name : 'placetel_config' ,
area : 'Integration::Placetel' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the Placetel config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { 'outbound' = > { 'routing_table' = > [ ] , 'default_caller_id' = > '' } , 'inbound' = > { 'block_caller_ids' = > [ ] } } ,
2018-10-15 09:47:59 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2018-10-15 09:47:59 +00:00
permission : [ 'admin.integration' ] ,
2018-12-19 17:31:51 +00:00
cache : [ 'placetelGetVoipUsers' ] ,
2018-10-15 09:47:59 +00:00
} ,
2018-12-19 17:31:51 +00:00
frontend : false ,
2018-10-15 09:47:59 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Placetel Token' ) ,
2018-12-19 17:31:51 +00:00
name : 'placetel_token' ,
area : 'Integration::Placetel' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the token for Placetel.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2018-10-15 09:47:59 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : false ,
name : 'placetel_token' ,
tag : 'input' ,
2018-10-15 09:47:59 +00:00
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : ENV [ 'PLACETEL_TOKEN' ] || SecureRandom . urlsafe_base64 ( 20 ) ,
2018-10-15 09:47:59 +00:00
preferences : {
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-10-15 09:47:59 +00:00
)
2017-04-26 11:28:32 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Clearbit integration' ) ,
2018-12-19 17:31:51 +00:00
name : 'clearbit_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if Clearbit (http://www.clearbit.com) is enabled or not.' ) ,
2018-12-19 17:31:51 +00:00
options : {
2017-04-26 11:28:32 +00:00
form : [
{
display : '' ,
2018-12-19 17:31:51 +00:00
null : true ,
name : 'clearbit_integration' ,
tag : 'boolean' ,
2017-04-26 11:28:32 +00:00
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
2018-12-19 17:31:51 +00:00
state : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 1 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Clearbit config' ) ,
2018-12-19 17:31:51 +00:00
name : 'clearbit_config' ,
area : 'Integration::Clearbit' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the Clearbit config.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : { } ,
frontend : false ,
2017-04-26 11:28:32 +00:00
preferences : {
2018-12-19 17:31:51 +00:00
prio : 2 ,
2017-04-26 11:28:32 +00:00
permission : [ 'admin.integration' ] ,
} ,
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '9000_clearbit_enrichment' ,
area : 'Transaction::Backend::Async' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the transaction backend which will enrich customer and organization information from Clearbit (http://www.clearbit.com).' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::ClearbitEnrichment' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '9100_cti_caller_id_detection' ,
area : 'Transaction::Backend::Async' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the transaction backend which detects caller IDs in objects and stores them for CTI lookups.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::CtiCallerIdDetection' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines transaction backend.' ) ,
2018-12-19 17:31:51 +00:00
name : '9200_karma' ,
area : 'Transaction::Backend::Async' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the transaction backend which creates the karma score.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : 'Transaction::Karma' ,
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Defines karma levels.' ) ,
2018-12-19 17:31:51 +00:00
name : 'karma_levels' ,
area : 'Core::Karma' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the karma levels.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : [
2017-04-26 11:28:32 +00:00
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Beginner' ) ,
2017-04-26 11:28:32 +00:00
start : 0 ,
2018-12-19 17:31:51 +00:00
end : 499 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Newbie' ) ,
2017-04-26 11:28:32 +00:00
start : 500 ,
2018-12-19 17:31:51 +00:00
end : 1999 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Intermediate' ) ,
2017-04-26 11:28:32 +00:00
start : 2000 ,
2018-12-19 17:31:51 +00:00
end : 4999 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Professional' ) ,
2017-04-26 11:28:32 +00:00
start : 5000 ,
2018-12-19 17:31:51 +00:00
end : 6999 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Expert' ) ,
2017-04-26 11:28:32 +00:00
start : 7000 ,
2018-12-19 17:31:51 +00:00
end : 8999 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Master' ) ,
2017-04-26 11:28:32 +00:00
start : 9000 ,
2018-12-19 17:31:51 +00:00
end : 18_999 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Evangelist' ) ,
2017-04-26 11:28:32 +00:00
start : 19_000 ,
2019-06-27 09:01:11 +00:00
end : 49_999 ,
2017-04-26 11:28:32 +00:00
} ,
{
2021-11-15 15:58:19 +00:00
name : __ ( 'Hero' ) ,
2017-04-26 11:28:32 +00:00
start : 50_000 ,
2018-12-19 17:31:51 +00:00
end : nil ,
2017-04-26 11:28:32 +00:00
} ,
] ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Set agent limit' ) ,
2018-12-19 17:31:51 +00:00
name : 'system_agent_limit' ,
area : 'Core::Online' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the agent limit.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : false ,
2017-04-26 11:28:32 +00:00
preferences : { online_service_disable : true } ,
2018-12-19 17:31:51 +00:00
frontend : false
2017-04-26 11:28:32 +00:00
)
2018-03-06 09:24:37 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'HTML Email CSS Font' ) ,
2018-12-19 17:31:51 +00:00
name : 'html_email_css_font' ,
area : 'Core' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines the CSS font information for HTML emails.' ) ,
2018-12-19 17:31:51 +00:00
options : { } ,
state : " font-family:'Helvetica Neue', Helvetica, Arial, Geneva, sans-serif; font-size: 12px; " ,
2018-03-06 09:24:37 +00:00
preferences : {
permission : [ 'admin' ] ,
} ,
2018-12-19 17:31:51 +00:00
frontend : false
2018-03-06 09:24:37 +00:00
)
2019-01-24 08:58:58 +00:00
# add the dashboard stats backend for 'Stats::TicketWaitingTime'
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Stats Backend' ) ,
2019-01-24 08:58:58 +00:00
name : 'Stats::TicketWaitingTime' ,
area : 'Dashboard::Stats' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a dashboard stats backend that gets scheduled automatically.' ) ,
2019-01-24 08:58:58 +00:00
options : { } ,
state : 'Stats::TicketWaitingTime' ,
preferences : {
permission : [ 'ticket.agent' ] ,
prio : 1 ,
} ,
frontend : false
)
# add the dashboard stats backend for 'Stats::TicketEscalation'
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Stats Backend' ) ,
2019-01-24 08:58:58 +00:00
name : 'Stats::TicketEscalation' ,
area : 'Dashboard::Stats' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a dashboard stats backend that gets scheduled automatically.' ) ,
2019-01-24 08:58:58 +00:00
options : { } ,
state : 'Stats::TicketEscalation' ,
preferences : {
permission : [ 'ticket.agent' ] ,
prio : 2 ,
} ,
frontend : false
)
# add the dashboard stats backend for 'Stats::TicketChannelDistribution'
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Stats Backend' ) ,
2019-01-24 08:58:58 +00:00
name : 'Stats::TicketChannelDistribution' ,
area : 'Dashboard::Stats' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a dashboard stats backend that gets scheduled automatically.' ) ,
2019-01-24 08:58:58 +00:00
options : { } ,
state : 'Stats::TicketChannelDistribution' ,
preferences : {
permission : [ 'ticket.agent' ] ,
prio : 3 ,
} ,
frontend : false
)
# add the dashboard stats backend for 'Stats::TicketLoadMeasure'
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Stats Backend' ) ,
2019-01-24 08:58:58 +00:00
name : 'Stats::TicketLoadMeasure' ,
area : 'Dashboard::Stats' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a dashboard stats backend that gets scheduled automatically.' ) ,
2019-01-24 08:58:58 +00:00
options : { } ,
state : 'Stats::TicketLoadMeasure' ,
preferences : {
permission : [ 'ticket.agent' ] ,
prio : 4 ,
} ,
frontend : false
)
# add the dashboard stats backend for 'Stats::TicketInProcess'
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Stats Backend' ) ,
2019-01-24 08:58:58 +00:00
name : 'Stats::TicketInProcess' ,
area : 'Dashboard::Stats' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a dashboard stats backend that gets scheduled automatically.' ) ,
2019-01-24 08:58:58 +00:00
options : { } ,
state : 'Stats::TicketInProcess' ,
preferences : {
permission : [ 'ticket.agent' ] ,
prio : 5 ,
} ,
frontend : false
)
# add the dashboard stats backend for 'Stats::TicketReopen'
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Stats Backend' ) ,
2019-01-24 08:58:58 +00:00
name : 'Stats::TicketReopen' ,
area : 'Dashboard::Stats' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines a dashboard stats backend that gets scheduled automatically.' ) ,
2019-01-24 08:58:58 +00:00
options : { } ,
state : 'Stats::TicketReopen' ,
preferences : {
permission : [ 'ticket.agent' ] ,
prio : 6 ,
} ,
frontend : false
)
2019-06-04 03:40:48 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Knowledge Base multilingual support' ) ,
2019-06-04 03:40:48 +00:00
name : 'kb_multi_lingual_support' ,
area : 'Kb::Core' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Support of multilingual Knowledge Base.' ) ,
2019-06-04 03:40:48 +00:00
options : { } ,
state : true ,
preferences : { online_service_disable : true } ,
frontend : true
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Knowledge Base active' ) ,
2019-06-04 03:40:48 +00:00
name : 'kb_active' ,
area : 'Kb::Core' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines if Knowledge Base navbar button is enabled.' ) ,
2019-06-04 03:40:48 +00:00
state : true ,
preferences : {
prio : 1 ,
trigger : [ 'menu:render' ] ,
authentication : true ,
permission : [ 'admin.knowledge_base' ] ,
} ,
frontend : true
)
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Knowledge Base active publicly' ) ,
2019-06-04 03:40:48 +00:00
name : 'kb_active_publicly' ,
area : 'Kb::Core' ,
2022-01-21 15:00:17 +00:00
description : __ ( 'Defines if Knowledge Base navbar button is enabled for users without Knowledge Base permission.' ) ,
2019-06-04 03:40:48 +00:00
state : false ,
preferences : {
prio : 1 ,
trigger : [ 'menu:render' ] ,
authentication : true ,
permission : [ ] ,
} ,
frontend : true
)
2020-04-13 20:26:09 +00:00
Setting . create_if_not_exists (
2022-01-21 15:00:17 +00:00
title : __ ( 'Defines the timeframe during which a self-created note can be deleted.' ) ,
2020-04-13 20:26:09 +00:00
name : 'ui_ticket_zoom_article_delete_timeframe' ,
area : 'UI::TicketZoomArticle' ,
2021-11-15 15:58:19 +00:00
description : __ ( " Set timeframe in seconds. If it's set to 0 you can delete notes without time limits " ) ,
2020-04-13 20:26:09 +00:00
options : { } ,
state : 600 ,
preferences : {
permission : [ 'admin.ui' ]
} ,
frontend : true
)
2020-06-02 11:01:16 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'S/MIME integration' ) ,
2020-06-02 11:01:16 +00:00
name : 'smime_integration' ,
area : 'Integration::Switch' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines if S/MIME encryption is enabled or not.' ) ,
2020-06-02 11:01:16 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'smime_integration' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
state : false ,
preferences : {
prio : 1 ,
authentication : true ,
permission : [ 'admin.integration' ] ,
} ,
frontend : true
)
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'S/MIME config' ) ,
2020-06-02 11:01:16 +00:00
name : 'smime_config' ,
area : 'Integration::SMIME' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Defines the S/MIME config.' ) ,
2020-06-02 11:01:16 +00:00
options : { } ,
state : { } ,
preferences : {
prio : 2 ,
permission : [ 'admin.integration' ] ,
} ,
frontend : true ,
)
2020-08-26 13:21:17 +00:00
Setting . create_if_not_exists (
2021-11-15 15:58:19 +00:00
title : __ ( 'Authentication via %s' ) ,
2020-08-26 13:21:17 +00:00
name : 'auth_sso' ,
area : 'Security::ThirdPartyAuthentication' ,
2021-11-15 15:58:19 +00:00
description : __ ( 'Enables button for user authentication via %s. The button will redirect to /auth/sso on user interaction.' ) ,
2020-08-26 13:21:17 +00:00
options : {
form : [
{
display : '' ,
null : true ,
name : 'auth_sso' ,
tag : 'boolean' ,
options : {
true = > 'yes' ,
false = > 'no' ,
} ,
} ,
] ,
} ,
preferences : {
controller : 'SettingsAreaSwitch' ,
sub : { } ,
title_i18n : [ 'SSO' ] ,
2022-01-21 15:00:17 +00:00
description_i18n : [ 'SSO' ] ,
2020-08-26 13:21:17 +00:00
permission : [ 'admin.security' ] ,
} ,
state : false ,
frontend : true
)