Pranav
f78f278e2f
fix: Update validations for filter service ( #8239 )
...
- Refactor filter service for better readability and maintenance
- Add validations for the following:
- If an invalid attribute is passed, a custom exception InvalidAttribute will be thrown.
- If an invalid operator is passed, a custom exception InvalidOperator will be thrown.
- If an invalid value (currently checking only null check), a custom exception InvalidValue will be thrown.
Fixes: https://linear.app/chatwoot/issue/CW-2702/activerecordstatementinvalid-pginvalidtextrepresentation-error-invalid
Fixes: https://linear.app/chatwoot/issue/CW-2703/activerecordstatementinvalid-pginvaliddatetimeformat-error-invalid
Fixes: https://linear.app/chatwoot/issue/CW-2700/activerecordstatementinvalid-pgsyntaxerror-error-syntax-error-at-or
Co-authored-by: Sojan <sojan@pepalo.com >
2024-03-20 16:29:36 +05:30
Sojan Jose
ae4c8d818f
feat: Ability to block contacts permanently ( #8922 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-21 14:18:42 -08:00
Liam
5d9fb55370
feat: Export contact improvements ( #8895 )
...
This pull request enhances the export contacts feature by adding a confirmation step before exporting. Previously, clicking the export button would trigger the export action without confirmation.
Additionally, it ensures that only the intended recipient receives the export email, addressing the previous behaviour where all administrators received it.
Fixes : #8504
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-02-20 17:11:03 +05:30
Sojan Jose
94892e7168
chore: Fix flaky spec relying on unguaranteed order ( #8956 )
2024-02-16 12:11:39 -08:00
Sojan Jose
a861257f73
chore: Fix flaky contacts spec ( #8773 )
...
- The ordering was not guaranteed; hence, the specs were failing randomly. Made changes to the expectations accordingly
2024-01-24 13:58:27 +04:00
Liam
bdeb2f9812
feat: Searching contacts by company name ( #7867 )
...
Implement the functionality of being able to search the contacts page by company name.
Fixes : #7818
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-21 00:53:12 -07:00
Vishnu Narayanan
5e6e234afe
feat (perf): Remove conversation count in contacts list view ( #7915 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-14 08:49:37 +05:30
Tejaswini Chile
23ca6d56f9
feat: Contact Exports ( #7258 )
2023-06-13 09:18:43 +05:30
Sojan Jose
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +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
Sojan Jose
4187428729
chore: Update dependencies to the latest versions ( #5033 )
2022-07-15 09:51:59 +07:00
giquieu
827f977a37
feat: Update API for contact avatar ( #4719 )
...
Added the ability to update the contact's avatar via API and Dashboard.
- Contact create and update APIs can now accept avatar attachment parameters [form data].
- Contact create and update endpoints can now accept the avatar_url parameter.[json]
- API endpoint to remove a contact avatar.
- Updated Contact create/edit UI components with avatar support
Fixes : #3428
2022-07-12 10:03:16 +02: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
thedev105
6d378eb206
Fix: Update contact validation messages ( #3500 )
...
Fixes #3476
2021-12-03 13:19:11 +05:30
Muhsin Keloth
76370267f3
feat: Render contact custom attributes in contact/conversation sidebar ( #3310 )
2021-11-11 15:23:33 +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
Tejaswini Chile
372bd75028
feat: Add filter APIs for Contacts and Conversations ( #3264 )
2021-11-01 12:27:04 +04:00
Tejaswini Chile
658a511b88
feat: Conversation and contact endpoint ( #3198 )
2021-10-20 18:14:56 +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
Murtaza Bagwala
c504067e2b
fix: Add blank check for file param in Import API ( #3057 )
2021-09-21 10:20:12 +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
acb39cbc8f
chore: Ability to create contact with identifiers ( #2802 )
2021-08-13 13:02:46 +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
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
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
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
c61edff189
feat: Add bulk imports API for contacts ( #1724 )
2021-02-03 19:24:51 +05:30
freddii
229fcc18b7
chore: fixed typos in code comments ( #1701 )
2021-01-28 10:39:37 +05:30
Pranav Raj S
1ade4f75ea
chore: Ingore case while searching contact name, email ( #1505 )
2020-12-11 23:25:00 +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
Sojan Jose
88b2469dc8
feat: Add API to get the active contacts ( #1313 )
2020-10-05 23:30:27 +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
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
8079bf50a0
Feature: API Channel ( #1052 )
2020-07-21 12:15:24 +05:30
Sojan Jose
051871a3cd
Chore: Code Cleanup in API controllers ( #932 )
...
* Chore: Code Cleanup in API controllers
* Remove unnecessary scoping for accounts controller
2020-06-07 13:58:05 +05:30
Pranav Raj S
e9131ea558
Feature: Add web push notification permission in frontend ( #766 )
...
Add webpush notification permission in frontend
Co-authored-by: Sojan <sojan@pepalo.com >
2020-05-06 00:10:56 +05:30
Sojan Jose
96da27f1f6
Feature: User Notification Objects ( #752 )
...
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com >
2020-05-01 14:53:43 +05:30
Sojan Jose
19ab0fe108
Chore: Scope URLs with account_id ( #601 )
...
* Chore: Enable Users to create multiple accounts
Addresses: #402
- migrations to split roles and other attributes from users table
- make changes in code to accommodate this change
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-03-09 23:27:10 +05:30