trabajo-afectivo/db/seeds.rb

1957 lines
76 KiB
Ruby
Raw Normal View History

2012-05-30 21:06:37 +00:00
# encoding: utf-8
2012-04-10 13:31:21 +00:00
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
# Mayor.create(:name => 'Emanuel', :city => cities.first)
2014-11-06 22:56:01 +00:00
Setting.create_if_not_exists(
2014-11-06 20:45:06 +00:00
:title => 'System Init Done',
:name => 'system_init_done',
:area => 'Core',
:description => 'Defines if application is in init mode.',
:options => {},
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Developer System',
:name => 'developer_mode',
:area => 'Core::Develop',
:description => 'Defines if application is in developer mode (useful for developer, all users have the same password, password reset will work without email delivery).',
:options => {},
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Online Service',
:name => 'system_online_service',
:area => 'Core',
:description => 'Defines if application is used as online service.',
:options => {},
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Product Name',
:name => 'product_name',
:area => 'System::Base',
:description => 'Defines the name of the application, shown in the web interface, tabs and title bar of the web browser.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'product_name',
:tag => 'input',
2012-04-10 14:06:46 +00:00
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'Zammad',
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
:title => 'Logo',
:name => 'product_logo',
:area => 'System::CI',
:description => 'Defines the logo of the application, shown in the web interface.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'product_logo',
:tag => 'input',
},
],
},
:state => 'logo.svg',
:frontend => true
)
2012-04-10 14:06:46 +00:00
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Organization',
:name => 'organization',
:area => 'System::Base',
:description => 'Will also be included in emails as an X-Header.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'organization',
:tag => 'input',
2012-04-10 14:06:46 +00:00
},
],
},
2014-11-17 10:35:36 +00:00
:state => '',
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'SystemID',
:name => 'system_id',
:area => 'System::Base',
: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).',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'system_id',
:tag => 'select',
:options => {
2012-04-10 14:06:46 +00:00
'10' => '10',
'11' => '11',
'12' => '12',
'13' => '13',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => '10',
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Fully Qualified Domain Name',
:name => 'fqdn',
:area => 'System::Base',
: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.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'fqdn',
:tag => 'input',
2012-04-10 14:06:46 +00:00
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'zammad.example.com',
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'http type',
:name => 'http_type',
:area => 'System::Base',
2013-03-14 09:10:22 +00:00
:description => 'Defines the type of protocol, used by the web server, to serve the application. If https protocol will be used instead of plain http, it must be specified in here. Since this has no affect on the web server\'s settings or behavior, it will not change the method of access to the application and, if it is wrong, it will not prevent you from logging into the application. This setting is used as a variable, #{setting.http_type} which is found in all forms of messaging used by the application, to build links to the tickets within your system.',
2012-04-10 14:06:46 +00:00
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'http_type',
:tag => 'select',
:options => {
2012-04-10 14:06:46 +00:00
'https' => 'https',
'http' => 'http',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'http',
2012-04-10 14:06:46 +00:00
:frontend => true
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Storage Mechanism',
:name => 'storage',
:area => 'System::Storage',
2013-03-14 09:10:22 +00:00
:description => '"Database" stores all attachments in the database (not recommended for storing large amounts of data). "Filesystem" stores the data on the filesystem. You can switch between the modules even on a system that is already in production without any loss of data.',
2012-04-10 14:06:46 +00:00
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'storage',
:tag => 'select',
:options => {
2012-04-10 14:06:46 +00:00
'DB' => 'Database',
'FS' => 'Filesystem',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'DB',
2012-04-10 14:06:46 +00:00
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Geo Location Backend',
:name => 'geo_location_backend',
:area => 'System::Geo',
:description => 'Defines the backend for geo location lookups.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'geo_location_backend',
:tag => 'select',
:options => {
'' => '-',
'GeoLocation::Gmaps' => 'Google Maps',
},
},
],
},
:state => 'GeoLocation::Gmaps',
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Geo IP Backend',
:name => 'geo_ip_backend',
:area => 'System::Geo',
:description => 'Defines the backend for geo ip lookups.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'geo_ip_backend',
:tag => 'select',
:options => {
'' => '-',
'GeoIp::ZammadGeoIp' => 'Zammad GeoIP Service',
},
},
],
},
:state => 'GeoIp::ZammadGeoIp',
:frontend => false
)
2012-04-10 14:06:46 +00:00
Setting.create_if_not_exists(
2014-07-28 07:41:29 +00:00
:title => 'Send client stats',
:name => 'ui_send_client_stats',
:area => 'System::UI',
:description => 'Send client stats to central server.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ui_send_client_stats',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
:state => true,
:frontend => true
)
Setting.create_if_not_exists(
2014-07-28 07:41:29 +00:00
:title => 'Client storage',
:name => 'ui_client_storage',
:area => 'System::UI',
:description => 'Use client storage to cache data to perform speed of application.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ui_client_storage',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
2013-01-04 11:58:20 +00:00
:title => 'New User Accounts',
2012-04-10 14:06:46 +00:00
:name => 'user_create_account',
:area => 'Security::Base',
2012-04-10 14:06:46 +00:00
:description => 'Enables users to create their own account via web interface.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'user_create_account',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
2012-04-10 14:06:46 +00:00
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => true,
2012-04-10 14:06:46 +00:00
:frontend => true
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Lost Password',
:name => 'user_lost_password',
:area => 'Security::Base',
2012-04-10 14:06:46 +00:00
:description => 'Activates lost password feature for agents, in the agent interface.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'user_lost_password',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
2012-04-10 14:06:46 +00:00
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => true,
2012-04-10 14:06:46 +00:00
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Authentication via OTRS',
:name => 'auth_otrs',
2012-04-10 14:06:46 +00:00
:area => 'Security::Authentication',
:description => 'Enables user authentication via OTRS.',
:state => {
2013-08-17 21:48:01 +00:00
:adapter => 'Auth::Otrs',
:required_group_ro => 'stats',
:group_rw_role_map => {
'admin' => 'Admin',
'stats' => 'Report',
},
:group_ro_role_map => {
'stats' => 'Report',
},
:always_role => {
'Agent' => true,
},
2012-04-10 14:06:46 +00:00
},
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Authentication via LDAP',
:name => 'auth_ldap',
:area => 'Security::Authentication',
:description => 'Enables user authentication via LDAP.',
:state => {
2013-08-17 21:48:01 +00:00
:adapter => 'Auth::Ldap',
:host => 'localhost',
:port => 389,
:bind_dn => 'cn=Manager,dc=example,dc=org',
:bind_pw => 'example',
:uid => 'mail',
:base => 'dc=example,dc=org',
:always_filter => '',
:always_roles => ['Admin', 'Agent'],
:always_groups => ['Users'],
:sync_params => {
:firstname => 'sn',
:lastname => 'givenName',
:email => 'mail',
:login => 'mail',
},
},
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2013-01-04 11:58:20 +00:00
:title => 'Authentication via Twitter',
2012-04-10 14:06:46 +00:00
:name => 'auth_twitter',
:area => 'Security::ThirdPartyAuthentication',
:description => 'Enables user authentication via twitter. Register your app first at https://dev.twitter.com/apps',
2012-04-10 14:06:46 +00:00
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'auth_twitter',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
2012-04-10 14:06:46 +00:00
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Twitter App Credentials',
:name => 'auth_twitter_credentials',
:area => 'Security::ThirdPartyAuthentication',
:description => 'App credentials for Twitter.',
:options => {
:form => [
{
:display => 'Twitter Key',
:null => true,
:name => 'key',
:tag => 'input',
},
{
:display => 'Twitter Secret',
:null => true,
:name => 'secret',
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => {},
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2013-01-04 11:58:20 +00:00
:title => 'Authentication via Facebook',
2012-04-10 14:06:46 +00:00
:name => 'auth_facebook',
:area => 'Security::ThirdPartyAuthentication',
:description => 'Enables user authentication via Facebook. Register your app first at https://developers.facebook.com/apps/',
2012-04-10 14:06:46 +00:00
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'auth_facebook',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
2012-04-10 14:06:46 +00:00
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Facebook App Credentials',
:name => 'auth_facebook_credentials',
:area => 'Security::ThirdPartyAuthentication',
:description => 'App credentials for Facebook.',
:options => {
:form => [
{
:display => 'App ID',
:null => true,
:name => 'app_id',
:tag => 'input',
},
{
:display => 'App Secret',
:null => true,
:name => 'app_secret',
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => {},
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2013-01-04 11:58:20 +00:00
:title => 'Authentication via Google',
:name => 'auth_google_oauth2',
:area => 'Security::ThirdPartyAuthentication',
:description => 'Enables user authentication via Google.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'auth_google_oauth2',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Google App Credentials',
:name => 'auth_google_oauth2_credentials',
:area => 'Security::ThirdPartyAuthentication',
:description => 'Enables user authentication via Google.',
:options => {
:form => [
{
:display => 'Client ID',
:null => true,
:name => 'client_id',
:tag => 'input',
},
{
:display => 'Client Secret',
:null => true,
:name => 'client_secret',
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => {},
:frontend => false
)
Setting.create_if_not_exists(
2013-01-04 11:58:20 +00:00
:title => 'Authentication via LinkedIn',
2012-04-10 14:06:46 +00:00
:name => 'auth_linkedin',
:area => 'Security::ThirdPartyAuthentication',
2012-04-10 14:06:46 +00:00
:description => 'Enables user authentication via LinkedIn.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'auth_linkedin',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
2012-04-10 14:06:46 +00:00
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => false,
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
:title => 'LinkedIn App Credentials',
:name => 'auth_linkedin_credentials',
:area => 'Security::ThirdPartyAuthentication',
:description => 'Enables user authentication via LinkedIn.',
:options => {
:form => [
{
:display => 'App ID',
:null => true,
:name => 'app_id',
:tag => 'input',
},
{
:display => 'App Secret',
:null => true,
:name => 'app_secret',
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => {},
:frontend => false
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Minimal size',
:name => 'password_min_size',
:area => 'Security::Password',
:description => 'Password need to have at least minimal size of characters.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'password_min_size',
2012-04-10 14:06:46 +00:00
:tag => 'select',
:options => {
4 => 4,
5 => 5,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
12 => 12,
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => 6,
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => '2 lower and 2 upper characters',
:name => 'password_min_2_lower_2_upper_characters',
:area => 'Security::Password',
:description => 'Password need to contain 2 lower and 2 upper characters.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'password_min_2_lower_2_upper_characters',
2012-04-10 14:06:46 +00:00
:tag => 'select',
:options => {
1 => 'yes',
0 => 'no',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => 0,
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Digit required',
:name => 'password_need_digit',
:area => 'Security::Password',
:description => 'Password need to have at least one digit.',
:options => {
:form => [
{
:display => 'Needed',
:null => true,
:name => 'password_need_digit',
2012-04-10 14:06:46 +00:00
:tag => 'select',
:options => {
1 => 'yes',
0 => 'no',
},
},
],
},
:state => 1,
2013-01-24 00:37:27 +00:00
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Maximal failed logins',
:name => 'password_max_login_failed',
:area => 'Security::Password',
2013-02-10 21:38:35 +00:00
:description => 'Maximal failed logins after account is inactive.',
2012-04-10 14:06:46 +00:00
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'password_max_login_failed',
2012-04-10 14:06:46 +00:00
:tag => 'select',
:options => {
4 => 4,
5 => 5,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
2013-02-10 21:38:35 +00:00
13 => 13,
14 => 14,
15 => 15,
16 => 16,
17 => 17,
18 => 18,
19 => 19,
20 => 20,
2012-04-10 14:06:46 +00:00
},
},
],
},
2013-02-10 21:38:35 +00:00
:state => 10,
2013-01-24 00:37:27 +00:00
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Hook',
:name => 'ticket_hook',
:area => 'Ticket::Base',
:description => 'The identifier for a ticket, e.g. Ticket#, Call#, MyTicket#. The default is Ticket#.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'ticket_hook',
2012-04-10 14:06:46 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'Ticket#',
:frontend => true
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Hook Divider',
:name => 'ticket_hook_divider',
:area => 'Ticket::Base::Shadow',
:description => 'The divider between TicketHook and ticket number. E.g \': \'.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ticket_hook_divider',
2012-04-10 14:06:46 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => '',
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Hook Position',
:name => 'ticket_hook_position',
:area => 'Ticket::Base',
:description => 'The format of the subject. "Left" means "[Ticket#12345] Some Subject", "Right" means "Some Subject [Ticket#12345]", "None" means "Some Subject" and no ticket number. In the last case you should enable PostmasterFollowupSearchInRaw or PostmasterFollowUpSearchInReferences to recognize followups based on email headers and/or body.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ticket_hook_position',
2012-04-10 14:06:46 +00:00
:tag => 'select',
:options => {
'left' => 'Left',
'right' => 'Right',
'none' => 'None',
},
},
],
},
:state => 'right',
2013-01-24 00:37:27 +00:00
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Subject Size',
:name => 'ticket_subject_size',
:area => 'Ticket::Base',
:description => 'Max size of the subjects in an email reply.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'ticket_subject_size',
2012-04-10 14:06:46 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => '110',
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Subject Reply',
:name => 'ticket_subject_re',
:area => 'Ticket::Base',
:description => 'The text at the beginning of the subject in an email reply, e.g. RE, AW, or AS.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ticket_subject_re',
2012-04-10 14:06:46 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'RE',
:frontend => false
2012-04-10 14:06:46 +00:00
)
#Setting.create(
# :title => 'Ticket Subject Forward',
# :name => 'ticket_subject_fw',
# :area => 'Ticket::Base',
# :description => 'The text at the beginning of the subject when an email is forwarded, e.g. FW, Fwd, or WG.',
# :state => {
# :value => 'FW',
# },
# :frontend => false
#)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Number Format',
:name => 'ticket_number',
:area => 'Ticket::Number',
:description => 'Selects the ticket number generator module. "Increment" increments the ticket
number, the SystemID and the counter are used with SystemID.Counter format (e.g. 1010138, 1010139).
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).
With param "Checksum => true" the counter will be appended as checksum to the string. The format
looks like SystemID.Counter.CheckSum (e. g. 10101384, 10101392) or Year.Month.Day.SystemID.Counter.CheckSum (e.g. 2012070110101520, 2012070110101535).',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ticket_number',
2012-04-10 14:06:46 +00:00
:tag => 'select',
:options => {
'Ticket::Number::Increment' => 'Increment (SystemID.Counter)',
'Ticket::Number::Date' => 'Date (Year.Month.Day.SystemID.Counter)',
2012-04-10 14:06:46 +00:00
},
},
],
},
:state => 'Ticket::Number::Increment',
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Number Increment',
:name => 'ticket_number_increment',
:area => 'Ticket::Number',
:description => '-',
:options => {
:form => [
{
:display => 'Checksum',
:null => true,
:name => 'checksum',
:tag => 'boolean',
:options => {
2012-04-10 14:06:46 +00:00
true => 'yes',
false => 'no',
},
},
{
:display => 'Min. size of number',
:null => true,
:name => 'min_size',
:tag => 'select',
:options => {
2012-04-10 14:06:46 +00:00
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
12 => 12,
13 => 13,
14 => 14,
15 => 15,
16 => 16,
17 => 17,
18 => 18,
19 => 19,
20 => 20,
},
},
],
},
:state => {
2013-01-24 00:37:27 +00:00
:checksum => false,
:min_size => 5,
2012-04-10 14:06:46 +00:00
},
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Ticket Number Increment Date',
:name => 'ticket_number_date',
:area => 'Ticket::Number',
:description => '-',
:options => {
:form => [
{
:display => 'Checksum',
:null => true,
:name => 'checksum',
:tag => 'boolean',
:options => {
2012-04-10 14:06:46 +00:00
true => 'yes',
false => 'no',
},
},
],
},
:state => {
2013-01-24 00:37:27 +00:00
:checksum => false,
2012-04-10 14:06:46 +00:00
},
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
:title => 'Enable Ticket creation',
:name => 'customer_ticket_create',
:area => 'CustomerWeb::Base',
:description => 'Defines if a customer can create tickets via the web interface.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'customer_ticket_create',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => true,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Group selection for Ticket creation',
:name => 'customer_ticket_create_group_ids',
:area => 'CustomerWeb::Base',
:description => 'Defines groups where customer can create tickets via web interface. "-" means all groups are available.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'group_ids',
:tag => 'select',
:multiple => true,
:nulloption => true,
:relation => 'Group',
},
],
},
:state => '',
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Enable Ticket View/Update',
:name => 'customer_ticket_view',
:area => 'CustomerWeb::Base',
:description => 'Defines if a customer view and update his own tickets.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'customer_ticket_view',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => true,
:frontend => true
)
Setting.create_if_not_exists(
2012-12-01 13:13:00 +00:00
:title => 'Sender Format',
:name => 'ticket_define_email_from',
:area => 'Email::Base',
:description => 'Defines how the From field from the emails (sent from answers and email tickets) should look like.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'ticket_define_email_from',
2012-12-01 13:13:00 +00:00
:tag => 'select',
:options => {
:SystemAddressName => 'System Address Display Name',
:AgentNameSystemAddressName => 'Agent Name + FromSeparator + System Address Display Name',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'SystemAddressName',
2012-12-01 13:13:00 +00:00
:frontend => false
)
Setting.create_if_not_exists(
2012-12-01 13:13:00 +00:00
:title => 'Sender Format Seperator',
:name => 'ticket_define_email_from_seperator',
:area => 'Email::Base',
:description => 'Defines the separator between the agents real name and the given group email address.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'ticket_define_email_from_seperator',
2012-12-01 13:13:00 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'via',
2012-12-01 13:13:00 +00:00
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Max. Email Size',
:name => 'postmaster_max_size',
:area => 'Email::Base',
:description => 'Maximal size in MB of emails.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'postmaster_max_size',
:tag => 'select',
:options => {
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
12 => 12,
13 => 13,
14 => 14,
15 => 15,
16 => 16,
17 => 17,
18 => 18,
19 => 19,
20 => 20,
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => 10,
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Additional follow up detection',
:name => 'postmaster_follow_up_search_in',
:area => 'Email::Base',
:description => '"References" - Executes follow up checks on In-Reply-To or References headers for mails that don\'t have a ticket number in the subject. "Body" - Executes follow up mail body checks in mails that don\'t have a ticket number in the subject. "Attachment" - Executes follow up mail attachments checks in mails that don\'t have a ticket number in the subject. "Raw" - Executes follow up plain/raw mail checks in mails that don\'t have a ticket number in the subject.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'postmaster_follow_up_search_in',
:tag => 'checkbox',
:options => {
'references' => 'References',
'body' => 'Body',
'attachment' => 'Attachment',
'raw' => 'Raw',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => ['subject'],
:frontend => false
)
Setting.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:title => 'Notification Sender',
:name => 'notification_sender',
:area => 'Email::Base',
2012-04-10 14:06:46 +00:00
:description => 'Defines the sender of email notifications.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'notification_sender',
:tag => 'input',
2012-04-10 14:06:46 +00:00
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'Notification Master <noreply@#{config.fqdn}>',
:frontend => false
2012-04-10 14:06:46 +00:00
)
Setting.create_if_not_exists(
:title => 'Block Notifications',
:name => 'send_no_auto_response_reg_exp',
:area => 'Email::Base',
:description => 'If this regex matches, no notification will be send by the sender.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'send_no_auto_response_reg_exp',
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => '(MAILER-DAEMON|postmaster|abuse)@.+?\..+?',
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Enable Chat',
:name => 'chat',
:area => 'Chat::Base',
:description => 'Enable/Disable online chat.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'chat',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => false,
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Default Screen',
:name => 'default_controller',
:area => 'Core',
:description => 'Defines the default controller.',
:options => {},
:state => '#dashboard',
:frontend => true
)
Setting.create_if_not_exists(
:title => 'Import Mode',
:name => 'import_mode',
2013-01-07 09:30:07 +00:00
:area => 'Import::Base',
:description => 'Set system in import mode (disable some triggers).',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'import_mode',
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
2013-01-24 00:37:27 +00:00
:state => false,
:frontend => true
2014-10-26 12:13:44 +00:00
)
Setting.create_if_not_exists(
:title => 'Import Backend',
:name => 'import_backend',
:area => 'Import::Base::Internal',
:description => 'Set backend which is used for import.',
:options => {},
:state => '',
:frontend => true
)
2013-03-19 13:58:32 +00:00
Setting.create_if_not_exists(
:title => 'Ignore Escalation/SLA Information',
2013-03-19 14:18:46 +00:00
:name => 'import_ignore_sla',
2013-03-19 13:58:32 +00:00
:area => 'Import::Base',
:description => 'Ignore Escalation/SLA Information form import system.',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'import_ignore_sla',
2013-03-19 13:58:32 +00:00
:tag => 'boolean',
:options => {
true => 'yes',
false => 'no',
},
},
],
},
:state => false,
:frontend => true
)
2013-01-07 09:30:07 +00:00
Setting.create_if_not_exists(
:title => 'Import Endpoint',
:name => 'import_otrs_endpoint',
:area => 'Import::OTRS',
:description => 'Defines OTRS endpoint to import users, ticket, states and articles.',
2013-01-07 09:30:07 +00:00
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'import_otrs_endpoint',
2013-01-07 09:30:07 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => 'http://otrs_host/otrs',
:frontend => false
2013-01-07 09:30:07 +00:00
)
Setting.create_if_not_exists(
:title => 'Import Key',
:name => 'import_otrs_endpoint_key',
:area => 'Import::OTRS',
:description => 'Defines OTRS endpoint auth key.',
:options => {
:form => [
{
:display => '',
:null => false,
:name => 'import_otrs_endpoint_key',
2013-01-07 09:30:07 +00:00
:tag => 'input',
},
],
},
2013-01-24 00:37:27 +00:00
:state => '',
:frontend => false
2013-01-07 09:30:07 +00:00
)
2013-04-15 21:30:42 +00:00
Setting.create_if_not_exists(
:title => 'Import User for http basic authentiation',
:name => 'import_otrs_user',
:area => 'Import::OTRS',
:description => 'Defines http basic authentiation user (only if OTRS is protected via http basic auth).',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'import_otrs_user',
2013-04-15 21:30:42 +00:00
:tag => 'input',
},
],
},
:state => '',
:frontend => false
)
Setting.create_if_not_exists(
:title => 'Import Password for http basic authentiation',
:name => 'import_otrs_password',
:area => 'Import::OTRS',
:description => 'Defines http basic authentiation password (only if OTRS is protected via http basic auth).',
:options => {
:form => [
{
:display => '',
:null => true,
:name => 'import_otrs_password',
2013-04-15 21:30:42 +00:00
:tag => 'input',
},
],
},
:state => '',
:frontend => false
)
2013-01-31 23:47:23 +00:00
email_address = EmailAddress.create_if_not_exists(
:id => 1,
:realname => 'Zammad',
:email => 'zammad@localhost',
:updated_by_id => 1,
:created_by_id => 1
)
signature = Signature.create_if_not_exists(
:id => 1,
2012-11-22 14:40:51 +00:00
:name => 'default',
:body => '
#{user.firstname} #{user.lastname}
--
Super Support - Waterford Business Park
5201 Blue Lagoon Drive - 8th Floor & 9th Floor - Miami, 33126 USA
Email: hot@example.com - Web: http://www.example.com/
--',
2012-11-22 14:40:51 +00:00
:updated_by_id => 1,
:created_by_id => 1
)
Role.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:id => 1,
:name => 'Admin',
:note => 'To configure your system.',
:updated_by_id => 1,
2012-04-10 14:06:46 +00:00
:created_by_id => 1
)
Role.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:id => 2,
:name => 'Agent',
:note => 'To work on Tickets.',
:updated_by_id => 1,
2012-04-10 14:06:46 +00:00
:created_by_id => 1
)
Role.create_if_not_exists(
2012-04-10 14:06:46 +00:00
:id => 3,
:name => 'Customer',
:note => 'People who create Tickets ask for help.',
:updated_by_id => 1,
2012-04-10 14:06:46 +00:00
:created_by_id => 1
)
Group.create_if_not_exists(
:id => 1,
:name => 'Users',
:email_address_id => email_address.id,
2012-11-22 14:40:51 +00:00
:signature_id => signature.id,
:note => 'Standard Group/Pool for Tickets.',
:updated_by_id => 1,
:created_by_id => 1
2012-04-10 14:06:46 +00:00
)
user = User.create_if_not_exists(
:id => 1,
2012-04-10 14:06:46 +00:00
:login => '-',
:firstname => '-',
:lastname => '',
:email => '',
:password => 'root',
:active => false,
:updated_by_id => 1,
2012-04-10 14:06:46 +00:00
:created_by_id => 1
)
2014-11-07 00:08:04 +00:00
UserInfo.current_user_id = 1
2014-11-07 00:08:04 +00:00
roles = Role.where( :name => 'Customer' )
organizations = Organization.all
groups = Group.all
org_community = Organization.create_if_not_exists(
:id => 1,
2014-11-07 00:08:04 +00:00
:name => 'Zammad Foundation',
)
user_community = User.create_or_update(
:id => 2,
2014-11-07 00:08:04 +00:00
:login => 'nicole.braun@zammad.org',
:firstname => 'Nicole',
:lastname => 'Braun',
:email => 'nicole.braun@zammad.org',
:password => '',
:active => true,
:roles => roles,
:organization_id => org_community.id,
2012-07-07 09:09:09 +00:00
)
2012-04-10 14:06:46 +00:00
Link::Type.create_if_not_exists( :id => 1, :name => 'normal' )
2015-02-15 08:37:03 +00:00
Link::Object.create_if_not_exists( :id => 1, :name => 'Ticket' )
Link::Object.create_if_not_exists( :id => 2, :name => 'Announcement' )
Link::Object.create_if_not_exists( :id => 3, :name => 'Question/Answer' )
Link::Object.create_if_not_exists( :id => 4, :name => 'Idea' )
Link::Object.create_if_not_exists( :id => 5, :name => 'Bug' )
2012-04-10 14:06:46 +00:00
Ticket::StateType.create_if_not_exists( :id => 1, :name => 'new' )
Ticket::StateType.create_if_not_exists( :id => 2, :name => 'open' )
Ticket::StateType.create_if_not_exists( :id => 3, :name => 'pending reminder' )
Ticket::StateType.create_if_not_exists( :id => 4, :name => 'pending action' )
Ticket::StateType.create_if_not_exists( :id => 5, :name => 'closed' )
Ticket::StateType.create_if_not_exists( :id => 6, :name => 'merged' )
Ticket::StateType.create_if_not_exists( :id => 7, :name => 'removed' )
2012-04-10 14:06:46 +00:00
Ticket::State.create_if_not_exists( :id => 1, :name => 'new', :state_type_id => Ticket::StateType.where(:name => 'new').first.id )
Ticket::State.create_if_not_exists( :id => 2, :name => 'open', :state_type_id => Ticket::StateType.where(:name => 'open').first.id )
2015-01-26 06:55:14 +00:00
Ticket::State.create_if_not_exists( :id => 3, :name => 'pending reminder', :state_type_id => Ticket::StateType.where(:name => 'pending reminder').first.id )
Ticket::State.create_if_not_exists( :id => 4, :name => 'closed', :state_type_id => Ticket::StateType.where(:name => 'closed').first.id )
Ticket::State.create_if_not_exists( :id => 5, :name => 'merged', :state_type_id => Ticket::StateType.where(:name => 'merged').first.id )
2015-01-26 06:55:14 +00:00
Ticket::State.create_if_not_exists( :id => 6, :name => 'removed', :state_type_id => Ticket::StateType.where(:name => 'removed').first.id, :active => false )
Ticket::State.create_if_not_exists( :id => 7, :name => 'pending close', :state_type_id => Ticket::StateType.where(:name => 'pending action').first.id, :next_state_id => 5 )
2012-04-10 14:06:46 +00:00
Ticket::Priority.create_if_not_exists( :id => 1, :name => '1 low' )
Ticket::Priority.create_if_not_exists( :id => 2, :name => '2 normal' )
Ticket::Priority.create_if_not_exists( :id => 3, :name => '3 high' )
2012-04-10 14:06:46 +00:00
Ticket::Article::Type.create_if_not_exists( :id => 1, :name => 'email', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 2, :name => 'sms', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 3, :name => 'chat', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 4, :name => 'fax', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 5, :name => 'phone', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 6, :name => 'twitter status', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 7, :name => 'twitter direct-message', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 8, :name => 'facebook', :communication => true )
Ticket::Article::Type.create_if_not_exists( :id => 9, :name => 'note', :communication => false )
Ticket::Article::Type.create_if_not_exists( :id => 10, :name => 'web', :communication => true )
2012-04-10 14:06:46 +00:00
Ticket::Article::Sender.create_if_not_exists( :id => 1, :name => 'Agent' )
Ticket::Article::Sender.create_if_not_exists( :id => 2, :name => 'Customer' )
Ticket::Article::Sender.create_if_not_exists( :id => 3, :name => 'System' )
2012-04-10 14:06:46 +00:00
UserInfo.current_user_id = user_community.id
ticket = Ticket.create(
:group_id => Group.where( :name => 'Users' ).first.id,
:customer_id => User.where( :login => 'nicole.braun@zammad.org' ).first.id,
:owner_id => User.where( :login => '-' ).first.id,
:title => 'Welcome to Zammad!',
:state_id => Ticket::State.where( :name => 'new' ).first.id,
:priority_id => Ticket::Priority.where( :name => '2 normal' ).first.id,
)
Ticket::Article.create(
:ticket_id => ticket.id,
:type_id => Ticket::Article::Type.where(:name => 'phone' ).first.id,
:sender_id => Ticket::Article::Sender.where(:name => 'Customer' ).first.id,
:from => 'Zammad Feedback <feedback@zammad.org>',
:body => 'Welcome!
2012-04-10 14:06:46 +00:00
Thank you for installing Zammad.
2012-04-10 14:06:46 +00:00
You will find updates and patches at http://zammad.org/. Online
documentation is available at http://guides.zammad.org/. You can also
use our forums at http://forums.zammad.org/
Regards,
The Zammad.org Project
',
:internal => false,
)
2012-04-10 14:06:46 +00:00
UserInfo.current_user_id = 1
2012-09-04 21:28:49 +00:00
overview_role = Role.where( :name => 'Agent' ).first
Overview.create_if_not_exists(
2013-01-31 23:47:23 +00:00
:name => 'My assigned Tickets',
:link => 'my_assigned',
:prio => 1000,
:role_id => overview_role.id,
:condition => {
'tickets.state_id' => [ 1,2,3,7 ],
'tickets.owner_id' => 'current_user.id',
2012-04-10 14:06:46 +00:00
},
:order => {
:by => 'created_at',
:direction => 'ASC',
},
:view => {
2014-11-06 22:56:01 +00:00
:d => [ 'title', 'customer', 'group', 'created_at' ],
:s => [ 'title', 'customer', 'group', 'created_at' ],
:m => [ 'number', 'title', 'customer', 'group', 'created_at' ],
2012-04-10 14:06:46 +00:00
:view_mode_default => 's',
},
2012-04-10 14:06:46 +00:00
)
Overview.create_if_not_exists(
2014-11-06 22:56:01 +00:00
:name => 'My pending reached Tickets',
:link => 'my_pending_reached',
:prio => 1010,
2013-01-31 23:47:23 +00:00
:role_id => overview_role.id,
:condition => {
2015-01-26 06:55:14 +00:00
'tickets.state_id' => [3],
'tickets.owner_id' => 'current_user.id',
'tickets.pending_time' => { 'direction' => 'before', 'count'=> 1, 'area' => 'minute' },
2012-04-10 14:06:46 +00:00
},
:order => {
:by => 'created_at',
:direction => 'ASC',
},
:view => {
2014-11-06 22:56:01 +00:00
:d => [ 'title', 'customer', 'group', 'created_at' ],
:s => [ 'title', 'customer', 'group', 'created_at' ],
:m => [ 'number', 'title', 'customer', 'group', 'created_at' ],
2012-04-10 14:06:46 +00:00
:view_mode_default => 's',
},
2012-04-10 14:06:46 +00:00
)
Overview.create_if_not_exists(
2014-11-06 22:56:01 +00:00
:name => 'Unassigned & Open Tickets',
:link => 'all_unassigned',
:prio => 1020,
2013-01-31 23:47:23 +00:00
:role_id => overview_role.id,
:condition => {
'tickets.state_id' => [1,2,3],
2014-11-06 22:56:01 +00:00
'tickets.owner_id' => 1,
},
:order => {
:by => 'created_at',
:direction => 'ASC',
},
:view => {
2014-11-06 22:56:01 +00:00
:d => [ 'title', 'customer', 'group', 'created_at' ],
:s => [ 'title', 'customer', 'group', 'created_at' ],
:m => [ 'number', 'title', 'customer', 'group', 'created_at' ],
2012-04-10 14:06:46 +00:00
:view_mode_default => 's',
},
2012-04-10 14:06:46 +00:00
)
Overview.create_if_not_exists(
2014-11-06 22:56:01 +00:00
:name => 'All Open Tickets',
:link => 'all_open',
:prio => 1030,
2013-01-31 23:47:23 +00:00
:role_id => overview_role.id,
:condition => {
2014-11-06 22:56:01 +00:00
'tickets.state_id' => [1,2,3],
2012-04-10 14:06:46 +00:00
},
:order => {
:by => 'created_at',
:direction => 'ASC',
},
:view => {
:d => [ 'title', 'customer', 'group', 'state', 'owner', 'created_at' ],
:s => [ 'title', 'customer', 'group', 'state', 'owner','created_at' ],
:m => [ 'number', 'title', 'customer', 'group', 'state', 'owner', 'created_at' ],
2012-04-10 14:06:46 +00:00
:view_mode_default => 's',
},
2012-04-10 14:06:46 +00:00
)
2015-01-26 06:55:14 +00:00
Overview.create_if_not_exists(
:name => 'All pending reached Tickets',
:link => 'all_pending_reached',
:prio => 1035,
:role_id => overview_role.id,
:condition => {
'tickets.state_id' => [3],
'tickets.pending_time' => { 'direction' => 'before', 'count'=> 1, 'area' => 'minute' },
},
:order => {
:by => 'created_at',
:direction => 'ASC',
},
:view => {
:d => [ 'title', 'customer', 'group', 'owner', 'created_at' ],
:s => [ 'title', 'customer', 'group', 'owner', 'created_at' ],
:m => [ 'number', 'title', 'customer', 'group', 'owner', 'created_at' ],
2015-01-26 06:55:14 +00:00
:view_mode_default => 's',
},
)
Overview.create_if_not_exists(
2014-11-06 22:56:01 +00:00
:name => 'Escalated Tickets',
:link => 'all_escalated',
:prio => 1040,
2013-01-31 23:47:23 +00:00
:role_id => overview_role.id,
:condition => {
2015-01-26 06:55:14 +00:00
'tickets.escalation_time' => { 'direction' => 'before', 'count'=> 5, 'area' => 'minute' },
2012-04-10 14:06:46 +00:00
},
:order => {
2014-11-06 22:56:01 +00:00
:by => 'escalation_time',
2012-04-10 14:06:46 +00:00
:direction => 'ASC',
},
:view => {
2014-11-06 22:56:01 +00:00
:d => [ 'title', 'customer', 'group', 'owner', 'escalation_time' ],
:s => [ 'title', 'customer', 'group', 'owner', 'escalation_time' ],
:m => [ 'number', 'title', 'customer', 'group', 'owner', 'escalation_time' ],
2012-04-10 14:06:46 +00:00
:view_mode_default => 's',
},
2012-04-10 14:06:46 +00:00
)
2012-09-04 21:28:49 +00:00
overview_role = Role.where( :name => 'Customer' ).first
Overview.create_if_not_exists(
2013-01-31 23:47:23 +00:00
:name => 'My Tickets',
:link => 'my_tickets',
:prio => 1000,
:role_id => overview_role.id,
:condition => {
2015-01-26 06:55:14 +00:00
'tickets.state_id' => [ 1,2,3,4,6 ],
'tickets.customer_id' => 'current_user.id',
2012-09-04 21:28:49 +00:00
},
:order => {
:by => 'created_at',
:direction => 'DESC',
2012-09-04 21:28:49 +00:00
},
:view => {
:d => [ 'title', 'customer', 'state', 'created_at' ],
2014-11-06 22:56:01 +00:00
:s => [ 'number', 'title', 'state', 'created_at' ],
:m => [ 'number', 'title', 'state', 'created_at' ],
2012-09-04 21:28:49 +00:00
:view_mode_default => 's',
},
2012-09-04 21:28:49 +00:00
)
Overview.create_if_not_exists(
2013-01-31 23:47:23 +00:00
:name => 'My Organization Tickets',
:link => 'my_organization_tickets',
:prio => 1100,
:role_id => overview_role.id,
:organization_shared => true,
:condition => {
'tickets.state_id' => [ 1,2,3,4,6 ],
'tickets.organization_id' => 'current_user.organization_id',
},
:order => {
:by => 'created_at',
:direction => 'DESC',
},
:view => {
:d => [ 'title', 'customer', 'state', 'created_at' ],
2014-11-06 22:56:01 +00:00
:s => [ 'number', 'title', 'customer', 'state', 'created_at' ],
:m => [ 'number', 'title', 'customer', 'state', 'created_at' ],
:view_mode_default => 's',
},
)
2012-09-04 21:28:49 +00:00
Channel.create_if_not_exists(
:adapter => 'SMTP',
:area => 'Email::Outbound',
:options => {
2012-04-13 13:55:02 +00:00
:host => 'host.example.com',
:user => '',
:password => '',
:ssl => true,
},
:group_id => 1,
:active => false,
)
Channel.create_if_not_exists(
:adapter => 'Sendmail',
:area => 'Email::Outbound',
:options => {},
:active => true,
)
network = Network.create_if_not_exists(
:id => 1,
:name => 'base',
2012-04-10 14:06:46 +00:00
)
Network::Category::Type.create_if_not_exists(
:id => 1,
:name => 'Announcement',
2012-04-10 14:06:46 +00:00
)
Network::Category::Type.create_if_not_exists(
:id => 2,
:name => 'Idea',
2012-04-10 14:06:46 +00:00
)
Network::Category::Type.create_if_not_exists(
2015-02-15 07:52:10 +00:00
:id => 3,
:name => 'Question',
2012-04-10 14:06:46 +00:00
)
Network::Category::Type.create_if_not_exists(
2015-02-15 07:52:10 +00:00
:id => 4,
:name => 'Bug Report',
2012-04-10 14:06:46 +00:00
)
Network::Privacy.create_if_not_exists(
:id => 1,
:name => 'logged in',
:key => 'loggedIn',
2012-04-10 14:06:46 +00:00
)
Network::Privacy.create_if_not_exists(
:id => 2,
:name => 'logged in and moderator',
:key => 'loggedInModerator',
2012-04-10 14:06:46 +00:00
)
Network::Category.create_if_not_exists(
:id => 1,
:name => 'Announcements',
2012-04-10 14:06:46 +00:00
:network_id => network.id,
:network_category_type_id => Network::Category::Type.where(:name => 'Announcement').first.id,
:network_privacy_id => Network::Privacy.where(:name => 'logged in and moderator').first.id,
:allow_comments => true,
2012-04-10 14:06:46 +00:00
)
Network::Category.create_if_not_exists(
:id => 2,
:name => 'Questions',
2012-04-10 14:06:46 +00:00
:network_id => network.id,
:allow_comments => true,
:network_category_type_id => Network::Category::Type.where(:name => 'Question').first.id,
2012-10-04 06:54:35 +00:00
:network_privacy_id => Network::Privacy.where(:name => 'logged in').first.id,
# :network_categories_moderator_user_ids => User.where(:login => '-').first.id,
2012-04-10 14:06:46 +00:00
)
Network::Category.create_if_not_exists(
:id => 3,
:name => 'Ideas',
2012-04-10 14:06:46 +00:00
:network_id => network.id,
:network_category_type_id => Network::Category::Type.where(:name => 'Idea').first.id,
:network_privacy_id => Network::Privacy.where(:name => 'logged in').first.id,
2012-11-06 21:43:13 +00:00
:allow_comments => true,
2012-04-10 14:06:46 +00:00
)
Network::Category.create_if_not_exists(
:id => 4,
:name => 'Bug Reports',
2012-04-10 14:06:46 +00:00
:network_id => network.id,
:network_category_type_id => Network::Category::Type.where(:name => 'Bug Report').first.id,
:network_privacy_id => Network::Privacy.where(:name => 'logged in').first.id,
:allow_comments => true,
2012-04-10 14:06:46 +00:00
)
item = Network::Item.create(
:title => 'Example Announcement',
:body => 'Some announcement....',
:network_category_id => Network::Category.where(:name => 'Announcements').first.id,
2012-04-10 14:06:46 +00:00
)
Network::Item::Comment.create(
:network_item_id => item.id,
:body => 'Some comment....',
2012-04-10 14:06:46 +00:00
)
item = Network::Item.create(
:title => 'Example Question?',
:body => 'Some questions....',
:network_category_id => Network::Category.where(:name => 'Questions').first.id,
2012-04-10 14:06:46 +00:00
)
Network::Item::Comment.create(
:network_item_id => item.id,
:body => 'Some comment....',
2012-04-10 14:06:46 +00:00
)
item = Network::Item.create(
:title => 'Example Idea',
:body => 'Some idea....',
:network_category_id => Network::Category.where(:name => 'Ideas').first.id,
2012-04-10 14:06:46 +00:00
)
Network::Item::Comment.create(
:network_item_id => item.id,
:body => 'Some comment....',
2012-04-10 14:06:46 +00:00
)
item = Network::Item.create(
:title => 'Example Bug Report',
:body => 'Some bug....',
:network_category_id => Network::Category.where(:name => 'Bug Reports').first.id,
2012-04-10 14:06:46 +00:00
)
Network::Item::Comment.create(
:network_item_id => item.id,
:body => 'Some comment....',
2012-04-10 14:06:46 +00:00
)
2012-05-18 14:24:00 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "New", :target => "Neu" )
Translation.create_if_not_exists( :locale => 'de', :source => "Create", :target => "Erstellen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Cancel", :target => "Abbrechen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Submit", :target => "Übermitteln" )
Translation.create_if_not_exists( :locale => 'de', :source => "Sign out", :target => "Abmelden" )
Translation.create_if_not_exists( :locale => 'de', :source => "Profile", :target => "Profil" )
Translation.create_if_not_exists( :locale => 'de', :source => "Settings", :target => "Einstellungen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Overviews", :target => "Übersichten" )
Translation.create_if_not_exists( :locale => 'de', :source => "Manage", :target => "Verwalten" )
Translation.create_if_not_exists( :locale => 'de', :source => "Users", :target => "Benutzer" )
Translation.create_if_not_exists( :locale => 'de', :source => "User", :target => "Benutzer" )
Translation.create_if_not_exists( :locale => 'de', :source => "Groups", :target => "Gruppen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Group", :target => "Gruppe" )
Translation.create_if_not_exists( :locale => 'de', :source => "Organizations", :target => "Organisationen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Organization", :target => "Organisation" )
2015-02-02 12:25:17 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "Recently Viewed", :target => "Zuletzt angesehen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Security", :target => "Sicherheit" )
Translation.create_if_not_exists( :locale => 'de', :source => "From", :target => "Von" )
Translation.create_if_not_exists( :locale => 'de', :source => "Title", :target => "Titel" )
Translation.create_if_not_exists( :locale => 'de', :source => "Customer", :target => "Kunde" )
Translation.create_if_not_exists( :locale => 'de', :source => "State", :target => "Status" )
Translation.create_if_not_exists( :locale => 'de', :source => "Created", :target => "Erstellt" )
Translation.create_if_not_exists( :locale => 'de', :source => "Attributes", :target => "Attribute" )
Translation.create_if_not_exists( :locale => 'de', :source => "Direction", :target => "Richtung" )
Translation.create_if_not_exists( :locale => 'de', :source => "Owner", :target => "Besitzer" )
Translation.create_if_not_exists( :locale => 'de', :source => "Subject", :target => "Betreff" )
Translation.create_if_not_exists( :locale => 'de', :source => "Priority", :target => "Priorität" )
2015-04-11 15:25:42 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "Select the customer of the ticket or create one.", :target => "Wähle den Kunden für das Ticket oder erstelle einen Neuen." )
Translation.create_if_not_exists( :locale => 'de', :source => "New Ticket", :target => "Neues Ticket" )
Translation.create_if_not_exists( :locale => 'de', :source => "Firstname", :target => "Vorname" )
Translation.create_if_not_exists( :locale => 'de', :source => "Lastname", :target => "Nachname" )
Translation.create_if_not_exists( :locale => 'de', :source => "Phone", :target => "Telefon" )
Translation.create_if_not_exists( :locale => 'de', :source => "Street", :target => "Straße" )
Translation.create_if_not_exists( :locale => 'de', :source => "Zip", :target => "PLZ" )
Translation.create_if_not_exists( :locale => 'de', :source => "City", :target => "Stadt" )
Translation.create_if_not_exists( :locale => 'de', :source => "Note", :target => "Notiz" )
Translation.create_if_not_exists( :locale => 'de', :source => "note", :target => "Notiz" )
Translation.create_if_not_exists( :locale => 'de', :source => "New User", :target => "Neuer Benutzer" )
Translation.create_if_not_exists( :locale => 'de', :source => "Merge", :target => "Zusammenfügen" )
Translation.create_if_not_exists( :locale => 'de', :source => "History", :target => "Historie" )
Translation.create_if_not_exists( :locale => 'de', :source => "new", :target => "neu" )
Translation.create_if_not_exists( :locale => 'de', :source => "closed", :target => "geschlossen" )
Translation.create_if_not_exists( :locale => 'de', :source => "close", :target => "schließen" )
Translation.create_if_not_exists( :locale => 'de', :source => "open", :target => "offen" )
Translation.create_if_not_exists( :locale => 'de', :source => "pending", :target => "warten" )
Translation.create_if_not_exists( :locale => 'de', :source => "merged", :target => "zusammengefügt" )
Translation.create_if_not_exists( :locale => 'de', :source => "removed", :target => "zurück gezogen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Activity Stream", :target => "Aktivitäts-Stream" )
Translation.create_if_not_exists( :locale => 'de', :source => "Update", :target => "Aktualisieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "updated", :target => "aktualisierte" )
Translation.create_if_not_exists( :locale => 'de', :source => "created", :target => "erstellte" )
Translation.create_if_not_exists( :locale => 'de', :source => "My assigned Tickets", :target => "Meine zugewiesenen Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "Unassigned Tickets", :target => "Nicht zugewiesene/freie Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "Unassigned & Open Tickets", :target => "Nicht zugewiesene & offene Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "All Tickets", :target => "Alle Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "Escalated Tickets", :target => "Eskalierte Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "My pending reached Tickets", :target => "Meine warten erreicht Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "Password", :target => "Passwort" )
Translation.create_if_not_exists( :locale => 'de', :source => "Password (confirm)", :target => "Passwort (bestätigen)" )
Translation.create_if_not_exists( :locale => 'de', :source => "Role", :target => "Rolle" )
Translation.create_if_not_exists( :locale => 'de', :source => "Roles", :target => "Rollen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Active", :target => "Aktiv" )
Translation.create_if_not_exists( :locale => 'de', :source => "Edit", :target => "Bearbeiten" )
Translation.create_if_not_exists( :locale => 'de', :source => "Base", :target => "Basis" )
Translation.create_if_not_exists( :locale => 'de', :source => "Number", :target => "Nummer" )
Translation.create_if_not_exists( :locale => 'de', :source => "Sender Format", :target => "Absender Format" )
Translation.create_if_not_exists( :locale => 'de', :source => "Authentication", :target => "Authorisierung" )
Translation.create_if_not_exists( :locale => 'de', :source => "Product Name", :target => "Produkt Name" )
Translation.create_if_not_exists( :locale => 'de', :source => "To", :target => "An" )
Translation.create_if_not_exists( :locale => 'de', :source => "Customer", :target => "Kunde" )
Translation.create_if_not_exists( :locale => 'de', :source => "Linked Accounts", :target => "Verknüpfte Accounts" )
Translation.create_if_not_exists( :locale => 'de', :source => "Sign in with", :target => "Anmelden mit" )
Translation.create_if_not_exists( :locale => 'de', :source => "Username or email", :target => "Benutzer oder E-Mail" )
Translation.create_if_not_exists( :locale => 'de', :source => "Remember me", :target => "An mich erinnern" )
Translation.create_if_not_exists( :locale => 'de', :source => "Forgot password?", :target => "Passwort vergessen?" )
Translation.create_if_not_exists( :locale => 'de', :source => "Sign in using", :target => "Anmelden über" )
Translation.create_if_not_exists( :locale => 'de', :source => "New to", :target => "Neu bei" )
Translation.create_if_not_exists( :locale => 'de', :source => "join today!", :target => "werde Teil!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Sign up", :target => "Registrieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "Sign in", :target => "Anmelden" )
Translation.create_if_not_exists( :locale => 'de', :source => "Create my account", :target => "Meinen Account erstellen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Login successfully! Have a nice day!", :target => "Anmeldung erfolgreich!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Last contact", :target => "Letzter Kontakt" )
Translation.create_if_not_exists( :locale => 'de', :source => "Last contact (Agent)", :target => "Letzter Kontakt (Agent)" )
Translation.create_if_not_exists( :locale => 'de', :source => "Last contact (Customer)", :target => "Letzter Kontakt (Kunde)" )
Translation.create_if_not_exists( :locale => 'de', :source => "Close time", :target => "Schließzeit" )
Translation.create_if_not_exists( :locale => 'de', :source => "First response", :target => "Erste Reaktion" )
Translation.create_if_not_exists( :locale => 'de', :source => "Ticket %s created!", :target => "Ticket %s erstellt!" )
Translation.create_if_not_exists( :locale => 'de', :source => "day", :target => "Tag" )
2014-07-27 22:24:42 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "days", :target => "Tagen" )
Translation.create_if_not_exists( :locale => 'de', :source => "hour", :target => "Stunde" )
Translation.create_if_not_exists( :locale => 'de', :source => "hours", :target => "Stunden" )
Translation.create_if_not_exists( :locale => 'de', :source => "minute", :target => "Minute" )
Translation.create_if_not_exists( :locale => 'de', :source => "minutes", :target => "Minuten" )
Translation.create_if_not_exists( :locale => 'de', :source => "See more", :target => "mehr anzeigen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Search", :target => "Suche" )
Translation.create_if_not_exists( :locale => 'de', :source => "Forgot your password?", :target => "Passwort vergessen?" )
Translation.create_if_not_exists( :locale => 'de', :source => "Templates", :target => "Vorlagen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Delete", :target => "Löschen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Apply", :target => "Übernehmen" )
2014-09-08 18:59:17 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "Save as Template", :target => "Als Vorlage speichern" )
Translation.create_if_not_exists( :locale => 'de', :source => "Save", :target => "Speichern" )
Translation.create_if_not_exists( :locale => 'de', :source => "Open Tickets", :target => "Offene Ticket" )
Translation.create_if_not_exists( :locale => 'de', :source => "Closed Tickets", :target => "Geschlossene Ticket" )
Translation.create_if_not_exists( :locale => 'de', :source => "set to internal", :target => "auf intern setzen" )
Translation.create_if_not_exists( :locale => 'de', :source => "set to public", :target => "auf öffentlich setzen" )
Translation.create_if_not_exists( :locale => 'de', :source => "split", :target => "teilen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Type", :target => "Typ" )
Translation.create_if_not_exists( :locale => 'de', :source => "raw", :target => "unverarbeitet" )
Translation.create_if_not_exists( :locale => 'de', :source => "1 low", :target => "1 niedrig" )
Translation.create_if_not_exists( :locale => 'de', :source => "2 normal", :target => "2 normal" )
Translation.create_if_not_exists( :locale => 'de', :source => "3 high", :target => "3 hoch" )
Translation.create_if_not_exists( :locale => 'de', :source => "public", :target => "öffentlich" )
Translation.create_if_not_exists( :locale => 'de', :source => "internal", :target => "intern" )
Translation.create_if_not_exists( :locale => 'de', :source => "Attach files", :target => "Dateien anhängen" )
2014-09-08 18:59:17 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "Visibility", :target => "Sichtbarkeit" )
Translation.create_if_not_exists( :locale => 'de', :source => "Actions", :target => "Aktionen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Email", :target => "E-Mail" )
Translation.create_if_not_exists( :locale => 'de', :source => "email", :target => "E-Mail" )
Translation.create_if_not_exists( :locale => 'de', :source => "phone", :target => "Telefon" )
Translation.create_if_not_exists( :locale => 'de', :source => "fax", :target => "Fax" )
Translation.create_if_not_exists( :locale => 'de', :source => "chat", :target => "Chat" )
Translation.create_if_not_exists( :locale => 'de', :source => "sms", :target => "SMS" )
Translation.create_if_not_exists( :locale => 'de', :source => "twitter status", :target => "Twitter Status Meldung" )
Translation.create_if_not_exists( :locale => 'de', :source => "twitter direct-message", :target => "Twitter Direkt-Nachricht" )
Translation.create_if_not_exists( :locale => 'de', :source => "All Open Tickets", :target => "Alle offenen Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "child", :target => "Kind" )
Translation.create_if_not_exists( :locale => 'de', :source => "parent", :target => "Eltern" )
Translation.create_if_not_exists( :locale => 'de', :source => "normal", :target => "Normal" )
Translation.create_if_not_exists( :locale => 'de', :source => "Linked Objects", :target => "Verknüpfte Objekte" )
Translation.create_if_not_exists( :locale => 'de', :source => "Links", :target => "Verknüpftungen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Change Customer", :target => "Kunden ändern" )
Translation.create_if_not_exists( :locale => 'de', :source => "My Tickets", :target => "Meine Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "My Organization Tickets", :target => "Meine Organisations Tickets" )
Translation.create_if_not_exists( :locale => 'de', :source => "My Organization", :target => "Meine Organisation" )
2014-09-08 18:59:17 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "Assignment Timeout", :target => "Zeitliche Zuweisungsüberschritung" )
2015-02-02 12:25:17 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "We've sent password reset instructions to your email address.", :target => "Wir haben Ihnen die Anleitung zum Zurücksetzen Ihres Passworts an Ihre E-Mail-Adresse gesendet." )
Translation.create_if_not_exists( :locale => 'de', :source => "Enter your username or email address", :target => "Bitte geben Sie Ihren Benutzernamen oder E-Mail-Adresse ein" )
Translation.create_if_not_exists( :locale => 'de', :source => "Choose your new password.", :target => "Wählen Sie Ihr neues Passwort." )
Translation.create_if_not_exists( :locale => 'de', :source => "Woo hoo! Your password has been changed!", :target => "Vielen Dank, Ihr Passwort wurde geändert!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Please try to login!", :target => "Bitte melden Sie sich nun an!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Username or email address invalid, please try again.", :target => "Benutzername oder E-Mail-Addresse ungültig, bitte erneut versuchen." )
Translation.create_if_not_exists( :locale => 'de', :source => "If you don\'t receive instructions within a minute or two, check your email\'s spam and junk filters, or try resending your request.", :target => "Wir haben die Anforderung per E-Mail an Sie versendet, bitte überprüfen Sie Ihr E-Mail-Postfach (auch die Junk E-Mails) ggf. starten Sie eine Anforderung erneut." )
Translation.create_if_not_exists( :locale => 'de', :source => "again", :target => "erneut" )
Translation.create_if_not_exists( :locale => 'de', :source => "none", :target => "keine" )
Translation.create_if_not_exists( :locale => 'de', :source => "Welcome!", :target => "Willkommen!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Please click the button below to create your first one.", :target => "Klicken Sie die Schaltfläche unten um das erste zu erstellen." )
Translation.create_if_not_exists( :locale => 'de', :source => "Create your first Ticket", :target => "Erstellen Sie Ihr erstes Ticket" )
Translation.create_if_not_exists( :locale => 'de', :source => "You have not created a Ticket yet.", :target => "Sie haben noch kein Ticket erstellt." )
Translation.create_if_not_exists( :locale => 'de', :source => "The way to communicate with us is this thing called \"Ticket\".", :target => "Der Weg um mit uns zu kommunizieren ist das sogenannte \"Ticket\"." )
Translation.create_if_not_exists( :locale => 'de', :source => "or", :target => "oder" )
Translation.create_if_not_exists( :locale => 'de', :source => "yes", :target => "ja" )
Translation.create_if_not_exists( :locale => 'de', :source => "no", :target => "nein" )
Translation.create_if_not_exists( :locale => 'de', :source => "Attachment", :target => "Anhang" )
Translation.create_if_not_exists( :locale => 'de', :source => "Year", :target => "Jahr" )
Translation.create_if_not_exists( :locale => 'de', :source => "Month", :target => "Monat" )
Translation.create_if_not_exists( :locale => 'de', :source => "Day", :target => "Tag" )
Translation.create_if_not_exists( :locale => 'de', :source => "Closed", :target => "Geschlossen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Re-Open", :target => "Wiedereröffnet" )
Translation.create_if_not_exists( :locale => 'de', :source => "Day", :target => "Tag" )
Translation.create_if_not_exists( :locale => 'de', :source => "First Solution", :target => "Erstlösung" )
Translation.create_if_not_exists( :locale => 'de', :source => "Vendor", :target => "Hersteller" )
Translation.create_if_not_exists( :locale => 'de', :source => "Action", :target => "Aktion" )
Translation.create_if_not_exists( :locale => 'de', :source => "uninstall", :target => "deinstallieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "install", :target => "installieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "reinstall", :target => "erneut installieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "deactivate", :target => "deaktivieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "activate", :target => "aktivieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "uninstalled", :target => "deinstalliert" )
Translation.create_if_not_exists( :locale => 'de', :source => "installed", :target => "installiert" )
Translation.create_if_not_exists( :locale => 'de', :source => "deactivated", :target => "deaktiviert" )
Translation.create_if_not_exists( :locale => 'de', :source => "activated", :target => "aktiviert" )
Translation.create_if_not_exists( :locale => 'de', :source => "new", :target => "neu" )
Translation.create_if_not_exists( :locale => 'de', :source => "note", :target => "Notiz" )
Translation.create_if_not_exists( :locale => 'de', :source => "phone", :target => "Telefon" )
Translation.create_if_not_exists( :locale => 'de', :source => "web", :target => "Web" )
Translation.create_if_not_exists( :locale => 'de', :source => "Change order", :target => "Reihenfolge ändern" )
Translation.create_if_not_exists( :locale => 'de', :source => "Group by", :target => "Gruppieren mit" )
Translation.create_if_not_exists( :locale => 'de', :source => "Items per page", :target => "Einträge je Seite" )
Translation.create_if_not_exists( :locale => 'de', :source => "Last Contact", :target => "Letzter Kontakt" )
Translation.create_if_not_exists( :locale => 'de', :source => "Last Contact Agent", :target => "Letzter Kontakt Agent" )
Translation.create_if_not_exists( :locale => 'de', :source => "Last Contact Customer", :target => "Letzter Kontakt Kunde" )
Translation.create_if_not_exists( :locale => 'de', :source => "Create an inbound Ticket", :target => "Erstelle ein eingehendes Ticket" )
Translation.create_if_not_exists( :locale => 'de', :source => "Create an outbound Ticket (will send this as email to customer)", :target => "Erstelle ein ausgehendes Ticket (wird per E-Mail an den Kunden gesendet)" )
Translation.create_if_not_exists( :locale => 'de', :source => "Age", :target => "Alter" )
Translation.create_if_not_exists( :locale => 'de', :source => "Article Count", :target => "Artikel Anzahl" )
Translation.create_if_not_exists( :locale => 'de', :source => "Article", :target => "Artikel" )
Translation.create_if_not_exists( :locale => 'de', :source => "Close Time", :target => "Schließzeit" )
Translation.create_if_not_exists( :locale => 'de', :source => "First Response", :target => "Erste Reaktion" )
Translation.create_if_not_exists( :locale => 'de', :source => "up", :target => "auf" )
Translation.create_if_not_exists( :locale => 'de', :source => "down", :target => "ab" )
Translation.create_if_not_exists( :locale => 'de', :source => "Inbound", :target => "Eingehend" )
Translation.create_if_not_exists( :locale => 'de', :source => "Outbound", :target => "Ausgehend" )
Translation.create_if_not_exists( :locale => 'de', :source => "Adresses", :target => "Adressen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Signatures", :target => "Signatur" )
Translation.create_if_not_exists( :locale => 'de', :source => "Filter", :target => "Filter" )
Translation.create_if_not_exists( :locale => 'de', :source => "Bulk-Action executed!", :target => "Sammelaktion ausgeführt!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Moved in", :target => "Hinein Verschoben" )
Translation.create_if_not_exists( :locale => 'de', :source => "Moved out", :target => "Heraus Verschoben" )
Translation.create_if_not_exists( :locale => 'de', :source => "Country", :target => "Land" )
Translation.create_if_not_exists( :locale => 'de', :source => "Invitation sent!", :target => "Einladung versendet" )
Translation.create_if_not_exists( :locale => 'de', :source => "Can't create user", :target => "Benutzer konnte nicht angelegt werden!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Update successful!", :target => "Aktualisierung erfolgreich!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Invite Agents", :target => "Agenten einladen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Getting started!", :target => "Ersten Schritte!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Create Admin", :target => "Admin erstellen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Configure Channels", :target => "Kanäle konfigurieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "Send invitation", :target => "Einladung senden" )
Translation.create_if_not_exists( :locale => 'de', :source => "Next...", :target => "Weiter..." )
Translation.create_if_not_exists( :locale => 'de', :source => "Week", :target => "Woche" )
Translation.create_if_not_exists( :locale => 'de', :source => "Follow up possible", :target => "Nachfrage möglich" )
Translation.create_if_not_exists( :locale => 'de', :source => "Assign Follow Ups", :target => "Zuweisung bei Nachfrage" )
Translation.create_if_not_exists( :locale => 'de', :source => "Signature", :target => "Signatur" )
Translation.create_if_not_exists( :locale => 'de', :source => "Change your password", :target => "Ändern Sie Ihr Passwort" )
Translation.create_if_not_exists( :locale => 'de', :source => "Current Password", :target => "Aktuelles Passwort" )
Translation.create_if_not_exists( :locale => 'de', :source => "New Password", :target => "Neues Passwort" )
Translation.create_if_not_exists( :locale => 'de', :source => "New Password (confirm)", :target => "Neues Passwort (bestätigen)" )
Translation.create_if_not_exists( :locale => 'de', :source => "Language", :target => "Sprache" )
Translation.create_if_not_exists( :locale => 'de', :source => "Link Accounts", :target => "Verknüpfte Accounts" )
Translation.create_if_not_exists( :locale => 'de', :source => "Change your language.", :target => "Ändern Sie Ihr Sprache." )
Translation.create_if_not_exists( :locale => 'de', :source => "Successfully!", :target => "Erfolgreich!" )
Translation.create_if_not_exists( :locale => 'de', :source => "Remove", :target => "Entfernen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Add", :target => "Hinzufügen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Call Outbound", :target => "Anruf ausgehend" )
Translation.create_if_not_exists( :locale => 'de', :source => "Call Inbound", :target => "Anruf eingehend" )
Translation.create_if_not_exists( :locale => 'de', :source => "Loading...", :target => "Laden..." )
Translation.create_if_not_exists( :locale => 'de', :source => "Work Disposition", :target => "Arbeitsverteilung" )
Translation.create_if_not_exists( :locale => 'de', :source => "Timezone", :target => "Zeitzone" )
Translation.create_if_not_exists( :locale => 'de', :source => "Business Times", :target => "Arbeitszeiten" )
Translation.create_if_not_exists( :locale => 'de', :source => "Day", :target => "Day" )
Translation.create_if_not_exists( :locale => 'de', :source => "Days", :target => "Days" )
Translation.create_if_not_exists( :locale => 'de', :source => "Hour", :target => "Stunde" )
Translation.create_if_not_exists( :locale => 'de', :source => "Hours", :target => "Stunden" )
Translation.create_if_not_exists( :locale => 'de', :source => "New SLA", :target => "Neuer SLA" )
Translation.create_if_not_exists( :locale => 'de', :source => "Conditions where SLA is used", :target => "Bedingungen bei denen der SLA verwendet wird" )
Translation.create_if_not_exists( :locale => 'de', :source => "First Response Time", :target => "Reaktionszeit" )
Translation.create_if_not_exists( :locale => 'de', :source => "Update Time", :target => "Aktuallisierungszeit" )
Translation.create_if_not_exists( :locale => 'de', :source => "Solution Time", :target => "Lösungszeit" )
Translation.create_if_not_exists( :locale => 'de', :source => "Add Attribute", :target => "Attribut hinzufügen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Back to top", :target => "Nach oben" )
Translation.create_if_not_exists( :locale => 'de', :source => "Discard your unsaved changes.", :target => "Verwerfen der ungespeicherten Änderungen." )
Translation.create_if_not_exists( :locale => 'de', :source => "Copy to clipboard: Ctrl+C, Enter", :target => "In die Zwischenablage kopieren: Strg+C, Return" )
Translation.create_if_not_exists( :locale => 'de', :source => "Copy to clipboard", :target => "In die Zwischenablage kopieren" )
Translation.create_if_not_exists( :locale => 'de', :source => "Send to clients", :target => "An Clients senden" )
Translation.create_if_not_exists( :locale => 'de', :source => "Feedback about our new Interface", :target => "Feedback übers neue Design!" )
Translation.create_if_not_exists( :locale => 'de', :source => "What ideas do you have?", :target => "Welche Ideen haben Sie?" )
Translation.create_if_not_exists( :locale => 'de', :source => "Attach Screenshot of page", :target => "Screenshot dieser Seite anhängen" )
Translation.create_if_not_exists( :locale => 'de', :source => "Thanks for your Feedback!", :target => "Vielen Dank für Ihre Feedback!" )
2013-09-22 20:55:04 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "What can you do here?", :target => "Was können Sie hier machen?" )
Translation.create_if_not_exists( :locale => 'de', :source => "Here you can create one.", :target => "Hier können Sie eins erstellen." )
Translation.create_if_not_exists( :locale => 'de', :source => "Fold in", :target => "Einklappen" )
2013-09-30 00:03:06 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "from", :target => "von" )
Translation.create_if_not_exists( :locale => 'de', :source => "to", :target => "nach" )
2014-07-27 22:24:42 +00:00
Translation.create_if_not_exists( :locale => 'de', :source => "%s ago", :target => "vor %s" )
Translation.create_if_not_exists( :locale => 'de', :source => "in %s", :target => "in %s" )
Translation.create_if_not_exists( :locale => 'de', :source => "Mark all as seen.", :target => "Alle als gelesen markieren." )
Translation.create_if_not_exists( :locale => 'de', :source => "Pending till", :target => "Warten bis" )
#Translation.create_if_not_exists( :locale => 'de', :source => "", :target => "" )
# install all packages in auto_install
2013-01-21 18:53:32 +00:00
Package.auto_install()