discourse/spec/lib/validators
Kelv 32e261ef73
DEV: Migrate user passwords data to UserPassword table (#28746)
* Add migrations to ensure password hash is synced across users & user_passwords

* Persist password-related data in user_passwords instead of users

* Merge User#expire_old_email_tokens with User#expire_tokens_if_password_changed

* Add post deploy migration to mark password-related columns from users table as read-only

* Refactored UserPassword#confirm_password? and changes required to accommodate hashing the password after validations
2024-10-10 09:23:06 +08:00
..
allowed_ip_address_validator_spec.rb
at_least_one_group_validator_spec.rb
category_search_priority_weights_validator_spec.rb
censored_words_validator_spec.rb
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
ip_address_format_validator_spec.rb
linkedin_oidc_credentials_validator_spec.rb
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
url_validator_spec.rb
user_full_name_validator_spec.rb
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