Vishnu Narayanan
acba07cf6e
chore: revert GlobalConfig changes ( #3702 )
...
Priority to GlobalConfig changes are reverted and for the time being, env vars will take precedence if set.
Fixes #3699
2022-01-11 19:20:23 -08:00
Sojan Jose
ebb04487a8
chore: Prevent null in Contact JSONB attributes ( #3730 )
2022-01-11 15:14:55 -08:00
Aswin Dev P.S
7ee7062843
feat: Toggle to disallow users to send messages after a conversation is resolved ( #3605 )
2022-01-11 00:32:03 -08:00
Tejaswini Chile
a0884310f4
feat: Save automation rules ( #3359 )
2022-01-10 12:41:59 +05:30
Muhsin Keloth
e1fe4f09bc
chore: Add subscription delete API ( #3703 )
2022-01-06 21:40:43 +05:30
Vishnu Narayanan
e775d22b98
feat: add new view and controller to display app configs together ( #3563 )
...
fixes : #3578
2022-01-04 21:50:16 +05:30
Sojan Jose
577e9905c6
chore: Fix issue with conversation assignment notifications ( #3661 )
...
- fixes issues with conversation assignment notifications not working in certain cases
2021-12-28 21:53:13 +05:30
Sojan Jose
13d6734977
chore: Minor API cleanups ( #3645 )
...
- exception list updated
- revert mail presenter changes
2021-12-23 00:55:49 +05:30
Tejaswini Chile
c57c975a0d
bug: NoMethodError: undefined method `match' for in_reply_to ( #3641 )
...
Fixes #3615
2021-12-22 22:33:18 +05:30
Tejaswini Chile
44486fc8e1
chore: Improve email parsing using email trimmer gem ( #3611 )
...
Email parsing using email_trimmer gem
Fixes : #3539 , #2954 , #3572
2021-12-22 18:16:40 +05:30
Sojan Jose
009abc1948
chore: API improvements ( #3637 )
...
- Unique validations for Inbox members and Team member objects
- Move notification processing to Async
2021-12-21 22:48:01 +05:30
Muhsin Keloth
262474166f
chore: Add display id in all conversation notifications ( #3635 )
...
- Added conversation display id in push payload for the notifications conversation_creation and conversation_assignment
2021-12-21 19:59:22 +05:30
Amit Kumar
6069cd9eba
chore: Contact builder ignores custom attributes ( #3571 )
...
This is incorrect as per the documentation here: https://www.chatwoot.com/developers/api/#operation/create-a-contact
This allows setting the proper attributes when creating a contact
2021-12-19 10:59:03 +05:30
Aswin Dev P.S
5ee209c079
chore: Fix user email re-confirmation flow ( #3581 )
...
Users can change their email from profile settings. They will be logged out immediately. Users can log in again with the updated email without verifying the same. This is a security problem.
So this change enforce the user to reconfirm the email after changing it. Users can log in with the updated email only after the confirmation.
Fixes: https://huntr.dev/bounties/7afd04b4-232e-4907-8a3c-acf8bd4b5b22/
2021-12-16 19:32:49 +05:30
Tejaswini Chile
9984edd3ef
Feat: Manage conversation for tweets based on the tweet flag ( #3353 )
...
Add tweet conversation only if tweets are enabled.
Fixes #1961
2021-12-16 00:24:50 +05:30
Tejaswini Chile
c2519ea1ea
Fix: fixing mail to and in_reply_to issues ( #3451 )
2021-12-10 19:42:26 +05:30
Sojan Jose
b1eea7f7d1
chore: Introduce enterprise edition license ( #3209 )
...
- Initialize an "enterprise" folder that is copyrighted.
- You can remove this folder and the system will continue functioning normally, in case you want a purely MIT licensed product.
- Enable limit on the number of user accounts in enterprise code.
- Use enterprise edition injector methods (inspired from Gitlab).
- SaaS software would run enterprise edition software always.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-12-09 12:07:48 +05:30
Pranav Raj S
2f63ebb8a6
fix: Add fixes for sentry errors ( #3522 )
...
- Add fixes for sentry errors
2021-12-09 11:50:28 +05:30
Sojan Jose
1db82f235d
Chore: Improve confirmation flow for agents ( #3519 )
...
- Agents are redirected to the password reset page which confirms the agent as well as sets a new password.
2021-12-09 11:11:46 +05:30
thedev105
6d378eb206
Fix: Update contact validation messages ( #3500 )
...
Fixes #3476
2021-12-03 13:19:11 +05:30
Sojan Jose
0115b4ddc4
chore: validation spec for schedules ( #3480 )
...
We had instances where after copy-pasting the schedule block, the dev forgets to change the schedule key,
This would break some of the scheduled jobs without explicit errors.
this PR add a spec that will prevent it from happening
2021-11-30 21:44:30 +05:30
Sojan Jose
d5c30760a7
chore: Whatsapp templates fix for 360 dialog ( #3479 )
...
Fixes : #3426
2021-11-30 20:50:35 +05:30
Shivam Chahar
a4ee8ee239
Chore: Improve conversation auto resolution ( #3405 )
...
Fixes : #1583
2021-11-27 09:26:18 +05:30
Santhosh C
b326da7d94
feat: Ability to remove user profile picture ( #3156 )
...
Fixes #3107
2021-11-27 00:56:07 +05:30
Sojan Jose
add004a56e
Chore: API Improvements ( #3469 )
2021-11-27 00:48:46 +05:30
Vishnu Narayanan
3a48e08fe0
feat: migrate facebook env vars to globalConfig ( #3369 )
...
Migrate facebook env vars to globalConfig and make it editable from the super admin UI.
2021-11-25 00:55:26 +05:30
Tejaswini Chile
11cd7fd6c5
Feat: Added support changes for contact filters ( #3435 )
2021-11-23 16:36:44 +05:30
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