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
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
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
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
Pranav Raj S
0b03e4b296
feat: Add an option to disable endConversation button ( #4352 )
2022-04-06 13:54:55 +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
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
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
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
Tejaswini Chile
94a473c9f8
chore: Delayed deploy of direct uploads ( #3966 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-02-15 16:16:54 +05:30
Pranav Raj S
2591a04c0b
chore: Remove message_signature_enabled from users ( #3982 )
2022-02-15 12:10:53 +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
Sojan Jose
cf10f3d03b
chore: Provider APIs for SMS Channel - Bandwidth ( #3889 )
...
fixes : #3888
2022-02-03 15:22:13 -08:00
Tejaswini Chile
e99ea0b582
feat: Email signature API support ( #3874 )
2022-02-02 19:37:33 +05:30
Sojan Jose
59deffc7e3
feat: Ability to toggle conversation continuity via email ( #3817 )
...
Fixes : #3368
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-01-26 15:59:48 -08:00
Sojan Jose
34e8ad9dc5
feat: Unify user and super admin credentials ( #3830 )
...
Fixes : #3061 , #3489
2022-01-25 16:58:49 -08:00
Tejaswini Chile
7df68c6388
Feat: Automations Actions ( #3564 )
2022-01-13 11:21:06 +05:30
Sojan Jose
f44be0b1e6
fix: SuperAdmin Improvements ( #3733 )
...
- Fix broken access tokens pages
- Fix broken avatar images in the super admin users tab
- Fix broken pagination links in super admin
- Add agent bot tabs
Fixes : #2021
2022-01-11 19:00:00 -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
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
Sojan Jose
8d65608666
chore: Clean up migrations ( #3613 )
...
Fixes : #3530
2021-12-19 09:47:07 +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
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
2be71e73dc
feat: Add a view for mentions ( #3505 )
...
- Added a new table mentions for saving user mentions
- Added a filter conversation_type in the API
- Added a view to see the mentions
2021-12-09 11:20:14 +05:30
Muhsin Keloth
3ee6b7d6e9
chore: Add the ability to use same key for conversation and contact ( #3526 )
2021-12-08 20:15:27 +05:30
Tejaswini Chile
35130bc83e
Fix: Add foreign key with delete cascade for destroy_async ( #3527 )
2021-12-08 18:03:27 +05:30
Muhsin Keloth
46afcd9348
fix: Index custom attribute uniqueness on account ( #3516 )
...
- Move custom attribute uniqueness validation to account
2021-12-07 18:20:47 +05:30
Sojan Jose
d5c30760a7
chore: Whatsapp templates fix for 360 dialog ( #3479 )
...
Fixes : #3426
2021-11-30 20:50:35 +05:30
Sojan Jose
add004a56e
Chore: API Improvements ( #3469 )
2021-11-27 00:48:46 +05:30
Tejaswini Chile
9103fbbdde
chore: Update schema files ( #3438 )
...
- removes the unintended table from schema files
2021-11-23 16:04:01 +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
bf96e8b68d
choore: Change values
to attribute_values
in custom attributes ( #3413 )
2021-11-18 18:59:28 +05:30
Muhsin Keloth
9ea42ebff2
chore: Add the support for list and checkbox in custom attribute model ( #3400 )
...
ref: #3399
2021-11-16 23:25:19 +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
Muhsin Keloth
6bfa551c85
fix: Trigger campaigns only during business hours ( #3085 )
...
Fixes #2433
2021-10-12 17:58:33 +05:30
Sojan Jose
0e0632be22
chore: Minor Housekeeping tasks ( #3169 )
...
- Limit Rack attack to production environments
- Make the long-running data migration optional
2021-10-08 15:45:45 +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
Nithin David Thomas
ec9903ae82
fix: Add background to inbox channel badges ( #3152 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-10-06 19:34:34 +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
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
Muhsin Keloth
0c24df96a8
chore: Conversation custom attribute APIs ( #3024 )
2021-09-22 10:46:48 +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
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
Muhsin Keloth
1257f86f22
chore: Add description field in custom attribute model ( #2872 )
2021-08-24 21:17:23 +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
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
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
dfddf9cacc
chore: one off SMS campaign APIs ( #2589 )
2021-07-14 12:24:09 +05:30
Muhsin Keloth
ba547b3f60
chore: Delete related notifications if a conversation is deleted ( #2592 )
2021-07-12 12:28:16 +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
29b9915d3b
feat: Add customer satisfaction component ( #2456 )
2021-06-22 13:01:19 +05:30
Muhsin Keloth
3d748aa8d4
chore: Add contact note model ( #2462 )
2021-06-21 15:16:26 +05:30
Sojan Jose
50e4bb3e63
chore: Add CSAT survey toggle attribute to Inboxes ( #2455 )
...
ref: #1890
2021-06-18 15:55:48 +05:30
Sojan Jose
853db60f8e
feat: Add Public APIs for API Channel ( #2375 )
2021-06-15 20:09:17 +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
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
22965be6dc
feat: Add AgentBot APIs ( #2323 )
2021-06-01 22:34:25 +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
Pranav Raj S
df04450ab9
fix: Rename migration for Campaigns ( #2232 )
2021-05-07 00:56:32 +05:30
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
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
Sojan Jose
b6f4006c15
Chore: Migration to enable email channel ( #1913 )
...
fixes : #1877
2021-03-15 19:15:48 +05:30
Sojan Jose
ca4a766b82
chore: Enable email channel ( #1851 )
2021-03-04 13:59:59 +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
Pranav Raj S
6bbeb005f5
fix: Remove orphan members from inbox ( #1797 )
2021-02-18 15:56:54 +05:30
Pranav Raj S
037ffc7419
feat: Add a pre-chat form on widget ( #1769 )
2021-02-16 00:14:13 +05:30
Sojan Jose
c61edff189
feat: Add bulk imports API for contacts ( #1724 )
2021-02-03 19:24:51 +05:30
Sojan Jose
f9c3b7f2f1
feat: Bulk add team members in Team APIs ( #1695 )
2021-01-29 12:34:52 +05:30
Sojan Jose
d64ba1df8b
chore: Add seeds for Bot Messages ( #1676 )
2021-01-22 01:01:02 +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
Sojan Jose
b6e8173b24
feat: HMAC verification for web widget ( #1643 )
...
* feat: HMAC verification for web widget. Let you verify the authenticated contact via HMAC on the web widget to prevent data tampering.
* Add docs for identity-validation
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-01-17 22:44:03 +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
160a6fc6cf
feat: Save UI state in the database ( #1635 )
...
feat: Save UI state in the database
2021-01-10 19:25:33 +05:30
Sojan Jose
db189e3c26
chore: Sync the schema and migrations ( #1610 )
2021-01-06 11:36:45 +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
Adam Zysko
dffc888f9c
feat: Create superadmin in seeds ( #1442 )
...
Create SuperAdmin in seeds scripts except on production
2020-11-24 11:22:18 +05:30
Sojan Jose
eb2ded6f65
feat: Agent & Inbox Report APIs ( #1391 )
2020-11-16 19:41:52 +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
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
Pranav Raj S
85514cae8d
feat: Display reply time in widget ( #1349 )
...
Fixes #1132
2020-10-18 23:32:22 +05:30