gabrieljablonski
b3a51154d8
Merge branch main into chore/merge-upstream-4.8.0
2025-11-19 14:58:49 -03:00
Sivin Varghese
e81152608d
fix: Issue with processing variables in outgoing email content ( #12799 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Vinay Keerthi <11478411+stonecharioteer@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2025-11-10 20:50:02 +05:30
Shivam Mishra
ce400a36d7
feat: Always process email content ( #12734 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-10-30 13:36:39 +05:30
gabrieljablonski
8d4a6b856a
Merge branch main into chore/merge-upstream-4.7.0
2025-10-16 12:08:20 -03:00
Pranav
368d7c4608
feat: Add support for HTML emails in outgoing messages ( #12662 )
...
This PR adds sending custom HTML content in outgoing email messages
through Chatwoot's Email channels, while maintaining backward
compatibility with existing markdown rendering.
### API Usage
**Endpoint:** `POST
/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages`
```json
{
"content": "Fallback text content",
"email_html_content": "<div><h1>Welcome!</h1><p>This is <strong>custom HTML</strong></p></div>"
}
```
---------
Co-authored-by: Muhsin <muhsinkeramam@gmail.com>
2025-10-15 13:22:23 +05:30
Shivam Mishra
ecff66146a
fix: Rendering on email without html content ( #12561 )
...
<img width="983" height="579" alt="image"
src="https://github.com/user-attachments/assets/2972e8d9-5145-4958-8f66-9e84bd9c8c4b "
/>
2025-10-01 13:43:05 +05:30
Shivam Mishra
21366e1c3b
feat: allow quoted email thread in reply ( #12545 )
...
This PR adds the ability to include the thread history as a quoted text
## Preview
https://github.com/user-attachments/assets/c96a85e5-8ac8-4021-86ca-57509b4eea9f
2025-09-30 17:47:09 +05:30
gabrieljablonski
37c5d31718
fix: issue with is_recorded_audio type
2025-05-24 10:24:15 -03:00
Cayo P. R. Oliveira
322f0d1922
feat: use message is unsupported content attribute ( #44 )
...
* refactor: simplify message_type method using a hash for message types
* refactor: streamline message handling and update unsupported message logic
* refactor: simplify create_message method by inlining sender_type and message_type assignments
* refactor: simplify message_type method for improved readability and performance
* feat: allow is_recorded_audio as boolean
* chore: refactor create message + attach media logic
* fix: unsupported message templates
---------
Co-authored-by: gabrieljablonski <contact@gabrieljablonski.com>
2025-05-09 10:52:07 -03:00
Gabriel Jablonski
b764f3997d
feat: mark recorded audio messages ( #36 )
...
* feat: mark recorded audio
* refactor: cleaner logic for message builder metadata
* test: message builder specs
* test: baileys service specs
* fix: correct method call for checking attachment filename in process_metadata
2025-05-02 19:51:43 -03:00
gabrieljablonski
391407eedf
fix: content attributes handling on message builder
2025-04-29 21:43:30 -03:00
Hugo Castro de Deco
bf883794a4
fix: accepting external source_id ( #8359 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
2023-12-13 16:21:55 +05:30
Shivam Mishra
b9694a0818
feat: support reply to for Telegram ( #8105 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-10-20 13:14:20 +05:30
Shivam Mishra
28e7a5d228
fix: CC conditions when the last email is from someone else ( #7010 )
2023-06-28 20:28:44 -07:00
Jordan Brough
026e03c307
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 in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.
---------
Co-authored-by: Sojan <sojan@pepalo.com>
2023-04-18 19:18:23 +05:30
Pranav Raj S
bc96e5ed22
fix: Add defaults for the cc, bcc emails ( #6405 )
2023-02-06 18:12:45 -08:00
Divyansh Singh
2030c2ebd6
fix: added cc and bcc email validation to message ( #6320 )
2023-02-02 17:32:04 +05:30
jacsonsantospht
af020f446e
fix: check the content type for the file when uploading from cloud storage ( #5378 )
...
When sending the message with audio, only the signed id of the file is sent.
In the back end check only the UploadedFile type.
The attachment has the default file type image, now it gets the content type from the signed id
Fixes : #5375
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-10-21 18:05:36 -07:00
Fayaz Ahmed
bad24f97ab
feat: Add support for Whatsapp template messages in the UI ( #4711 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-07 17:33:33 +05:30
Aswin Dev P.S
360b438a55
Fix: Campaign triggers first_response reporting event ( #4607 )
...
* Fix: Campaign triggers first_response reporting event
* fix spec failure
2022-05-09 01:34:52 -07:00
Tejaswini Chile
2acb48bbe0
feat: Add support for conversation attribute automation conditions in message event ( #4518 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-21 20:52:23 +05:30
Tejaswini Chile
94a473c9f8
chore: Delayed deploy of direct uploads ( #3966 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-02-15 16:16:54 +05:30
Tejaswini Chile
69eaf3ff7f
feat: Activestorage direct upload ( #3768 )
2022-01-27 15:57:22 +05:30
Tejaswini Chile
a0884310f4
feat: Save automation rules ( #3359 )
2022-01-10 12:41:59 +05:30
Nithin David Thomas
68e697c379
feat: Support cc and bcc in email replies ( #3098 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-10-11 13:00:48 +05:30
Sojan Jose
6fdd4a2996
chore: Security Improvements to the API ( #2893 )
...
- Devise auth tokens are reset on password update
- Avatar attachment file type is limited to jpeg,gif and png
- Avatar attachment file size is limited to 15 mb
- Widget Message attachments are limited to types ['image/png', 'image/jpeg', 'image/gif', 'image/bmp', 'image/tiff', 'application/pdf', 'audio/mpeg', 'video/mp4', 'audio/ogg', 'text/csv']
- Widget Message attachments are limited to 40Mb size limit.
2021-09-01 15:08:05 +05:30
Sojan Jose
0a087c95fd
chore: Message API improvements ( #2396 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-08 01:11:06 +05:30
Sojan
739c062676
chore: Enable an echo id for message create end points
2020-09-13 16:16:52 +05:30
Sojan Jose
4216d63311
feat: Ability to reply to specific tweets ( #1117 )
...
Ability to choose a specific tweet to reply to
Fixes #982
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-08-11 09:57:42 +05:30
Sojan Jose
a6a62d92bf
chore: Add Additional Contact APIs ( #1130 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-08-10 12:15:29 +05:30
Sojan Jose
8079bf50a0
Feature: API Channel ( #1052 )
2020-07-21 12:15:24 +05:30
Sojan Jose
cc02611007
Chore: Convert Message Sender to polymorphic ( #740 )
...
Fixes #680
2020-06-27 21:34:53 +05:30
Sony Mathew
818c769bb7
Chore: Message to support multiple attachments ( #730 )
...
* Changes for the message to have multiple attachments
* changed the message association to attachments from has_one to has_many
* changed all the references of this association in building and fetching to reflect this change
* Added number of attachments validation to the message model
* Modified the backend responses and endpoints to reflect multiple attachment support (#737 )
* Changing the frontend components for multiple attachments
* changed the request structure to reflect the multiple attachment structures
* changed the message bubbles to support multiple attachments
* bugfix: agent side attachment was not showing because of a missing await
* broken message was shown because of the store filtering
* Added documentation for ImageMagick
* spec fixes
* refactored code to reflect more apt namings
* Added updated message listener for the dashboard (#727 )
* Added the publishing for message updated event
* Implemented the listener for dashboard
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-04-17 21:15:20 +05:30
Pranav Raj S
cb22b396eb
Feature: Website SDK ( #653 )
...
Add SDK functions
Co-authored-by: Sojan <sojan@pepalo.com>
2020-04-03 13:04:58 +05:30
Pranav Raj S
272c481464
Feature: Create conversations from Tweets ( #470 )
...
* Feature: Add tweets to conversations
2020-02-09 15:47:48 +05:30
Sojan Jose
722f540b03
[Feature] Email collect message hooks ( #331 )
...
- Add email collect hook on creating conversation
- Merge contact if it already exist
2020-01-09 13:06:40 +05:30
Sojan Jose
f875a09fb7
Chore: Switch from Carrierwave to ActiveStorage ( #393 )
2020-01-07 22:59:17 +05:30
Sojan Jose
c21c839dca
Contact model changes ( #184 )
...
* move source id from contacts
* Fix contactInbox model name
* rubocop fix
* Fix rspec
2019-10-27 13:14:36 +05:30
Sojan Jose
ba8f055802
Change sender_id to contact_id in conversations ( #167 )
...
* change sender_id to contact_id in conversations
* Fix failing tests
* Fix seeds
* fix specs
* Fix issues in facebook messenger
2019-10-21 00:40:18 +05:30
Pranav Raj S
94c6d6db6f
🚨 Fix Rubocop lint errors
2019-10-20 14:17:26 +05:30
Marc C
9b9aee4657
Update contact_params function ( #100 )
...
removed if block,
cannot be shortened further due to exception handling and params formatting
2019-10-06 10:29:54 +03:00
Ender Ahmet Yurt
bbbc14448b
Refactor for attachment_params method ( #108 )
2019-10-05 17:15:32 +08:00
Pranav Raj Sreepuram
beda21b84c
Remove source_id as primary key for contact
2019-08-31 11:53:03 +05:30
Pranav Raj Sreepuram
2a34255e0b
Initial Commit
...
Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-08-14 15:18:44 +05:30