discourse/spec/lib/validators
Osama Sayegh 3187606d34
FEATURE: Add option to hide full name input at signup (#30471)
This commit replaces the `full_name_required` setting with a new `full_name_requirement` setting to allow more flexibility with the name field in the signup form. The new setting has 2 options, "Required at signup" and "Optional at signup", which are equivalent to the true/false possibilities of the old setting, and a third option "Hidden at signup" that hides the name field from the signup form, making it effectively optional too.

New sites will have the "Hidden at signup" option as the default option, and existing site will continue to use the option that maps to their current configuration.

Internal topic: t/136746.
2024-12-30 22:26:20 +03:00
..
allowed_ip_address_validator_spec.rb
at_least_one_group_validator_spec.rb DEV: Validate that passed in groups exist in AtLeastOneGroupValidator (#24890) 2023-12-14 10:00:53 +08:00
category_search_priority_weights_validator_spec.rb
censored_words_validator_spec.rb DEV: Refactor watched words (#24163) 2023-11-01 16:41:10 +02:00
csp_script_src_validator_spec.rb DEV: add validation on content_security_policy_script_src site setting (#27564) 2024-06-21 17:00:22 +08:00
css_color_validator_spec.rb
delete_rejected_email_after_days_spec.rb
email_address_validator_spec.rb
email_setting_validator_spec.rb
email_validator_spec.rb
enable_local_logins_via_email_validator_spec.rb
enable_sso_validator_spec.rb
external_system_avatars_validator_spec.rb
form_template_yaml_validator_spec.rb FIX: restrict a href protocols on form template description (#27472) 2024-06-14 11:39:43 -03:00
group_setting_validator_spec.rb
host_list_setting_validator_spec.rb
integer_setting_validator_spec.rb UX: number site setting validation message (#24303) 2023-11-10 14:27:35 +11:00
ip_address_format_validator_spec.rb
linkedin_oidc_credentials_validator_spec.rb FEATURE: Allow users to sign in using LinkedIn OpenID Connect (#26281) 2024-04-19 18:47:30 +08:00
max_emojis_validator_spec.rb
max_username_length_validator_spec.rb
min_username_length_validator_spec.rb
password_validator_spec.rb DEV: Migrate user passwords data to UserPassword table (#28746) 2024-10-10 09:23:06 +08:00
post_validator_spec.rb FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
quality_title_validator_spec.rb
regex_presence_validator_spec.rb
regex_setting_validator_spec.rb
regexp_list_validator_spec.rb
reply_by_email_address_validator_spec.rb
reply_by_email_enabled_validator_spec.rb
search_ranking_weights_validator_spec.rb
search_tokenize_chinese_validator_spec.rb
search_tokenize_japanese_validator_spec.rb
selectable_avatars_mode_validator_spec.rb
sso_overrides_email_validator_spec.rb
string_setting_validator_spec.rb
timezone_validator_spec.rb
topic_title_length_validator_spec.rb
unicode_username_allowlist_validator_spec.rb
unicode_username_validator_spec.rb
upload_validator_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
url_validator_spec.rb
user_full_name_validator_spec.rb FEATURE: Add option to hide full name input at signup (#30471) 2024-12-30 22:26:20 +03:00
user_password_validator_spec.rb DEV: Migrate user passwords data to UserPassword table (#28746) 2024-10-10 09:23:06 +08:00
username_setting_validator_spec.rb