discourse/spec/components
Jared Reisinger 2ae7c47a3c Add support for email whitelist/blacklist to GitHub auth
If a site is configured for GitHub logins, _**and**_ has an email domain
whitelist, it's possible to get in a state where a new user is locked to
a non-whitelist email (their GitHub primary) even though they have an
alternate email that's on the whitelist.  In all cases, the GitHub
primary email is attempted first so that previously existing behavior
will be the default.

- Add whitelist/blacklist support to GithubAuthenticator (via
  EmailValidator)

- Add multiple email support GithubAuthenticator

- Add test specs for GithubAuthenticator

- Add authenticator-agnostic "none of your email addresses are allowed"
  error message.
2016-09-22 11:31:10 -07:00
..
active_record/connection_adapters FIX: PostgreSQLFallbackHandler was bouncing in and out of readonly. 2016-03-08 10:02:38 +08:00
auth Add support for email whitelist/blacklist to GitHub auth 2016-09-22 11:31:10 -07:00
common_passwords Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
concern FIX: Query for category hashtag should be case sensitive. 2016-03-28 11:15:10 +08:00
demon Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
email FEATURE: retry processing incoming emails on rate limit 2016-08-08 22:28:27 +02:00
file_store REFACTOR: Get bucket name from S3Helper. 2016-08-19 14:08:37 +08:00
freedom_patches FIX: translations with a symbol as key should also be overridable 2016-08-24 11:53:03 +02:00
highlight_js Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
import Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
middleware Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
onebox/engine FIX: Replace emoji in local oneboxes 2016-03-14 14:48:48 -04:00
plugin Fix build. 2016-09-05 17:03:41 +08:00
scheduler Skip tests for now. 2016-06-06 18:18:12 +08:00
sidekiq Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
site_settings Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
validators SECURITY: don't allow re-using the current password during password reset 2016-08-24 12:27:21 -04:00
admin_user_index_query_spec.rb SECURITY: SQL Injection in Admin List Active Users 2016-07-28 11:42:06 -04:00
archetype_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
avatar_lookup_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
cache_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
composer_messages_finder_spec.rb FEATURE: Prompt users when they are entering duplicate links 2016-06-07 14:47:22 -04:00
content_buffer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
cooked_post_processor_spec.rb FIX: Don't ever grant badges when they're disabled 2016-08-19 15:16:37 -04:00
crawler_detection_spec.rb Add YandexBot to our list of crawlers 2016-07-26 13:21:37 -04:00
current_user_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
directory_helper_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
discourse_diff_spec.rb FIX: Don't diplay character reference in HTML diffs (#4204) 2016-05-09 08:44:21 +02:00
discourse_event_spec.rb Make sure we reset global in specs. 2016-09-05 18:18:14 +08:00
discourse_hub_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
discourse_i18n_spec.rb FIX: Load translation overrides for more than one locale 2016-02-22 22:48:56 +01:00
discourse_plugin_registry_spec.rb REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
discourse_plugin_spec.rb More randomly failing specs fixes. 2016-09-05 19:33:03 +08:00
discourse_redis_spec.rb FIX: Reset state of DiscourseRedis::FallbackHandler in tests. 2016-04-18 10:41:40 +08:00
discourse_sass_compiler_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
discourse_spec.rb FIX: User enabled readonly mode was not working. 2016-08-25 23:31:59 +08:00
discourse_stylesheets_spec.rb Include cdn path in the stylesheet digest. 2016-06-16 00:19:38 +08:00
discourse_updates_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
distributed_cache_spec.rb FIX: DistributedCache would fail serialization in some cases 2016-01-30 09:01:15 +11:00
distributed_memoizer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
distributed_mutex_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
email_cook_spec.rb FIX: Email cooker should support links within blockquotes 2016-07-18 14:38:40 -04:00
email_updater_spec.rb FEATURE: move more urgent emails notifications to critical queue 2016-04-07 14:39:01 +10:00
enum_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
filter_best_posts_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
flag_query_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
gaps_spec.rb Wizard: Step 1 2016-09-22 09:48:58 -04:00
global_path_spec.rb FIX: when CDN assets are not in root path source maps fail 2016-02-05 13:05:47 +11:00
guardian_spec.rb FEATURE: remove user option for edit history public 2016-07-16 21:30:00 +10:00
has_errors_spec.rb FIX: show proper error message when no user selected for private message 2016-05-05 18:47:08 +05:30
html_prettify_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
image_sizer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
js_locale_helper_spec.rb FEATURE: upgrade from therubyracer to mini_racer 2016-05-23 09:57:15 +10:00
json_error_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
letter_avatar_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
new_post_manager_spec.rb FIX: Don't enqueue posts if the user can't create them (ex: closed) 2016-09-09 12:15:56 -04:00
new_post_result_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
oneboxer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
onpdiff_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
pbkdf2_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
pinned_check_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
post_action_creator_spec.rb cleanup post action creator 2015-12-30 20:54:51 +01:00
post_creator_spec.rb FEATURE: Webhook for user creation and approval 2016-09-19 10:12:55 +08:00
post_destroyer_spec.rb FIX: DiscourseEvent should not be triggered from within the controller. 2016-09-05 15:58:04 +08:00
post_enqueuer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
post_merger_spec.rb FIX: Revised post not updated correctly when merging posts. 2016-08-11 09:01:54 +08:00
post_revisor_spec.rb add specs for post ownership change without revision 2016-08-20 01:27:48 +05:30
pretty_text_spec.rb REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
promotion_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
rate_limiter_spec.rb FEATURE: Warn a user when they have few likes remaining 2016-03-18 11:30:29 -04:00
redis_store_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
s3_helper_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
score_calculator_spec.rb PERF: make score calculator cheaper when site has long topics 2016-07-22 09:48:44 +10:00
search_spec.rb FIX: Short terms will be searched for if at least one is long enough 2016-08-11 11:53:14 -04:00
site_setting_extension_spec.rb Add specs to hidding settings when shadowed by a global. 2016-08-11 16:04:45 +08:00
slug_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
spam_handler_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
sql_builder_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
step_updater_spec.rb Can choose categories or latest as homepage style 2016-09-22 09:52:19 -04:00
suggested_topics_builder_spec.rb correct random suggested topic selection 2016-07-04 10:34:54 +10:00
system_message_spec.rb FEATURE: automatically archive welcome messages for site_contact_user 2016-01-10 16:46:11 +11:00
text_cleaner_spec.rb Rewrite capitalize for readability 2016-03-20 08:35:48 -04:00
text_sentinel_spec.rb FIX: allow long words if they contain periods 2016-09-13 09:15:05 +05:30
timeline_lookup_spec.rb FIX: Deleted posts were showing the wrong dates in the timeline 2016-05-31 10:51:55 -04:00
topic_creator_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_query_spec.rb Add extra spec for topic_query 2016-08-15 15:42:06 -04:00
topic_retriever_spec.rb FEATURE: Support for a whitelist for embeddable host paths 2016-08-23 14:56:12 -04:00
topic_view_spec.rb FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
topics_bulk_action_spec.rb Use db schema for tags instead of plugin store and custom fields 2016-05-26 14:29:48 -04:00
trashable_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
trust_level_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
unread_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
url_helper_spec.rb FIX: absolute URL for CDN should always be rooted with a protocol 2016-09-05 15:57:46 +10:00
user_name_suggester_spec.rb FIX: Don't suggest invalid username 2016-02-21 23:28:57 +01:00
version_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
wizard_builder_spec.rb Track steps the user has completed, nag them to finish it. 2016-09-22 09:52:19 -04:00
wizard_spec.rb FIX: Prompt for the wizard for the first admin who logs in 2016-09-22 09:52:19 -04:00
wizard_step_spec.rb Company Name Step which updates the TOS 2016-09-22 09:52:19 -04:00