Shivam Mishra
10076c6a3e
feat: set lock timeout to 1 second ( #8661 )
2024-01-12 08:28:07 +05:30
Muhsin Keloth
68062216e4
feat: Add a job to reopen snoozed notifications ( #8545 )
2024-01-05 15:13:22 +05:30
Pranav Raj S
00eb5b152a
chore(migration): Re-run database migration job for caching. ( #8581 )
...
A support request that came to Chatwoot Cloud revealed that the job was timed prematurely. The default timeout for Sidekiq queues was set as 25 minutes in sidekiq.yml file. The cache was not created properly for the accounts with more than 100k conversations.
This change removes the cache logic in the previous migration and creates a new migration with a new job which processes conversations in batch.
2023-12-18 17:29:02 -08:00
Sojan Jose
0b2f539ad0
chore: Update self-hosted billing redirect ( #8580 )
2023-12-18 16:34:47 -08:00
Pranav Raj S
890515edfd
feat(perf): Cache labels on the conversation model ( #8527 )
2023-12-11 18:27:55 -08:00
Muhsin Keloth
80ff5e2d0a
chore: Change the RemoveMessageNotifications job implementation. ( #8521 )
2023-12-11 08:27:30 +05:30
Nithin David Thomas
f002870c6a
feat: Super admin design improvements ( #8517 )
...
- Revamp the super admin design
- Introduce a new settings page for support and billing settings
- Move the access tokens into users, agent bots and platform app show pages
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-12-08 19:40:35 -08:00
Muhsin Keloth
db33b7d1dc
feat: Clear all previous notifications if a new notification is added to a conversation ( #8490 )
2023-12-06 14:03:43 +05:30
Muhsin Keloth
76711d95ff
chore: Change primary actor to Conversation for all the notification types. ( #8435 )
2023-12-06 10:43:09 +05:30
Muhsin Keloth
6c8dacfa0d
feat: Facebook delivery reports ( #8136 )
2023-11-20 12:22:45 +05:30
Muhsin Keloth
af7631d9f1
chore: Update MarkMessagesAsReadJob to accept delivered status ( #8319 )
2023-11-08 13:44:57 -08:00
Vishnu Narayanan
677888bcde
feat: Add job to remove stale contact inboxes ( #8096 )
2023-11-06 20:24:30 -08:00
Muhsin Keloth
b4d20689b7
feat: Mark the messages as failed if the API channel webhooks fail for any reason. ( #8277 )
2023-11-04 12:26:28 +05:30
Muhsin Keloth
24fbab94c3
chore: Refactor MarkMessagesAsReadJob based on conversation id and time stamp ( #8217 )
...
- Mark all messages as read by providing the conversation ID and timestamp.
- For Instagram, ensure all previous messages that weren't marked as failed are now marked as read. This is because the read events are only triggered for the most recent message and not for any previous ones.
2023-10-27 15:21:39 -07:00
Muhsin Keloth
61e03fa33a
feat: Bandwidth sms channel delivery reports ( #8198 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2566/delivery-report-for-bandwidth-sms
2023-10-27 14:07:15 -07:00
Pranav Raj S
6c4b92f7f6
fix: Revert the changes for SyncCustomFilterCountJob ( #8238 )
2023-10-27 10:45:48 -07:00
Muhsin Keloth
78ce8a4652
feat: Add support for Instagram delivery reports ( #8125 )
2023-10-18 23:42:34 -07:00
Muhsin Keloth
980013abae
feat: Add delivery reports for live chat ( #8092 )
2023-10-12 20:48:20 +05:30
Muhsin Keloth
26e8877cd9
feat: Support link unfurling for all the channels within the same connected channel account. ( #8033 )
2023-10-08 17:55:03 +05:30
Sojan Jose
6a73953003
chore: Add delay before running dataimport job ( #8039 )
...
- We have observed some failures for data import jobs in the cloud due to race conditions with job executions and active storage file uploading. This PR adds delays and retries to accommodate that.
2023-10-03 22:18:57 -07:00
Muhsin Keloth
24fe3805d8
feat: Slack link unfurling ( #7940 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-09-29 19:35:56 +05:30
Shivam Mishra
336584c95a
feat: mutex for InstagramEventsJob [CW-2447] ( #7828 )
2023-09-04 15:02:13 +05:30
Shivam Mishra
2acf09b3eb
refactor: use conversation_id instead of sender_id ( #7831 )
2023-08-31 16:10:37 +07:00
Shivam Mishra
5598b4b27e
feat: implement mutex for SlackSendJob ( #7783 )
2023-08-25 11:58:29 +07:00
Sojan Jose
64ae9f625a
chore: Persist emojis in Contact Import ( #7803 )
...
The previous fix would remove emojis in contact data. This change ensures they are persisited
ref: #7787
2023-08-24 14:04:52 -07:00
Sojan Jose
acb7debd3f
chore: Contact import improvements ( #7787 )
...
- Ensure existing contact information is updated on data import
- Refactor the existing job to make it more readable
- Fixes issues with import files in the wrong encoding
fixes : #7307
2023-08-23 23:24:47 -07:00
Shivam Mishra
44f6a9ec3c
feat: update lock timeout and retry configuration ( #7785 )
2023-08-24 12:59:47 +07:00
Shivam Mishra
26ef21a243
feat: locking and retry in FB message parsing ( #7701 )
2023-08-23 09:48:17 +07:00
Pranav Raj S
9ddd428935
feat: Update the slack integration-flow to allow users to select the channel ( #7637 )
2023-07-28 14:50:30 -07:00
Pranav Raj S
022f4f899f
Revert "feat: Support Azure single-tenant application using the Graph… ( #7436 )
2023-06-29 16:50:18 -07:00
Tejaswini Chile
d05c953eef
feat: Support Azure single-tenant application using the Graph API ( #6728 ) ( #6878 )
2023-06-28 08:13:08 +05:30
Vishnu Narayanan
f963e00731
fix: capture user and ip details on Inbox delete ( #7395 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1772/ip-address-and-user-details-are-missing-in-some-of-the-logs
Co-authored-by: Sojan <sojan@pepalo.com>
2023-06-27 19:49:24 +05:30
Tejaswini Chile
212d7caab1
fix: log User is authenticated but not connected ( #7394 )
2023-06-26 16:07:40 +05:30
Tejaswini Chile
9d0de04f7c
fix: set custom filter count in redis ( #7164 )
2023-06-19 16:10:03 +05:30
Tejaswini Chile
23ca6d56f9
feat: Contact Exports ( #7258 )
2023-06-13 09:18:43 +05:30
Tejaswini Chile
f64f2138db
fix: Update mail check for html_part ( #7273 )
2023-06-09 16:08:40 +05:30
Tejaswini Chile
d25e7fd54e
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: specs
2023-06-07 18:24:37 +05:30
Sojan Jose
ffc6364690
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 requests in a single batch )
- move the sync job re-rerun to 3 hours ( since we are updating the updated at even in case of failures )(prev 15 minutes )
Fixes: https://linear.app/chatwoot/issue/CW-1590
2023-05-29 22:23:22 +05:30
Tejaswini Chile
8e79cf72e1
fix: issue with slack job ( #7179 )
2023-05-24 20:22:34 +05:30
Tejaswini Chile
590e4e9c1c
Fix: prevent IMAPBadResponse exception from sending the authorization mail ( #7154 )
2023-05-22 13:51:56 +05:30
Tejaswini Chile
0e903d2365
chore: Add delay for slack job when message has attachments ( #7107 )
2023-05-22 13:51:14 +05:30
Clairton Rodrigo Heinzen
a25179c342
fix: Instagram events job NoMethodError: undefined method for nil:NilClass ( #7105 )
...
- Sometimes tag entry does not have messaging or standby and cause a error
2023-05-18 15:22:01 +05:30
Tejaswini Chile
0f776a173c
Fix: Mail ate compare with nil date ( #7084 )
...
fixes: https://chatwoot-p3.sentry.io/issues/4185144468/?project=6382945
2023-05-15 21:42:22 +05:30
Sojan Jose
d320605556
chore: Fix Activerecord querry cancelled when fetching email ( #7083 )
...
limiting the query to 2 days to ensure that it runs timebound.
fixes: https://linear.app/chatwoot/issue/CW-1747/activerecordquerycanceled-pgquerycanceled-error-canceling-statement
2023-05-15 21:23:17 +05:30
Tejaswini Chile
b994706265
fix: Email date attribute not being set ( #7081 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1738/typeerror-no-implicit-conversion-of-nil-into-string-typeerror
2023-05-15 20:19:03 +05:30
Tejaswini Chile
65e91f6a6f
fix: Duplicate instagram conversations for echo messages ( #7078 )
2023-05-15 16:25:15 +05:30
Tejaswini Chile
354010a6e1
chore: fetch mails with multiple attachments ( #7030 )
2023-05-14 10:02:36 +05:30
Sojan Jose
85e57c2e94
chore: Reorganize Sidekiq Queues ( #6976 )
...
- Rearrange and reprioritize current sidekiq queues
- Trim the unnecessary queues
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-05-04 15:44:16 +05:30
Sojan Jose
cf91e9eb58
chore: Use find_each instead of .all.each ( #6975 )
...
- Enable the rubocop Rails/FindEach
- Replace the .all.each with .find_each
This should let us avoid potential memory usage.
Motivation from the speedshop newsletter by Nate Berkopec
ref: https://www.rubyinrails.com/2017/11/16/use-find-each-instead-of-all-each-in-rails/
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-04-25 09:32:35 +05:30
Pranav Raj S
c5c36af529
fix: Remove fallback phone_number search in WhatsApp event processing ( #6904 )
2023-04-18 18:30:01 -07:00