Aswin Dev P.S
ba0188aefc
fix: Report spec failure ( #4304 )
2022-03-28 12:31:09 +05:30
Jordan Brough
a8cfcbc168
chore: Timezone fixes for ReportBuilder and for ReportController spec ( #4246 )
...
- ReportBuilder wasn't using the specified time zone for the timestamp in the
"build" method
- The ReportController spec was calling `Time.zone.today.to_time`, but
`Date#to_time` disregards the zone from `Time.zone` and reverts to the system
time zone.
2022-03-25 14:00:27 +05:30
Jordan Brough
14c53b8b54
chore: Use "contain_exactly" in some tests ( #4243 )
2022-03-24 13:50:04 +05:30
Jordan Brough
c2647a1f27
chore: Use "destroy!" instead of "destroy" when not checking the return value ( #4259 )
2022-03-24 13:28:25 +05:30
Sojan Jose
f8c46341f6
chore: Disable invalid contact resolved activity messages ( #4253 )
...
Fixes the bug which triggered "Contact resolved conversation" activity messages when snoozed conversations where reopened
2022-03-23 16:08:42 +05:30
Pranav Raj S
b77fad52fb
fix: Add missing contact information to fix invalid activity messages ( #4195 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com>
2022-03-18 13:43:02 +05:30
Tejaswini Chile
207a03155e
Feat: authenticate direct upload ( #4160 )
2022-03-16 13:54:18 +05:30
Aswin Dev P.S
c4837cd7ac
feat: End conversation from widget ( #3660 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-03-15 22:07:30 +05:30
Pranav Raj S
4b748e2c8c
fix: Delete content_attributes in message destroy API ( #4184 )
2022-03-15 22:01:16 +05:30
Aswin Dev P.S
b94e67f5d7
feat: Add agents filter in CSAT reports ( #4106 )
...
* add agents filter in csat reports
2022-03-04 03:49:26 -08:00
Muhsin Keloth
aff14b697f
chore: Add webhook URL validation ( #4080 )
2022-02-28 15:44:02 +05:30
Tejaswini Chile
1ca1b4d36b
feat: bulk actions to update conversation objects ( #3934 )
...
Added the endpoints for bulk updating conversation objects
Fixes : #3845 #3940 #3943
2022-02-23 16:53:36 +05:30
Pranav Raj S
ea44a32758
feat: Add hCaptcha for public forms ( #4017 )
...
- added hCaptcha based verification for chatwoot signups
Co-authored-by: Sojan <sojan@pepalo.com>
2022-02-18 20:02:50 +05:30
Pranav Raj S
2591a04c0b
chore: Remove message_signature_enabled from users ( #3982 )
2022-02-15 12:10:53 +05:30
dependabot[bot]
f34a2e6115
chore(deps): bump puma from to 5.6.2, rails to 6.1.4.6 ( #3969 )
2022-02-14 20:09:21 +05:30
Tejaswini Chile
25001689ec
fix: Use to_i in campaign scheduled_at key ( #3968 )
2022-02-14 11:20:31 +05:30
Aswin Dev P.S
4e416b4d51
Add openssl verify mode and email encryption for smtp configuration ( #3885 )
...
* Add openssl verify mode and email encryption for smtp configuration
* Add spec for code coverage
2022-02-08 03:26:13 -08:00
Muhsin Keloth
4ae9ed8f94
chore: Assign the conversation to agent who opens the conversation ( #3925 )
2022-02-08 16:39:19 +05:30
Muhsin Keloth
a737f89c47
fix: Ongoing campaign URL validation ( #3890 )
2022-02-04 14:38:18 +05:30
Sojan Jose
cf10f3d03b
chore: Provider APIs for SMS Channel - Bandwidth ( #3889 )
...
fixes : #3888
2022-02-03 15:22:13 -08:00
Tejaswini Chile
8821106da9
Fix: Added the backend validation for name ( #3878 )
...
- Added the backend validation for name
- Add message size constraint
2022-02-02 14:21:17 -08:00
Tejaswini Chile
e99ea0b582
feat: Email signature API support ( #3874 )
2022-02-02 19:37:33 +05:30
Tejaswini Chile
a7c947aeae
feat: Clone and update automation rules ( #3782 )
...
- endpoints to clone and update automation rules
fixes : #3740
2022-01-20 15:30:21 -08:00
Tejaswini Chile
7df68c6388
Feat: Automations Actions ( #3564 )
2022-01-13 11:21:06 +05:30
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
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
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
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
Pranav Raj S
2f63ebb8a6
fix: Add fixes for sentry errors ( #3522 )
...
- Add fixes for sentry errors
2021-12-09 11:50:28 +05:30
thedev105
6d378eb206
Fix: Update contact validation messages ( #3500 )
...
Fixes #3476
2021-12-03 13:19:11 +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
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
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
Muhsin Keloth
a2764e5c1d
chore: Update deleteCustomAttribute
method in SDK ( #3334 )
2021-11-15 14:56:35 +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
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
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
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
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
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
Aswin Dev P.S
a35269d275
chore: Create conversation API should accept assignee & team ( #3166 )
2021-10-11 15:17:30 +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
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
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
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
Murtaza Bagwala
c504067e2b
fix: Add blank check for file param in Import API ( #3057 )
2021-09-21 10:20:12 +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
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
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
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
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
Sojan Jose
acb39cbc8f
chore: Ability to create contact with identifiers ( #2802 )
2021-08-13 13:02:46 +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
Sojan Jose
2890339734
chore: Limit objects returned by conversation API ( #2721 )
2021-07-31 21:19:42 +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
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
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
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
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
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
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
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
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
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
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
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