zulip/frontend_tests
Lauryn Menard 6b4ab21562 narrow-banner: Exclude bots when checking org sending pms policy.
Private messages between a user and a bot are not restricted by
the organization's policy setting for sending private messages.
So, for the empty banner text, we set the default title for
a single bot for the "pm-with" narrow.

Group private messages that include a bot are restricted by
this policy setting, so those messages stay the same.

Also, since bot's aren't people, we update the text for valid
"pm-with", "sender" and "group-pm-with" operands to include the
user's full name in the title.

When there are multiple people in the "pm-with" narrow, we still
send a generic "these people" message instead of listing all the
users in the narrow.

Finally, we make the default message end in a period instead of
an exclamation mark.
2022-11-04 14:37:45 -07:00
..
node_tests narrow-banner: Exclude bots when checking org sending pms policy. 2022-11-04 14:37:45 -07:00
puppeteer_lib dependencies: Remove formdata-node, node-fetch. 2022-10-11 10:50:57 -07:00
puppeteer_tests narrow-banner: Exclude bots when checking org sending pms policy. 2022-11-04 14:37:45 -07:00
zjsunit js: Fix type issue with FormatJS rich text elements. 2022-11-03 14:48:40 -07:00