iachat/app/jobs
Shivam Mishra 06ffaa90fc
fix: bots included in time to response metrics (#6409)
* feat: ignore bots in avg_first_response_time

* feat: ignore bots in avg_first_response count

* feat: add bot handoff event

* feat: add handoff event listener and reporting event

* fix: ignore agent bot in first response

* refactor: calculate first_response with last handoff

* refactor: method defn order

* test: new reporting events

* feat: Revert "feat: ignore bots in avg_first_response count"

This reverts commit de1977c219a2e7a9180dd02272244fe3b3f7ce89.

* feat: Revert "feat: ignore bots in avg_first_response_time"

This reverts commit bb9171945d5e3b2f6015f4f96dd1b76b3efb6987.

* fix: business hour calculation for first_reply

* fix: event_start_time for first_response

* feat: add migration to recompute first_responses

* refactor: separate mute helpers for conversation

* refactor: rename migration

* refactor: migration script

* fix: migration typo

* fix: typo in query

* feat: update schema.rb

* Revert "feat: update schema.rb"

This reverts commit 353ef355f2d956dd219907bb66982dc90ca5d896.

* feat: update schema

* refactor: update events as a batch job

* fix: ignore the event if value is negative

* feat: don't create a new hand-off if it's already present

* refactor: break the action into smaller chunks

* refactor: update reporting listener spec

Handle the case to ensure extra bot handoffs are not created for a give conversation

* fix: import error

---------

Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2023-02-25 09:48:48 +05:30
..
account Chore: Improve conversation auto resolution (#3405) 2021-11-27 09:26:18 +05:30
agent_bots feat: Add native support for CSML in agent_bot API (#4913) 2022-06-23 19:17:46 +05:30
agents fix: destroy bulk service (#5921) 2022-11-25 22:46:50 +05:30
avatar chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
campaigns chore: one off SMS campaign APIs (#2589) 2021-07-14 12:24:09 +05:30
channels/whatsapp chore: Move Whatsapp template sync to cron (#4858) 2022-06-14 23:46:36 +05:30
conversations chore: Limit conversation resolution Job (#6433) 2023-02-13 14:00:52 +05:30
inboxes Feat: Support for Microsoft Oauth in Email Channel (#6227) 2023-01-17 02:39:05 +05:30
internal fix: Account seeder error on staging (#5371) 2022-09-01 21:23:57 +05:30
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
migration fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
notification feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
webhooks chore: Add reauthorization prompt for Whatsapp Channel (#5929) 2022-11-24 14:50:32 +03:00
action_cable_broadcast_job.rb Chore: Update ruby and rails versions (#831) 2020-05-08 12:13:23 +05:30
application_job.rb Chore: Fix Deserialisation Error in Jobs (#1683) 2021-01-31 13:05:07 +05:30
bulk_actions_job.rb fix: Added "None" option in bulk actions assignment menu (#5585) 2022-10-11 13:44:35 -07:00
contact_ip_lookup_job.rb chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
data_import_job.rb fix: Agent typing indicator for website widget (#4495) 2022-04-18 19:05:45 +05:30
delete_object_job.rb feat: Platform API improvements (#2900) 2021-09-02 18:29:45 +05:30
event_dispatcher_job.rb Non blocking event dispatch (#652) 2020-03-29 19:18:30 +05:30
hook_job.rb chore: Sentry issues (#4623) 2022-05-06 14:50:55 +05:30
macros_execution_job.rb feat: Execute macro actions, for the conversation (#5066) 2022-07-26 12:41:22 +05:30
send_reply_job.rb chore: Provider APIs for SMS Channel - Bandwidth (#3889) 2022-02-03 15:22:13 -08:00
trigger_scheduled_items_job.rb chore: Move Whatsapp template sync to cron (#4858) 2022-06-14 23:46:36 +05:30
webhook_job.rb Feature: Webhooks (#489) 2020-02-14 23:19:17 +05:30