discourse/app/models
Martin Brennan 68d35b14f4 FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099)
Adds 2 factor authentication method via second factor security keys over [web authn](https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API).

Allows a user to authenticate a second factor on login, login-via-email, admin-login, and change password routes. Adds registration area within existing user second factor preferences to register multiple security keys. Supports both external (yubikey) and built-in (macOS/android fingerprint readers).
2019-10-01 19:08:41 -07:00
..
concerns FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099) 2019-10-01 19:08:41 -07:00
reports FIX: Correct ordering for post_edits report, and remove query limit 2019-08-13 16:53:16 +01:00
about.rb FEATURE: list category moderators on the about page (#7916) 2019-07-31 16:46:58 +03:00
admin_dashboard_data.rb FIX: Various watched words improvements 2019-08-02 15:29:12 +01:00
admin_dashboard_general_data.rb FIX: Allow dashboard to load even when git version cannot be found 2019-08-28 12:37:42 +01:00
admin_dashboard_index_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
anonymous_user.rb FEATURE: introduce dedicated storage and DB constraints for anon users 2019-05-29 14:26:24 +10:00
api_key.rb FEATURE: track date api key was last used 2019-09-03 18:11:30 +10:00
application_request.rb FEATURE: control which web crawlers can access using a whitelist or blacklist 2018-03-22 15:41:02 -04:00
auto_track_duration_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
backup_file.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
backup_location_site_setting.rb DEV: Enable Style/SingleLineMethods and Style/Semicolon in Rubocop (#6717) 2018-12-04 11:48:13 +08:00
backup_metadata.rb FIX: Prevent failed remaps during restores 2019-08-12 17:15:01 +02:00
badge_grouping.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
badge_type.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
badge.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_and_topic_lists.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_featured_topic.rb FIX: Ensure suppressed categories do not produce any featured topics. (#7863) 2019-07-15 17:32:03 +03:00
category_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_list.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_page_style.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_tag_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_tag_stat.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_tag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_user.rb DEV: Correct batch setting of categories 2019-06-25 13:05:43 +10:00
category.rb FIX: Correctly escape category description text (#8107) 2019-10-01 12:04:39 -04:00
child_theme.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
color_scheme_color.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
color_scheme.rb FEATURE: Allow themes to override color transformation variables (#7987) 2019-08-12 11:02:38 +01:00
custom_emoji.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
developer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
digest_email_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
directory_item.rb FIX: user directory should not include unapproved users 2019-09-11 15:18:17 -04:00
discourse_single_sign_on.rb FEATURE: ban any SSO attempts with invalid external id 2019-06-11 10:04:26 +10:00
discourse_version_check.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
draft_sequence.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
draft.rb FIX: Previous annotations were broken 2019-01-11 14:30:19 -05:00
email_change_request.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_level_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_log.rb DEV: Update annotations 2019-05-13 15:24:24 +01:00
email_style.rb FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
email_token.rb FIX: reload the user record instead of fetching via email 2019-05-13 15:16:53 +05:30
embeddable_host.rb SECURITY: Don't allow base_uri as embeddable host if none exist 2019-09-29 20:51:59 -04:00
embedding.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
emoji_set_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
emoji.rb FEATURE: do not replace ↔ with an emoji 2019-08-30 15:06:23 +10:00
github_user_info.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
given_daily_like.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
global_setting.rb FEATURE: SKIP_DB_AND_REDIS env var (#7756) 2019-06-13 12:58:27 +10:00
group_archived_message.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_history.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_manager.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_mention.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_request.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group.rb DEV: adds event hook when add/remove user to group (#8038) 2019-09-10 11:58:08 -05:00
ignored_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_domain.rb FIX: make frozen string mutable in incoming_domain 2019-05-14 17:44:53 +02:00
incoming_email.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_link.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_links_report.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_referer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
instagram_user_info.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
invite_redeemer.rb FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
invite.rb FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
invited_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
javascript_cache.rb FEATURE: Multi-file javascript support for themes (#7526) 2019-06-03 10:41:00 +01:00
like_notification_frequency_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
locale_site_setting.rb FEATURE: English locale with international date formats 2019-05-20 13:47:20 +02:00
mailing_list_mode_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
muted_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
new_topic_duration_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
notification_level_when_replying_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
notification.rb FEATURE: Add a webhook for user notifications 2019-08-15 14:47:25 -04:00
oauth2_user_info.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
onceoff_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
optimized_image.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
permalink.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
plugin_store_row.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
plugin_store.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_action_type.rb annotate models 2019-05-29 14:26:24 +10:00
post_action.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_analyzer.rb FIX: Improve Onebox detection (#8019) 2019-09-10 13:59:48 +03:00
post_custom_field.rb DEV: Update annotations 2019-05-13 15:24:24 +01:00
post_detail.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_mover.rb FIX: Move read state when moving posts 2019-09-06 20:52:44 +02:00
post_reply_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_reply.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_revision.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_stat.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_timing.rb FEATURE: Publish read state on group messages. (Originally introduced in #7989) (#8025) 2019-08-27 09:09:00 -03:00
post_upload.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post.rb FIX: include video tags and short urls in 'have_uploads' method. 2019-09-24 23:17:59 +05:30
previous_replies_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
push_subscription.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
quoted_post.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
remote_theme.rb FIX: remote theme record not saved when checking for updates (#8054) 2019-08-30 00:32:54 +03:00
remove_muted_tags_from_latest_site_setting.rb UX: Merge settings related to muted tags. (#7656) 2019-06-03 12:23:23 +10:00
report.rb FIX: ensures reports can't modify records (#8006) 2019-08-15 17:27:53 +10:00
reviewable_claimed_topic.rb DEV: Update annotations 2019-05-13 15:24:24 +01:00
reviewable_flagged_post.rb DEV: Allow specifying button class in reviewable action definitions (#8093) 2019-09-18 11:28:59 +01:00
reviewable_history.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable_priority_setting.rb Use an Enum class for the Reviewable Priority Site Setting 2019-05-24 15:44:24 -04:00
reviewable_queued_post.rb DEV: Allow specifying button class in reviewable action definitions (#8093) 2019-09-18 11:28:59 +01:00
reviewable_score.rb FIX: Ignored flags should not count in your accuracy score 2019-09-17 14:54:20 -04:00
reviewable_sensitivity_setting.rb make 🤖 happy 2019-05-25 00:32:29 +02:00
reviewable_user.rb Update annotation. 2019-05-24 12:58:26 +08:00
reviewable.rb FIX: Sensitivity did not work by default 2019-09-19 13:26:17 -04:00
s3_region_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
screened_email.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
screened_ip_address.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
screened_url.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
search_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
shared_draft.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
single_sign_on_record.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site_setting.rb FIX: Reset watched site settings when default locale changes 2019-10-01 20:41:16 +02:00
site.rb UX: Hide "Create Tag" option if user cannot create tag. (#7723) 2019-08-19 11:40:56 +03:00
skipped_email_log.rb FIX: Don't send notification email when user isn't allowed to see topic 2019-07-01 14:03:03 +02:00
slug_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
stylesheet_cache.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_group_membership.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_group_permission.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_group.rb FEATURE: add support for tag group search 2019-06-27 17:53:26 +10:00
tag_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme_field.rb FIX: Do not include theme variables in plugin SCSS, and fix register_css 2019-09-17 09:54:52 +01:00
theme_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme_translation_override.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme.rb FIX: Live reload plugin stylesheets when the color scheme changes 2019-09-17 09:54:55 +01:00
top_lists.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
top_menu_item.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
top_topic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_allowed_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_allowed_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_converter.rb FIX: Delete notifications users can't see after moving posts 2019-07-22 19:02:21 +02:00
topic_custom_field.rb annotate models 2019-05-29 14:26:24 +10:00
topic_embed.rb Revert "FIX: Use #dup instead of #+@ since content could be an instance of Nokogiri::XML::Element." 2019-08-09 11:35:22 -03:00
topic_featured_users.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_group.rb FEATURE: Publish read state on group messages. (Originally introduced in #7989) (#8025) 2019-08-27 09:09:00 -03:00
topic_invite.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_link_click.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_link.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_list.rb FEATURE: Publish read state on group messages. (Originally introduced in #7989) (#8025) 2019-08-27 09:09:00 -03:00
topic_notifier.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_participants_summary.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_poster.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_posters_summary.rb PERF: speed up topic poster lookups 2019-06-05 18:28:36 +10:00
topic_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_tag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_timer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_tracking_state.rb FIX: prevents trigger post read count update on non existing post (#8128) 2019-10-02 10:57:34 +10:00
topic_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_view_item.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic.rb FEATURE: topic title is validated for blocked words (#8127) 2019-10-02 10:38:34 +10:00
translation_override.rb FEATURE: English locale with international date formats 2019-05-20 13:47:20 +02:00
trust_level3_requirements.rb FEATURE: Permit users who had no penalties in last 6 months to be TL3. (#7892) 2019-07-19 12:46:10 +03:00
trust_level_and_staff_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
trust_level_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
unsubscribe_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
upload.rb FIX: Regularly reset unknown extension of uploads 2019-08-21 10:23:20 +02:00
user_action.rb PERF: reduce window of consistency on user actions 2019-08-29 13:27:04 +10:00
user_api_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_archived_message.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_associated_account.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_auth_token_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_auth_token.rb PERF: add index on user auth tokens (for user lookups) 2019-04-26 22:38:54 +10:00
user_avatar.rb FIX: Gravatar uploads being dependent on authorized_extensions. 2019-08-01 16:24:09 +08:00
user_badge.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_badges.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_custom_field.rb REFACTOR: Replace score bonuses with low/med/high priorities 2019-05-23 11:54:45 -04:00
user_email.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_export.rb REVERT: DEV: should ignore missing post uploads when a user export destroyed 2019-07-25 19:41:25 +05:30
user_field_option.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_history.rb DEV: Use ResultSet with staff action logs. (#7661) 2019-08-13 20:55:05 +03:00
user_open_id.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_option.rb FEATURE: add support for defer topic functionality 2019-05-31 15:44:35 +10:00
user_profile_view.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_profile.rb FEATURE: Implement Onebox for posts including polls. (#7539) 2019-05-29 17:05:52 +02:00
user_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_search.rb DEV: followup on secure category mention 2019-08-07 10:31:25 +10:00
user_second_factor.rb FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
user_security_key.rb FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099) 2019-10-01 19:08:41 -07:00
user_stat.rb make rubocop happy 2019-04-08 17:03:26 +05:30
user_summary.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_upload.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_visit.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_warning.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user.rb FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099) 2019-10-01 19:08:41 -07:00
username_validator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
watched_word.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_crawler_request.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_hook_event_type.rb FEATURE: Add a webhook for user notifications 2019-08-15 14:47:25 -04:00
web_hook_event.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_hook.rb DEV: Remove code deprecated by the new Reviewable API (#8023) 2019-08-26 10:33:26 -03:00