mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 22:08:33 +08: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. |
||
---|---|---|
.. | ||
components | ||
logs | ||
modal | ||
admin.hbs | ||
api-keys-index.hbs | ||
api-keys-new.hbs | ||
api-keys-show.hbs | ||
api.hbs | ||
backups-index.hbs | ||
backups-logs.hbs | ||
backups.hbs | ||
badges-award.hbs | ||
badges-index.hbs | ||
badges-show.hbs | ||
badges.hbs | ||
customize-colors-index.hbs | ||
customize-colors-show.hbs | ||
customize-colors.hbs | ||
customize-email-style-edit.hbs | ||
customize-email-style.hbs | ||
customize-email-templates-edit.hbs | ||
customize-email-templates.hbs | ||
customize-robots-txt.hbs | ||
customize-themes-edit.hbs | ||
customize-themes-index.hbs | ||
customize-themes-show.hbs | ||
customize-themes.hbs | ||
customize.hbs | ||
dashboard_general.hbs | ||
dashboard_moderation.hbs | ||
dashboard_reports.hbs | ||
dashboard_security.hbs | ||
dashboard.hbs | ||
email-advanced-test.hbs | ||
email-bounced.hbs | ||
email-index.hbs | ||
email-preview-digest.hbs | ||
email-received.hbs | ||
email-rejected.hbs | ||
email-sent.hbs | ||
email-skipped.hbs | ||
email.hbs | ||
embedding.hbs | ||
emojis.hbs | ||
logs.hbs | ||
permalinks.hbs | ||
plugins-index.hbs | ||
plugins.hbs | ||
reports-show.hbs | ||
search-logs-index.hbs | ||
search-logs-term.hbs | ||
site-settings-category.hbs | ||
site-settings.hbs | ||
site-text-edit.hbs | ||
site-text-index.hbs | ||
site-text.hbs | ||
user-badges.hbs | ||
user-fields.hbs | ||
user-index.hbs | ||
user-tl3-requirements.hbs | ||
user.hbs | ||
users-list-show.hbs | ||
users-list.hbs | ||
watched-words-action.hbs | ||
watched-words.hbs | ||
web-hooks-show-events.hbs | ||
web-hooks-show.hbs | ||
web-hooks.hbs |