iachat/spec
Jordan Brough 026e03c307
fix: Handle spaces in CC/BCC email lists (#6788)
When the CC field is generated in the UI, the email values are joined together
with ", " but when they are parsed, we currently split by just ",".

This causes an error on the backend and on the frontend.

It seems reasonable to update the code to allow whitespace in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.

---------

Co-authored-by: Sojan <sojan@pepalo.com>
2023-04-18 19:18:23 +05:30
..
actions chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
assets chore: Contact import improvements (CW-1362) (#6747) 2023-04-18 00:40:55 +05:30
builders fix: Handle spaces in CC/BCC email lists (#6788) 2023-04-18 19:18:23 +05:30
channels chore: Migrate PubSub Token to contact inbox (#3434) 2021-11-22 23:32:17 +05:30
configs chore: validation spec for schedules (#3480) 2021-11-30 21:44:30 +05:30
controllers fix: response body in twitter callback (#6907) 2023-04-14 16:48:28 +05:30
cypress feat: fix logging levels (#4314) 2022-03-28 18:14:30 +05:30
dispatchers Non blocking event dispatch (#652) 2020-03-29 19:18:30 +05:30
drops chore: Auto capitalize the last name field while sending the canned response/variables (#6767) 2023-03-28 13:03:51 +05:30
enterprise feat: add pagination support for audit logs API (#6843) 2023-04-10 21:07:01 +05:30
factories chore: Use feature_flags attribute instead of settings_flags (#6820) 2023-04-04 09:56:58 -07:00
finders feat: Route emails based on x-original-to in email channel (#6901) 2023-04-13 14:52:12 +05:30
fixtures Find by downcased email in SupportMailbox (#5211) 2022-10-12 13:38:18 +05:30
helpers feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
integration Fix url in emails, add frontendURL helper (#19) 2019-08-25 19:59:28 +05:30
jobs chore: Contact import improvements (CW-1362) (#6747) 2023-04-18 00:40:55 +05:30
lib Feat: detect language of the message content (#6660) 2023-04-04 08:57:27 +05:30
listeners Feat: detect language of the message content (#6660) 2023-04-04 08:57:27 +05:30
mailboxes chore: Disable email processing for suspended accounts (#5762) 2022-10-26 03:40:47 -07:00
mailers fix: Update from_email in the name to fix the syntax error (#6900) 2023-04-13 10:42:38 -07:00
models fix: Invalidate cache if any of the related objects change (#6860) 2023-04-10 15:47:13 +05:30
policies Feature: Ability to switch between multiple accounts (#881) 2020-05-26 22:38:48 +05:30
presenters chore: Resolve bundle audit (#6671) 2023-03-15 14:05:54 +05:30
requests/api/v1 chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
services fix: flatten template array for whatsapp templates (#6880) 2023-04-11 17:48:17 +05:30
support chore: Contact import improvements (CW-1362) (#6747) 2023-04-18 00:40:55 +05:30
workers chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30
cypress.json chore: Cypress test case for create label flow 2021-07-23 16:38:44 +05:30
rails_helper.rb chore: Contact import improvements (CW-1362) (#6747) 2023-04-18 00:40:55 +05:30
spec_helper.rb chore: upgrade ruby to 3.1.3 (#5555) 2023-01-24 23:55:07 +05:30
test_helper.rb Chore: Setup test coverage in codeclimate [#332] (#333) 2019-12-02 08:57:11 +05:30