Pranav Raj S
eb379e1849
fix(refactor): Cleanup the specs and the logic for FetchIMAP job ( #8766 )
2024-02-10 14:03:50 -08:00
Pranav Raj S
33e98bf61a
fix: Use BODY.PEEK[HEADER] to avoid parsing issues with mail providers ( #8833 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-01 17:24:59 -08:00
Pranav Raj S
ee3f734b7b
chore: Refactor RefreshOauthTokenService to improve readability ( #8820 )
...
- Added a trait called microsoft_email for the Channel::Email factory.
- Rewrote the logic to make it simple to understand
- Rewrote the specs for readability
2024-01-31 12:24:12 +04:00
Pranav Raj S
905ca94f71
chore: Remove unused attribute imap_inbox_synced_at ( #8822 )
...
- imap_inbox_synced_at is no longer used; this PR removes all the references to the same.
2024-01-31 11:48:46 +04:00
Surabhi Suman
4b40c61201
feat: Support Regex validation for custom attributes ( #7856 )
...
This allows a user to add/update a custom regex and a cue while defining custom attributes(Only applicable for type- text).
While adding/editing custom attributes, the values are validated against the attribute definition regex, and if it is incorrect, a cue message or default error message is shown and restricts invalid values from being saved.
Fixes : #6866
2024-01-23 18:01:57 +04: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
Sojan Jose
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +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
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
Tejaswini Chile
00cbdaa8ca
Feat: Support for Microsoft Oauth in Email Channel ( #6227 )
...
- Adds the backend APIs required for Microsoft Email Channels
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-01-17 02:39:05 +05:30
Aswin Dev P.S
13a4e0e6d9
chore: Email improvements. ( #4901 )
...
* Update email processing logic.
* Fix sentry issues
2022-07-08 04:13:24 -07:00
Muhsin Keloth
a8c6cd729b
chore: Sync pre-chat fields after custom attribute update ( #4692 )
2022-06-20 14:16:49 +05:30
Muhsin Keloth
e010f0c6f0
chore: Sync pre-chat fields after custom attribute destroy ( #4456 )
2022-04-18 14:06:27 +05:30
Aswin Dev P.S
31cdc63e18
fix: Remove IMAP and SMTP email validation ( #4435 )
...
* Remove IMAP and SMTP email validation
* Rename imap_email & smtp_email columns to imap_login & smtp_login respectively.
* Use channel email domain if inbound email domain not present
2022-04-11 07:07:20 -07:00
Aswin Dev P.S
24e6a92297
feat: IMAP Email Channel ( #3298 )
...
This change allows the user to configure both IMAP and SMTP for an email inbox. IMAP enables the user to see emails in Chatwoot. And user can use SMTP to reply to an email conversation.
Users can use the default settings to send and receive emails for email inboxes if both IMAP and SMTP are disabled.
Fixes #2520
2021-11-19 11:52:27 +05:30