Sojan Jose
74fdfffe08
fix: Notification page breakages ( #5236 )
...
- Remove the cascading foreign key indexes
- Add migration to clean up existing objects
fixes : #4285
2022-08-10 13:46:46 +02:00
Pranav Raj S
e0cebfaa1a
chore: Allow super admin to suspend an account ( #5174 )
2022-08-03 11:40:03 +05:30
Tejaswini Chile
596b611fc0
fix: search with status and author ( #5152 )
2022-08-02 15:28:27 +05:30
Tejaswini Chile
41df70fb96
chore: Add articles metadata ( #5125 )
2022-07-28 13:59:16 +05:30
Tejaswini Chile
6a4c0a1578
feat: Execute macro actions, for the conversation ( #5066 )
2022-07-26 12:41:22 +05:30
Tejaswini Chile
5727928600
fix: help center clearing minor bugs ( #5075 )
2022-07-22 15:01:07 +05:30
Sojan Jose
6a6a37a67b
chore: Ability to Disable Gravatars ( #5027 )
...
fixes : #3853
- Introduced DISABLE_GRAVATAR Global Config, which will stop chatwoot from making API requests to gravatar
- Cleaned up avatar-related logic and centralized it into the avatarable concern
- Added specs for the missing cases
- Added migration for existing installations to move the avatar to attachment, rather than making the API that results in 404.
2022-07-21 19:27:12 +02:00
Tejaswini Chile
0cee42a9f9
feat: Macros CRUD api ( #5047 )
2022-07-19 17:37:00 +05:30
Pranav Raj S
1dc7ce526e
chore: Add ee helper, custom_attributes to account ( #5058 )
2022-07-19 00:33:06 +05:30
Tejaswini Chile
00dc65ef73
fix: Twilio validation over blank messaging_service_sid ( #5055 )
2022-07-18 20:02:37 +05:30
Simon
fd44f9f28a
chore: add file size to response ( #5054 )
...
Add file_size to the attachment response to display the file size in chat.
Fixes : #4992
2022-07-18 15:21:24 +02:00
Sojan Jose
4187428729
chore: Update dependencies to the latest versions ( #5033 )
2022-07-15 09:51:59 +07:00
Sojan Jose
05db053f60
chore: fix schema error from PR merges ( #5016 )
2022-07-11 20:12:48 +02:00
Tejaswini Chile
23ac1c0334
feat: Added portal logo and the updated the JSON ( #4996 )
2022-07-11 12:43:24 +05:30
Jordan Brough
49d08a6773
feat: Support Twilio Messaging Services ( #4242 )
...
This allows sending and receiving from multiple phone numbers using Twilio messaging services
Fixes : #4204
2022-07-08 18:20:07 +05:30
Tejaswini Chile
fdf449dc87
Feat: Article public apis ( #4955 )
2022-07-08 17:24:38 +05:30
Sojan Jose
e4b159dd54
chore: Fix contact model silently discarding invalid attributes ( #4994 )
...
fixes : #4775
2022-07-08 13:58:09 +05:30
Simon
91d9584fcb
feat: show HMAC and enforcement for identity validation for API inbox ( #4807 )
...
Display HMAC token in Settings of Inbox API and enable enforcement option. I have also adjusted the copy so that it can apply to all inbox types.
Fixes : #4804
2022-07-06 21:47:39 +02:00
Sojan Jose
a6c609f43d
feat: Support for Whatsapp Cloud API ( #4938 )
...
Ability to configure Whatsapp Cloud API Inboxes
fixes : #4712
2022-07-06 21:45:03 +02:00
Tejaswini Chile
b86638faac
fix: last incoming message sort ( #4972 )
2022-07-06 00:37:43 +05:30
Tejaswini Chile
029209a634
feat: Portal and Category public APIs ( #4946 )
2022-07-05 17:15:38 +05:30
Tejaswini Chile
ae59d0a343
feat: CRUD operation for associated articles to current article ( #4912 )
2022-07-04 20:29:44 +05:30
Tejaswini Chile
ac7ebe516a
fix: Add validation for the inbox name to avoid special characters ( #4920 )
2022-06-30 10:59:37 +05:30
Tejaswini Chile
df1bf112ea
feat: Category API to handle linked categories and parent-sub categories ( #4879 )
2022-06-28 11:23:20 +05:30
Pranav Raj S
dcbca173ac
chore: Revert the migration for inbox name changes ( #4919 )
2022-06-23 20:36:46 +05:30
Pranav Raj S
b7606e4dd2
feat: Add native support for CSML in agent_bot API ( #4913 )
2022-06-23 19:17:46 +05:30
Aswin Dev P.S
d5ddc9d76c
chore: Fix SMTP sentry issue ( #4883 )
...
* Fix SMTP sentry issue
2022-06-22 14:09:04 -07:00
Tejaswini Chile
ffd102cdfe
Feat: custom sort ( #4864 )
2022-06-22 11:04:42 +05:30
Muhsin Keloth
a8c6cd729b
chore: Sync pre-chat fields after custom attribute update ( #4692 )
2022-06-20 14:16:49 +05:30
Sojan Jose
fdcaed75f6
chore: Move Whatsapp template sync to cron ( #4858 )
...
syncing WhatsApp templates job is moved to a cron job for a better user experience. The Templates are synced at 15-minute intervals now.
2022-06-14 23:46:36 +05:30
Pranav Raj S
1bb0371c1d
feat: Add agent_reply_time_window in API channels ( #4857 )
2022-06-14 18:05:37 +05:30
Sojan Jose
713fdb44ee
feat (ee): APIs to configure an auto assignment limit for inboxes ( #4672 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-13 20:18:38 +05:30
Tejaswini Chile
ae72757d23
feat: APIs for Articles ( #4777 )
...
Fixes : #4802
2022-06-13 15:56:49 +05:30
Pranav Raj S
3f3ee6c34a
chore: Add support for message_templates in API inbox ( #4835 )
2022-06-10 18:40:29 +05:30
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
Pranav Raj S
b9aa4444b3
feat: Allow users to create dashboard apps to give agents more context ( #4761 )
2022-06-01 11:13:10 +05:30
Sojan Jose
ab05dd9b9b
chore: Improve the reauthorization requirement for Email Channel ( #4753 )
2022-05-26 20:23:00 +05:30
Tejaswini Chile
47a6d9681a
feat: send instagram message after 24 hours ( #4698 )
...
Added MESSAGE_TAG: HUMAN_AGENT for Instagram messages if the user wants to send it after the standard message window.
Fixes #4689
2022-05-26 19:05:30 +05:30
Aswin Dev P.S
8538660bbd
Add first_reply_created event in conversation ( #4576 )
2022-05-18 21:16:33 -07:00
Tejaswini Chile
938fb887c4
feat: Portal endpoint ( #4633 )
2022-05-16 13:59:59 +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
Jordan Brough
5b5a6d89c0
chore: "Channel::TwilioSms" to be unique on account_sid+phone_number ( #4188 )
...
"Twilio::IncomingMessageService" searches for the correct "Channel::TwilioSms"
by account_sid+phone_number. If these values are duplicated then which record it
finds is indeterminate and may alternate between queries.
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-05-07 17:57:16 +05:30
Sojan Jose
c9a8796a36
chore: Sentry Issue fixes ( #4618 )
...
Address the following sentry issues
fixes : #4616 , #4617
2022-05-05 00:31:11 +05:30
giquieu
b3c8c83830
fix: unable to send audio messages on Telegram ( #4493 )
...
- Changed the lib used to record the audio (videojs-record).
- Changed the audio recording format to .ogg, this will keep compatibility with sending to channels, Telegram, Whatsapp, Web Widget and API.
- Changed the visualization of recording waves, it is now using bars, the same format used by applications (Whatsapp and Telegram)
Fixes : #4115
2022-05-02 13:14:04 +05:30
Aswin Dev P.S
8d04894744
fix: Add index in conversation and reporting event ( #4577 )
...
Fixes chatwoot/product#422
2022-04-28 16:58:06 +05:30
Tejaswini Chile
cb38ec3267
chore: Allow Facebook channel to receive standby messages ( #4511 )
2022-04-28 01:14:03 +05:30
Muhsin Keloth
3a5e34fccb
fix: Check phone_number
and email
changes are exist before validation ( #4551 )
2022-04-26 15:13:28 +05:30
Pranav Raj S
899176a793
feat: Add event subscription option to webhooks ( #4540 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-04-25 17:44:42 +05:30
Muhsin Keloth
fa51fd1d73
fix: Bypass invalid values in contact patch end point ( #4519 )
2022-04-25 12:25:38 +05:30
Tejaswini Chile
1b3011b27b
fix: Add Attachment endpoint to save file against automation rule ( #4480 )
...
Co-authored-by: fayazara <fayazara@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-24 12:02:40 +05:30
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
Sojan Jose
2c73df4292
Chore: Provide fixed attachment URLs for Channels ( #4507 )
...
Prior to this change, The attachment URL sent from Chatwoot to 3rd party integrations like Whatsapp and Facebook
involved a 301 redirect before the original content is served. This causes intermittent breakages for the sent attachments.
fixes : #3632
ref: https://blog.saeloun.com/2021/09/14/rails-7-adds-expiring-urls-to-active-storage.html
2022-04-20 22:42:13 +05:30
Pranav Raj S
f2f0d466f2
chore: Update Help Center APIs to accomodate locale ( #4515 )
2022-04-20 16:00:37 +05:30
Muhsin Keloth
26f23a6e21
feat: Custom fields in pre-chat form ( #4189 )
2022-04-19 12:47:29 +05:30
Tejaswini Chile
1ccd29140d
Feat: send fb message outside of standard messaging window ( #4439 )
2022-04-19 12:21:20 +05:30
Sojan Jose
615a575bdd
fix: Agent typing indicator for website widget ( #4495 )
...
When we migrated the pubsub tokens from contact to contact inboxes, we missed out on doing this update for the typing indicator events. Hence the agent typing events weren't visible on the widget side. This change fixes that and removes the necessary column contact pubsub token from the model.
fixes : #4476
2022-04-18 19:05:45 +05:30
Muhsin Keloth
e010f0c6f0
chore: Sync pre-chat fields after custom attribute destroy ( #4456 )
2022-04-18 14:06:27 +05:30
Fayaz Ahmed
337a74a10c
feat: Add send message, fix issues with message conditions ( #4423 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com>
2022-04-14 13:36:55 +05:30
Tejaswini Chile
923b4637db
chore: Automation bug fix ( #4442 )
2022-04-12 20:23:34 +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
9b5eb98c59
feat: Support additional authentication mechanisms for SMTP ( #4431 )
...
* Support additional authentication mechanisms for SMTP
2022-04-11 03:13:05 -07:00
Aswin Dev P.S
d5536d65f7
feat: Consider business hours while generating the reports ( #4330 )
...
* feat: Consider business hours while generating the reports
2022-04-08 00:18:18 -07:00
Muhsin Keloth
c2afdd5c93
chore: Remove unnecessary fields from notification payload ( #4403 )
2022-04-07 00:07:53 +05:30
Pranav Raj S
0b03e4b296
feat: Add an option to disable endConversation button ( #4352 )
2022-04-06 13:54:55 +05:30
Tejaswini Chile
2595e774e5
fix: Update validations in automation edit actions ( #4370 )
...
Co-authored-by: fayazara <fayazara@gmail.com>
2022-04-05 15:22:56 +05:30
Muhsin Keloth
1dd0c7249c
fix: Unread notification count in multiple accounts ( #4373 )
...
Fixes : #4367
2022-04-04 14:34:01 +05:30
Muhsin Keloth
24b20c10ce
fix: Referer URL validation ( #4309 )
...
Fixes #354
2022-03-30 14:36:22 +05:30
Tejaswini Chile
bfe6324d9a
chore: Webhook event data improvements ( #4317 )
2022-03-30 11:37:36 +05:30
Tejaswini Chile
15fd37b124
Feat: attachments automation ( #4266 )
2022-03-30 08:08:58 +05:30
Fayaz Ahmed
c674393c02
feat: New automation actions ( #4033 )
2022-03-29 13:27:16 +05:30
Muhsin Keloth
ccf52a620b
feat: Update notifications and unread count in real time ( #4261 )
2022-03-28 20:01:23 +05:30
Vishnu Narayanan
8155024b6a
feat: fix logging levels ( #4314 )
...
https://ruby-doc.org/stdlib-2.7.0/libdoc/logger/rdoc/Logger.html
Fixes https://github.com/chatwoot/chatwoot/issues/4313
2022-03-28 18:14:30 +05:30
Sojan Jose
823c0ab6a7
chore: Use Round Robin service for team assignment ( #4237 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-03-28 14:38:07 +05:30
Sojan Jose
ff881fcad9
chore: Support Email should give priority to environment variable ( #4270 )
...
Account.support_email should give priority to environment variables over installation config
Fixes : #3304
2022-03-25 16:13:45 +05:30
Tejaswini Chile
60a0709de6
Fix: added validation for custom and additional attribute ( #4260 )
2022-03-24 15:38:28 +05:30
Vishnu Narayanan
7577c9c888
fix: drop conv and campaign seq on account delete ( #4256 )
...
Conversation and campaign sequences persist in the database even after the related account is deleted. This PR adds an after_desttory callback on the account model that will delete the associated sequences.
Fixes : #4252
2022-03-24 13:33:15 +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
Sojan Jose
467f3b9191
chore: Disable fetching new emails after mailbox error ( #4176 )
...
- Disabled email fetch job if credentials for the channel isn't working
- notify customers when the email channel isn't working
fixes: https://github.com/chatwoot/chatwoot/issues/4174
2022-03-22 12:14:17 +05:30
Tejaswini Chile
e06a6a7c55
Automation enhancement ( #4087 )
2022-03-21 13:12:27 +05:30
Muhsin Keloth
23fe8847d8
feat: Notification action cable event ( #4154 )
2022-03-17 18:56:36 +05:30
Sojan Jose
9f8e442333
chore: Improve n+1 queries ( #4202 )
...
Fixes the n+1 queries that get triggered while accessing agents endpoint
2022-03-17 15:57:32 +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
Muhsin Keloth
f405572e5c
Revert "feat: Custom fields in pre-chat form ( #4135 )" ( #4182 )
...
This reverts commit e730804b48
.
2022-03-15 16:54:33 +05:30
Muhsin Keloth
e730804b48
feat: Custom fields in pre-chat form ( #4135 )
...
Fixes : #2744
2022-03-14 15:06:56 +05:30
Tejaswini Chile
647efa12e7
fix: Attach instagram images with file type story_mentions ( #4100 )
2022-03-10 20:27:30 +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
Sojan Jose
11adfd2384
chore: remove unnecessary dependent destroy ( #4104 )
2022-03-03 13:02:02 +05:30
Sojan Jose
7b9e4982cf
Feat: Support MMS in SMS Channel ( Bandwidth ) ( #4046 )
...
Ability to send and receive MMS to bandwidth channel
fixes : #3961
2022-03-02 15:09:56 +05:30
Sojan Jose
4260441f8c
Chore: clean up Reporting Events ( #4044 )
...
Tech debt clean up
Fixes #4057
Co-authored-by: Aswin Dev P S <aswin@chatwoot.com>
2022-02-28 18:16:12 +05:30
Muhsin Keloth
aff14b697f
chore: Add webhook URL validation ( #4080 )
2022-02-28 15:44:02 +05:30
Sojan Jose
4ca66c1195
fix: Automation loop on conversation_update ( #4071 )
2022-02-25 18:01:21 +05:30
Aswin Dev P.S
e348db1e37
Fix: add option to choose 24 hour working slot ( #4018 )
...
* Add option to choose 24 hour working slot
* fix spec
* add check to update open hour and close hour for open all day
* update 24 hour working slot change in widget side
* add validation to check open_all_day and closed_all_day true at the same time
2022-02-22 01:28:49 -08:00
Fayaz Ahmed
5ad6db07b4
fix: Automation Bugs and minor enhancements ( #3936 )
2022-02-15 23:36:29 +05:30
Sojan Jose
5ad7e93059
chore: Discard activities from email notifiable messages ( #3989 )
2022-02-15 18:15:45 +05:30
Aswin Dev P.S
464e12ceb7
fix: Update auto reply and hide reply time for email inbox ( #3985 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-02-15 17:11:28 +05:30
Pranav Raj S
2591a04c0b
chore: Remove message_signature_enabled from users ( #3982 )
2022-02-15 12:10:53 +05:30
Sojan Jose
3d73d8935a
feat: Add the ability for a super admin to define account limits ( #3946 )
...
Fixes : #3773
2022-02-14 15:55:08 +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
a737f89c47
fix: Ongoing campaign URL validation ( #3890 )
2022-02-04 14:38:18 +05:30