forked from pypi/warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(admin): Account recovery tooling (pypi#16266)
* WIP * surface all available urls * add user observations * check links using JS via camo * update observation structure * handle projects with no releases * display (jankily) active recoveries on user detail * display account recoveries on admin page * add cancel/complete functionality for account recoveries * lint * support (but don't implement) alternate emails for verification * patch up easy to fix tests * allow overriding to email address for verification * overridable from! * fixup test coverage for account service and emails * test coverage for account_recovery_{cancel,complete} * coverage for GET of user_recover_account_initiate * flesh out tests for account_recovery.initiate * fix email templates * admin: splitting email form from userform * add an "is_support" role * remove TODO * admin js: optimize query selector for link checker * mikes visual linting * test_add_email_bypass_ratelimit: update test * indents * re-organize admin user-detail * fix closing tag on account initiate recovery * mildly repair admin ui for user detail * be good at js, per mikes visual linter --------- Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
- Loading branch information
Showing
27 changed files
with
2,128 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.