discourse/db
Selase Krakani cc39effe0e
FIX: Switch email domain site settings type to host_list (#19922)
Specifying wildcard characters which also happen to be regex
meta characters for `auto_approve_email_domains`, `allowed_email_domains`
and `blocked_email_domains` site settings currently breaks email
validation.

This change prevents these characters from being specified for these
site settings. It does this by switching the site setting type
from `list` to `host_list`. The `host_list` validator checks for these
characters.

In addition, this change also improves the site setting descriptions and
introduces a migration to  fix existing records.
2023-01-19 16:07:59 +00:00
..
fixtures DEV: Apply syntax_tree formatting to `db/*` 2023-01-09 11:59:41 +00:00
migrate FIX: Switch email domain site settings type to host_list (#19922) 2023-01-19 16:07:59 +00:00
post_migrate FIX: Add migration to reindex invalid indexes (#19858) 2023-01-13 11:04:26 +08:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to `db/*` 2023-01-09 11:59:41 +00:00