2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2017-04-26 11:28:32 +00:00
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket create',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have created a ticket'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 10,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket close',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have closed a ticket'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 5,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket answer 1h',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have answered a ticket within 1h'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 25,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket answer 2h',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have answered a ticket within 2h'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 20,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket answer 12h',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have answered a ticket within 12h'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 10,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket answer 24h',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have answered a ticket within 24h'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 5,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket pending state',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('Usage of advanced features'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 2,
|
|
|
|
once_ttl: 60,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket escalated',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have escalated tickets'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: -5,
|
|
|
|
once_ttl: 60 * 60 * 24,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'ticket reminder overdue (+2 days)',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('You have tickets that are over 2 days overdue'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: -5,
|
|
|
|
once_ttl: 60 * 60 * 24,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'text module',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('Usage of advanced features'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 4,
|
|
|
|
once_ttl: 60 * 30,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Karma::Activity.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'tagging',
|
2021-11-15 15:58:19 +00:00
|
|
|
description: __('Usage of advanced features'),
|
2018-12-19 17:31:51 +00:00
|
|
|
score: 4,
|
|
|
|
once_ttl: 60 * 60 * 4,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|