discourse/script
David Taylor 821bb1e8cb
FEATURE: Rename 'Discourse SSO' to DiscourseConnect (#11978)
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.
2021-02-08 10:04:33 +00:00
..
benchmarks FEATURE: Rename 'Discourse SSO' to DiscourseConnect (#11978) 2021-02-08 10:04:33 +00:00
bulk_import DEV: Improvements to Discourse Merger script (#11660) 2021-01-08 09:31:39 -06:00
demon_test
import_scripts Improvements to phpBB3 import script (#10999) 2021-01-14 21:44:43 +02:00
.gitignore
alice.txt
analyze_sidekiq_queues.rb
bench.rb DEV: Update facter usage 2020-06-01 05:50:49 +02:00
biggest_objects.rb
boot_mem.rb
cache_critical_dns DEV: Support env var for prometheus port in cache_critical_dns 2020-08-17 15:48:14 -04:00
check_forking.rb
compile_hbs.rb Rename the server side widget hbs compiler 2020-03-27 12:06:14 -04:00
copyright-deposit Add script for compiling copyright deposits (#9646) 2020-05-06 12:51:45 -04:00
diff_heaps.rb
discourse REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00
docker_test.rb Revert "DEV: Remove the remaining ENV["TRAVIS"] usage (#10041)" 2020-06-16 19:42:00 +02:00
downsize_uploads.rb FIX: Improvements and fixes to the image downsizing script (#9950) 2020-06-11 14:47:59 +02:00
i18n_lint.rb DEV: Lint MessageFormat strings to prevent usage of "one {foo 1 bar}" (#11608) 2021-01-04 12:29:20 +01:00
json_to_rswag.rb DEV: api documentation updates (#9612) 2020-05-11 13:06:49 -06:00
measure.rb
memory-analysis
memstats.rb DEV: Apply Rubocop redundant return style 2019-11-14 15:10:51 -05:00
micro_bench.rb DEV: undo pluck_first changes to micro benchmark 2019-10-21 12:21:24 +01:00
mwrap_sidekiq PERF: avoid shelling to get hostname aggressively 2020-02-18 15:13:19 +11:00
profile_db_generator.rb FIX: ensure we consistently pick the same topic for bench 2020-01-08 16:33:45 +11:00
rails
redis_memory.rb DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
require_profiler.rb
spawn_backup_restore.rb FIX: Killing a Unicorn worker shouldn't kill a running backup or restore process 2020-10-13 19:48:53 +02:00
switch_container_ruby
test_email_settings.rb
test_hbs_compiler.rb REFACTOR: Remove `Discourse.__widget_helpers` 2020-08-06 14:35:46 -04:00
test_mem.rb
test_memory_leak.rb
test_pretty_text.rb
thread_detective.rb
user_simulator.rb
version_bump.rb