Sojan
0033a35ab8
Merge branch 'hotfix/1.22.1' into develop
...
# Conflicts:
# db/schema.rb
2021-11-22 23:35:44 +05:30
Sojan Jose
791d90c6b7
chore: Migrate PubSub Token to contact inbox ( #3434 )
...
At present, the websocket pubsub tokens are present at the contact objects in chatwoot. A better approach would be to have these tokens at the contact_inbox object instead. This helps chatwoot to deliver the websocket events targetted to the specific widget connection, stop contact events from leaking into other chat sessions from the same contact.
Fixes #1682
Fixes #1664
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-11-22 23:32:17 +05:30
Tejaswini Chile
7b44bf5b78
Fix: Filter with label name ( #3418 )
2021-11-19 13:55:40 +05:30
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
Akhil G Krishnan
b81a9f2010
Chore: Replaced dependent destroy with dependent destroy_async in all models ( #3249 )
2021-11-18 10:32:29 +05:30
Shivam Chahar
fec4a29081
Feat: Include previous messages in mention/assign notifications email ( #3385 )
2021-11-17 18:05:53 +05:30
Sojan Jose
acb06e7df6
chore: Prevent notification email loop ( #3386 )
...
Configuring an agent email also as a support email inbox leads to conversations getting created in a loop if notifications were also configured to the same email.
2021-11-15 19:15:51 +05:30
Muhsin Keloth
a2764e5c1d
chore: Update deleteCustomAttribute
method in SDK ( #3334 )
2021-11-15 14:56:35 +05:30
Tejaswini Chile
37a36349f2
feat: Update Swagger for the custom filter endpoint ( #3367 )
2021-11-12 19:28:03 +05:30
Muhsin Keloth
cf5f6d5a74
feat: enable Dialogflow integration all inboxes except email ( #3285 )
...
Fixes #2461
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-11-12 17:53:03 +05:30
Sojan Jose
d78cb67a2a
chore: Fix conversation status in webhooks ( #3364 )
...
- fix the wrong conversation status being sent in webhooks
- additional information in websocket events
- refactor activity messaging code
- move activity message generation to background job to stop the callback loop
2021-11-12 16:17:59 +05:30
Tejaswini Chile
564fa5f392
feat: Update custom filter for present/not_present operator ( #3361 )
2021-11-12 11:30:39 +05:30
Muhsin Keloth
76370267f3
feat: Render contact custom attributes in contact/conversation sidebar ( #3310 )
2021-11-11 15:23:33 +05:30
Sojan Jose
a4c87f2052
chore: Handle attachments in Whatsapp Channel ( #3299 )
...
send and receive attachments in 360Dialog WhatsApp channels
2021-11-11 13:03:48 +05:30
sarzynski
b3e313a200
fix: Ensure HMAC mandatory when enabled ( #3350 )
...
Add missing condition checking if HMAC is mandatory.
Fixes #3349
2021-11-11 09:48:38 +05:30
Tejaswini Chile
c0f5a59cf8
Bug: Instagram render template message twice ( #3313 )
2021-11-10 18:32:46 +05:30
Tejaswini Chile
358171062e
Feat: Add Null values at the last while sorting ( #3292 )
...
* Add Null values at the last while sorting
* Add contacts at last with special character in it
* Optimize SQL order and direction
2021-11-10 14:11:00 +05:30
Santhosh C
6cfd7d3836
feat: autogenerate vapid keys for push notifications ( #3128 )
...
* feat: Autogenerate push notification keys
* add vapid service class and remove pushkey model
* add spec for vapid service
* unset vapid env keys
* Unset VAPID_PRIVATE_KEY env variable
Co-authored-by: Sojan Jose <sojan@chatwoot.com>
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2021-11-09 21:36:32 +05:30
Vishnu Narayanan
97ee1bfa97
feat: add GlobalConfigService to support env vars migration ( #3288 )
2021-11-03 21:34:42 +04:00
Tejaswini Chile
372bd75028
feat: Add filter APIs for Contacts and Conversations ( #3264 )
2021-11-01 12:27:04 +04:00
Hugo Sarti
68fa694268
fix: Disable typing indicator for user when agent is typing a private note ( #3303 )
2021-11-01 12:20:07 +04:00
Sojan Jose
69f55a25b6
chore: Minor API fixes ( #3290 )
...
- Log whether web-hook was successful
- Inbox update shouldn't need channel params
2021-10-28 15:26:20 +05:30
Aswin Dev P.S
46867e89cb
feat: Ability to specify a subject line for outbound emails ( #3168 )
2021-10-27 13:09:29 +05:30
Viraj Bahulkar
e5e73a08fe
fix: Render missing captions for telegram media attachments ( #3257 )
2021-10-25 15:52:06 +05:30
Akhil G Krishnan
84df9c807d
chore: Add climate-control gem for handling the test ENV vars ( #3267 )
2021-10-25 13:13:25 +05:30
Sojan Jose
06289b03ea
chore: Add Contact Note APIs ( #3266 )
2021-10-24 12:40:30 +05:30
Tejaswini Chile
658a511b88
feat: Conversation and contact endpoint ( #3198 )
2021-10-20 18:14:56 +05:30
Muhsin Keloth
cd5c2c51d9
fix: Send notification to all the mentioned users in a private message ( #3222 )
2021-10-15 14:35:43 +05:30
Sojan Jose
0c65db925d
chore: Fixes the missing gem warning ( #3207 )
...
* chore: Fixes the missing gem warning
fixes : #3143
* chore: rubocop fixes
Co-authored-by: Tejaswini Chile <tejaswini776@gmail.com>
2021-10-14 13:57:01 +05:30
Sojan Jose
e669f6766f
chore: Fix Dialogflow issue ( #3210 )
2021-10-14 13:17:09 +05:30
Pranav Raj S
99abbb8158
feat: Display sent
status of emails in email channel ( #3125 )
2021-10-14 12:55:46 +05:30
WevrLabs
6c3e2a0bd3
feat: Render sticker messages from Telegram ( #3204 )
...
Add support for rendering sticker messages thumbs in Telegram.
2021-10-13 17:16:14 +05:30
Tejaswini Chile
6998e9aa2d
fix: Update email message_id parsing order ( #3073 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-10-12 20:46:00 +05:30
Akhil G Krishnan
7c21cf2255
feat: Render audio, video and voice attachments in telegram. ( #3155 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-10-12 12:58:30 +05:30
Tejaswini Chile
5749d25ff8
feat: Update instagram webhooks URL ( #3197 )
2021-10-12 12:46:27 +05:30
Murtaza Bagwala
3d3f0ff6ee
feat: Ability to receive attachments from LINE messenger ( #3094 )
...
Add support to add videos, audio, and images from line to chatwoot.
Fixes #3039
2021-10-11 19:06:41 +05:30
Aswin Dev P.S
a35269d275
chore: Create conversation API should accept assignee & team ( #3166 )
2021-10-11 15:17:30 +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
c54aae21ff
chore: Move agent availability to Account level ( #3074 )
...
- Move agent availability to the account level
2021-10-07 13:21:46 +05:30
Fayaz Ahmed
1c6a539c0a
feat: Add Reports for teams ( #3116 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-10-06 23:53:51 +05:30
Murtaza Bagwala
f874925f0e
fix: set default content type as text for message ( #3060 )
...
Fixes #2974
2021-10-06 00:10:29 +05:30
Sojan Jose
bd7aeba484
chore: Provider API prototype ( #3112 )
...
Enabling Support for Whatsapp via 360Dialog as a prototype for the provider APIs.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-10-05 23:35:06 +05:30
Tejaswini Chile
40d0b2faf3
feat: Add Instagram Channel ( #2955 )
2021-10-05 14:35:32 +05:30
Sojan Jose
1d94e65ca8
fix: CSAT reports page failing to load ( #3123 )
...
CSAT reports page was failing to load when there is an assigned agent is deleted.
2021-10-01 13:37:52 +05:30
Aswin Dev P.S
be9a055a3f
feat: Ability to send attachments to telegram ( #3108 )
...
This feature allows the user to send and delete attachments in the telegram conversation.
Fixes #3037
2021-10-01 01:45:29 +05:30
Pranav Raj S
57abdc4d5f
feat: Display "Snoozed Until" time on conversation header ( #3028 )
2021-09-29 19:33:51 +05:30
Pranav Raj S
cc244833d0
feat: Add all
filter for conversations ( #3102 )
2021-09-29 16:23:39 +05:30
Aswin Dev P.S
15aaa8883c
feat: API to Filter reports by teams ( #3066 )
...
Add API to Filter reports by teams
Fixes : #2916
2021-09-27 21:12:08 +05:30
Tejaswini Chile
54bdb2957f
feat: Add assignee last seen to conversations ( #3069 )
...
- Adds assignee last seen attribute to conversations
2021-09-23 20:59:10 +05:30
Aswin Dev P.S
4f51a46c2b
feat: Ability to delete a contact ( #2984 )
...
This change allows the administrator user to delete a contact and its related data like conversations, contact inboxes, and reports.
Fixes #1929
2021-09-23 12:52:49 +05:30
Muhsin Keloth
0c24df96a8
chore: Conversation custom attribute APIs ( #3024 )
2021-09-22 10:46:48 +05:30
Tejaswini Chile
dddab0bbce
chore: Handle the Twilio exception in sentry
...
Fix trying to extract the Sid from non created message.
Fixes #3029
2021-09-21 23:02:45 +05:30
Murtaza Bagwala
c504067e2b
fix: Add blank check for file param in Import API ( #3057 )
2021-09-21 10:20:12 +05:30
Pranav Raj S
b59e73b10b
fix: Update associations when a label is updated ( #3046 )
2021-09-21 10:16:32 +05:30
Sojan Jose
aaadd61e09
fix: Outbound messages triggering out of office ( #3051 )
2021-09-21 10:16:14 +05:30
Tejaswini Chile
b1b0268705
feat: Support sending and receiving attachments in Slack Integration ( #3022 )
...
- Process incoming slack attachments
- Send attachments from chatwoot to slack
2021-09-18 00:49:01 +05:30
Aswin Dev P.S
794a56d4cc
Feat: Out of office autoresponder ( #2992 )
...
This change allows the user to enable autoresponder during the out-of-office time.
Fixes : #2035
2021-09-17 22:17:11 +05:30
Tejaswini Chile
6ad5a7452c
fix: Emails not delivered when case does not match
...
Fixes #2504
2021-09-17 22:14:39 +05:30
Tejaswini Chile
a0ffefad71
chore: Use the name of the sender from the mail object
...
if the sender email is Sony Mathew <Sony@chatwoot.com> Contact should be built with Sony Mathew
Fixes #2911
2021-09-16 13:26:52 +05:30
Sojan Jose
2396b59f11
chore: API fixes ( #3014 )
...
- Minor API fixes
- Configuration screen for LINE inbox
2021-09-14 22:44:53 +05:30
Sojan Jose
946a09928e
Chore: Release Fixes ( #3011 )
...
- Fix super admin crashing
- Fix error on telegram group messages
fixes : #2856
2021-09-14 15:54:57 +05:30
Sojan Jose
22d1c8baf2
Chore: Inbox Members API improvements ( #3008 )
...
- New Inbox Member APIs
- Return JSON errors for Platform APIs
2021-09-14 11:55:02 +05:30
Sojan Jose
328edd24de
chore: Move Facebook event processing to worker ( #2988 )
2021-09-13 18:05:14 +05:30
Tejaswini Chile
b74261205d
chore: Support for special characters in password
...
Fixes : #2919
2021-09-13 13:15:05 +05:30
Sojan Jose
0a38632f14
feat: Line Channel ( #2904 )
...
- Ability to configure line bots as a channel in chatwoot
- Receive a message sent to the line bot in chatwoot
- Ability to reply to line users from chatwoot
fixes : #2738
2021-09-11 01:31:17 +05:30
Sojan Jose
671c5c931f
feat: Telegram Channel ( #2901 )
...
- Ability to configure telegram bots as a channel in chatwoot
- Receive a message sent to the telegram bot in chatwoot
- Ability to reply to telegram users from chatwoot
- Receive attachment messages in chatwoot
fixes : #1843
2021-09-10 00:00:52 +05:30
Fayaz Ahmed
2821777e93
feat: Add multiline support for channel greeting message ( #2952 )
2021-09-08 15:07:24 +05:30
Tejaswini Chile
772d4ae726
feat: Send MMS through Twilio Inbox ( #2959 )
...
Send MMS message to customer for Twilio integration inbox.
Fixes #2311
2021-09-07 00:05:14 +05:30
Sojan Jose
2ebd38c3b7
Chore: API Improvements ( #2956 )
...
- API to fetch info of a single inbox
- Document passing custom_attributes in the API
- Ability to filter contacts with contact identifier in search API
2021-09-04 17:56:46 +05:30
Sojan Jose
ad83d1bb71
feat: Platform API improvements ( #2900 )
...
- Platform APIs to add and update custom attributes to users
- Platform APIs to delete accounts
- Platform APIs to delete users
2021-09-02 18:29:45 +05:30
Aswin Dev P.S
2ddd508aee
Add missing conversation id for first response event ( #2922 )
...
- Add missing conversation id for first response event
- Fixing the flaky test
Fixes #2746
Co-authored-by: Tejaswini <tejaswini@chatwoot.com>
2021-09-02 00:16:09 +05:30
Sojan Jose
5319af3dfc
chore: Merge contact copy over information ( #2812 )
...
fixes : #2767 , #2773
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2021-08-31 15:30:18 +05:30
Aswin Dev P.S
1ff9939a80
feat: Ability to remove inbox avatar ( #2885 )
...
* Delete inbox avatar
1) New API endpoint added for deleting inbox avatar.
2) Delete avatar button in the inbox settings page.
Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-08-31 15:12:05 +05:30
Tejaswini Chile
65f3e83afd
feat: APIs to filter reports ( #2889 )
...
Fixes #2823
2021-08-27 22:46:32 +05:30
Brandon Wilson
f94abaef5f
feat: Shows inbox identifier token for API inbox ( #2894 )
...
Fixes : #2605
2021-08-27 19:56:45 +05:30
Tejaswini Chile
09e3413d10
chore: consider X-original-sender to create contact in case of group mail ( #2841 )
...
For emails forwarded from google groups, Google rewrites the FROM address to the group email and the original email will be available under X-Original-Sender. This PR enables chatwoot to handle this case.
Fixes : #2715
2021-08-24 14:18:08 +05:30
Muhsin Keloth
6515b69560
feat: CSAT for all channels ( #2749 )
2021-08-23 22:00:47 +05:30
Tejaswini Chile
eb80324eaa
feat: Add message content to mention email template ( #2838 )
2021-08-18 15:28:45 +05:30
Pranav Raj S
ed317c5bb3
feat: Use relay server for self-hosted mobile push notifications ( #2757 )
2021-08-17 01:44:16 +05:30
Aswin Dev P.S
9e052fd5b2
chore: Set phone_number through Website SDK ( #2803 )
...
Fixes : #2599
2021-08-13 17:26:09 +05:30
Sojan Jose
acb39cbc8f
chore: Ability to create contact with identifiers ( #2802 )
2021-08-13 13:02:46 +05:30
HariniKrishnan
a065165bcb
fix: undefined method contact in support mailbox ( #2678 )
...
if chatwoot receives an email of already existing contact with a different case say "Care@example.com", before this fix, it will throw an error. Now it will retrieve existing contact
Fixes : #2553
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-08-12 01:28:07 +05:30
Pranav Raj S
bdc4ecffc1
fix: Save content_type, multipart information to email message model ( #2774 )
2021-08-09 18:04:34 +05:30
Sojan Jose
ab54d9c629
chore: Upgrade rails and ruby versions ( #2400 )
...
ruby version: 3.0.2
rails version: 6.1.4
2021-08-03 20:11:52 +05:30
Muhsin Keloth
92c14fa87d
feat: CSAT response collection public page ( #2685 )
2021-08-03 18:22:50 +05:30
Pranav Raj S
faf104c1fe
fix: Update tweet character count logic ( #2709 )
2021-08-02 16:07:30 +05:30
Sojan Jose
e46aa1aa64
chore: Mark Facebook accounts for reconnection ( #2405 )
...
fixes : #2037
2021-08-01 18:15:39 +05:30
Sojan Jose
2890339734
chore: Limit objects returned by conversation API ( #2721 )
2021-07-31 21:19:42 +05:30
Muhsin Keloth
7662fdce47
feat: CSAT response public APIs ( #2670 )
2021-07-28 14:59:13 +05:30
Pranav Raj S
7664006625
chore: Improve search, list performance of contact/conversation APIs ( #2696 )
2021-07-23 18:39:24 +05:30
Pranav Raj S
6e1493501a
feat: Add APIs for custom attribute definitions ( #2689 )
2021-07-23 17:04:33 +05:30
Sanju
7e0937f3ed
chore: Cypress test case for create label flow
2021-07-23 16:38:44 +05:30
Sojan Jose
d955d8e7dc
feat: Ability to snooze conversations ( #2682 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-07-23 15:24:07 +05:30
Sojan Jose
a7ca55c080
chore: Change the conversation bot
status to pending
( #2677 )
...
fixes : #2649
2021-07-21 22:02:43 +05:30
Sojan Jose
a0886d37bc
chore: Expose widget config via an API ( #2645 )
...
Expose widget config via an API so that the UI could be detached from the rails Application.
2021-07-21 01:26:32 +05:30
Sojan Jose
217dd8a6f0
chore: Add assigned_count to conversation APIs ( #2665 )
2021-07-19 19:10:58 +05:30
Sojan Jose
eda52930be
chore: Add Telemetry ( #2631 )
...
ref: https://www.chatwoot.com/docs/self-hosted/telemetry
2021-07-15 23:58:54 +05:30
Mrunal Selokar
e0535168a0
chore: Removing duplicate callback to create auth token ( #2624 )
...
Removed after create callback in user model to create a new access token. This is already being taken care of by AccessTokenable module.
Fixes #2620
2021-07-15 15:24:38 +05:30
Sojan Jose
d7982a6ffd
chore: Add assigned option to conversation finder API ( #2630 )
...
- Adds the ability to filter all the conversations which are assigned
- Add rack timeout gem
- Remove size attribute from Sidekiq config
2021-07-14 22:51:27 +05:30
Sojan Jose
a5bc81b304
chore: Suppress the unnecessary CSRF warning ( #2606 )
...
Suppress the unnecessary CSRF warning
2021-07-14 18:40:24 +05:30
Sojan Jose
dfddf9cacc
chore: one off SMS campaign APIs ( #2589 )
2021-07-14 12:24:09 +05:30
Pranav Raj S
cb44eb2964
feat: Add CSAT reports ( #2608 )
2021-07-14 10:20:06 +05:30
Muhsin Keloth
ba547b3f60
chore: Delete related notifications if a conversation is deleted ( #2592 )
2021-07-12 12:28:16 +05:30
Pranav Raj S
5726447e47
fix: Unescape Slack incoming messages ( #2604 )
2021-07-09 17:45:02 +05:30
Pranav Raj S
0d02142925
feat: Support messages along with the actions in Dialogflow response ( #2579 )
2021-07-07 10:04:48 +05:30
Sojan Jose
dd9d5e410c
feat: Add CSAT response APIs ( #2503 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-29 20:59:41 +05:30
Pranav Raj S
30832d8a34
feat: Add APIs to create custom views on the dashboard ( #2498 )
2021-06-29 19:29:57 +05:30
Muhsin Keloth
8027c69c1c
chore: Change the notification text for mention notification type ( #2534 )
2021-06-29 14:32:57 +05:30
Sojan Jose
cd11efea1d
feat: Add CSAT Message Template Hooks ( #2494 )
2021-06-23 19:29:27 +05:30
Sojan Jose
bd9bac75ad
fix: Adds condition to handle base and mergee contact being same ( #2485 )
...
When an agent updates a contact email in the dashboard and the contact also update his email via the email collect box,
Merge action receives the same base and mergee contacts which could cause data corruption.
2021-06-22 15:57:48 +05:30
Muhsin Keloth
3d748aa8d4
chore: Add contact note model ( #2462 )
2021-06-21 15:16:26 +05:30
Pranav Raj S
6c49e58ff8
feat: Add contact label filter ( #2454 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-06-18 20:08:58 +05:30
Sojan Jose
853db60f8e
feat: Add Public APIs for API Channel ( #2375 )
2021-06-15 20:09:17 +05:30
Muhsin Keloth
0f377da109
feat: Add an option to delete campaigns ( #2402 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-15 14:14:59 +05:30
Sojan Jose
534acfbf96
chore: Ensure privilege validations for API endpoints ( #2224 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-11 11:44:31 +05:30
Muhsin Keloth
b9e40d1452
feat: Add an option to enable/disable email collect box ( #2399 )
...
* add email collect enabled migration
* migrations
* expose enable_email_collect field
* add select for email collect
* add enable_email condition on new conversation
* add default value true for enable_email_collect
* add specs for email collect enabled
* rereun migration
* code cleanup
* update token life span to 2 months
* revert uuid column
2021-06-10 02:34:03 -07:00
Sojan Jose
1bf7227843
chore: Fix emails being sent with the wrong translations ( #2236 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-08 22:45:01 +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 Jose
9e56565a30
chore: Add status param in conversation APIs ( #2394 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-07 20:04:31 +05:30
Sojan Jose
467b45b427
feat: Improved password security policy ( #2345 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-06-07 17:26:08 +05:30
Sojan Jose
d1b3c7b0c2
chore: Update Facebook Messenger gem ( #2342 )
2021-06-07 13:58:01 +05:30
Ani Ravi
49be9e21c3
chore: Universal Linking for Android ( #2324 )
...
* android assetlinks.json config
* try renaming html to json
* update env example
* chore: fix styling
* chore: styling part 2
* test: add spec for android assetlinks
* minor fixes
* minor fixes
* remove android sha256 value from env example
* add default sh256 value
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-06-02 08:46:45 -07:00
Muhsin Keloth
b0b4d9d6f5
enhancement: Current password confirmation in change password ( #2108 )
...
* add current password field in change password form
* locale changes
* chore: update password API
* chore: rubocop fixes
* replace currentPassword with current_password
* code cleanup
* replace input with woot-input
* code cleanup
Co-authored-by: Sojan <sojan@pepalo.com>
2021-06-02 05:22:24 -07:00
Sojan Jose
22965be6dc
feat: Add AgentBot APIs ( #2323 )
2021-06-01 22:34:25 +05:30
Sojan Jose
3b39eb3e33
chore: ability to run Chatwoot as API only server ( #2344 )
...
- Ability to run chatwoot as an API only server
- Removes action cable testing gem since it is merged to rails 6
2021-05-27 20:07:21 +05:30
Sojan Jose
bb1c028926
fix: Slack integration redirect url missing the client ID ( #2309 )
...
Fixes : #2304
2021-05-21 00:03:09 +05:30
Sojan Jose
46356d0bf9
docs: Add documentation for integration APIs ( #2300 )
2021-05-20 20:46:45 +05:30
Sojan Jose
d5215fea93
feat: APIs for Integration Hooks ( #2250 )
...
- Introduces JSON Schema validations via JSONSchemer
- Add CRUD APIs for integration hooks
2021-05-17 10:32:59 +05:30
Pranav Raj S
836b317b8a
feat: Remove restrictions on API channel webhook_url ( #2261 )
2021-05-13 15:03:25 +05:30
Pranav Raj S
0e6cd699e8
feat: Sort contacts via name, email, phone_number, last_activity_at ( #1870 )
2021-05-13 13:32:19 +05:30
Muhsin Keloth
3fc646f330
feat: Add campaigns in web widget ( #2227 )
...
* add campaign store(getter, actions and mutations)
* add campaign store module
* add get campaigns api
* add fetch campaign action widget load
* add specs
* code cleanup
* trigger campaig api fixes
* integrate campaign trigger action
* code cleanup
* revert changes
* trigger api fixes
* review fixes
* code beautification
* chore: Fix multiple campaigns being send because of race condition
* chore: rubocop
* chore: Fix specs
* disable campaigns
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
Co-authored-by: Sojan <sojan@pepalo.com>
2021-05-10 00:31:00 -07:00
Sojan Jose
b30ecb27a6
feat: Add APIs for Dialogflow integration V1 ( #2155 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-05-05 21:06:11 +05:30
Sojan Jose
98e2a9b8b5
feat: Builder for creating Campaign conversations ( #2192 )
...
- Builder for creating Campaign conversations
- Widget endpoint to fetch the campaigns
2021-05-03 20:23:09 +05:30
Sojan Jose
a07200bedf
chore: Campaign ID migration for existing accounts ( #2189 )
...
* chore: Campaign ID migration for existing accounts
* chore: update factory
* chore: minor fixes
* chore: fixes
2021-04-30 06:15:24 -07:00
Sojan Jose
b89cc9cf57
feat: Add APIs for Campaigns ( #2175 )
2021-04-29 22:23:32 +05:30
Sojan Jose
4b49d21543
chore: Add event for conversations transferred to Bot ( #2167 )
...
* chore: Event for conversation transferred to Bot
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Nithin David <webofnithin@gmail.com>
2021-04-28 20:53:23 +05:30
Pranav Raj S
8ea35802b4
fix: Handle email with no subject line and no body ( #2164 )
...
* fix: Add a default email subject line if no subject is present
* Add a default on the frontend
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-04-27 10:51:04 -07:00
Sojan Jose
3a4d316a9d
chore: Identify contacts based on phone number ( #2134 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-04-20 10:12:14 -07:00
Sojan Jose
4635e5bb44
feat: Assignable agents API ( #2131 )
...
`inboxes/id/assignable_agents` returns all users that have permission to a conversation happening in that inbox.
2021-04-20 13:46:20 +05:30
Sojan Jose
ea74462209
feat: Manage platform apps from Super Admin ( #2129 )
...
- ability to manage platform apps from super admin
- fixes #2021
2021-04-20 00:01:05 +05:30
Sojan Jose
45e43b0b89
feat: Contactable Inboxes API ( #2101 )
...
- Add endpoint which lists inboxes through which a contact can be contacted
- Conversation creation API auto-creates contact_inbox for specific channels [ Twilio, email, api]
- Ability to send the initial message payload along with the conversation creation
- Fixes #1678 ( issue saving additional attributes for conversation )
2021-04-15 15:13:01 +05:30
Sojan Jose
c8b81b066b
chore: Add timeouts to requests ( #2024 )
2021-03-31 16:39:57 +05:30
Sojan Jose
42534e1df4
chore: Add fail safes for Redis connections ( #2016 )
2021-03-30 18:16:17 +05:30
Sojan Jose
6bb026621d
fix: Current.user nil issue when using access tokens ( #2012 )
2021-03-29 23:26:20 +05:30
Sojan Jose
c453455ad1
fix: Handle application errors in Sentry ( #1982 )
...
- Handle notification errors for attachment messages
- Fix empty identifiers being passed
- Fix 404 when invalid source id
- Handle webhook exceptions
2021-03-27 12:27:48 +05:30
Nithin David Thomas
6c87001a0e
Feat: Show working hours on widget ( #1823 )
...
Feat: Display out of office message based on business hours
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-03-13 11:44:28 +05:30
Sojan Jose
dbf515ab5a
chore: Make SMTP environment variables configurable ( #1868 )
...
fixes : #1647
2021-03-12 15:37:06 +05:30
Sojan Jose
42e83de5b0
feat: Activity messages for team assignments ( #1893 )
...
- assignment messages when the conversation team is changed
- change assignee based on team
- move round-robin and assignee logic to concerns
2021-03-12 15:13:58 +05:30
Sojan Jose
ca4a766b82
chore: Enable email channel ( #1851 )
2021-03-04 13:59:59 +05:30
Sojan Jose
03bc4bf224
fix: Greeting messages not sent when pre-chat form is enabled ( #1842 )
2021-03-01 10:58:49 +05:30
Muhsin Keloth
aab70bf1f1
fix: attachment rendering if the message content is empty in private note ( #1831 )
...
Fixes #1830
2021-02-25 22:40:03 +05:30
Sojan Jose
0e721653e5
feat: Business hour Inbox APIs ( #1821 )
...
* feat: Business hour Inbox APIs
2021-02-23 12:11:15 +05:30
Sojan Jose
1612f515b0
chore: Fix issues with notification actors ( #1807 )
2021-02-19 18:35:21 +05:30
Sojan Jose
850041bc1d
fix: Twitter inbox creation error ( #1783 )
...
fixes #1708
Co-authored-by: Pranav <pranav@chatwoot.com>
2021-02-16 19:35:10 +05:30
Pranav Raj S
037ffc7419
feat: Add a pre-chat form on widget ( #1769 )
2021-02-16 00:14:13 +05:30
Pranav Raj S
64d7dc5335
fix: Remove teams on account user destroy ( #1766 )
2021-02-15 13:32:52 +05:30
Sojan Jose
8d45849d0c
chore: Update notification Message Copy ( #1685 )
2021-02-12 22:56:12 +05:30
Nithin David Thomas
1484849cc7
chore: Update method for team members ( #1734 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-02-09 19:21:31 +05:30
Pranav Raj S
d4c2a78db6
chore: Add Chatwoot SDK to Chatwoot Dashboard ( #1726 )
...
Add Chatwoot SDK to Chatwoot Dashboard
2021-02-08 16:38:35 +05:30
Sojan Jose
f46c4b5130
chore: Minor Changes to Bot Message APIs ( #1739 )
2021-02-08 12:50:11 +05:30
Karthik Sivadas
2012aab1d5
fix: Standardize name validation on agent / profile pages ( #1720 )
2021-02-04 20:08:46 +05:30
Sojan Jose
c61edff189
feat: Add bulk imports API for contacts ( #1724 )
2021-02-03 19:24:51 +05:30
Pranav Raj S
7748e0c56e
fix: Update flaky notification tests ( #1728 )
2021-02-03 17:55:27 +05:30
Sojan Jose
5d5e75ce9c
Chore: Fix Deserialisation Error in Jobs ( #1683 )
...
- Ignore Jobs on de-serialization error
- Show empty conversations in chat UI
Fixes : #1480
2021-01-31 13:05:07 +05:30
Sojan Jose
0ff81e3b53
feat: Add team assignment & filter APIs ( #1712 )
2021-01-31 12:40:02 +05:30
Sojan Jose
f9c3b7f2f1
feat: Bulk add team members in Team APIs ( #1695 )
2021-01-29 12:34:52 +05:30
freddii
229fcc18b7
chore: fixed typos in code comments ( #1701 )
2021-01-28 10:39:37 +05:30
Pranav Raj S
b93388b330
feat: Tag agents in a private note ( #1688 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
2021-01-27 00:04:11 +05:30
Sojan Jose
a0c33254e7
feat: Team APIs ( #1654 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-01-17 23:56:56 +05:30
Muhsin Keloth
dd90e24d02
chore: Add unread notification count API ( #1646 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
2021-01-17 22:45:31 +05:30
Sojan Jose
14eefe3824
feat: Add Installation onboarding flow ( #1640 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-01-17 14:07:18 +05:30
Sony Mathew
18d3c40fb3
feat: installation config in super admin console ( #1641 )
...
* feat: installation config in super admin console
* Added the ability for super admins to view, edit and update
installation config values. Also they can add new isntallation config
values. The impact of editing and adding depends on which all
installation config values are being used in the code.
* Known limitation now: Ability to edit hash values (for eg: feature
flags) are disabled. This requires more work and will be taken up in
a secondary set of changes.
* Minor UX improvement. Clicking on the Sidekiq option in the super
admin siebar will now open the sidekiq dashboard in a new tab rather
than in the same tab that you were using super admin.
* fix: method name fix in custom adminsitrate field
* feat: added locked attribute to global config
* Added the locked attribute to instalaltion config table. Added
necessary migrations. Added changes in config loader.
* Added the changes on the installation config yml
* Locked the account feature defaults in code
* feat: show only editable configs in admin console
* Added a new scope in installation config model
* Added scope in adminstrate controller for installation_config
* fix: new installation config create error
* Fixed the error in new installation config create
* fix: specs coverage
* Added specs for installation config super admin controller
* chore: update git ignore with encrypted config ext
2021-01-15 13:21:53 +05:30
Sojan Jose
7542330d61
feat: Add Platform APIs ( #1456 )
2021-01-14 20:35:22 +05:30
Pranav Raj S
75c2a7cb2f
fix: Resolve name only if assignee exists during unassignment ( #1649 )
2021-01-14 14:21:41 +05:30
Muhsin Keloth
2d5aa9d3bd
chore: Add count and current page in notification meta details ( #1619 )
2021-01-13 17:04:27 +05:30
Pranav Raj S
8c66dbd342
fix: Labels cannot be added to conversations ( #1644 )
2021-01-13 12:15:11 +05:30
Sojan Jose
346830ab1d
feat: Add Cron Jobs In Chatwoot and update installation notice ( #1630 )
2021-01-11 17:34:41 +05:30
Pranav Raj S
160a6fc6cf
feat: Save UI state in the database ( #1635 )
...
feat: Save UI state in the database
2021-01-10 19:25:33 +05:30
Pranav Raj S
a9344fbf4c
fix: Add missing switch_locale on DashboardController ( #1631 )
2021-01-09 01:43:17 +05:30
Sojan Jose
7884090551
chore: Enable updating conversation additional attributes ( #1611 )
...
- Enable updating additional attributes via conversation API
- Handle the case when additional_attributes is nil
Fixes : #1357
2021-01-07 13:47:38 +05:30
Nithin David Thomas
3d2db95417
feat: Add preview for attachment messages ( #1562 )
...
Add preview for pending messages and attachments
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-01-06 17:56:29 +05:30
Saurabh Mehta
627d3a575a
chore: Automate conversation display_id generation with db triggers ( #1412 )
...
Automate conversation display_id generation with db triggers
Co-authored-by: Saurabh Mehta <saurabh1.mehta@airtel.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-01-05 20:07:04 +05:30
Pranav Raj S
a2d6fa0f74
feat: API to add label to contacts ( #1563 )
2021-01-03 20:07:57 +05:30
Pranav Raj S
811657c9e7
feat: API to allow agents to delete a message ( #1353 )
2020-12-28 23:36:50 +05:30
Pranav Raj S
9d3dda9a61
feat: Add full name to the user signup form ( #1534 )
2020-12-21 14:05:19 +05:30
Pranav Raj S
8e2b4acc43
chore: Remove account.destroy listener ( #1530 )
2020-12-19 18:11:43 +05:30
Pranav Raj S
1ade4f75ea
chore: Ingore case while searching contact name, email ( #1505 )
2020-12-11 23:25:00 +05:30
Pranav Raj S
88c4b63eec
chore: Add slack external_source_id for outgoing messages ( #1503 )
2020-12-10 22:53:49 +05:30
Sojan Jose
a988724c91
feat: Authenticate by SSO tokens ( #1439 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-11-25 13:59:38 +05:30
Sojan Jose
eb2ded6f65
feat: Agent & Inbox Report APIs ( #1391 )
2020-11-16 19:41:52 +05:30
Pranav Raj S
ef99fd3311
feat: Ignore tweets from blocked users ( #1408 )
2020-11-16 10:46:53 +05:30
Nithin David Thomas
f214c9c47c
feat: Add Contacts page ( #1335 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-11-10 15:25:26 +05:30
Pranav Raj S
2babfd6148
fix: Add a check for thread_ts ( #1389 )
...
- If no thread timestamp is available, ignore the message
- Add specs to cover the case
2020-11-09 22:01:57 +05:30
Pranav Raj S
7718cf7d2c
feat: Add global message search ( #1385 )
...
* feat: Search messages by content
* Fix search UI
* Add specs
* chore: Filter search results
* Update highlight logic
* Rename query to searchTerm
Co-authored-by: Sojan <sojan@pepalo.com>
2020-11-08 01:46:45 +05:30
Akash Srivastava
074084b258
feat: Auto resolve conversations after n days of inactivity ( #1308 )
...
fixes : #418
2020-11-01 12:53:25 +05:30
Adam Zysko
65ed4c78a4
feat: Business hours
...
Data models and APIs for business hours
ref: #234
2020-11-01 00:14:33 +05:30
Yih Yang
12b7358773
feat: Add messages on mute / unmute actions ( #1373 )
2020-10-30 22:27:25 +05:30
Sojan Jose
1d9debaee0
feat: IP lookup ( #1315 )
...
- feature to store contact IP for accounts
- IP lookup through geocoder gem
- ability to do IP lookup through external APIs
- add commit hook to prevent push to develop and master
- migrations to fix default values for jsonb columns
2020-10-28 02:14:36 +05:30
Abhishek
ff96d43953
feat: notify on slack disconnect ( #1323 )
2020-10-28 00:22:57 +05:30
Pranav Raj S
85514cae8d
feat: Display reply time in widget ( #1349 )
...
Fixes #1132
2020-10-18 23:32:22 +05:30
Pranav Raj S
0bea0217b4
chore: Use full name in activity message, fix specs ( #1339 )
2020-10-14 00:16:35 +05:30
Pranav Raj S
2c324d9421
feat: Allow custom email address for inbox ( #1336 )
2020-10-11 23:24:11 +05:30
Sony Mathew
e01fdb5f00
chore: refactored redis config (sentinel related) ( #1327 )
...
Refactored the redis config module which had redis sentinel related
configs. Also changed the specs accordingly.
2020-10-09 12:37:42 +05:30
Dmitriy Shcherbakan
ecebe163e1
feat: Ability to unmute muted conversations ( #1319 )
2020-10-08 12:02:08 +05:30
Sojan Jose
88b2469dc8
feat: Add API to get the active contacts ( #1313 )
2020-10-05 23:30:27 +05:30
Pranav Raj S
399f9e004a
fix: Use last_activity_at instead of updated_at for sorting ( #1281 )
...
Co-authored-by: Akash Srivastava <akash.srivastava.1911@gmail.com>
2020-10-05 22:52:43 +05:30
Abhishek
77d380dd6b
chore: refactor redis config ( #1310 )
...
- refactor Redis config in Redis::Config Module
- unit tests for Redis::Config module
2020-10-05 17:31:10 +05:30
Abhishek
70f08103aa
feat: Activity message for label addition & deletion ( #1291 )
...
Fixes : #1022
2020-10-02 16:33:59 +05:30
Dmitriy Shcherbakan
98cb09104e
chore: Refactor DeviseOverrides::ConfirmationsController#create
( #1297 )
2020-10-02 15:27:26 +05:30
Abhishek
5cd08b3f98
chore: self-assign conversation activity message ( #1293 )
2020-10-02 00:41:23 +05:30
Sojan Jose
b862817b29
feat: Enable reauthorization for Facebook ( #1286 )
2020-09-30 01:12:32 +05:30
Subin T P
701eccb35c
Feature: Knowledge Base APIs ( #1002 )
...
- Introduce models & migrations for portals, categories, folders and articles
- CRUD API for portals
- CRUD API for categories
Addresses: #714
Co-authored-by: Sojan <sojan@pepalo.com>
2020-09-26 02:32:34 +05:30
Sojan Jose
532331edb6
feat: Ability to search conversation with message content ( #1265 )
...
- API end point which takes message content as search parameter
- end point supports additional filtering with labels and inbox ids
- swagger doc
2020-09-23 15:27:41 +05:30
Sony Mathew
f9b0427751
feat: email channel backend ( #140 ) ( #1255 )
...
* feat: added support mailbox to handle email channel (#140 )
Added a new mailbox called 'SupportMailbox' to handle all the
incoming emails other than reply emails.
An email channel will have a support email and forward email
associated with it. So we filter for the right email inbox based on
the support email of that inbox and route this to this mailbox.
This mailbox finds the account, inbox, contact (create a new one
if it does not exist) and creates a conversation and adds the
email content as the first message in the conversation.
Other minor things handled in this commit:
* renamed the procs for routing emails in application mailbox
* renamed ConversationMailbox to ReplyMailbox
* Added a fallback content in MailPresenter
* Added a record saving (bang) versions of enabling and disabling
features in Featurable module
* added new factory for the email channel
refs: #140
2020-09-21 22:44:22 +05:30
Pranav Raj S
0deb1af852
chore: Add a check for defined labels in SDK API ( #1259 )
2020-09-20 19:29:39 +05:30
Pranav Raj S
646746aa10
fix: Check medium to decide 24 hour window ( #1245 )
2020-09-17 23:32:19 +05:30
Sojan Jose
31c07771e8
feat: Notification on new messages in conversation ( #1204 )
...
fixes : #895
fixes : #1118
fixes : #1075
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-09-10 19:19:15 +05:30
Sojan Jose
ac5d755545
chore: Update dependencies ( #1173 )
2020-09-08 11:24:08 +05:30
Pranav Raj S
d18c8fc08a
chore: Add message_echo listener for Facebook ( #1192 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2020-09-04 19:13:47 +05:30
Sojan Jose
2193de9853
chore: General fixes and clean up ( #1169 )
2020-08-25 23:04:02 +05:30
Pranav Raj S
8cf05f1d9f
feat: Ability to edit a contact ( #1092 )
...
Ability to edit contact information in conversation sidebar
Co-authored-by: Sojan <sojan@pepalo.com>
2020-08-23 00:05:07 +05:30
Sojan Jose
cdd385b269
feat: Custom Attributes for contacts ( #1158 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-08-21 19:30:27 +05:30
Sojan Jose
22880df429
Feature: Send chat transcript via email ( #1152 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-08-17 11:25:13 +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
a04ca24def
feat: Customisable Email Templates ( #1095 )
2020-08-06 15:21:06 +05:30
Pranav Raj S
3b23aa7913
Bugfix: Use server timestamp to set agent_last_seen_at ( #1114 )
2020-08-03 13:40:20 +05:30
Pranav Raj S
6d4cfcceba
Chore: Update the usage of available_name instead of name ( #1110 )
...
Update the usage of available_name instead of the name
2020-08-01 18:30:47 +05:30
Pranav Raj S
1dd3573c39
bug: Fix emails if assignee is nil ( #1106 )
2020-07-31 15:57:19 +05:30
Pranav Raj S
2b1d445003
feat: Use display_name instead of name of the agent ( #1097 )
...
* feat: Use display_name instead of name of the agent
2020-07-27 22:19:26 +05:30
Divyesh Kothari
89ed0b425b
feat: Ability for the logged in user to create a new account ( #985 )
...
Co-authored-by: Divyesh <dkothari@box8.in>
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-26 12:54:50 +05:30
Pranav Raj S
0f2d3418f9
fix: Add a check for 24 hour window before sending a message ( #1084 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2020-07-25 22:54:45 +05:30
Sojan Jose
d6f309ce22
Chore: Initialize Cypress tests ( #1078 )
...
Addresses: #412
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-21 20:11:22 +05:30
Sojan Jose
8079bf50a0
Feature: API Channel ( #1052 )
2020-07-21 12:15:24 +05:30
Sojan Jose
d800b55ac6
Chore: Add display name to the user ( #1067 )
...
* Chore: Adding browser info to web widget triggered event
fixes : #970
* Chore: Rename nickname to display name
references: #972
* Chore: Change nickname in code
* chore: fix errors
* Chore: update nginx config
fixes : #1057
* Chore: Fix specs
2020-07-20 18:28:14 +05:30
Sony Mathew
b803ae3300
Bugfix: Private notes in emails & broken Signup ( #1068 )
...
* Bugfix: Private notes in emails
Private notes were sent in the emails as part of
conversation continuity. Fixed this issue.
Also made the changes to not even queue the mails
if message is a private note.
* Bugfix: Change issue with featurable in signup - passing array
* Bugfix: Added specs for checking private notes being sent in email
2020-07-20 12:47:02 +05:30
Sony Mathew
96efc44b82
Chore: Feature lock email settings in UI ( #1065 )
...
* Chore: Feature lock email settings in UI
The email settings under account settings needed to be
feature locked in a way different from teh current way for it
to be enabled for accounts in a self hosted scenario.
Some refactorings were also done along with this change.
1. There was a feature flag defined in code in account model called
domain_emails_enabled was used to check if the inbound emails was
enabled for the account. But there was already a feature flag called
"inbound_emails" defined in features.yml. So changed to use this to
check if inbound emails are enabled for an account.
2. Renamed and re-purposed existing `domain_emails_enabled` to
`custom_email_domain_enabled` to use for feature toggling the UI
for email settings.
3. To enable & disable multiple features using the featurable concern
we were passing an array of values. Changed this to accept a comma
separated set of values.
* Chore: Feature lock email settings in UI
Fixed the specs for accounts controller & removed
unneccessary code from Account seetings component in UI
* Chore: Convert newlines to <br>s
Removed the layout used while sending replies in
conversation continuity.
Converted the newlines in the messages to <br/> tags
for the correct HTML rendering.
* Chore: Bug fix in reply email domain
Renamed the function custom_email_domain_enabled to
inbound_email_enabled.
Fixed bug on setting reply emails's domain.
2020-07-19 23:08:07 +05:30
Sony Mathew
7ca192615d
Chore: Move some email configs to ENV variables ( #1064 )
...
For the outgoing emails which has dependency on the incoming
part as well like the conversation continuity part, some of the
config variables used were entirely based on the account attributes.
But this is not true in case of self hosted situations where you have
multiple accounts and have a common config for incoming emails.
So moved out some of the attributes entirely dependednt on the account
to ENV with a fallback to the Global config.
Also, with this changes the name of the agent will be shown in the
email clinet with in the conversation rather than just the support
email address. This has a huge UX impact on the cutomer.
Modified all the necessary unit tests to reflect these changes.
Updated the .env.example file for the new ENV variable.
2020-07-19 15:35:55 +05:30
Sony Mathew
7ef45e5844
Chore: Change the prefix in reply emails ( #1060 )
...
* Chore: Change the prefix in reply emails
In conversation continuity the reply to email was looking like
reply+to+{some_random_hex_id}@reply.chatwoot.com
Changed the prefix to just `reply` instead of `reply+to`.
* Chore: Change reply email prefix in outbound emails
Changed the prefix from `reply+to+` to just `reply+` in
the reply emails in the converstaion related outbound emails.
2020-07-19 13:34:34 +05:30
Sojan Jose
a18d54b706
Chore: Cleanup attachment handling for Facebook & Whatsapp ( #1051 )
...
* Chore: Enable file upload for facebook messenger
* Chore: Fix attachments
* Chore: Fix Specs
* Fix ReplyBox file attachment logic
* Set default value for message
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-07-17 00:32:32 +05:30
Sony Mathew
d5a6f5e352
Enhancement: ability to send out an email without summary #1048 ( #1049 )
...
Right now as part of conversation continuity, we are using the
ConversationReplyMailer which sends a summary of messages including
the incoming messages when an agent replies. Ideally, we want
to send only the reply of that agent and not a summary when
Conversation continuity is enabled. Added the functionality
to send the reply email without summary. Added required unit
tests to cover the changes.
ref: #1048
2020-07-15 16:33:52 +05:30
Sojan Jose
0fc0dc1683
Chore: Refactor round robin logic ( #1015 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-08 00:14:07 +05:30
Nithin David Thomas
49db9c5d8a
Adds unread message bubbles for widget ( #943 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-08 00:04:44 +05:30
Pranav Raj S
4612494923
Chore: Fix issues with conversation data models ( #1000 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
2020-07-04 19:46:17 +05:30
Sojan Jose
c98907db49
Feature: Availability Statuses ( #874 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-04 11:42:47 +05:30
Sojan Jose
cc02611007
Chore: Convert Message Sender to polymorphic ( #740 )
...
Fixes #680
2020-06-27 21:34:53 +05:30
Sojan Jose
4f83d5451e
Chore: Routine Bugfixes and enhancements ( #979 )
...
- Fix slack scopes
- Docs for authentication
Fixes : #704 , #973
2020-06-25 23:35:16 +05:30
Pranav Raj S
97ad39713b
Feature: Improve label experience ( #975 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
2020-06-25 21:04:03 +05:30
Sojan Jose
1ef8d03e18
Feature: Slack - receive messages, create threads, send replies ( #974 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-06-22 13:19:26 +05:30
Sojan Jose
04f6460afb
Chore: Fix failing sidekiq events for contact create ( #966 )
2020-06-16 19:39:57 +05:30