iachat/app/services
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
..
agent_bots Exception tracker with account (#6603) 2023-03-03 12:14:44 +05:30
auto_assignment feat: Enable Capacity Config UI (#5164) 2022-08-16 16:58:23 +05:30
automation_rules fix: Update validations for filter service (#8239) 2024-03-20 16:29:36 +05:30
base feat: Enable Slack Integration in all channels (#1175) 2020-08-29 01:39:41 +05:30
contacts fix: Update validations for filter service (#8239) 2024-03-20 16:29:36 +05:30
conversations fix: Update validations for filter service (#8239) 2024-03-20 16:29:36 +05:30
data_import fix: downcase email before finding (#8921) 2024-02-21 18:51:00 +05:30
email_templates chore: Fix emails being sent with the wrong translations (#2236) 2021-06-08 22:45:01 +05:30
facebook feat: allow multiple files for FB and Insta [CW-3019] (#8783) 2024-01-28 13:20:54 +05:30
imap fix(refactor): Cleanup the specs and the logic for FetchIMAP job (#8766) 2024-02-10 14:03:50 -08:00
instagram feat: Standardise the external channel user id and user name (#8802) 2024-01-29 16:57:10 +05:30
internal feat: Add job to remove stale contact inboxes (#8096) 2023-11-06 20:24:30 -08:00
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
line feat: Standardise the external channel user id and user name (#8802) 2024-01-29 16:57:10 +05:30
macros feat: Add the ability to self-assign conversations in macros (#8048) 2023-10-10 09:38:23 +05:30
message_templates chore: Disable message hooks for conversations without incoming message (#7620) 2023-07-26 20:38:49 +03:00
messages chore: Change primary actor to Conversation for all the notification types. (#8435) 2023-12-06 10:43:09 +05:30
microsoft chore: Refactor RefreshOauthTokenService to improve readability (#8820) 2024-01-31 12:24:12 +04:00
notification feat: Revamp the notification title and content (#8988) 2024-03-06 20:51:56 +05:30
sms feat: Bandwidth sms channel delivery reports (#8198) 2023-10-27 14:07:15 -07:00
telegram fix: Update location component to avoid overflow, handle location title from Telegram payload (#9113) 2024-03-14 22:53:43 -07:00
twilio chore: Handle twillio Down::ClientError (#8757) 2024-01-22 15:33:26 +04:00
twitter chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30
whatsapp fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages (#8780) 2024-01-25 11:40:18 +04:00
widget chore: Update method to access "secret_key_base" (#7337) 2023-06-19 16:11:19 +05:30
action_service.rb feat: sla-7 ensure applied_sla uniqueness (#8938) 2024-02-20 21:59:49 +05:30
filter_service.rb fix: Update validations for filter service (#8239) 2024-03-20 16:29:36 +05:30
ip_lookup_service.rb feat(poc): Disable widget based on country (#6658) 2023-03-14 09:09:57 -07:00
search_service.rb chore: Search optimisations (#6644) 2023-03-13 19:10:31 +05:30