mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
821bb1e8cb
The 'Discourse SSO' protocol is being rebranded to DiscourseConnect. This should help to reduce confusion when 'SSO' is used in the generic sense. This commit aims to: - Rename `sso_` site settings. DiscourseConnect specific ones are prefixed `discourse_connect_`. Generic settings are prefixed `auth_` - Add (server-side-only) backwards compatibility for the old setting names, with deprecation notices - Copy `site_settings` database records to the new names - Rename relevant translation keys - Update relevant translations This commit does **not** aim to: - Rename any Ruby classes or methods. This might be done in a future commit - Change any URLs. This would break existing integrations - Make any changes to the protocol. This would break existing integrations - Change any functionality. Further normalization across DiscourseConnect and other auth methods will be done separately The risks are: - There is no backwards compatibility for site settings on the client-side. Accessing auth-related site settings in Javascript is fairly rare, and an error on the client side would not be security-critical. - If a plugin is monkey-patching parts of the auth process, changes to locale keys could cause broken error messages. This should also be unlikely. The old site setting names remain functional, so security-related overrides will remain working. A follow-up commit will be made with a post-deploy migration to delete the old `site_settings` rows. |
||
---|---|---|
.. | ||
allow_user_locale_enabled_validator.rb | ||
allowed_ip_address_validator.rb | ||
alternative_reply_by_email_addresses_validator.rb | ||
categories_topics_validator.rb | ||
category_search_priority_weights_validator.rb | ||
censored_words_validator.rb | ||
color_list_validator.rb | ||
email_setting_validator.rb | ||
email_validator.rb | ||
enable_invite_only_validator.rb | ||
enable_local_logins_via_email_validator.rb | ||
enable_private_email_messages_validator.rb | ||
enable_sso_validator.rb | ||
external_system_avatars_validator.rb | ||
group_setting_validator.rb | ||
integer_setting_validator.rb | ||
ip_address_format_validator.rb | ||
markdown_typographer_quotation_marks_validator.rb | ||
max_emojis_validator.rb | ||
max_username_length_validator.rb | ||
min_username_length_validator.rb | ||
password_validator.rb | ||
pop3_polling_enabled_setting_validator.rb | ||
post_validator.rb | ||
quality_title_validator.rb | ||
regex_presence_validator.rb | ||
regex_setting_validation.rb | ||
regex_setting_validator.rb | ||
reply_by_email_address_validator.rb | ||
reply_by_email_enabled_validator.rb | ||
selectable_avatars_enabled_validator.rb | ||
sso_overrides_email_validator.rb | ||
string_setting_validator.rb | ||
stripped_length_validator.rb | ||
timezone_validator.rb | ||
topic_title_length_validator.rb | ||
unicode_username_allowlist_validator.rb | ||
unicode_username_validator.rb | ||
unique_among_validator.rb | ||
upload_validator.rb | ||
url_validator.rb | ||
user_full_name_validator.rb | ||
username_setting_validator.rb | ||
watched_words_validator.rb |