Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
8b3d13a9208d84c5f9073b5abb047306779b6ace
650
2023-05-19 17:59:33+05:30
-19,800
['dcdd58bae52a70d37badc6e939e08d9fb6b83cd4']
fix: add libvips to Dockerfile for rails7 (#7133) Fixes: #7124 Fixes: https://linear.app/chatwoot/issue/CW-1805/investigate-217-upgrade-issues-for-dockerk8s-installations
[{'old_path': 'docker/Dockerfile', 'new_path': 'docker/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,7 +36,7 @@ COPY Gemfile Gemfile.lock ./\n # https://github.com/googleapis/google-cloud-ruby/issues/13306\n # adding xz as nokogiri was failing to build libxml\n # https://github.com/chatwoot/chatwoo...
Ruby
1bcc438b21fd004d0c136366c4ad6e3ace3f0f63
90
2023-05-19 20:55:01+05:30
-19,800
['8b3d13a9208d84c5f9073b5abb047306779b6ace']
fix: Problem when using Brazilian Portuguese (#7135) Fixes: #7127
[{'old_path': 'app/javascript/shared/helpers/DateHelper.js', 'new_path': 'app/javascript/shared/helpers/DateHelper.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,7 +32,8 @@ export const isTimeAfter = (h1, m1, h2, m2) => {\n };\n \n export const generateRelativeTime = (value, unit, languageCode) => {\n- con...
Ruby
e3f4be97c06a774694819241d923ed035467f42a
603
2023-05-19 22:04:34+05:30
-19,800
['1f4d096804ad5306cb663b3f7f40db0b0bb62a4d']
fix: Reauthorize when channel settings updated (#7134) Fixes: https://linear.app/chatwoot/issue/CW-1803/bug-inbox-doesnt-update-reauthorisation-required-automattically
[{'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': "@@ -44,26 +44,7 @@ class Api::V1::Accounts::InboxesController < Api::V1::Accounts::BaseController\n def update\n @inbox.update!...
Ruby
b8dae07c0f6e1b0db0edf8a9f84fc85716b057e4
540
2023-05-22 09:05:05+05:30
25,200
['e3f4be97c06a774694819241d923ed035467f42a']
feat: Add an option to use darkMode only in the widget (#7151)
[{'old_path': 'app/javascript/sdk/constants.js', 'new_path': 'app/javascript/sdk/constants.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,3 +1,3 @@\n export const BUBBLE_DESIGN = ['standard', 'expanded_bubble'];\n export const WIDGET_DESIGN = ['standard', 'flat'];\n-export const DARK_MODE = ['light', 'auto']...
Ruby
e8f56d0e56a1703e14465462ab0aea2e596157ed
90
2023-05-21 21:07:37-07:00
-19,800
['b8dae07c0f6e1b0db0edf8a9f84fc85716b057e4']
chore: Update greeting message label in settings (#7088)
[{'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': '@@ -83,7 +83,7 @@\n },\n "CHANNEL_GREETING_TOGGLE": {\n "LABEL": "Enable channel greeting",\n- "...
Ruby
d6ce1ceeeb177266fb69bd32e94487c6c1145a05
583
2023-05-22 11:01:01+05:30
-19,800
['e8f56d0e56a1703e14465462ab0aea2e596157ed']
fix: CSAT chart showing incorrect data (#7152) * fix: computation of data for csat chart * fix: make horizontal chart reactive
[{'old_path': 'app/javascript/dashboard/components/widgets/chart/HorizontalBarChart.js', 'new_path': 'app/javascript/dashboard/components/widgets/chart/HorizontalBarChart.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,6 +45,14 @@ export default {\n default: () => {},\n },\n },\n+ watch: {\n+ ...
Ruby
0e903d23657971aad0c269b026bd11b742e0935c
622
2023-05-22 13:51:14+05:30
-19,800
['d6ce1ceeeb177266fb69bd32e94487c6c1145a05']
chore: Add delay for slack job when message has attachments (#7107)
[{'old_path': 'app/jobs/hook_job.rb', 'new_path': 'app/jobs/hook_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -20,8 +20,14 @@ class HookJob < ApplicationJob\n return unless ['message.created'].include?(event_name)\n \n message = event_data[:message]\n-\n- Integrations::Slack::SendOnSlackService...
Ruby
590e4e9c1c590e264206fe880cdb00da2a169220
622
2023-05-22 13:51:56+05:30
-19,800
['0e903d23657971aad0c269b026bd11b742e0935c']
Fix: prevent IMAPBadResponse exception from sending the authorization mail (#7154)
[{'old_path': 'app/jobs/inboxes/fetch_imap_emails_job.rb', 'new_path': 'app/jobs/inboxes/fetch_imap_emails_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,9 +7,10 @@ class Inboxes::FetchImapEmailsJob < ApplicationJob\n return unless should_fetch_email?(channel)\n \n process_email_for_channel(chann...
Ruby
d01f2063d0fdc99cf1a0d8205feb0c81d3e1d54e
9
2023-05-22 15:15:19+05:30
-19,800
['590e4e9c1c590e264206fe880cdb00da2a169220']
feat: Creates component to show articles search results [CW-1451] (#7126) * feat: Creates component to show articles search results * Adds story for the component
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/helpCenter.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/helpCenter.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -74,6 +74,14 @@\n "DELETE": "Delete article"\n }\n },\n+ "ARTICLE_SEARCH_RESULT": {\n+ "UNCATEGORIZE...
Ruby
9553329092e92f2105c9b5749cd473d746446bbf
622
2023-05-22 16:01:31+05:30
-19,800
['d01f2063d0fdc99cf1a0d8205feb0c81d3e1d54e']
chore: find instagram_direct_message query (#7157)
[{'old_path': 'app/builders/messages/instagram/message_builder.rb', 'new_path': 'app/builders/messages/instagram/message_builder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,9 +63,9 @@ class Messages::Instagram::MessageBuilder < Messages::Messenger::MessageBuilder\n end\n \n def conversation\n- @co...
Ruby
958c0d79461ee5d5c57b67a9eb319b1aaee29546
583
2023-05-22 16:03:11+05:30
-19,800
['9553329092e92f2105c9b5749cd473d746446bbf']
feat(perf): improve performance of conversation filter API [CW-1605] (#7120) * feat(perf): don't use count * feat(perf): include messages in the conversation query * feat: include contact inboxes * refactor: use blank?
[{'old_path': 'app/services/conversations/filter_service.rb', 'new_path': 'app/services/conversations/filter_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,8 +58,9 @@ class Conversations::FilterService < FilterService\n \n def conversations\n @conversations = @conversations.includes(\n- :...
Ruby
68dedc37ba2c57b1be75f8749bf2e4978a5158e3
650
2023-05-22 17:08:50+05:30
-19,800
['958c0d79461ee5d5c57b67a9eb319b1aaee29546']
chore: update auditlog timestamp format (#7128)
[{'old_path': 'app/javascript/dashboard/routes/dashboard/settings/auditlogs/Index.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/settings/auditlogs/Index.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,7 +37,12 @@\n {{ auditLogItem.remote_address }}\n </td>\n ...
Ruby
d481b9fbcf578fda50d529a213664786e66807e8
622
2023-05-22 18:03:15+05:30
-19,800
['68dedc37ba2c57b1be75f8749bf2e4978a5158e3']
feat: Limit the number of custom filters per user (#7101)
[{'old_path': 'app/controllers/api/v1/accounts/custom_filters_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/custom_filters_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,6 +11,7 @@ class Api::V1::Accounts::CustomFiltersController < Api::V1::Accounts::BaseContro\n @custom_filter...
Ruby
03bbd048a784791297946a0134bd4e9314e776ee
500
2023-05-22 15:34:09-07:00
-19,800
['d481b9fbcf578fda50d529a213664786e66807e8']
chore: Add action to set dark mode from the react-native-widget (#7167) Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
[{'old_path': 'app/javascript/packs/sdk.js', 'new_path': 'app/javascript/packs/sdk.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -146,6 +146,12 @@ const runSDK = ({ baseUrl, websiteToken }) => {\n IFrameHelper.sendMessage('set-locale', { locale: localeToBeUsed });\n },\n \n+ setColorScheme(darkMod...
Ruby
fdbaf98c3b2bde8d0b4e6c560d7e56c00a1de056
540
2023-05-22 17:01:27-07:00
25,200
['03bbd048a784791297946a0134bd4e9314e776ee']
fix: Update breaking specs (#7169)
[{'old_path': 'app/javascript/widget/store/modules/specs/appConfig/actions.spec.js', 'new_path': 'app/javascript/widget/store/modules/specs/appConfig/actions.spec.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -28,7 +28,7 @@ describe('#actions', () => {\n describe('#setColorScheme', () => {\n it('creates ...
Ruby
4f0fcfcbcda5ae837fa077353315e4c5b81a7c50
583
2023-05-23 08:00:01+05:30
-19,800
['fdbaf98c3b2bde8d0b4e6c560d7e56c00a1de056']
feat: allow Microsoft Clarity from CDN (#7163) * feat: add microsoft clarity to main app * feat: mask messages * fix: spacing
[{'old_path': '.env.example', 'new_path': '.env.example', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -173,6 +173,9 @@ ANDROID_SHA256_CERT_FINGERPRINT=AC:73:8E:DE:EB:56:EA:CC:10:87:02:A7:65:37:7B:38:\n ## LogRocket\n # LOG_ROCKET_PROJECT_ID=xxxxx/some-project\n \n+# MICROSOFT CLARITY\n+# MS_CLARITY_TOKEN=xxxxxxxx...
Ruby
2764338453759adacfc648a2940ce638d874d5cf
9
2023-05-23 09:37:40+05:30
-19,800
['4f0fcfcbcda5ae837fa077353315e4c5b81a7c50']
fix: Fixes wrong copy being sent to users via email invite [cw-1290] (#7159) * fix: Fixes invite email copy * fix: Fixes wrong copy being sent to users via email invite
[{'old_path': 'app/views/devise/mailer/confirmation_instructions.html.erb', 'new_path': 'app/views/devise/mailer/confirmation_instructions.html.erb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -9,9 +9,11 @@\n <% if @resource.confirmed? %>\n <p>You can login to your <%= global_config['BRAND_NAME'] || 'Chatwoot'...
Ruby
9c6c19c3e5a971598581ca98e381cb1f95aa6481
583
2023-05-23 16:47:04+05:30
-19,800
['2764338453759adacfc648a2940ce638d874d5cf']
fix: CSAT filter metrics rendering & conversation reports not working [CW-1840, CW-1818] (#7170) * fix: emoji rendering for CSAT * feat: add tests for CSAT Metrics * fix: allow rating in metrics * refactor: hide satisfaction score & total response chart if rating filter is enabled * refactor: optional chai...
[{'old_path': 'app/javascript/dashboard/api/csatReports.js', 'new_path': 'app/javascript/dashboard/api/csatReports.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,10 +35,10 @@ class CSATReportsAPI extends ApiClient {\n });\n }\n \n- getMetrics({ from, to, user_ids, inbox_id, team_id } = {}) {\n+ getM...
Ruby
44b1047b905249f027ddc794c38ad440c92d1062
583
2023-05-23 17:22:47+05:30
-19,800
['9c6c19c3e5a971598581ca98e381cb1f95aa6481']
feat(perf): contacts query performance (#7175) * feat: use more indexable where condition * feat: add index concurrently * chore: update schema * refactor: update index name
[{'old_path': 'app/models/contact.rb', 'new_path': 'app/models/contact.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,6 +19,7 @@\n # index_contacts_on_account_id (account_id)\n # index_contacts_on_lower_email_account_id (lower((email)::text), account_id)\n # index_co...
Ruby
4807052c3781a4b8bd454444665b601fcba91d2d
500
2023-05-23 20:39:15+05:30
-19,800
['44b1047b905249f027ddc794c38ad440c92d1062']
doc: Swagger for conversation priority API (#7172)
[{'old_path': None, 'new_path': 'swagger/paths/application/conversation/toggle_priority.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,28 @@\n+tags:\n+ - Conversations\n+operationId: toggle-priority-of-a-conversation\n+summary: Toggle Priority\n+description: Toggles the priority of conversation\n+securit...
Ruby
5618b5ebd364d3d0b60dbcce51cb72344ceaf355
500
2023-05-24 15:05:31+05:30
-19,800
['4807052c3781a4b8bd454444665b601fcba91d2d']
fix: Enable `ogg` format for audio recording in API channel (#7178)
[{'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': '@@ -501,7 +501,7 @@ export default {\n return `draft-${this.conversationIdByRoute}-${this.reply...
Ruby
bfaca851f1111d1b595a19170c3a8c3e3f70b772
603
2023-05-24 19:56:23+05:30
-19,800
['5618b5ebd364d3d0b60dbcce51cb72344ceaf355']
chore: Throttle conversation transcript endpoints (#7155) - Throttle conversation transcripts to 20 per hour via rack attack Fixes: https://linear.app/chatwoot/issue/CW-1630/throttle-transcript-endpoint
[{'old_path': 'config/initializers/rack_attack.rb', 'new_path': 'config/initializers/rack_attack.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,6 +48,10 @@ class Rack::Attack\n \n throttle('req/ip', limit: 300, period: 1.minute, &:ip)\n \n+ ###-----------------------------------------------###\n+ ###---...
Ruby
8e79cf72e11b5469b1dfd01a48b033c54d5b6d1d
622
2023-05-24 20:22:34+05:30
-19,800
['bfaca851f1111d1b595a19170c3a8c3e3f70b772']
fix: issue with slack job (#7179)
[{'old_path': 'app/jobs/hook_job.rb', 'new_path': 'app/jobs/hook_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,12 +21,9 @@ class HookJob < ApplicationJob\n \n message = event_data[:message]\n if message.attachments.blank?\n- ::SendOnSlackJob.perform_later(message: message,\n- ...
Ruby
88cef88d80da44ec2783ceea7f6420c1aaf4fbb1
90
2023-05-25 12:20:42+05:30
-19,800
['8e79cf72e11b5469b1dfd01a48b033c54d5b6d1d']
fix: Instagram story with video not rendering (#7184) * fix: instagram story with video not rendering * chore: Minor fixes --------- Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.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': '@@ -25,10 +25,14 @@\n <blockquote v-if="storyReply" class="story-reply-quote">\n <spa...
Ruby
123fc7339418693e93442e7082933d1dbc4b4702
650
2023-05-25 14:27:30+05:30
-19,800
['88cef88d80da44ec2783ceea7f6420c1aaf4fbb1']
feat: add audit trail for sign_in and sign_out (#7158) * feat: add audit_trail for sign_in event * chore: ignore unrelated User model columns for auditing * chore: fix prepend call for webhook/automation rule * chore: add spec for sign_in event * chore: refactor sign_in auditlog method to enterprise namesp...
[{'old_path': 'Gemfile.lock', 'new_path': 'Gemfile.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -784,8 +784,8 @@ GEM\n \n PLATFORMS\n arm64-darwin-20\n- arm64-darwin-22\n arm64-darwin-21\n+ arm64-darwin-22\n ruby\n x86_64-darwin-18\n x86_64-darwin-20\n'}, {'old_path': 'app/controllers/devise_ove...
Ruby
6bd0e074dc2a1ec91f7b8396da8cecc1eb9a2180
90
2023-05-25 14:49:56+05:30
-19,800
['123fc7339418693e93442e7082933d1dbc4b4702']
feat: Sort agents on availability status (#7174)
[{'old_path': 'app/javascript/dashboard/components/widgets/conversation/contextMenu/Index.vue', 'new_path': 'app/javascript/dashboard/components/widgets/conversation/contextMenu/Index.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -79,6 +79,7 @@ import MenuItem from './menuItem.vue';\n import MenuItemWithSubme...
Ruby
2c85098698f06d2fd705646616ee39cff79a41c2
500
2023-05-25 18:18:56+05:30
-19,800
['6bd0e074dc2a1ec91f7b8396da8cecc1eb9a2180']
fix: Mentions in assigned/participation notification(#7185)
[{'old_path': 'app/models/notification.rb', 'new_path': 'app/models/notification.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,7 +101,7 @@ class Notification < ApplicationRecord\n I18n.t(\n \'notifications.notification_title.assigned_conversation_new_message\',\n display_id: conversa...
Ruby
776ea6d39afd4a3f4c50c34613109f279d76266a
622
2023-05-25 18:50:00+05:30
-19,800
['2c85098698f06d2fd705646616ee39cff79a41c2']
fix: Help center api doc (#7189)
[{'old_path': 'swagger/definitions/index.yml', 'new_path': 'swagger/definitions/index.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,6 +18,16 @@ custom_attribute:\n $ref: ./resource/custom_attribute.yml\n automation_rule:\n $ref: ./resource/automation_rule.yml\n+portal:\n+ $ref: ./resource/portal.yml\...
Ruby
1d0930ef63908677117f3cb270741f3980e99227
9
2023-05-26 00:54:37+05:30
-19,800
['776ea6d39afd4a3f4c50c34613109f279d76266a']
fix: Updates editor to fix the extra slash issue [cw-1505][cw-1526] (#7091) * fix: Updates editor to fix the extra slash issue * Updates yarn package * Updates yarn package for editor schema --------- Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
[{'old_path': 'yarn.lock', 'new_path': 'yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2180,8 +2180,9 @@\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#b937c3cb44210b7d251daf7669...
Ruby
afc97faa8bae226a915cc4f588d756d489131279
603
2023-05-27 13:24:31+05:30
-19,800
['1d0930ef63908677117f3cb270741f3980e99227']
chore: Rotate pubsub token on password change (#7194) Fixes: https://linear.app/chatwoot/issue/CW-1350/
[{'old_path': 'app/models/concerns/pubsubable.rb', 'new_path': 'app/models/concerns/pubsubable.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,16 @@ module Pubsubable\n included do\n # Used by the actionCable/PubSub Service we use for real time communications\n has_secure_token :pubsub_token\n+...
Ruby
91d1d44aa933523f550ecd57738ce81b18965b4c
88
2023-05-29 15:00:14+05:30
-3,600
['afc97faa8bae226a915cc4f588d756d489131279']
fix: profile picture distortion (#7203) By applying pr-1 on a container div instead of directly on the image (which distorts it), it creates the intended padding effect without any image distortion.
[{'old_path': 'app/views/public/api/v1/portals/articles/show.html.erb', 'new_path': 'app/views/public/api/v1/portals/articles/show.html.erb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,9 @@\n <div class="flex flex-col items-start justify-between w-full md:flex-row md:items-center pt-2">\n <di...
Ruby
3a7633b564b94be04c9359302f3aa8dd227feb8c
603
2023-05-29 21:57:24+05:30
-19,800
['91d1d44aa933523f550ecd57738ce81b18965b4c']
feat: API to create HMAC verified conversations (#7209) Fixes: #6744
[{'old_path': 'app/controllers/api/v1/accounts/contacts/contact_inboxes_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/contacts/contact_inboxes_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,11 +1,13 @@\n class Api::V1::Accounts::Contacts::ContactInboxesController < Api::V1::Accounts...
Ruby
ffc63646906b082f60d984697dbd9958c9f613da
603
2023-05-29 22:23:22+05:30
-19,800
['3a7633b564b94be04c9359302f3aa8dd227feb8c']
chore: Improve Whatsapp Templates Sync (#7210) - update the templates updated at, even if the API request fails ( to prevent jobs from stacking up in case of API failures upstream ) - sequence the job in batches of 25 requests per minutes schedule ( in case API response time is high, also not to send too many request...
[{'old_path': 'app/jobs/channels/whatsapp/templates_sync_scheduler_job.rb', 'new_path': 'app/jobs/channels/whatsapp/templates_sync_scheduler_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -3,10 +3,8 @@ class Channels::Whatsapp::TemplatesSyncSchedulerJob < ApplicationJob\n \n def perform\n Channel::Wha...
Ruby
f1a77ba934bb91f7012461ee1aa3b69a57e6b7e9
583
2023-05-29 23:05:17+05:30
-19,800
['ffc63646906b082f60d984697dbd9958c9f613da']
feat: allow superadmins to reset cache keys for IndexedDB (#7180) Allows super admins to reset the cache for an account. This will force the front end to fetch the data again on the next load. fixes: https://linear.app/chatwoot/issue/CW-1817 Co-authored-by: Sojan <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': "@@ -50,6 +50,13 @@ class SuperAdmin::AccountsController < SuperAdmin::ApplicationController\n # rubocop:enable Rails/I18nLocaleTexts\n ...
Ruby
412d750b6a2dfbccbfffe18e25434bfafeb3f362
650
2023-05-30 14:41:29+05:30
-19,800
['f1a77ba934bb91f7012461ee1aa3b69a57e6b7e9']
feat: auditlogs design refactor cw1764 (#7181) * chore: refactor auditlogs design * chore: refactor aduit log text * chore: fix 60% width for activity column * chore: improve log text formatting * Apply suggestions from code review Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.g...
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,15 +10,22 @@\n "TITLE": "Manage Audit Logs",\n "DESC": "Audit Logs are trails for events and actions in a Chatwo...
Ruby
ae7df60a7507666718b65e5cf991970686496115
90
2023-05-30 18:54:51+05:30
-19,800
['412d750b6a2dfbccbfffe18e25434bfafeb3f362']
fix: Special characters not being decoded (#7218)
[{'old_path': 'app/javascript/widget/components/AgentMessage.vue', 'new_path': 'app/javascript/widget/components/AgentMessage.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,11 +42,10 @@\n </div>\n <p\n v-if="message.showAvatar || hasRecordedResponse"\n+ v-dompurify-html="...
Ruby
373f5f5b6471fc8b5832da5d83a459f6d2f8e53a
603
2023-05-30 19:18:19+05:30
-19,800
['ae7df60a7507666718b65e5cf991970686496115']
chore: Disable coverage reports for .vue files (#7214) - Disable coverage reporting for .vue files fixes: https://linear.app/chatwoot/issue/CW-1331
[{'old_path': '.circleci/config.yml', 'new_path': '.circleci/config.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -157,7 +157,7 @@ jobs:\n - run:\n name: Code Climate Test Coverage\n command: |\n- ~/tmp/cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.front...
Ruby
d93a8d05bc455052fd3d3b4f684216869075edf9
603
2023-05-31 19:17:24+05:30
-19,800
['373f5f5b6471fc8b5832da5d83a459f6d2f8e53a']
chore: Increase character limit for external url fields (#7230) - Increase the external url field validation to 2048 characters fixes: https://github.com/chatwoot/chatwoot/issues/7098
[{'old_path': 'app/models/agent_bot.rb', 'new_path': 'app/models/agent_bot.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,7 @@ class AgentBot < ApplicationRecord\n enum bot_type: { webhook: 0, csml: 1 }\n \n validate :validate_agent_bot_config\n+ validates :outgoing_url, length: { maximum: Limits...
Ruby
abc27fa791941bef003acb3f037a854c6b7ef297
622
2023-05-31 19:23:29+05:30
-19,800
['d93a8d05bc455052fd3d3b4f684216869075edf9']
fix: find mail message by references (#7220)
[{'old_path': 'app/mailboxes/imap/imap_mailbox.rb', 'new_path': 'app/mailboxes/imap/imap_mailbox.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,9 +35,9 @@ class Imap::ImapMailbox\n end\n \n def find_conversation_by_in_reply_to\n- return if in_reply_to.blank?\n+ return if in_reply_to.blank? && @inb...
Ruby
f28533bc47308284ea1574143719e6cd48e9f593
583
2023-06-02 11:11:55+05:30
-19,800
['68f82c11a5a311ff2d5366eb32c9f56e1e634776']
feat(perf): update query to reduce N+1 impact [CW-1926] (#7228) * feat: update query to reduce N+1 impact * feat: remove channel eager loading fixes the error: ActiveRecord::EagerLoadPolymorphicError Exception: Cannot eagerly load the polymorphic association :channel * test: fix search test * chore: revert...
[{'old_path': 'app/finders/conversation_finder.rb', 'new_path': 'app/finders/conversation_finder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -155,9 +155,9 @@ class ConversationFinder\n end\n \n def conversations\n- @conversations = @conversations.includes(\n- :taggings, :inbox, { assignee: { avat...
Ruby
ca9d1087413b811b78d4a6efd74f4da064817592
540
2023-06-02 15:36:41-07:00
25,200
['f28533bc47308284ea1574143719e6cd48e9f593']
fix: Update documentation of filter APIs (#7245)
[{'old_path': 'swagger/paths/application/contacts/filter.yml', 'new_path': 'swagger/paths/application/contacts/filter.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -10,10 +10,13 @@ parameters:\n - name: page\n in: query\n type: integer\n- - name: payload\n+ - name: body\n in: body\n requir...
Ruby
09971fd613369d4765500b8a2092632e371b7814
622
2023-06-03 07:33:36+05:30
-19,800
['ca9d1087413b811b78d4a6efd74f4da064817592']
fix: Wrap references string into array (#7243)
[{'old_path': 'app/mailboxes/imap/imap_mailbox.rb', 'new_path': 'app/mailboxes/imap/imap_mailbox.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -54,7 +54,7 @@ class Imap::ImapMailbox\n \n return if @inbound_mail.references.blank?\n \n- references = @inbound_mail.references\n+ references = Array.wrap(@...
Ruby
12cb97db5f9abd01141c2778c0887ebc4e0ca9e4
452
2023-06-05 14:19:35+05:30
-7,200
['09971fd613369d4765500b8a2092632e371b7814']
fix: Quote database env variables (#7216) Database credentials, and passwords, in particular, can easily contain characters that are reserved in YAML and must be quoted. Example: a case with a password starting with ']'.
[{'old_path': 'config/database.yml', 'new_path': 'config/database.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,18 +11,18 @@ default: &default\n \n development:\n <<: *default\n- database: <%= ENV.fetch(\'POSTGRES_DATABASE\', \'chatwoot_dev\') %>\n- username: <%= ENV.fetch(\'POSTGRES_USERNAME\', \'pos...
Ruby
9203b097d232e192576574ee8860102da6741c90
478
2023-06-05 17:32:21+05:30
-28,800
['12cb97db5f9abd01141c2778c0887ebc4e0ca9e4']
chore: Show chatwoot_edition in Instance details (#7200) - Displays the chatwoot edition in the instance details
[{'old_path': 'app/controllers/super_admin/instance_statuses_controller.rb', 'new_path': 'app/controllers/super_admin/instance_statuses_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -5,6 +5,17 @@ class SuperAdmin::InstanceStatusesController < SuperAdmin::ApplicationController\n sha\n postgre...
Ruby
9f3d155822ef54b66cfdfc5adbe6dcde181ad9f5
583
2023-06-05 18:56:15+05:30
-19,800
['9203b097d232e192576574ee8860102da6741c90']
feat: Add size limit action (#7253) * chore: update browserlist * feat: add size limit action * feat: set limits * feat: add size limit in CI * chore: remove railsenv * chore: update limits
[{'old_path': None, 'new_path': '.github/workflows/size-limit.yml', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,38 @@\n+name: Run Size Limit Check\n+\n+on:\n+ pull_request:\n+ branches:\n+ - develop\n+\n+jobs:\n+ test:\n+ runs-on: ubuntu-20.04\n+\n+ steps:\n+ - uses: actions/checkout@v3\...
Ruby
b333d0c986b375fab8d75787c928c359bc4eb9c9
90
2023-06-05 19:21:47+05:30
-19,800
['9f3d155822ef54b66cfdfc5adbe6dcde181ad9f5']
feat: Attachments view (#7156) * feat: Attachments view with key shortcuts and dynamically updates when user delete or sent new attachments --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
[{'old_path': 'app/javascript/dashboard/api/inbox/conversation.js', 'new_path': 'app/javascript/dashboard/api/inbox/conversation.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -127,6 +127,10 @@ class ConversationApi extends ApiClient {\n user_ids: userIds,\n });\n }\n+\n+ getAllAttachments(conversa...
Ruby
d03924b84670de2b7c9000cd59697e591e1bc89a
603
2023-06-05 20:27:28+05:30
-19,800
['b333d0c986b375fab8d75787c928c359bc4eb9c9']
feat: Enable sending template messages in webhooks (#7252) fixes: https://github.com/chatwoot/chatwoot/issues/5291
[{'old_path': 'app/models/concerns/message_filter_helpers.rb', 'new_path': 'app/models/concerns/message_filter_helpers.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ module MessageFilterHelpers\n end\n \n def webhook_sendable?\n- incoming? || outgoing?\n+ incoming? || outgoing? || templat...
Ruby
aae6081d7383e195f7df093b6d31861b12082cc2
622
2023-06-05 20:28:32+05:30
-19,800
['d03924b84670de2b7c9000cd59697e591e1bc89a']
fix: check content disposition, for inline messages in mail (#7231)
[{'old_path': 'app/mailboxes/mailbox_helper.rb', 'new_path': 'app/mailboxes/mailbox_helper.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,15 +24,55 @@ module MailboxHelper\n return if @message.blank?\n \n processed_mail.attachments.last(Message::NUMBER_OF_PERMITTED_ATTACHMENTS).each do |mail_attachm...
Ruby
117d5301b4afdb1fde0bb407562ef314348f7bf7
603
2023-06-05 21:14:01+05:30
-19,800
['aae6081d7383e195f7df093b6d31861b12082cc2']
chore: API documentation updates for CSAT surveys (#7255) - Expose conversation uuid in APIs - swagger documentation for cast survey update via public/message/update endpoints - swagger documentation for survey/responses/conversation_uuid endpoint Fixes: #6328
[{'old_path': 'app/views/api/v1/conversations/partials/_conversation.json.jbuilder', 'new_path': 'app/views/api/v1/conversations/partials/_conversation.json.jbuilder', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@ else\n end\n \n json.account_id conversation.account_id\n+json.uuid conversation.uuid\n...
Ruby
a01d81a7e168f3eae6c2601eb46f63e4949b11cd
650
2023-06-05 12:51:45-07:00
-19,800
['117d5301b4afdb1fde0bb407562ef314348f7bf7']
feat: Update display text for auditlog entries (#7226) Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,13 +19,25 @@\n "SUCCESS_MESSAGE": "AuditLogs retrieved successfully",\n "ERROR_MESSAGE": "Could not connect to W...
Ruby
b1a4907ede30e401188f3ddd5bef4c17eb82ada8
540
2023-06-06 14:55:08-07:00
25,200
['a01d81a7e168f3eae6c2601eb46f63e4949b11cd']
fix: around_action not yielding is params are present (#7259)
[{'old_path': 'app/controllers/public/api/v1/portals/base_controller.rb', 'new_path': 'app/controllers/public/api/v1/portals/base_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,8 @@ class Public::Api::V1::Portals::BaseController < PublicController\n def set_locale(&)\n switch_locale_wit...
Ruby
39eaed7766e0f949d5692f3dfeb9a63e8f4b80f9
540
2023-06-06 15:16:25-07:00
25,200
['b1a4907ede30e401188f3ddd5bef4c17eb82ada8']
fix: Cannot read properties of undefined (reading 'always_play_audio_alert') (#7260)
[{'old_path': 'app/javascript/dashboard/helper/scriptHelpers.js', 'new_path': 'app/javascript/dashboard/helper/scriptHelpers.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -18,18 +18,18 @@ export const initializeAnalyticsEvents = () => {\n });\n }\n });\n- window.bus.$on(ANALYTICS_RESET, () => {});...
Ruby
7e89e3a34a8df7dde09d46cf926b51eef7ec93f3
603
2023-06-07 17:18:24+05:30
-19,800
['39eaed7766e0f949d5692f3dfeb9a63e8f4b80f9']
chore: Ensure template_sync timestamp is updated (#7265) Fix for the cases where there are multiple channels with invalid provider config, which results in the templates sync scheduler failing to schedule jobs for valid channels. fixes: https://linear.app/chatwoot/issue/CW-2032/bug-whatsapp-template-sync-failing-in...
[{'old_path': 'app/models/channel/whatsapp.rb', 'new_path': 'app/models/channel/whatsapp.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,6 +50,12 @@ class Channel::Whatsapp < ApplicationRecord\n true\n end\n \n+ def mark_message_templates_updated\n+ # rubocop:disable Rails/SkipsModelValidations\n+ ...
Ruby
d25e7fd54e5375ad0a4db1f1e51cf8e0b9b994b4
622
2023-06-07 18:24:37+05:30
-19,800
['7e89e3a34a8df7dde09d46cf926b51eef7ec93f3']
fix: add email logging for source-id email-id and message-id (#7262) * fix: mail logger for source-id email-id and message-id * added mail provided to the tracking * change the logger verb from info to error * app/jobs/inboxes/fetch_imap_emails_job.rb * codeclimate fix * remove extra filter * fixes:...
[{'old_path': 'app/jobs/inboxes/fetch_imap_emails_job.rb', 'new_path': 'app/jobs/inboxes/fetch_imap_emails_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -40,14 +40,16 @@ class Inboxes::FetchImapEmailsJob < ApplicationJob\n received_mails(imap_inbox).each do |message_id|\n inbound_mail = Mail.read...
Ruby
1017903ee106e4a559d6c7dc0d18bfa5b4f27f2c
9
2023-06-08 14:27:49+05:30
-19,800
['d25e7fd54e5375ad0a4db1f1e51cf8e0b9b994b4']
fix: Adds domain option to user cookies set by SDK [CW-352] (#7070) * fix: Adds domain option to user cookies set by SDK * Adds domain to init event from chatwootSettings variable * Testing multiple domains on heroku * Updates with sdk from staging * Removes sdk init code * Testing why cookie is not get...
[{'old_path': 'app/javascript/packs/sdk.js', 'new_path': 'app/javascript/packs/sdk.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -11,6 +11,7 @@ import {\n hasUserKeys,\n } from '../sdk/cookieHelpers';\n import { addClasses, removeClasses } from '../sdk/DOMHelpers';\n+import { setCookieWithDomain } from '../s...
Ruby
d7314079c9f8a57e398d2c78a56a8ead4f4ac637
90
2023-06-08 14:58:57+05:30
-19,800
['1017903ee106e4a559d6c7dc0d18bfa5b4f27f2c']
feat: Ability to edit saved folders (#7236) * feat: Ability to edit saved filters Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
[{'old_path': 'app/javascript/dashboard/components/ChatList.vue', 'new_path': 'app/javascript/dashboard/components/ChatList.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,6 +47,14 @@\n />\n </div>\n <div v-if="hasActiveFolders">\n+ <woot-button\n+ v-tooltip.top...
Ruby
2b7989f52b8e2e696c938b2c7c8e10c1c1b42b78
622
2023-06-08 17:07:08+05:30
-19,800
['d7314079c9f8a57e398d2c78a56a8ead4f4ac637']
fix: reply mailer with sender name (#7232)
[{'old_path': 'app/mailers/conversation_reply_mailer.rb', 'new_path': 'app/mailers/conversation_reply_mailer.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -79,8 +79,12 @@ class ConversationReplyMailer < ApplicationMailer\n @conversation.messages.chat.where.not(message_type: :incoming)&.last\n end\n \n- ...
Ruby
2f2ae88cba41b3cf7bcd2262b1a77ac4a0d2fcc8
583
2023-06-08 17:58:13+05:30
-19,800
['2b7989f52b8e2e696c938b2c7c8e10c1c1b42b78']
fix: unattended count mismatch in report and list (#7263)
[{'old_path': 'app/builders/v2/report_builder.rb', 'new_path': 'app/builders/v2/report_builder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -96,10 +96,9 @@ class V2::ReportBuilder\n \n def conversations\n @open_conversations = scope.conversations.where(account_id: @account.id).open\n- first_response_...
Ruby
b3b76d00ff866cae49f919c4ed835855c2437263
540
2023-06-08 08:22:10-07:00
25,200
['2f2ae88cba41b3cf7bcd2262b1a77ac4a0d2fcc8']
fix: Do not use the default value if the out of office message is empty (#7268)
[{'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': '@@ -535,7 +535,6 @@\n "UPDATE": "Update business hours settings",\n "TOGGLE_AVAILABILITY": "Enable business availabilit...
Ruby
7fd220c177ea32435c020fd55f5cbba50a889d0e
90
2023-06-08 21:25:51+05:30
-19,800
['b3b76d00ff866cae49f919c4ed835855c2437263']
feat: Adds the ability to edit saved segments (#7254) * feat: Ability to edit saved filters * chore: Adds edit contact segment * chore: Minor fixes * fix: code climate * chore: Minor fixes * chore: Adds ability to custom view name * chore: Minor fixes * chore: Adds spec for helper * chore: Revert contact filte...
[{'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': '@@ -211,6 +211,7 @@\n "FILTER_CONTACTS": "Filter",\n "FILTER_CONTACTS_SAVE": "Save filter",\n "FILTER_CONTACTS_DELETE": "De...
Ruby
c8fac08e0b0342c571ff5d1cc3e02220eb1a9894
540
2023-06-08 20:12:14-07:00
25,200
['7fd220c177ea32435c020fd55f5cbba50a889d0e']
fix: Cannot read properties of undefined (reading 'some') (#7278) Fixes https://linear.app/chatwoot/issue/CW-2041/typeerror-cannot-read-properties-of-undefined-reading-some Fixes https://linear.app/chatwoot/issue/CW-2042/typeerror-cannot-read-properties-of-undefined-reading-filter
[{'old_path': 'app/javascript/dashboard/store/modules/conversations/index.js', 'new_path': 'app/javascript/dashboard/store/modules/conversations/index.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,11 +58,10 @@ export const mutations = {\n }\n },\n [types.SET_ALL_ATTACHMENTS](_state, { id, data }) {...
Ruby
c715e396f017f76bd84c899d7c022076616e80b1
123
2023-06-09 15:20:45+05:30
-19,800
['c8fac08e0b0342c571ff5d1cc3e02220eb1a9894']
feat: added input_select type message support for whatsapp (#6886) - Added input_select message type support for Whatsapp Cloud API and Whatsapp 360dialog. Co-authored-by: Sojan Jose <sojan@pepalo.com>
[{'old_path': 'app/services/whatsapp/providers/base_service.rb', 'new_path': 'app/services/whatsapp/providers/base_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,4 +26,54 @@ class Whatsapp::Providers::BaseService\n def validate_provider_config\n raise 'Overwrite this method in child class'\n ...
Ruby
48f2e58e595b9f4dc6887cdddaf9de0839ea8cdf
603
2023-06-09 15:32:24+05:30
-19,800
['c715e396f017f76bd84c899d7c022076616e80b1']
feat: Ability to update avatars from super admin (#7264) - Ability to update user avatars from super admin - Ability to update bot avatars from super admin fixes: #7060
[{'old_path': 'Gemfile', 'new_path': 'Gemfile', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -75,6 +75,7 @@ gem 'jwt'\n gem 'pundit'\n # super admin\n gem 'administrate'\n+gem 'administrate-field-active_storage'\n \n ##--- gems for pubsub service ---##\n # https://karolgalanciak.com/blog/2019/11/30/from-activereco...
Ruby
f64f2138dbbdf0a1cebd1f22bcce115ce5741212
622
2023-06-09 16:08:40+05:30
-19,800
['48f2e58e595b9f4dc6887cdddaf9de0839ea8cdf']
fix: Update mail check for html_part (#7273)
[{'old_path': 'app/jobs/inboxes/fetch_imap_emails_job.rb', 'new_path': 'app/jobs/inboxes/fetch_imap_emails_job.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -125,7 +125,7 @@ class Inboxes::FetchImapEmailsJob < ApplicationJob\n rescue StandardError => e\n ChatwootExceptionTracker.new(e, account: channel.a...
Ruby
879a244f93fe5a74faf415ea412af93e76f8ce50
622
2023-06-09 17:00:05+05:30
-19,800
['f64f2138dbbdf0a1cebd1f22bcce115ce5741212']
fix: Automations condition based quoted text (#7272)
[{'old_path': 'app/models/message.rb', 'new_path': 'app/models/message.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,6 +10,7 @@\n # external_source_ids :jsonb\n # message_type :integer not null\n # private :boolean default(FALSE)\n+# processed_mess...
Ruby
cd28f401ba1eef1e6f630222e88544249327aa4f
500
2023-06-09 16:55:03-07:00
-19,800
['879a244f93fe5a74faf415ea412af93e76f8ce50']
fix: Custom attribute date is not working in some time zone (#7224)
[{'old_path': 'app/javascript/dashboard/components/CustomAttribute.vue', 'new_path': 'app/javascript/dashboard/components/CustomAttribute.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -115,7 +115,7 @@\n </template>\n \n <script>\n-import format from 'date-fns/format';\n+import { format, parseISO } from 'date-...
Ruby
9ff5978d6e83ec753778a21e274497884fb6b247
650
2023-06-09 17:30:36-07:00
-19,800
['cd28f401ba1eef1e6f630222e88544249327aa4f']
feat: Add audit trail events for team (#7285)
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,6 +38,11 @@\n "USER_ACTION": {\n "SIGN_IN": "%{agentName} signed in",\n "SIGN_OUT": "%{agentName} signed out...
Ruby
c99d9f955791763665d73e805974882bc081bdee
622
2023-06-12 16:01:56+05:30
-19,800
['9ff5978d6e83ec753778a21e274497884fb6b247']
fix: search for nil in-reply-to messages (#7286)
[{'old_path': 'app/mailboxes/imap/imap_mailbox.rb', 'new_path': 'app/mailboxes/imap/imap_mailbox.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,9 +35,9 @@ class Imap::ImapMailbox\n end\n \n def find_conversation_by_in_reply_to\n- return if in_reply_to.blank? && @inbound_mail.references.blank?\n+ r...
Ruby
429ec7194fb1990077f68d3dc013694d683a3316
583
2023-06-12 18:23:42+05:30
-19,800
['c99d9f955791763665d73e805974882bc081bdee']
feat: add index to reporting events [CW-1960] (#7294) * fix: annotation * feat: add better index for reporting_events
[{'old_path': 'app/models/contact.rb', 'new_path': 'app/models/contact.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,7 +19,7 @@\n # index_contacts_on_account_id (account_id)\n # index_contacts_on_lower_email_account_id (lower((email)::text), account_id)\n # index_co...
Ruby
23ca6d56f9f5af2d1212bc7d95ebfd70bf7cc49c
622
2023-06-13 09:18:43+05:30
-19,800
['429ec7194fb1990077f68d3dc013694d683a3316']
feat: Contact Exports (#7258)
[{'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': "@@ -42,6 +42,12 @@ class Api::V1::Accounts::ContactsController < Api::V1::Accounts::BaseController\n head :ok\n end\n \n+ de...
Ruby
c755978352ace7ca4c1eb8ea0607671de1cac37a
583
2023-06-14 12:56:42+05:30
-19,800
['23ca6d56f9f5af2d1212bc7d95ebfd70bf7cc49c']
feat: update banner design [CW-1491] (#7296) * refactor: banner styling * refactor: update button style for reply assign banner * feat: remove update-banner classes --------- Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
[{'old_path': 'app/javascript/dashboard/App.vue', 'new_path': 'app/javascript/dashboard/App.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -115,11 +115,6 @@ export default {\n \n <style lang="scss">\n @import \'./assets/scss/app\';\n-.update-banner {\n- height: var(--space-larger);\n- align-items: center;\n-...
Ruby
a86e236d19b66f1b1d4bead707b6994a2d55bded
583
2023-06-14 13:21:51+05:30
-19,800
['c755978352ace7ca4c1eb8ea0607671de1cac37a']
feat: update cache headers for cache_keys (#7283) Update the cache headers for cache_keys to max-age=10, private, stale-while-revalidate=300 1. The cache will be fresh for 10 seconds (max-age=10). During this time, the browser will use the cached version without checking with the server. 2. After the initial 10 se...
[{'old_path': 'app/controllers/api/v1/accounts_controller.rb', 'new_path': 'app/controllers/api/v1/accounts_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,6 +37,7 @@ class Api::V1::AccountsController < Api::BaseController\n end\n \n def cache_keys\n+ expires_in 10.seconds, public: false, s...
Ruby
2e79a32db76937956bd4d3cfcda83fd3f4e7304b
583
2023-06-14 13:50:10+05:30
-19,800
['a86e236d19b66f1b1d4bead707b6994a2d55bded']
fix: calculation for resolution count (#7293) * fix: calculation for resolution count * test: resolution count bug fix - ensure enqueued jobs are run - fix the dates check, conversations resolved today should show up in today * feat: ensure conversations are resolved * test: do not count extra events if t...
[{'old_path': 'app/helpers/report_helper.rb', 'new_path': 'app/helpers/report_helper.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -29,7 +29,9 @@ module ReportHelper\n end\n \n def resolutions_count\n- (get_grouped_values scope.conversations.where(account_id: account.id).resolved).count\n+ object_sco...
Ruby
d2aa19579e5b092e64e0f8508e8fa94f32ce1b58
9
2023-06-14 15:39:00+05:30
-19,800
['2e79a32db76937956bd4d3cfcda83fd3f4e7304b']
feat: Adds support for superscript in help center articles (#7279) - Adds support for superscript when rendering article markdown - Chatwoot Markdown Render to render markdown everywhere Co-authored-by: Sojan <sojan@pepalo.com>
[{'old_path': 'app/controllers/public/api/v1/portals/articles_controller.rb', 'new_path': 'app/controllers/public/api/v1/portals/articles_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,8 +43,6 @@ class Public::Api::V1::Portals::ArticlesController < Public::Api::V1::Portals::B\n end\n \n def r...
Ruby
6eb4fa41ffadd442c65c14b697dec721fc8fc310
500
2023-06-14 17:29:13+05:30
-19,800
['8b91f0ffac320fcc1ab429af5c747474a2eb6e4d']
feat: Add sender details and message create date in the attachment API (#7308)
[{'old_path': 'app/views/api/v1/accounts/conversations/attachments.json.jbuilder', 'new_path': 'app/views/api/v1/accounts/conversations/attachments.json.jbuilder', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1 +1,10 @@\n-json.payload @attachments.map(&:push_event_data)\n+json.payload @attachments do |attachment|...
Ruby
1ee6a8fe90ce75ed05152bba69e76977e599effe
622
2023-06-14 18:28:42+05:30
-19,800
['6eb4fa41ffadd442c65c14b697dec721fc8fc310']
chore: Add validation for processed content field (#7306) * logging the messages id for message validation exception * Update the processed_message_content validation over length * codeclimate * specs failing for contacts
[{'old_path': 'app/models/message.rb', 'new_path': 'app/models/message.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -70,6 +70,7 @@ class Message < ApplicationRecord\n \n validates :content_type, presence: true\n validates :content, length: { maximum: 150_000 }\n+ validates :processed_message_content, len...
Ruby
9985f1c143e80703035f6a30bd9147439290a041
583
2023-06-15 12:57:56+05:30
-19,800
['1ee6a8fe90ce75ed05152bba69e76977e599effe']
refactor: remove redundant taggable declaration (#7310)
[{'old_path': 'app/models/concerns/liquidable.rb', 'new_path': 'app/models/concerns/liquidable.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,7 +2,6 @@ module Liquidable\n extend ActiveSupport::Concern\n \n included do\n- acts_as_taggable_on :labels\n before_create :process_liquid_in_content\n e...
Ruby
06ac7c829b92b77b3b995c9ce56489ce46c96744
9
2023-06-15 16:00:21+05:30
-19,800
['9985f1c143e80703035f6a30bd9147439290a041']
fix: Fixes wrong variable usage in transcript file (#7316)
[{'old_path': 'app/views/mailers/conversation_reply_mailer/conversation_transcript.html.erb', 'new_path': 'app/views/mailers/conversation_reply_mailer/conversation_transcript.html.erb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,7 +7,7 @@\n <tr>\n <td style="padding-bottom: 16px;">\n <% if message...
Ruby
69b9123963e9231afb7c63e4f55c4c4d8c6d2ac9
540
2023-06-15 17:52:53+05:30
25,200
['cac9fe18807664934709e93e9c286988e2f677f6']
fix: Use available_name only (#7312) We have display_name and the actual name for an agent. display_name is used in all public facing parts. The https://github.com/chatwoot/chatwoot/pull/7232/files PR missed this and used actual name instead. This PR fixes it.
[{'old_path': 'app/mailers/conversation_reply_mailer.rb', 'new_path': 'app/mailers/conversation_reply_mailer.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -80,11 +80,11 @@ class ConversationReplyMailer < ApplicationMailer\n end\n \n def sender_name\n- @sender_name ||= current_message&.sender&.name || @a...
Ruby
2c34dca347039b5ce992f56d826f3bb00e58532b
500
2023-06-15 17:53:26+05:30
-19,800
['69b9123963e9231afb7c63e4f55c4c4d8c6d2ac9']
fix: `NS_ERROR_STORAGE_BUSY` warnings in firefox (#7319) Fixes: https://linear.app/chatwoot/issue/CW-2075/ns-error-storage-busy-no-error-message
[{'old_path': 'app/javascript/shared/helpers/localStorage.js', 'new_path': 'app/javascript/shared/helpers/localStorage.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -4,8 +4,9 @@ export const LocalStorage = {\n },\n \n get(key) {\n- const value = window.localStorage.getItem(key);\n+ let value = null;\...
Ruby
e8a27bea4bcb9b551cd379765d40b5130cbca043
583
2023-06-15 20:11:40-07:00
-19,800
['0d465362ac1c61fbf722c437c1302eb3076e660e']
feat: Add APIs for limit check in accounts (#7242)
[{'old_path': None, 'new_path': 'app/helpers/billing_helper.rb', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,21 @@\n+module BillingHelper\n+ private\n+\n+ def default_plan?(account)\n+ installation_config = InstallationConfig.find_by(name: 'CHATWOOT_CLOUD_PLANS')\n+ default_plan = installation_config...
Ruby
86b28963335ad6f5b6f04cf7590184af11cc9a86
540
2023-06-15 20:47:11-07:00
25,200
['e8a27bea4bcb9b551cd379765d40b5130cbca043']
feat: Show alerts when the limit is reached in accounts (#7323) Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
[{'old_path': 'app/javascript/dashboard/App.vue', 'new_path': 'app/javascript/dashboard/App.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,10 @@\n :class="{ \'app-rtl--wrapper\': isRTLView }"\n >\n <update-banner :latest-chatwoot-version="latestChatwootVersion" />\n+ <template v-if="!accou...
Ruby
35dfff0a5b5df08ef416fefa0b5fb832ad19fdcf
90
2023-06-19 11:16:28+05:30
-19,800
['86b28963335ad6f5b6f04cf7590184af11cc9a86']
feat: Attachment view improvements (#7314)
[{'old_path': 'app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss', 'new_path': 'app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -29,13 +29,13 @@\n }\n \n .modal-image {\n- max-height: 80vh;\n- max-width: 80vw;\...
Ruby
237358af24a9ddb6f53ce5b7b90902769e9ef29b
583
2023-06-19 13:33:48+05:30
-19,800
['35dfff0a5b5df08ef416fefa0b5fb832ad19fdcf']
refactor: use as_json for formatting the string (#7332)
[{'old_path': 'spec/enterprise/services/enterprise/billing/handle_stripe_event_service_spec.rb', 'new_path': 'spec/enterprise/services/enterprise/billing/handle_stripe_event_service_spec.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,7 +47,7 @@ describe Enterprise::Billing::HandleStripeEventService do\n ...
Ruby
2c3337b117c78998a3c8352f29bc7d2507f35b71
500
2023-06-19 13:57:59+05:30
-19,800
['237358af24a9ddb6f53ce5b7b90902769e9ef29b']
feat: Move snooze actions to command bar (#7343)
[{'old_path': 'app/javascript/dashboard/components/buttons/ResolveAction.vue', 'new_path': 'app/javascript/dashboard/components/buttons/ResolveAction.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,51 +59,16 @@\n >\n {{ this.$t(\'CONVERSATION.RESOLVE_DROPDOWN.MARK_PENDING\') }}\n ...
Ruby
9d0de04f7c2ec4516039b7a6a74cfe7d7d426bff
622
2023-06-19 16:10:03+05:30
-19,800
['2c3337b117c78998a3c8352f29bc7d2507f35b71']
fix: set custom filter count in redis (#7164)
[{'old_path': 'app/controllers/api/v1/accounts/custom_filters_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/custom_filters_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,4 +1,5 @@\n class Api::V1::Accounts::CustomFiltersController < Api::V1::Accounts::BaseController\n+ before_actio...
Ruby
138630b4ae30503afbe42ac7ff4bf270f22f9d22
394
2023-06-19 16:11:19+05:30
21,600
['9d0de04f7c2ec4516039b7a6a74cfe7d7d426bff']
chore: Update method to access "secret_key_base" (#7337) This will look at environment variables and Rails Credentials, and Rails Secrets. See documentation here: https://api.rubyonrails.org/v7.0.5/classes/Rails/Application.html#method-i-secret_key_base
[{'old_path': 'app/services/widget/token_service.rb', 'new_path': 'app/services/widget/token_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,6 @@ class Widget::TokenService\n private\n \n def secret_key\n- Rails.application.secrets.secret_key_base\n+ Rails.application.secret_key_base\...
Ruby
5c5381c0a9dee4fe42c5063a38c9ea80f9504d11
603
2023-06-19 16:48:45+05:30
-19,800
['138630b4ae30503afbe42ac7ff4bf270f22f9d22']
chore(ci): Ensure PR titles are in semantic format (#7346)
[{'old_path': None, 'new_path': '.github/workflows/lint_pr.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,23 @@\n+# ref: https://github.com/amannn/action-semantic-pull-request\n+# ensure PR title is in semantic format\n+\n+name: "Lint PR"\n+\n+on:\n+ pull_request_target:\n+ types:\n+ - opened\n+ ...
Ruby
9bed57c7d188e50b0a6a755f51a654233c004c1b
500
2023-06-19 17:05:16+05:30
-19,800
['5c5381c0a9dee4fe42c5063a38c9ea80f9504d11']
feat: Add more snooze options (#7344)
[{'old_path': 'app/javascript/dashboard/components/buttons/ResolveAction.vue', 'new_path': 'app/javascript/dashboard/components/buttons/ResolveAction.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -86,6 +86,7 @@ import {\n hasPressedAltAndMKey,\n } from 'shared/helpers/KeyboardHelpers';\n \n+import { findSno...
Ruby
5e807c58757d0575467021b7f9137a517f8f4b03
394
2023-06-19 17:18:07+05:30
21,600
['9bed57c7d188e50b0a6a755f51a654233c004c1b']
chore: Remove unneeded `include EnsureCurrentAccountHelper` (#7339) This class inherits from Api::V1::Accounts::BaseController, which already includes EnsureCurrentAccountHelper and also sets up before_action :current_account.
[{'old_path': 'app/controllers/api/v1/accounts/conversations/base_controller.rb', 'new_path': 'app/controllers/api/v1/accounts/conversations/base_controller.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,4 @@\n class Api::V1::Accounts::Conversations::BaseController < Api::V1::Accounts::BaseController\n-...
Ruby
9bb455ec2d56f2ca117f938cba84df5c1829c861
500
2023-06-19 18:23:35+05:30
-19,800
['c410fe333ae864631ba3e56221665c104ebd1b65']
feat: Ability to choose the custom time for snooze conversation (#7257)
[{'old_path': 'app/javascript/dashboard/assets/scss/_date-picker.scss', 'new_path': 'app/javascript/dashboard/assets/scss/_date-picker.scss', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,7 +26,7 @@\n border-radius: var(--border-radius-normal);\n box-shadow: none;\n display: flex;\n- height: 4.0r...
Ruby
9ac4a1eb30588c414c52c0f46da31b5f5a0fa126
583
2023-06-19 21:58:33+05:30
-19,800
['9bb455ec2d56f2ca117f938cba84df5c1829c861']
refactor: multiple fixes to contact header [CW-2081] (#7331) Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
[{'old_path': 'app/javascript/dashboard/routes/dashboard/contacts/components/ContactsView.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/contacts/components/ContactsView.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,15 +3,15 @@\n <div class="left-wrap" :class="wrapClass">\n <contact...
Ruby
bc813b71dde57e0d56c8092b2e16deec2db05eab
650
2023-06-20 09:36:16+05:30
-19,800
['9ac4a1eb30588c414c52c0f46da31b5f5a0fa126']
feat: refresh the audit page on navigation without manual reload (#7292) Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
[{'old_path': 'app/javascript/dashboard/routes/dashboard/settings/auditlogs/Index.vue', 'new_path': 'app/javascript/dashboard/routes/dashboard/settings/auditlogs/Index.vue', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -80,6 +80,12 @@ export default {\n },\n };\n },\n+ beforeRouteEnter(to, from, next)...
Ruby
afb7e677952d4ca3950eb224a20367aa4d22772b
622
2023-06-20 12:15:36+05:30
-19,800
['bc813b71dde57e0d56c8092b2e16deec2db05eab']
fix: empty account variable for custom_attrbute_definition running in background job (#7351)
[{'old_path': 'app/services/conversations/filter_service.rb', 'new_path': 'app/services/conversations/filter_service.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -2,7 +2,7 @@ class Conversations::FilterService < FilterService\n ATTRIBUTE_MODEL = 'conversation_attribute'.freeze\n \n def initialize(params, ...
Ruby
6bea2cbc4a5f922cce7cb106e41a919dd108134b
650
2023-06-20 13:04:59+05:30
-19,800
['afb7e677952d4ca3950eb224a20367aa4d22772b']
feat: add audit trail for macros (#7352)
[{'old_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'new_path': 'app/javascript/dashboard/i18n/locale/en/auditLogs.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,6 +43,11 @@\n "ADD": "%{agentName} created a new team (#%{id})",\n "EDIT": "%{agentName} updated a team (#%{id})...
Ruby
93d8157a552d27e64a4c5603e46ca8feab6cd14e
90
2023-06-20 17:29:05+05:30
-19,800
['6bea2cbc4a5f922cce7cb106e41a919dd108134b']
feat: Adds Lithuanian language selectable as site language (#7354)
[{'old_path': 'app/javascript/dashboard/i18n/index.js', 'new_path': 'app/javascript/dashboard/i18n/index.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -35,6 +35,7 @@ import vi from './locale/vi';\n import zh_CN from './locale/zh_CN';\n import zh_TW from './locale/zh_TW';\n import is from './locale/is';\n+impor...
Ruby
595e6e79f0a1f8c7e26424498fdab139d1ddf333
603
2023-06-21 14:48:50+05:30
-19,800
['93d8157a552d27e64a4c5603e46ca8feab6cd14e']
chore: Add sla policy association to conversation (#7360) Adds the sla policy association to the conversation Fixes: https://linear.app/chatwoot/issue/CW-1615/applying-an-sla-to-the-conversation
[{'old_path': 'app/models/conversation.rb', 'new_path': 'app/models/conversation.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,6 +24,7 @@\n # contact_inbox_id :bigint\n # display_id :integer not null\n # inbox_id :integer not null\n+# sla_policy_id ...
Ruby
e6a49b58000373cbd823117e30bf58907abc66b9
9
2023-06-21 20:28:28+05:30
-19,800
['595e6e79f0a1f8c7e26424498fdab139d1ddf333']
feat: Shows Youtube and Vimeo links as embeds [cw-1393] (#7330) This change will render the youbtube, vimeo and .mp4 urls as embedded in the article page in the help centre. Fixes: https://linear.app/chatwoot/issue/CW-1393/help-center-support-video-upload-in-articles Co-authored-by: Sojan <sojan@pepalo.com>
[{'old_path': 'lib/chatwoot_markdown_renderer.rb', 'new_path': 'lib/chatwoot_markdown_renderer.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,9 +9,9 @@ class ChatwootMarkdownRenderer\n end\n \n def render_article\n- superscript_renderer = SuperscriptRenderer.new\n+ markdown_renderer = CustomMarkdow...
Ruby
93daaea19b979ab40e60cead2269bd24dbc12cd6
540
2023-06-21 13:20:39-07:00
25,200
['e6a49b58000373cbd823117e30bf58907abc66b9']
feat: Add a sort option for conversations waiting for a reply from an agent (#7364)
[{'old_path': 'app/finders/conversation_finder.rb', 'new_path': 'app/finders/conversation_finder.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -6,7 +6,8 @@ class ConversationFinder\n latest: 'latest',\n sort_on_created_at: 'sort_on_created_at',\n last_user_message_at: 'last_user_message_at',\n- ...
Ruby
82e5fc413e9f99049cd53377eb103ac4bc30091d
80
2023-06-22 18:36:58+05:30
-10,800
['93daaea19b979ab40e60cead2269bd24dbc12cd6']
fix: Label Duplication in Bulk Actions (#7341) When looping the conversations in bulk action to assign them to new labels, the existing labels in other conversations were also getting duplicated across all conversations. This PR fixes the issue. > In the previous implementation, new_labels is appended to the exist...
[{'old_path': 'app/models/concerns/labelable.rb', 'new_path': 'app/models/concerns/labelable.rb', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,7 +10,8 @@ module Labelable\n end\n \n def add_labels(new_labels = nil)\n- new_labels << labels\n- update!(label_list: new_labels)\n+ new_labels = Array(ne...
Ruby