This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/acceptance
Krzysztof Kotlarek 4db5525d25
FIX: do not lock account if backup codes are available (#18982)
Currently, we have available three 2fa methods:
- Token-Based Authenticators
- Physical Security Keys
- Two-Factor Backup Codes

If the first two are deleted, user lose visibility of their backup codes, which suggests that 2fa is disabled.

However, when they try to authenticate, the account is locked, and they have to ask admin to fix that problem.

This PR is fixing the issue. User still sees backup codes in their panel and can use them to authenticate.

In next PR, I will improve UI to clearly notify the user when 2fa is fully disabled and when it is still active.
2022-11-11 13:00:06 +11:00
..
about-test.js FEATURE: Add plugin API to register About stat group (#17442) 2022-07-15 13:16:00 +10:00
account-created-test.js UX: better account-created page (#17452) 2022-07-14 20:43:00 +05:30
admin-badges-award-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
admin-badges-show-test.js FIX: Immediately show sql options when badge query is supplied 2022-09-01 09:59:14 +01:00
admin-emails-test.js DEV: Add A11Y-friendly dialog addon (#18028) 2022-08-29 13:59:57 -04:00
admin-install-theme-modal-test.js SECURITY: Expand and improve SSRF Protections (#18815) 2022-11-01 16:33:17 +00:00
admin-permalink-test.js FIX: Permalinks issues (#18939) 2022-11-09 11:23:08 -08:00
admin-plugins-test.js Improve route error handling in admin/plugins (#18911) 2022-11-07 16:39:27 +00:00
admin-search-log-term-test.js DEV: updates chart.js to 3.5.1 (#14107) 2021-08-23 13:49:49 +02:00
admin-search-logs-test.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
admin-silence-user-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
admin-site-settings-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
admin-site-text-test.js DEV: Add A11Y-friendly dialog addon (#18028) 2022-08-29 13:59:57 -04:00
admin-suspend-user-test.js DEV: Refactor the last few bootbox dialogs (#18416) 2022-10-07 11:38:27 -04:00
admin-user-badges-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-user-emails-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
admin-user-index-test.js FIX: Regression with admin user delete dialog buttons (#18179) 2022-09-05 09:31:17 +02:00
admin-users-list-test.js FIX: Update user results page when no users found (#18363) 2022-09-26 16:37:56 +03:00
admin-watched-words-test.js FIX: Watched words submit button should be disabled by default (#18947) 2022-11-08 15:38:11 -08:00
auth-complete-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
badges-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
bookmarks-test.js DEV: Refactor the last few bootbox dialogs (#18416) 2022-10-07 11:38:27 -04:00
bootstrap-mode-notice-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
categories-test.js FIX: Ensure discovery-categories always clears PreloadStore (#18157) 2022-09-01 16:11:13 +01:00
category-banner-test.js DEV: refactor bootbox alerts (#18292) 2022-09-27 14:47:13 -04:00
category-chooser-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
category-edit-security-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
category-edit-test.js FIX: simplify display of multiple AJAX errors (#18763) 2022-10-28 08:37:08 -04:00
category-new-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
click-track-test.js DEV: Revisit skipped tests (#15769) 2022-02-02 12:09:03 -05:00
composer-actions-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
composer-draft-saving-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
composer-edit-conflict-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
composer-editor-mentions-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
composer-hyperlink-test.js A11Y: Keep composer as focused element when dismissing Link modal via keyboard (#17893) 2022-08-15 09:37:19 +08:00
composer-image-preview-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
composer-messages-test.js FEATURE: add composer warning when user haven't been seen in a long time (#18340) 2022-09-27 22:06:40 +05:30
composer-onebox-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
composer-tags-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
composer-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
composer-topic-links-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
composer-uncategorized-test.js DEV: Refactor Site creation in tests (#15707) 2022-02-03 10:02:47 +00:00
composer-uploads-uppy-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
create-account-external-test.js DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
create-account-user-fields-test.js FIX: Show error if field is same as password (#18529) 2022-10-10 20:00:52 +03:00
create-invite-modal-test.js FIX: Arrive at topic must be hidden when must_approve_users (#18504) 2022-10-06 12:04:26 -07:00
custom-html-set-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
custom-html-template-test.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
dashboard-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
dismiss-notification-modal-test.js DEV: Add bookmarks tab to the new user menu (#17814) 2022-08-08 17:24:04 +03:00
do-not-disturb-test.js UX: Close the revamped user menu when opening modals (#18148) 2022-09-01 15:22:41 +04:00
edit-notification-click-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
email-notice-test.js UX: Differentiate 'emails disabled' notice for 'yes' and 'non-staff' (#16096) 2022-03-03 15:49:20 +00:00
emoji-picker-test.js DEV: Emoji picker keyboard accessibility updates (#18331) 2022-09-22 15:21:34 -07:00
emoji-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
encoded-category-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
enforce-second-factor-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
fast-edit-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
flag-post-test.js DEV: Refactor the last few bootbox dialogs (#18416) 2022-10-07 11:38:27 -04:00
forgot-password-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
group-index-test.js FIX: Make group members bulk operations consistent (#17561) 2022-07-20 16:54:21 +03:00
group-manage-categories-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-manage-email-settings-test.js FIX: simplify display of multiple AJAX errors (#18763) 2022-10-28 08:37:08 -04:00
group-manage-interaction-test.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
group-manage-logs-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-manage-membership-test.js FEATURE: Experimental support for group membership via google auth (#14835) 2021-12-09 12:30:27 +00:00
group-manage-profile-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-manage-tags-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-requests-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
group-test.js A11Y: multiple fixes to user stream items (#18368) 2022-09-27 10:59:26 -04:00
groups-index-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
groups-new-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
hamburger-menu-test.js DEV: Listen for escape key on hamburger & user menu (#18629) 2022-10-18 09:36:18 +08:00
hashtags-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
image-aspect-ratio-test.js FIX: Ensure images do not change height when loading is complete (#16368) 2022-04-05 13:43:17 +01:00
invite-accept-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
invite-show-user-fields-test.js DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
jump-to-test.js DEV: Remove flaky acceptance test (#17045) 2022-06-09 09:56:05 +08:00
keyboard-shortcuts-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
last-visited-topic-focus-test.js A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
lightbox-test.js DEV: Avoid triggering 404 errors in tests (#17404) 2022-07-10 11:09:13 +02:00
login-redirect-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
login-required-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
login-with-email-and-hide-email-address-taken-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
login-with-email-and-no-social-logins-test.js UX: add link for email login below username, remove button (#12118) 2021-02-24 16:30:08 -05:00
login-with-email-disabled-test.js UX: add link for email login below username, remove button (#12118) 2021-02-24 16:30:08 -05:00
login-with-email-test.js FEATURE: Add safe-mode toggle to /u/admin-login (#17930) 2022-08-15 15:30:07 +01:00
mobile-discovery-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
mobile-pan-test.js DEV: zoom isn't used anymore (#18016) 2022-08-21 09:18:19 +02:00
mobile-sign-in-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
mobile-topic-bulk-actions-test.js UX: add bulk-select to mobile topic lists (#15386) 2022-07-26 15:36:35 -04:00
mobile-users-test.js FEATURE: Add user custom fields to user directory (#13238) 2021-06-07 12:34:01 -05:00
modal-test.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
new-message-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
new-topic-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
notifications-filter-test.js DEV: Clean up QUnit tests (#13328) 2021-06-08 17:54:12 +02:00
notifications-test.js DEV: Remove yet another jQ use in tests (#17628) 2022-07-25 02:32:04 +02:00
opengraph-tag-updater-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
page-publishing-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
password-reset-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
pending-posts-test.js DEV: Fix pending posts page, make tests work in legacy env (#15132) 2021-11-30 13:01:39 +01:00
personal-message-test.js DEV: Remove unused code and translations 2022-11-09 14:27:55 +01:00
plugin-keyboard-shortcut-test.js DEV: Remove unnecessary visit() calls (#17536) 2022-07-17 20:15:44 +02:00
plugin-outlet-connector-class-test.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
plugin-outlet-decorator-test.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
plugin-outlet-multi-template-test.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
plugin-outlet-single-template-test.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
post-admin-menu-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
post-controls-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
post-history-test.js DEV: Revisit skipped tests (#15769) 2022-02-02 12:09:03 -05:00
preferences-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
raw-plugin-outlet-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
redirect-to-top-test.js DEV: Remove invalid pretender calls (#18341) 2022-09-23 12:07:23 +01:00
reports-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
review-test.js FIX: Category chooser not updating selection when editing reviewable (#18737) 2022-10-25 09:13:37 +08:00
search-full-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
search-mobile-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
search-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
second-factor-auth-test.js FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
share-topic-test.js FEATURE: site setting to disable usernames in share links. (#18315) 2022-09-22 23:12:39 +05:30
shared-drafts-test.js DEV: Refactor the last few bootbox dialogs (#18416) 2022-10-07 11:38:27 -04:00
sidebar-anonymous-categories-section-test.js UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
sidebar-anonymous-community-section-test.js FIX: Respect site settings for sidebar users, groups and badges link (#18325) 2022-09-23 10:19:59 +08:00
sidebar-anonymous-tags-section-test.js UX: Hide tags section from anonymous user when site has no tags (#18538) 2022-10-11 13:33:50 +08:00
sidebar-anonymous-user-test.js FIX: Sidebar hamburger panel dropdown not working for anonymous (#18085) 2022-08-25 16:29:06 +08:00
sidebar-mobile-test.js UX: hide keyboard shortcuts on mobile (#18575) 2022-10-14 09:26:21 +08:00
sidebar-plugin-api-test.js UX: Muted style for entire chat section link when muted (#18852) 2022-11-03 08:37:39 +09:00
sidebar-user-categories-section-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
sidebar-user-community-section-test.js UX: hide new/unread counts in sidebar, use dot by default (#18797) 2022-11-02 20:55:05 +09:00
sidebar-user-messages-section-test.js FIX: Clientside checks for personal_message_enabled_groups (#18691) 2022-10-21 14:38:33 +10:00
sidebar-user-tags-section-test.js UX: hide new/unread counts in sidebar, use dot by default (#18797) 2022-11-02 20:55:05 +09:00
sidebar-user-test.js UX: Hide tags section in sidebar when user has no visible tags (#18539) 2022-10-13 08:37:28 +08:00
sign-in-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
static-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
tag-groups-test.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
tags-intersection-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
tags-test.js DEV: Remove commented-out code (#17945) 2022-08-16 10:46:26 +02:00
themes-test.js SECURITY: Expand and improve SSRF Protections (#18815) 2022-11-01 16:33:17 +00:00
topic-admin-menu-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
topic-anonymous-test.js DEV: Clean up QUnit tests (#13328) 2021-06-08 17:54:12 +02:00
topic-bulk-actions-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
topic-discovery-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
topic-discovery-tracked-test.js FIX: Regression with Categories nav item (#17885) 2022-08-12 11:30:39 -04:00
topic-edit-timer-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
topic-entrance-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
topic-footer-button-api-mobile-test.js DEV: adds a new topic footer dropdown api (#14747) 2021-11-12 10:21:34 +01:00
topic-footer-button-api-test.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
topic-footer-dropdown-api-test.js DEV: adds a new topic footer dropdown api (#14747) 2021-11-12 10:21:34 +01:00
topic-list-plugin-api-test.js DEV: Fix "overridden" typos (#16399) 2022-04-06 23:17:20 +02:00
topic-list-tracker-test.js DEV: Fix state leak in QUnit acceptance tests (#17507) 2022-07-15 16:51:15 +10:00
topic-move-posts-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
topic-notifications-button-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
topic-quote-button-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
topic-set-slow-mode-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
topic-slow-mode-test.js DEV: use the only source for time shortcut options on all date pickers (#16366) 2022-04-21 15:49:11 +04:00
topic-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
topic-timeline-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
topic-user-status-test.js FIX: do not show user status on posts twice (#18458) 2022-10-04 10:35:27 +04:00
unknown-test.js DEV: Silence one more test (#17375) 2022-07-08 09:15:09 +08:00
user-activity-all-test.js UX: show blank page placeholder instead of the blue panel that says "No Activity" (#16293) 2022-08-18 17:24:52 +04:00
user-activity-drafts-test.js FEATURE: improve blank page syndrome on the user activity pages (#14311) 2021-09-16 21:35:34 +04:00
user-activity-likes-test.js UX: show blank page placeholder instead of the blue panel that says "No Activity" (#16293) 2022-08-18 17:24:52 +04:00
user-activity-read-test.js FIX: This was causing a flaky test in Ember CLI 2022-01-26 14:53:25 -05:00
user-activity-replies-test.js DEV: Add A11Y-friendly dialog addon (#18028) 2022-08-29 13:59:57 -04:00
user-activity-topic-test.js UX: cleaner messages for empty state on the user activity topics page (#16267) 2022-03-25 00:20:55 +04:00
user-anonymous-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
user-bookmarks-test.js DEV: Refactor the last few bootbox dialogs (#18416) 2022-10-07 11:38:27 -04:00
user-card-test.js FEATURE: user status (#16875) 2022-05-27 13:15:14 +04:00
user-drafts-stream-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
user-menu-test.js DEV: Merge mentions and watching tabs into the replies tab in the user menu (#18544) 2022-10-12 17:58:17 +03:00
user-preferences-account-test.js DEV: Refactor self-delete dialog (#18180) 2022-09-12 09:45:53 -04:00
user-preferences-account-user-status-test.js FEATURE: add user status to user preferences (#18532) 2022-10-12 23:35:25 +04:00
user-preferences-categories-test.js FIX: Can't change notification level of categories set to regular (#18801) 2022-11-01 07:15:53 +08:00
user-preferences-interface-test.js FEATURE: Rename onboarding popups to user tips (#18826) 2022-11-09 20:20:34 +02:00
user-preferences-notifications-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
user-preferences-profile-test.js A11Y: ensures featured topic btn is focused when modal closes (#17898) 2022-08-13 14:21:58 +02:00
user-preferences-sidebar-test.js FIX: sidebar_list_destination on CurrentUserSerializer (#18660) 2022-10-19 11:48:36 +11:00
user-private-messages-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
user-profile-summary-test.js FIX: Regression with admin user delete dialog buttons (#18179) 2022-09-05 09:31:17 +02:00
user-status-test.js UX: Close the revamped user menu when opening modals (#18148) 2022-09-01 15:22:41 +04:00
user-test.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
users-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
welcome-topic-banner-test.js UX: Welcome CTA edits (#18582) 2022-10-17 13:04:34 -05:00
wizard-test.js FIX: "Exit setup" link should exit the wizard and take user to homepage (#18182) 2022-09-05 17:21:41 +05:30