Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
cf487c76a0c3649a100b88419dd3fd9d49942415
622
2023-03-15 21:49:49+05:30
-19,800
['6848433a4c6ddb5f5a4d5ec909bc4b6b6092cd3a']
fix: delete user record if belongs to no account (#6664)
[{'old_path': 'app/controllers/api/v1/accounts/agents_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/agents_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,6 +19,7 @@ class Api::V1::Accounts::AgentsController < Api::V1::Accounts::BaseController\n \n def destroy\n @agent.current...
Ruby
5c5764ca85688be2fa5ea0c23a54bf80d7409eb4
500
2023-03-16 20:32:55+05:30
-19,800
['cf487c76a0c3649a100b88419dd3fd9d49942415']
chore: Enable icelandic language(#6682) ref: #6681
[{'old_path': 'app/javascript/survey/i18n/index.js', 'new_path': 'app/javascript/survey/i18n/index.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,7 @@ import fr from './locale/fr.json';\n import hi from './locale/hi.json';\n import hu from './locale/hu.json';\n import id from './locale/id.json';\n+imp...
Ruby
e76b63f91d024652ba3e7d4107c3294b5108d434
9
2023-03-16 13:42:52-07:00
-19,800
['5c5764ca85688be2fa5ea0c23a54bf80d7409eb4']
chore: Upgrade prosemirror package to fix link rendering issue (#6685)
[{'old_path': 'yarn.lock', 'new_path': 'yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1393,7 +1393,7 @@\n \n "@chatwoot/prosemirror-schema@https://github.com/chatwoot/prosemirror-schema.git":\n version "1.0.0"\n- resolved "https://github.com/chatwoot/prosemirror-schema.git#ebbf09d6ebd9138cdf2bb47257...
Ruby
d2aa5f4c69a93d573ae9bff43f995eb1d16ea3e3
9
2023-03-20 11:04:56+05:30
-19,800
['e76b63f91d024652ba3e7d4107c3294b5108d434']
fix: Reverts popover styling for search page (#6688)
[{'old_path': 'app/javascript/dashboard/modules/search/components/SearchHeader.vue', 'new_path': 'app/javascript/dashboard/modules/search/components/SearchHeader.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -76,7 +76,8 @@ export default {\n display: flex;\n align-items: center;\n padding: var(--space-s...
Ruby
0c9f129c74ee65aa88ea0617e46b0609a9acefc9
154
2023-03-20 12:27:43+05:30
-39,600
['d2aa5f4c69a93d573ae9bff43f995eb1d16ea3e3']
Fix issues with Microsoft Provider (#6702)
[{'old_path': 'app/controllers/api/v1/accounts/microsoft/authorizations_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/microsoft/authorizations_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,11 +7,12 @@ class Api::V1::Accounts::Microsoft::AuthorizationsController < Api::V1::Accounts\...
Ruby
4f936aada54cfb3a807810a4419504054ae9c4e3
622
2023-03-20 13:46:07+05:30
-19,800
['0c9f129c74ee65aa88ea0617e46b0609a9acefc9']
[CW-1342]: Inbox deletion in background job (#6708)
[{'old_path': 'app/controllers/api/v1/accounts/inboxes_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/inboxes_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -82,8 +82,8 @@ class Api::V1::Accounts::InboxesController < Api::V1::Accounts::BaseController\n end\n \n def destroy\n- @in...
Ruby
e5134c9ef5624c3daf20212ee7343303edfaaccc
583
2023-03-20 15:46:29+05:30
-19,800
['4f936aada54cfb3a807810a4419504054ae9c4e3']
[CW-53] feat: allow downloading heatmap report (#6683) * feat: add control header slot * feat: add download API call * feat: add conversation traffic template * feat: allow downloading heatmap content * feat: wire up download * fix: grid layout for mobile * chore: revert formatting * revert: en.y...
[{'old_path': 'app/controllers/api/v2/accounts/reports_controller.rb', 'new_path': 'app/controllers/api/v2/accounts/reports_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,6 +32,11 @@ class Api::V2::Accounts::ReportsController < Api::V1::Accounts::BaseController\n generate_csv('teams_report', ...
Ruby
4cae5c7d510dea081fbd9b1a8dd8085548a349d4
90
2023-03-20 20:35:15+05:30
-19,800
['e5134c9ef5624c3daf20212ee7343303edfaaccc']
chore: The label creation UI input is transform to lowercase (#6712)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/settings/labels/AddLabel.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/settings/labels/AddLabel.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@\n <woot-input\n v-model.trim="title"\n :class="{ error: $v.ti...
Ruby
9c040af02880d55a0dcfadcf6f8ee6f347c2a022
622
2023-03-21 10:51:12+05:30
-19,800
['4cae5c7d510dea081fbd9b1a8dd8085548a349d4']
[CW-1348] fix: Update email regex validation for contact_inbox (#6705)
[{'old_path': 'app/models/contact_inbox.rb', 'new_path': 'app/models/contact_inbox.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,10 +59,6 @@ class ContactInbox < ApplicationRecord\n end\n end\n \n- def validate_email_source_id\n- errors.add(:source_id, "invalid source id for Email inbox. valid Re...
Ruby
f3aba84063b4f2473dfb165734887bf08d142cb9
9
2023-03-21 12:10:08+05:30
-19,800
['9c040af02880d55a0dcfadcf6f8ee6f347c2a022']
fix: Fixes scroll behavior for search page (#6717)
[{'old_path': 'app/javascript/dashboard/modules/search/components/SearchView.vue', 'new_path': 'app/javascript/dashboard/modules/search/components/SearchView.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n <template>\n- <div class="width-100">\n+ <div class="search-page">\n <div class="page...
Ruby
1dd7cfc25db690c1524e03def69c0e910aecf512
90
2023-03-21 13:25:35-07:00
-19,800
['f3aba84063b4f2473dfb165734887bf08d142cb9']
fix: Design issues after RTL changes (#6718)
[{'old_path': 'app/javascript/dashboard/components/ChatList.vue', 'new_path': 'app/javascript/dashboard/components/ChatList.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,7 +45,6 @@\n variant="smooth"\n color-scheme="alert"\n icon="delete"\n- class="delete-cus...
Ruby
d94f195284ca542636343da4b09293c3487a8e0e
622
2023-03-23 13:34:42+05:30
-19,800
['1370cf3c07c1a34a5271b387f5d21ceeffb34be5']
feat: Add link for instagram profile link (#6721)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ContactForm.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ContactForm.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -211,6 +211,7 @@ export default {\n facebook: socialProfiles.facebook ||...
Ruby
856d9067b0c76358ba883cd5bb7cdc04ad4d067e
622
2023-03-23 14:37:21+05:30
-19,800
['d94f195284ca542636343da4b09293c3487a8e0e']
fix: Super admin redirect issue [CW-1370] (#6715)
[{'old_path': 'app/controllers/super_admin/users_controller.rb', 'new_path': 'app/controllers/super_admin/users_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,18 @@\n class SuperAdmin::UsersController < SuperAdmin::ApplicationController\n # Overwrite any of the RESTful controller actions to...
Ruby
a6e7737c5692421afeb30b641355652a65a0ac19
500
2023-03-23 15:22:49+05:30
-19,800
['856d9067b0c76358ba883cd5bb7cdc04ad4d067e']
feat: Show custom attributes in pre-chat form on new conversation (#6735)
[{'old_path': 'app/javascript/widget/components/ChatFooter.vue', 'new_path': 'app/javascript/widget/components/ChatFooter.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -95,12 +95,7 @@ export default {\n startNewConversation() {\n this.clearConversations();\n this.clearConversationAttributes();...
Ruby
d666afd7579d48539f00aebcab9ce9ccefec1eb0
540
2023-03-24 13:49:44-07:00
25,200
['a6e7737c5692421afeb30b641355652a65a0ac19']
chore: Refactor messages to support right click context menu (#6748)
[{'old_path': 'app/finders/message_finder.rb', 'new_path': 'app/finders/message_finder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,8 +21,8 @@ class MessageFinder\n end\n \n def current_messages\n- if @params[:after].present?\n- messages.reorder('created_at asc').where('id >= ?', @params[:befo...
Ruby
70e7530cb4ca98377c9ac3a62abfc7a115273f7a
540
2023-03-24 16:20:19-07:00
25,200
['d666afd7579d48539f00aebcab9ce9ccefec1eb0']
feat: Setup context menu for message (#6750)
[{'old_path': 'app/javascript/dashboard/assets/scss/widgets/_modal.scss', 'new_path': 'app/javascript/dashboard/assets/scss/widgets/_modal.scss', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -86,6 +86,12 @@\n margin-left: var(--space-small);\n }\n \n+ &:first-child {\n+ .button {\n+ margin...
Ruby
4b83bcb5caa2bafb528502ea68821355e5893e08
540
2023-03-26 12:19:29-07:00
25,200
['70e7530cb4ca98377c9ac3a62abfc7a115273f7a']
fix: Move subscription to after initialize (#6752)
[{'old_path': 'app/javascript/dashboard/App.vue', 'new_path': 'app/javascript/dashboard/App.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -72,13 +72,6 @@ export default {\n if (!this.hasAccounts) {\n this.showAddAccountModal = true;\n }\n- verifyServiceWorkerExistence(registration =>\...
Ruby
1e8881577a6d377fe79234c2560082c3e5753c2d
540
2023-03-26 15:16:56-07:00
25,200
['4b83bcb5caa2bafb528502ea68821355e5893e08']
fix: Display native context menu on image, video preview modals (#6756)
[{'old_path': 'app/javascript/dashboard/components/Modal.vue', 'new_path': 'app/javascript/dashboard/components/Modal.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,7 +47,7 @@ export default {\n },\n computed: {\n modalContainerClassName() {\n- let className = 'modal-container';\n+ let cl...
Ruby
6000028f64b425e00c7b900a06c07a2a86332ef1
540
2023-03-26 22:58:42-07:00
25,200
['1e8881577a6d377fe79234c2560082c3e5753c2d']
feat: Allow agents/admins to copy the link to a message (#5912)
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n <template>\n- <li v-if="shouldRenderMessage" :class="alignBubble">\n+ <li v-if="sho...
Ruby
00ee0478ebe73df266b46c992983265f10f67d3d
583
2023-03-27 12:16:25+05:30
-19,800
['6000028f64b425e00c7b900a06c07a2a86332ef1']
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) * feat: allow caching of labels in the account scope * feat: send cache keys in account json response * feat: kickstart web worker * feat: setup basic architecture for workers * feat: install idb * feat: add datamanger * fix:...
[{'old_path': 'app/controllers/api/v1/accounts_controller.rb', 'new_path': 'app/controllers/api/v1/accounts_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,5 +1,6 @@\n class Api::V1::AccountsController < Api::BaseController\n include AuthHelper\n+ include CacheKeysHelper\n \n skip_before_actio...
Ruby
b3850cb4fafac2c9fef0a51911fbaa94fe4abead
90
2023-03-27 16:15:11+05:30
-19,800
['7de89b6f9b60946aa7430fadda7a94ba30992050']
fix: Show meaning full error message while creating and email inbox [CW-1312] (#6711) * chore: Shows error message while creating and email inbox * chore: Review fixes --------- Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
[{'old_path': 'app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -63,6 +63,7 @@ export default {\n ...
Ruby
5b7bed96408a4096d663b17dd19ec841915490e5
500
2023-03-27 18:49:48+05:30
-19,800
['b3850cb4fafac2c9fef0a51911fbaa94fe4abead']
chore: Auto capitalize the name field while sending the canned response/variables (#6758) * capitalize name before sending the message * Fix specs * Code cleanups
[{'old_path': 'app/drops/contact_drop.rb', 'new_path': 'app/drops/contact_drop.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,8 @@\n class ContactDrop < BaseDrop\n+ def name\n+ @obj.try(:name).try(:capitalize)\n+ end\n+\n def email\n @obj.try(:email)\n end\n@@ -8,7 +12,7 @@ class ContactDro...
Ruby
4c10845acd259bbd6a7bd860976e823e4c6cae86
583
2023-03-27 21:23:37+05:30
-19,800
['5b7bed96408a4096d663b17dd19ec841915490e5']
fix: [CW-44] don't count private message as first reply (#6707) * fix: don't count private message as first reply * fix: update first_human_response_logic * refactor: separate valid_first_reply method * test: valid first reply * feat: add check for automation rule * test: update step that creates data ...
[{'old_path': 'app/models/message.rb', 'new_path': 'app/models/message.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -173,6 +173,10 @@ class Message < ApplicationRecord\n true\n end\n \n+ def valid_first_reply?\n+ outgoing? && human_response? && not_created_by_automation? && !private?\n+ end\n+\n ...
Ruby
3535a1a70884851d73fa8dd14ac9c0c5c94caab7
500
2023-03-28 13:03:51+05:30
-19,800
['4c10845acd259bbd6a7bd860976e823e4c6cae86']
chore: Auto capitalize the last name field while sending the canned response/variables (#6767) * Capitalize last name * Add more spec * Fix last name spec issue * More spec fixes * Add more spec fixes * Update user_drop_spec.rb
[{'old_path': 'app/drops/contact_drop.rb', 'new_path': 'app/drops/contact_drop.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n class ContactDrop < BaseDrop\n def name\n- @obj.try(:name).try(:capitalize)\n+ @obj.try(:name).try(:split).try(:map, &:capitalize).try(:join, ' ')\n end\n \n d...
Ruby
d082aa50a8ab90181af539e1adc1a152e225a298
9
2023-03-28 13:10:16+05:30
-19,800
['3535a1a70884851d73fa8dd14ac9c0c5c94caab7']
fix: Adds support for multiple file uploads in whatsapp inbox (#6763)
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -452,7 +452,12 @@ export default {\n return !this.isOnPrivateNote && this.isAnEmailChannel;\...
Ruby
fdb067a35205e5ac0da56054b4d839b9d0dd70b0
622
2023-03-28 13:40:16+05:30
-19,800
['d082aa50a8ab90181af539e1adc1a152e225a298']
fix: mentions are not rendered properly in slack (#6762)
[{'old_path': 'lib/integrations/slack/send_on_slack_service.rb', 'new_path': 'lib/integrations/slack/send_on_slack_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,5 @@\n class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService\n+ include RegexHelper\n pattr_initialize [:messa...
Ruby
54a809ea542f6ce07089b723b879f4a5f2331b7b
622
2023-03-28 15:23:41+05:30
-19,800
['fdb067a35205e5ac0da56054b4d839b9d0dd70b0']
fix: Case insensitive email match (#6760) Fixes: https://linear.app/chatwoot/issue/CW-1354/email-id-case-sensitive Co-authored-by: Sojan <sojan@pepalo.com>
[{'old_path': 'app/models/user.rb', 'new_path': 'app/models/user.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -106,6 +106,10 @@ class User < ApplicationRecord\n \n scope :order_by_full_name, -> { order('lower(name) ASC') }\n \n+ before_validation do\n+ self.email = email.try(:downcase)\n+ end\n+\n de...
Ruby
bc8e8f3bb55859f1f008b6a4007f08dc8690c193
583
2023-03-28 22:34:04+05:30
-19,800
['54a809ea542f6ce07089b723b879f4a5f2331b7b']
feat: add index to conversation `id` and `account_id` (#6757) - This PR adds an index to conversations id and account_id. This improves the performance of some reports query
[{'old_path': 'Gemfile', 'new_path': 'Gemfile', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -165,6 +165,10 @@ group :development do\n \n # When we want to squash migrations\n gem 'squasher'\n+\n+ # profiling\n+ gem 'rack-mini-profiler', require: false\n+ gem 'stackprof'\n end\n \n group :test do\n"}, {'old...
Ruby
6002394fcf7d0202cd9568fe3ecf94e8e89d03ee
123
2023-03-28 22:50:07+05:30
-19,800
['bc8e8f3bb55859f1f008b6a4007f08dc8690c193']
feat: Support input_select messages on telegram (#5887) - Adding interactive button support for telegram for outgoing and incoming messages. Co-authored-by: Sojan Jose <sojan@pepalo.com>
[{'old_path': 'app/models/channel/telegram.rb', 'new_path': 'app/models/channel/telegram.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -78,10 +78,24 @@ class Channel::Telegram < ApplicationRecord\n end\n \n def send_message(message)\n- response = message_request(message.conversation[:additional_attribut...
Ruby
2b7ff48bcd524eb9ea131c2fa6f1f6502a26058d
156
2023-03-28 18:29:15-07:00
-18,000
['6002394fcf7d0202cd9568fe3ecf94e8e89d03ee']
fix: Turn off FOCUS_CUSTOM_ATTRIBUTE event to avoid memory leak (#6772)
[{'old_path': 'app/javascript/dashboard/components/CustomAttribute.vue', 'new_path': 'app/javascript/dashboard/components/CustomAttribute.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -218,13 +218,17 @@ export default {\n },\n mounted() {\n this.editedValue = this.formattedValue;\n- bus.$on(BUS_EVE...
Ruby
aa75666ad9e1f930047bb37d02dce64d23b40c3d
394
2023-03-29 12:24:14+05:30
21,600
['2b7ff48bcd524eb9ea131c2fa6f1f6502a26058d']
chore: Remove extra audit column (#6769) - Drop unintentional "audits.integer" column
[{'old_path': 'db/migrate/20230202132107_install_audited.rb', 'new_path': 'db/migrate/20230202132107_install_audited.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,7 +13,7 @@ class InstallAudited < ActiveRecord::Migration[6.1]\n t.string :username\n t.string :action\n t.jsonb :audited_chan...
Ruby
803015b7f8c9315541bc481527e3b7164decf28e
394
2023-03-29 16:02:13+05:30
21,600
['aa75666ad9e1f930047bb37d02dce64d23b40c3d']
chore: Re-add "public" prefix to "public.gen_random_uuid()" in schema.rb (#6770) Revert unintended schema change from https://github.com/chatwoot/chatwoot/pull/5338#discussion_r957645071
[{'old_path': 'db/schema.rb', 'new_path': 'db/schema.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -438,7 +438,7 @@ ActiveRecord::Schema.define(version: 2023_03_28_131926) do\n t.datetime "agent_last_seen_at"\n t.jsonb "additional_attributes", default: {}\n t.bigint "contact_inbox_id"\n- t.uuid ...
Ruby
4ed35cf4610253e1a6e09272d16976e0c15f57d8
248
2023-03-29 17:30:57+05:30
10,800
['803015b7f8c9315541bc481527e3b7164decf28e']
feat: show external error in message as tooltip (#6701)
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,6 +68,7 @@\n :id="data.id"\n :sender="data.sender"\n :story-sender...
Ruby
d1b65b6c9ef401e7e7d82f78bc203a6c1f3dc4dd
9
2023-03-29 18:09:18+05:30
-19,800
['4ed35cf4610253e1a6e09272d16976e0c15f57d8']
chore: Fixes avatar position on failed messages (#6784) * feat: show external error in message * Fixes avatar position on failed messages --------- Co-authored-by: Clairton Rodrigo Heinzen <clairton.rodrigo@gmail.com>
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,16 @@\n <template>\n <li v-if="shouldRenderMessage" :id="`message${data.id}`" :class="alig...
Ruby
a4c9a2b2f2e55d478093a6936494aa29856731b3
603
2023-03-29 18:48:16+05:30
-19,800
['d1b65b6c9ef401e7e7d82f78bc203a6c1f3dc4dd']
chore: Support telegram `edited_message` events (#6785) - Add support for telegram edited_message events: Update the user message back in the Chatwoot dashboard when updated by the contact on telegram
[{'old_path': 'app/jobs/webhooks/telegram_events_job.rb', 'new_path': 'app/jobs/webhooks/telegram_events_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -7,6 +7,18 @@ class Webhooks::TelegramEventsJob < ApplicationJob\n channel = Channel::Telegram.find_by(bot_token: params[:bot_token])\n return unles...
Ruby
7e3a4d2c20f2cbc1404ed9fce267c85f88e2a8ac
603
2023-03-30 11:39:53+05:30
-19,800
['a4c9a2b2f2e55d478093a6936494aa29856731b3']
fix: Adds assignee as a participant during auto-assign (#6789) - Ensures that the assignee is added as a participant during auto-assign
[{'old_path': 'app/models/concerns/auto_assignment_handler.rb', 'new_path': 'app/models/concerns/auto_assignment_handler.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,6 +15,7 @@ module AutoAssignmentHandler\n return unless should_run_auto_assignment?\n \n ::AutoAssignment::AgentAssignmentService.ne...
Ruby
cef44bc55780eb1bdeb1d001ebc5a1f5bff8d9cf
500
2023-03-30 12:10:59+05:30
-19,800
['7e3a4d2c20f2cbc1404ed9fce267c85f88e2a8ac']
fix: Check valid params exists in `WhatsAapp` payload (#6780) Fixes #6779 Co-authored-by: Sojan Jose <sojan@pepalo.com>
[{'old_path': 'app/services/whatsapp/incoming_message_base_service.rb', 'new_path': 'app/services/whatsapp/incoming_message_base_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,9 +9,9 @@ class Whatsapp::IncomingMessageBaseService\n def perform\n processed_params\n \n- if processed_params[:sta...
Ruby
d8604107aa7aa9f3188eac81b84e81932062b523
622
2023-03-30 13:03:19+05:30
-19,800
['cef44bc55780eb1bdeb1d001ebc5a1f5bff8d9cf']
fix: Add link to conversation in slack message (#6768)
[{'old_path': 'lib/integrations/slack/send_on_slack_service.rb', 'new_path': 'lib/integrations/slack/send_on_slack_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,18 +37,26 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService\n if conversation.identifier.present?\n ...
Ruby
7930902ec890ebc7ea15cbcbc4325bca0a04fb3d
603
2023-03-30 21:02:52+05:30
-19,800
['d8604107aa7aa9f3188eac81b84e81932062b523']
chore: Refactor Automation Specs (#6796) The current way of writing specs for automation in one single file automation_listener isn't effective. Hence we are breaking down the specs for each class into separate spec files. fixes: CW-1447
[{'old_path': 'app/listeners/automation_rule_listener.rb', 'new_path': 'app/listeners/automation_rule_listener.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,10 +1,10 @@\n class AutomationRuleListener < BaseListener\n- def conversation_updated(event_obj)\n- return if performed_by_automation?(event_obj)\n...
Ruby
7bd830ebfe1b14ca8ce45b29e58878c6e6691d78
622
2023-03-30 22:34:18+05:30
-19,800
['7930902ec890ebc7ea15cbcbc4325bca0a04fb3d']
fix: Email based automation conditions filter (#6786)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/settings/automation/constants.js', 'new_path': 'app/javascript/dashboard/routes/dashboard/settings/automation/constants.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,13 @@ export const AUTOMATIONS = {\n inputType: 'plain_text',\n ...
Ruby
fd41529b82ab3104d79d97c7a331a070dd024bb3
90
2023-03-30 11:03:51-07:00
-19,800
['7bd830ebfe1b14ca8ce45b29e58878c6e6691d78']
chore: Adds the ability to copy phone number from user details (#6791)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -66,6 +66,7 @@\n icon="call"\n emoji="📞"\n ...
Ruby
bd5ff7a8bfdbc1687e60713b654326b531e8f7a2
500
2023-03-31 18:49:31+05:30
-19,800
['fd41529b82ab3104d79d97c7a331a070dd024bb3']
fix: Agent avatar instead of bot avatar in pending message (#6777) Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -336,6 +336,12 @@ export default {\n this.message.length > this.maxLength\n );\n ...
Ruby
21da03fe5bbcda0e886f0f2ec787ce09917191b6
622
2023-03-31 18:56:51+05:30
-19,800
['bd5ff7a8bfdbc1687e60713b654326b531e8f7a2']
Fix: Consider bot message on slack integration (#6793)
[{'old_path': 'app/jobs/hook_job.rb', 'new_path': 'app/jobs/hook_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -18,6 +18,7 @@ class HookJob < ApplicationJob\n return unless ['message.created'].include?(event_name)\n \n message = event_data[:message]\n+\n Integrations::Slack::SendOnSlackService....
Ruby
d1ac33e98c338637909704fb05ce44d9c694a87f
622
2023-04-02 10:54:51+05:30
-19,800
['21da03fe5bbcda0e886f0f2ec787ce09917191b6']
feat: Phone number based automation conditions (#6783)
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/advancedFilters.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/advancedFilters.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,8 @@\n "is_not_present": "Is not present",\n "is_greater_than": "Is greater than",\n "is...
Ruby
2e9eead20c665d5eeed387e2960485f366460851
583
2023-04-02 13:23:01+05:30
-19,800
['d1ac33e98c338637909704fb05ce44d9c694a87f']
feat: update contacts filter query (#6802) - Update contacts API query to be faster
[{'old_path': 'app/controllers/api/v1/accounts/contacts_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/contacts_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -119,8 +119,9 @@ class Api::V1::Accounts::ContactsController < Api::V1::Accounts::BaseController\n end\n \n def fetch_contac...
Ruby
ebc144683a09606dfb24c88a11931715bacebdd8
540
2023-04-02 22:26:08-07:00
25,200
['44e4eee28bf9990f35d41c48602b8feea4286cf8']
chore: Update conversation thread rendering in Slack (#6812)
[{'old_path': 'lib/integrations/slack/send_on_slack_service.rb', 'new_path': 'lib/integrations/slack/send_on_slack_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,10 +38,12 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService\n \n def message_content\n private_indicator...
Ruby
44f73e044ab3e44927ce20172064f49581670fe1
622
2023-04-03 11:32:37+05:30
-19,800
['ebc144683a09606dfb24c88a11931715bacebdd8']
slack with template message link (#6811)
[{'old_path': 'lib/integrations/slack/send_on_slack_service.rb', 'new_path': 'lib/integrations/slack/send_on_slack_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,7 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService\n end\n \n def invalid_message?\n- (message.o...
Ruby
363ffdbde39c82f889710fc45fd6b7d0a85281fb
500
2023-04-03 12:03:58+05:30
-19,800
['44f73e044ab3e44927ce20172064f49581670fe1']
fix: Disable form if pre-chat disabled on new conversation (#6813)
[{'old_path': 'app/javascript/widget/components/PreChat/Form.vue', 'new_path': 'app/javascript/widget/components/PreChat/Form.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -63,12 +63,13 @@ import messageFormatterMixin from 'shared/mixins/messageFormatterMixin';\n import { isEmptyObject } from 'widget/helpers/...
Ruby
d2d6d271c3c885bf67dcbdb7cd6b73a649b84b22
622
2023-04-03 13:53:59+05:30
-19,800
['363ffdbde39c82f889710fc45fd6b7d0a85281fb']
CW-1399 Phone number import (#6815)
[{'old_path': 'app/jobs/data_import_job.rb', 'new_path': 'app/jobs/data_import_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -20,24 +20,38 @@ class DataImportJob < ApplicationJob\n contact = init_contact(params, account)\n \n contact.name = params[:name] if params[:name].present?\n- contact.assi...
Ruby
268eababa3c98215c95c170c8872f12ef555c339
90
2023-04-03 19:51:27+05:30
-19,800
['d2d6d271c3c885bf67dcbdb7cd6b73a649b84b22']
feat: Adds an option to edit City/Country (#6792) * feat: Adds an option to edit City/Country * chore: Minor fix
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/contact.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/contact.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -132,6 +132,17 @@\n "PLACEHOLDER": "Enter the company name",\n "LABEL": "Company Name"\n },\n+ "COUNTRY":...
Ruby
6a0ca35de4c984dbc527ae475d50ada44f6b8289
622
2023-04-04 08:57:27+05:30
-19,800
['268eababa3c98215c95c170c8872f12ef555c339']
Feat: detect language of the message content (#6660)
[{'old_path': 'app/javascript/dashboard/helper/automationHelper.js', 'new_path': 'app/javascript/dashboard/helper/automationHelper.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -136,6 +136,7 @@ export const getConditionOptions = ({\n team_id: teams,\n campaigns: generateConditionOptions(campaigns),\n ...
Ruby
a040aee96bfde336499b4ba05d770f091e353f05
583
2023-04-04 08:57:55+05:30
-19,800
['6a0ca35de4c984dbc527ae475d50ada44f6b8289']
feat: allow adding custom attributes to conversations from the SDK (#6782) * feat: add conversation attributes method to sdk and widget app * feat: add endpoints to update custom attributes * refactor: update SDK api * feat: add api and actions for conversation updates * fix: error message * test: custo...
[{'old_path': 'app/controllers/api/v1/widget/conversations_controller.rb', 'new_path': 'app/controllers/api/v1/widget/conversations_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,6 +65,16 @@ class Api::V1::Widget::ConversationsController < Api::V1::Widget::BaseController\n head :ok\n end\n ...
Ruby
110e28d08e73980b63f528ebd34f45bcf1da7fb2
90
2023-04-04 13:37:13+05:30
-19,800
['a040aee96bfde336499b4ba05d770f091e353f05']
chore: Disable import option in agent account (#6822)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/contacts/components/Header.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/contacts/components/Header.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -70,6 +70,7 @@\n </woot-button>\n \n <woot-button\n+ v-if="isAdmin"...
Ruby
a0eafc94d7d3345aaa88a36d2d4df09a007163d8
500
2023-04-04 13:37:51+05:30
-19,800
['110e28d08e73980b63f528ebd34f45bcf1da7fb2']
fix: Pre-chat message is not showing in campaign (#6821) * Fix pre-chat form header issue * Show pre-message if pre-chat form enabled
[{'old_path': 'app/javascript/widget/components/PreChat/Form.vue', 'new_path': 'app/javascript/widget/components/PreChat/Form.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -105,10 +105,13 @@ export default {\n return this.hasActiveCampaign || this.preChatFormEnabled;\n },\n headerMessage() {\n+ ...
Ruby
b7d0016d99798677ec33e861a69f69db66455293
583
2023-04-04 16:22:45+05:30
-19,800
['a0eafc94d7d3345aaa88a36d2d4df09a007163d8']
fix: inconsistent usage of snake_case and camelCase (#6824)
[{'old_path': 'app/javascript/dashboard/api/reports.js', 'new_path': 'app/javascript/dashboard/api/reports.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,8 +14,8 @@ class ReportsAPI extends ApiClient {\n to,\n type = 'account',\n id,\n- group_by,\n- business_hours,\n+ groupBy,\n+ bus...
Ruby
ebd5fbef1778cb73a16f859171ea5fc18b719ff5
540
2023-04-04 09:56:58-07:00
25,200
['b7d0016d99798677ec33e861a69f69db66455293']
chore: Use feature_flags attribute instead of settings_flags (#6820) * chore: Use feature_flag instead of settings_flag * Remove unnecessary changes
[{'old_path': 'app/javascript/dashboard/routes/dashboard/settings/account/Index.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/settings/account/Index.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -39,12 +39,12 @@\n <label v-if="featureInboundEmailEnabled">\n {{ $t(\'GENERAL...
Ruby
b39e5bb64258b957dc4fbf35627871baa0f0a6a6
583
2023-04-04 09:58:10-07:00
-19,800
['ebd5fbef1778cb73a16f859171ea5fc18b719ff5']
feat: Remove isAdmin check on merge contact button (#6825)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -109,7 +109,6 @@\n @click="toggleEditModal"\n />\n <wo...
Ruby
2ca8726005548672301bb4efb186c41294a044d5
258
2023-04-04 12:07:13-07:00
-7,200
['b39e5bb64258b957dc4fbf35627871baa0f0a6a6']
feat: Extend the message limit for the Facebook Channels (#6816)
[{'old_path': 'app/javascript/shared/helpers/MessageTypeHelper.js', 'new_path': 'app/javascript/shared/helpers/MessageTypeHelper.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@ export const isASubmittedFormMessage = (message = {}) =>\n \n export const MESSAGE_MAX_LENGTH = {\n GENERAL: 10000,\n- F...
Ruby
ee131011f902a247bfd7cf2ce85bb6285f1483af
90
2023-04-05 12:42:39+05:30
-19,800
['2ca8726005548672301bb4efb186c41294a044d5']
fix: Canned Responses are not sent in the new message editor (#6829)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -260,9 +260,7 @@ export default {\n this.$emit('success');\n ...
Ruby
ab6276327a75a1413413f9595b43c68568076453
90
2023-04-06 15:09:38+05:30
-19,800
['ee131011f902a247bfd7cf2ce85bb6285f1483af']
feat: Show year in message timestamp if the message is not from the current year (#6830) * feat: Shows year in message timestamp if the message is not from the current year * chore: Naming fix
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/bubble/Actions.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/bubble/Actions.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -175,7 +175,7 @@ export default {\n return MESSAGE_STATUS.SENT === this.messageS...
Ruby
be2356724eff39ceef6176d3f840f0be33330b8b
90
2023-04-06 16:33:31+05:30
-19,800
['ab6276327a75a1413413f9595b43c68568076453']
fix: Time specs (#6841)
[{'old_path': 'app/javascript/dashboard/mixins/specs/time.spec.js', 'new_path': 'app/javascript/dashboard/mixins/specs/time.spec.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -11,9 +11,8 @@ describe('#messageStamp', () => {\n \n describe('#messageTimestamp', () => {\n it('should return the message date in th...
Ruby
37dd898c9a08583c705a6c1a9b85a7e1677174fc
11
2023-04-06 18:56:56+05:30
-3,600
['be2356724eff39ceef6176d3f840f0be33330b8b']
Search bar improvements (#6827) * chore: implement search improvement Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com> * Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.gi...
[{'old_path': 'app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -84,6 +84,11 @@ export default {\n display: inline-flex;\n align-items: ce...
Ruby
406e8405eba0d70e963d8643f513e4888bc1e16e
583
2023-04-06 20:48:49+05:30
-19,800
['37dd898c9a08583c705a6c1a9b85a7e1677174fc']
fix: Specs failing for teams/actions.js (#6845) * fix: specs failing * fix: specs for labels and inboxes * Update reports.js --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
[{'old_path': 'app/javascript/dashboard/store/modules/reports.js', 'new_path': 'app/javascript/dashboard/store/modules/reports.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -7,7 +7,7 @@ import { REPORTS_EVENTS } from '../../helper/AnalyticsHelper/events';\n import {\n reconcileHeatmapData,\n clampDataBetwe...
Ruby
a521762dd6913c0b9a2caacc549d55ece974d89a
500
2023-04-07 13:42:54+05:30
-19,800
['406e8405eba0d70e963d8643f513e4888bc1e16e']
feat: Support `after` param in messages end point (#6848) Adds support to `after` param while fetching messages Fixes: https://linear.app/chatwoot/issue/CW-1475/support-after-param-in-messages-end-point
[{'old_path': 'app/finders/message_finder.rb', 'new_path': 'app/finders/message_finder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -22,11 +22,29 @@ class MessageFinder\n \n def current_messages\n if @params[:after].present? && @params[:before].present?\n- messages.reorder('created_at asc').where('...
Ruby
71c5a1e1d4d46170abf4d19c708cc3cba745a949
650
2023-04-07 13:44:30+05:30
-19,800
['a521762dd6913c0b9a2caacc549d55ece974d89a']
feat: add lograge to improve logging (#5423) - Add lograge gem to improve rails logging using `LOGRAGE_ENABLED` env variable - When enabled Single line log for requests in JSON formatting - Switch sidekiq also to use JSON formatting Fixes: chatwoot/product#437 --------- Co-authored-by: Sojan Jose <sojan@pepal...
[{'old_path': '.env.example', 'new_path': '.env.example', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -110,6 +110,8 @@ AWS_REGION=\n RAILS_LOG_TO_STDOUT=true\n LOG_LEVEL=info\n LOG_SIZE=500\n+# Configure this environment variable if you want to use lograge instead of rails logger\n+#LOGRAGE_ENABLED=true\n \n ### ...
Ruby
463c09184c6a6ce2791ed05e27a7d4e6fc63fe45
540
2023-04-07 12:01:03-07:00
25,200
['040e9a732f143a73fb8ece6f2583311b03c06a35']
fix: Disable processing events if account is suspended (#6849)
[{'old_path': 'app/jobs/webhooks/whatsapp_events_job.rb', 'new_path': 'app/jobs/webhooks/whatsapp_events_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,10 +1,9 @@\n class Webhooks::WhatsappEventsJob < ApplicationJob\n- queue_as :default\n+ queue_as :low\n \n def perform(params = {})\n channel = f...
Ruby
91dc7733b0147c1cb0ebee7b7f28f56617592b8a
540
2023-04-07 13:25:18-07:00
25,200
['463c09184c6a6ce2791ed05e27a7d4e6fc63fe45']
feat: Use inbox image as avatar for the bot (#6859)
[{'old_path': '.env.example', 'new_path': '.env.example', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -161,9 +161,6 @@ ANDROID_SHA256_CERT_FINGERPRINT=AC:73:8E:DE:EB:56:EA:CC:10:87:02:A7:65:37:7B:38:\n # for mobile apps\n # FCM_SERVER_KEY=\n \n-## Bot Customizations\n-USE_INBOX_AVATAR_FOR_BOT=true\n-\n ### APM an...
Ruby
e753365493e1a3ac00251e1b652b0b85397b0abc
500
2023-04-10 13:37:12+05:30
-19,800
['91dc7733b0147c1cb0ebee7b7f28f56617592b8a']
feat: Add the ability to change the agent availability status (#6855) * Add the option change agent availability * Remove callout * Move `AVAILABILITY_STATUS_KEYS` to constants * Update app/javascript/dashboard/i18n/locale/en/agentMgmt.json Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.gi...
[{'old_path': 'app/javascript/dashboard/components/layout/AvailabilityStatus.vue', 'new_path': 'app/javascript/dashboard/components/layout/AvailabilityStatus.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -52,8 +52,9 @@ import WootDropdownMenu from 'shared/components/ui/dropdown/DropdownMenu';\n import WootDro...
Ruby
138afd9af6a55888a3e8e081de47d8d8024f24fb
622
2023-04-10 14:44:27+05:30
-19,800
['e753365493e1a3ac00251e1b652b0b85397b0abc']
Feat: Fetch whatsapp templates till next cursor (#6835)
[{'old_path': 'app/services/whatsapp/providers/whatsapp_cloud_service.rb', 'new_path': 'app/services/whatsapp/providers/whatsapp_cloud_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,12 @@ class Whatsapp::Providers::WhatsappCloudService < Whatsapp::Providers::BaseServi\n \n def sync_templates...
Ruby
da11feb39bfb9c8817ca09e35bc481ea18fe52c8
583
2023-04-10 15:44:06+05:30
-19,800
['138afd9af6a55888a3e8e081de47d8d8024f24fb']
feat: one-click codepen for widget configuration (#6865) * feat: allow codepen in code * feat: enable codepen in config * feat: update codepen title --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
[{'old_path': 'app/javascript/dashboard/components/Code.vue', 'new_path': 'app/javascript/dashboard/components/Code.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,8 +1,23 @@\n <template>\n <div class="code--container">\n- <button class="button small button--copy-code" @click="onCopy">\n+ <div class=...
Ruby
e877b01e00a0358ef4761364ca427980909e3857
540
2023-04-10 15:47:13+05:30
25,200
['da11feb39bfb9c8817ca09e35bc481ea18fe52c8']
fix: Invalidate cache if any of the related objects change (#6860) * fix: Invalidate cache if any of the related objects change * Add specs: * Update context --------- Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
[{'old_path': 'app/models/concerns/account_cache_revalidator.rb', 'new_path': 'app/models/concerns/account_cache_revalidator.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,9 +2,7 @@ module AccountCacheRevalidator\n extend ActiveSupport::Concern\n \n included do\n- after_save :update_account_cache\n- ...
Ruby
e69e0bc984eb710a0d76e5ccfa033b998b845d58
622
2023-04-10 19:12:20+05:30
-19,800
['e877b01e00a0358ef4761364ca427980909e3857']
Add status reopen activity message for api channel (#6839)
[{'old_path': 'app/models/concerns/activity_message_handler.rb', 'new_path': 'app/models/concerns/activity_message_handler.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,7 +32,13 @@ module ActivityMessageHandler\n end\n \n def send_automation_activity\n- content = I18n.t("conversations.activity.statu...
Ruby
d49989ace1b7031ca29319002af15c4bebe8e5d3
622
2023-04-10 20:44:43+05:30
-19,800
['e69e0bc984eb710a0d76e5ccfa033b998b845d58']
chore: Specs for Whatsapp template pagination (#6870) Spec for https://github.com/chatwoot/chatwoot/pull/6835
[{'old_path': 'spec/services/whatsapp/providers/whatsapp_cloud_service_spec.rb', 'new_path': 'spec/services/whatsapp/providers/whatsapp_cloud_service_spec.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -112,9 +112,20 @@ describe Whatsapp::Providers::WhatsappCloudService do\n context 'when called' do\n ...
Ruby
ad75a79135db8179fc3a05c55db58710a0cbae09
650
2023-04-10 21:07:01+05:30
-19,800
['d49989ace1b7031ca29319002af15c4bebe8e5d3']
feat: add pagination support for audit logs API (#6843) Add pagination support for audit logs API
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,7 +62,5 @@ test/cypress/videos/*\n /config/*.enc\n \n .vscode/settings.json\n-\n # yalc for local testing\n .yalc\n-yalc.lock\n\\ No newline at end of file\n'}, {'old_path': 'enterprise/app/controllers/api/v1/acc...
Ruby
cf934450ab9976b97b4aa32f837d4aa2b19a9359
540
2023-04-10 14:13:08-07:00
25,200
['ad75a79135db8179fc3a05c55db58710a0cbae09']
chore: Remove context menu on links (#6874)
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/Message.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -444,9 +444,9 @@ export default {\n this.hasImageError = true;\n },\n openContextMenu(...
Ruby
f4e121cc4417d83a27c9eb583cdafc1f0a94bd8e
540
2023-04-10 18:23:20-07:00
25,200
['cf934450ab9976b97b4aa32f837d4aa2b19a9359']
fix: Update the profile API URL in the documentation (#6875)
[{'old_path': 'swagger/paths/index.yml', 'new_path': 'swagger/paths/index.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -360,7 +360,7 @@\n \n \n # Profile\n-/profile:\n+/api/v1/profile:\n $ref: ./profile/index.yml\n \n \n'}, {'old_path': 'swagger/swagger.json', 'new_path': 'swagger/swagger.json', 'type': <M...
Ruby
17ff1f11a7aa966b2819d15e2b68dc98f146ab6e
583
2023-04-11 09:40:54+05:30
-19,800
['f4e121cc4417d83a27c9eb583cdafc1f0a94bd8e']
feat: better download for conversation traffic heatmap (#6755) * feat: genearte report in a grid * refactor: update API usage * refactor: separate generate method * refactor: abstract transform_data * feat: annotate with comments * feat: add explicit timezone * feat: download data only in user timezo...
[{'old_path': 'app/controllers/api/v2/accounts/reports_controller.rb', 'new_path': 'app/controllers/api/v2/accounts/reports_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,5 +1,7 @@\n class Api::V2::Accounts::ReportsController < Api::V1::Accounts::BaseController\n include Api::V2::Accounts::Repor...
Ruby
09ce85b30db5f4356c857b52679ea6baddcf9c45
9
2023-04-11 15:50:46+05:30
-19,800
['17ff1f11a7aa966b2819d15e2b68dc98f146ab6e']
Chore: moves localstorage helper as a shared utility (#6838) * Chore: moves localstorage helper as a shared utility and refactors constants * Refactors constants file * Fixes merge conflicts * Delete constants.js --------- Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
[{'old_path': 'app/javascript/dashboard/api/testimonials.js', 'new_path': 'app/javascript/dashboard/api/testimonials.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,5 +1,5 @@\n /* global axios */\n-import wootConstants from 'dashboard/constants';\n+import wootConstants from 'dashboard/constants/globals';\n \n...
Ruby
610463c9802045ed9ab952a2428d2c855e1169eb
622
2023-04-11 17:48:17+05:30
-19,800
['09ce85b30db5f4356c857b52679ea6baddcf9c45']
fix: flatten template array for whatsapp templates (#6880) - Refactor the WhatsApp template sync job - Fix the issue when fetching the next set of templates
[{'old_path': 'app/services/whatsapp/providers/whatsapp_cloud_service.rb', 'new_path': 'app/services/whatsapp/providers/whatsapp_cloud_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,13 +23,24 @@ class Whatsapp::Providers::WhatsappCloudService < Whatsapp::Providers::BaseServi\n end\n \n def sync_...
Ruby
d45512df72fa895b9ee4cf1a9fa1c177d3fb4e67
622
2023-04-12 13:54:01+05:30
-19,800
['2731c2a5be920921c39b0b904ae7742d713e375d']
feat: Account deletion with deleteObjectJob (#6885) Fixes: https://linear.app/chatwoot/issue/CW-1365/allow-super-admin-to-delete-an-account Co-authored-by: Sojan Jose <sojan@pepalo.com>
[{'old_path': 'app/controllers/super_admin/accounts_controller.rb', 'new_path': 'app/controllers/super_admin/accounts_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,4 +47,11 @@ class SuperAdmin::AccountsController < SuperAdmin::ApplicationController\n Internal::SeedAccountJob.perform_later(re...
Ruby
44837aa6570971b20da113bf327fa036ad2a7020
622
2023-04-12 14:16:24+05:30
-19,800
['d04344c09415a47887f3a44f2371af47635d58e6']
Fix: save twitter profile for inbox (#6667) Fixes: #737
[{'old_path': 'Gemfile', 'new_path': 'Gemfile', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -87,7 +87,7 @@ gem 'line-bot-api'\n gem 'twilio-ruby', '~> 5.66'\n # twitty will handle subscription of twitter account events\n # gem 'twitty', git: 'https://github.com/chatwoot/twitty'\n-gem 'twitty'\n+gem 'twitty', '~> ...
Ruby
9ca21df9fd842de090cabcdc88ccf005f2a90bff
622
2023-04-13 14:52:12+05:30
-19,800
['44837aa6570971b20da113bf327fa036ad2a7020']
feat: Route emails based on x-original-to in email channel (#6901) Fixes: #6608 ref: https://linear.app/chatwoot/issue/CW-30/emails-not-routed-based-on-x-original-to
[{'old_path': 'app/finders/email_channel_finder.rb', 'new_path': 'app/finders/email_channel_finder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -7,12 +7,18 @@ class EmailChannelFinder\n \n def perform\n channel = nil\n- recipient_mails = @email_object.to.to_a + @email_object.cc.to_a\n+\n recipien...
Ruby
2b736f4698bf63eaa8023cd831775dd0fe60da21
622
2023-04-13 10:42:38-07:00
-19,800
['9ca21df9fd842de090cabcdc88ccf005f2a90bff']
fix: Update from_email in the name to fix the syntax error (#6900)
[{'old_path': 'app/mailers/conversation_reply_mailer.rb', 'new_path': 'app/mailers/conversation_reply_mailer.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -116,7 +116,8 @@ class ConversationReplyMailer < ApplicationMailer\n \n def channel_email_with_name\n if @conversation.assignee.present?\n- I18n....
Ruby
4d49b81f1c95afa9558e5413757871d3513cdcdb
583
2023-04-14 15:22:08+05:30
-19,800
['2b736f4698bf63eaa8023cd831775dd0fe60da21']
fix: use response.status instead of success (#6906) * fix: use response.status instead of success * refactor: use sentry to capture exception * refactor: explicitly convert to i
[{'old_path': 'app/controllers/twitter/callbacks_controller.rb', 'new_path': 'app/controllers/twitter/callbacks_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,7 +14,7 @@ class Twitter::CallbacksController < Twitter::BaseController\n redirect_to app_twitter_inbox_agents_url(account_id: accou...
Ruby
1886d4ce081ba2105dd2793e9bf4fc2c24f85184
583
2023-04-14 16:48:28+05:30
-19,800
['4d49b81f1c95afa9558e5413757871d3513cdcdb']
fix: response body in twitter callback (#6907) * fix: response body * fix: tests
[{'old_path': 'app/controllers/twitter/callbacks_controller.rb', 'new_path': 'app/controllers/twitter/callbacks_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -62,7 +62,7 @@ class Twitter::CallbacksController < Twitter::BaseController\n \n return unless response.status.to_i == 200\n \n- parsed...
Ruby
ca2506a94165b37a357d950938b09cea94898471
583
2023-04-17 14:43:10+05:30
-19,800
['1886d4ce081ba2105dd2793e9bf4fc2c24f85184']
feat: allow sorting of articles (#6833) * feat: sort by position * chore: whitespace change * feat: add border bottom color to list item * feat: allow dragging articles * feat: add migration to reorder all articles * feat: add onsort method * feat: finish UI sorting * feat: show 50 per page in art...
[{'old_path': 'app/controllers/api/v1/accounts/articles_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/articles_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,14 +1,19 @@\n class Api::V1::Accounts::ArticlesController < Api::V1::Accounts::BaseController\n before_action :portal\n b...
Ruby
a38ecf3dde41040a5df3b207d988323412e75fd0
583
2023-04-17 17:14:08+05:30
-19,800
['9090eabb8a2ea35180c855f8e6856af6c41077be']
feat: show webhook verify token for WhatsApp (#6916) - Display WhatsApp webhook verify token in configuration settings
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/inboxMgmt.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/inboxMgmt.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -478,6 +478,8 @@\n "WHATSAPP_SECTION_UPDATE_TITLE": "Update API Key",\n "WHATSAPP_SECTION_UPDATE_PLACEHOLDER": "Ente...
Ruby
80dcd17f6ee0e3114abee3ef4c932aad6f5f14b1
90
2023-04-17 17:50:30+05:30
-19,800
['a38ecf3dde41040a5df3b207d988323412e75fd0']
fix: Border color for CSAT component in widget (#6915)
[{'old_path': 'app/javascript/shared/components/CustomerSatisfaction.vue', 'new_path': 'app/javascript/shared/components/CustomerSatisfaction.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -233,4 +233,10 @@ export default {\n }\n }\n }\n+\n+@media (prefers-color-scheme: dark) {\n+ .customer-satisfaction...
Ruby
9e2f991484299bf548d544034c10853ad4cad130
650
2023-04-17 19:11:05+05:30
-19,800
['80dcd17f6ee0e3114abee3ef4c932aad6f5f14b1']
feat: audit logs UI (#6803) * feat: init auditlogs ui * chore: add api * fix: action * chore: add action,username,time * feat: add pagination support * chore: format time * chore: refactor * chore: refactor auditlogs api response * chore: update icon * chore: rubocop fixes * Fixes the way...
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,5 +62,8 @@ test/cypress/videos/*\n /config/*.enc\n \n .vscode/settings.json\n+.vscode\n+\n # yalc for local testing\n .yalc\n+yalc.lock\n'}, {'old_path': None, 'new_path': 'app/javascript/dashboard/api/auditLogs....
Ruby
c9ce9e5b8f4f5bec2e0b43c284aecb191b70820c
90
2023-04-17 20:32:09+05:30
-19,800
['9e2f991484299bf548d544034c10853ad4cad130']
feat: Improved country code in contact form view. (#6801) * feat: Improved country code in contact. * chore: Minor fixes * chore: Minor fixes * chore: Adds arrow key navigation and cursor pointer * chore: Minor fix * chore: Code clean up * chore: Handle outside click --------- Co-authored-by: M...
[{'old_path': 'app/javascript/dashboard/components/index.js', 'new_path': 'app/javascript/dashboard/components/index.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@ import DropdownMenu from 'shared/components/ui/dropdown/DropdownMenu';\n import FeatureToggle from './widgets/FeatureToggle';\n impor...
Ruby
4505c5dda3e95f0497e97a331dcd4f7763e6d1af
650
2023-04-18 00:35:35+05:30
-19,800
['c9ce9e5b8f4f5bec2e0b43c284aecb191b70820c']
chore: add build id to settings page (#6873) - Adds a build Id to the settings page
[{'old_path': '.dockerignore', 'new_path': '.dockerignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,8 +1,6 @@\n .bundle\n .env\n .env.*\n-.git\n-.gitignore\n docker-compose.*\n docker/Dockerfile\n docker/dockerfiles\n'}, {'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY:...
Ruby
905e77048f7a8860178339d88853ab914492274b
622
2023-04-18 00:40:55+05:30
-19,800
['4505c5dda3e95f0497e97a331dcd4f7763e6d1af']
chore: Contact import improvements (CW-1362) (#6747) Fixes: https://linear.app/chatwoot/issue/CW-1362/csv-imports-are-not-working-properly Fixes: #3462 --------- Co-authored-by: Sojan <sojan@pepalo.com>
[{'old_path': 'app/jobs/data_import_job.rb', 'new_path': 'app/jobs/data_import_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,53 +5,123 @@ class DataImportJob < ApplicationJob\n queue_as :low\n \n def perform(data_import)\n- contacts = []\n- data_import.update!(status: :processing)\n- csv = ...
Ruby
026e03c3073284be4e5d02b71d7027be95f9f8b2
394
2023-04-18 19:18:23+05:30
21,600
['37b709867313ab0ceef048e61e95f6031f27511f']
fix: Handle spaces in CC/BCC email lists (#6788) When the CC field is generated in the UI, the email values are joined together with ", " but when they are parsed, we currently split by just ",". This causes an error on the backend and on the frontend. It seems reasonable to update the code to allow whitespace ...
[{'old_path': 'app/builders/messages/message_builder.rb', 'new_path': 'app/builders/messages/message_builder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -49,10 +49,10 @@ class Messages::MessageBuilder\n return unless @conversation.inbox&.inbox_type == 'Email'\n \n cc_emails = []\n- cc_emails = @pa...
Ruby
c5c36af5291d532b78bfe15a006b4c14ec4a057f
540
2023-04-18 18:30:01-07:00
25,200
['026e03c3073284be4e5d02b71d7027be95f9f8b2']
fix: Remove fallback phone_number search in WhatsApp event processing (#6904)
[{'old_path': 'app/jobs/webhooks/whatsapp_events_job.rb', 'new_path': 'app/jobs/webhooks/whatsapp_events_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -2,7 +2,7 @@ class Webhooks::WhatsappEventsJob < ApplicationJob\n queue_as :low\n \n def perform(params = {})\n- channel = find_channel_from_whatsapp...
Ruby
e6505fc7a42ca9f3de1735939b488a18a979adcb
540
2023-04-18 19:44:57-07:00
25,200
['c5c36af5291d532b78bfe15a006b4c14ec4a057f']
chore: Cache the dashboard app on the first load (#6774)
[{'old_path': 'app/javascript/dashboard/components/widgets/DashboardApp/Frame.vue', 'new_path': 'app/javascript/dashboard/components/widgets/DashboardApp/Frame.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n <template>\n- <div class="dashboard-app--container">\n+ <div v-if="hasOpenedAtleastOnce...
Ruby
b93b8cdab62679936af10cd8f41878a6c8f4da22
445
2023-04-19 10:42:45+05:30
-10,800
['e6505fc7a42ca9f3de1735939b488a18a979adcb']
Fix flaky reporting_event_listener_spec (#6923)
[{'old_path': 'spec/listeners/reporting_event_listener_spec.rb', 'new_path': 'spec/listeners/reporting_event_listener_spec.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -63,8 +63,9 @@ describe ReportingEventListener do\n \n # this ensures last_non_human_activity method accurately accounts for handoff event...
Ruby
ea2c4423288087d2a007b1988291ee55da9a2aaa
540
2023-04-18 22:35:11-07:00
25,200
['b93b8cdab62679936af10cd8f41878a6c8f4da22']
chore: Add account_id as custom_attribute for cloud users (#6926)
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -114,6 +114,7 @@ export default {\n },\n 'currentChat.id'() {\n this.f...
Ruby
9c0259da6ba278b720ca0f1f57be3ddd13551d81
583
2023-04-19 13:23:14+05:30
-19,800
['ea2c4423288087d2a007b1988291ee55da9a2aaa']
feat: add priority field to conversation (#6921) (#6927) * feat: add priority * feat: add indexes
[{'old_path': 'app/models/conversation.rb', 'new_path': 'app/models/conversation.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,6 +11,7 @@\n # first_reply_created_at :datetime\n # identifier :string\n # last_activity_at :datetime not null\n+# priority :integer\n #...
Ruby
821d49943aead284881d7eb988c54b94383c221a
622
2023-04-19 16:43:51+05:30
-19,800
['9c0259da6ba278b720ca0f1f57be3ddd13551d81']
Delete inbox api doc update (#6930)
[{'old_path': 'swagger/paths/index.yml', 'new_path': 'swagger/paths/index.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -310,8 +310,6 @@\n - $ref: '#/parameters/inbox_id'\n get:\n $ref: ./application/inboxes/inbox_members/show.yml\n- delete:\n- $ref: ./application/inboxes/inbox_members/delete.ym...
Ruby
5cdc7d654a461d9b20d583e19ed01e33a31f202d
622
2023-04-19 16:55:25+05:30
-19,800
['821d49943aead284881d7eb988c54b94383c221a']
feat: Support multiple emails in email transcript automation (#6924)
[{'old_path': 'app/services/action_service.rb', 'new_path': 'app/services/action_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -52,6 +52,8 @@ class ActionService\n end\n \n def send_email_transcript(emails)\n+ emails = emails[0].gsub(/\\s+/, '').split(',')\n+\n emails.each do |email|\n ...
Ruby