-
-
Notifications
You must be signed in to change notification settings - Fork 72
Assorted improvements #1888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Oaphi
wants to merge
32
commits into
develop
Choose a base branch
from
ovalt/user-restore
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+526
−185
Open
Assorted improvements #1888
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
440e39a
switched UsersController#soft-delete to at_least_global_moderator?
Oaphi a4740ad
renamed User#do_soft_delete to just soft_delete (naming convention)
Oaphi 3b5d5f2
added a proper CommunityUser#soft_delete method
Oaphi 5b77efd
fixed deletion confirmation layout (missing </li> tag)
Oaphi 22cee25
reworked network_name to be a global site setting
Oaphi f0ec2e9
switched a bunch more views to the NetworkName site setting
Oaphi 546e22a
removed Codidact mention from keyboard shortcuts
Oaphi ae0dfa3
a bunch more instances of hardcoded network name removed
Oaphi 879accb
added test for CleanUpSpammyUsers job + improved system user handling
Oaphi 76517e8
removed no longer needed system user fixture (it's seeded) & adjusted…
Oaphi f265135
added webmock to help with preventing & tracking external requests in…
Oaphi 3724130
prevented CDN requests when testing mailers
Oaphi 4fa820a
fixed backup_code's 2FA URI pointing to the default host
Oaphi 16c0122
added tests for TwoFactorMailer
Oaphi 51d4c18
added network name assertions for TwoFactorMailer tests
Oaphi 4d6ba34
external requests are disabled by default when using WebMock, no need…
Oaphi adb57ea
ensured all external requests in test cases are stubbed out and clean…
Oaphi 2009d94
fixed PotentialSpamProfilesJob test by added a dedicated profile spam…
Oaphi 397d0c5
allowed network connections in system tests
Oaphi 0a8480d
removed stray non-existent action name from verify_moderator action c…
Oaphi febeafc
Merge branch 'develop' into ovalt/user-restore
Oaphi 2bbe33c
fixed Filter model test since we don't have a system user fixture any…
Oaphi 1788af1
fixed TwoFactorMailer tests not respecting default url options
Oaphi acc97b6
fixed missing category for the NetworkName site setting
Oaphi 02d8a45
added User#anonymize method (and tests) to make the intent clear
Oaphi 1c34cd4
added NetworkURL global site setting
Oaphi 757fe46
fixed image without alt text regular expression
Oaphi 7994836
expanded user profile soft delete test to cover all users who are at …
Oaphi 737e382
moved user ping regular expression to a USER_PING_REG_EXP constant to…
Oaphi 1f292b9
allowed user pings to be made to users with negative ids
Oaphi 6d2ad87
fixed Comment#pings method (it's unused but still)
Oaphi 6e6d1a3
added tests for the Comment#pings method
Oaphi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.