-
Notifications
You must be signed in to change notification settings - Fork 41
Restrict comment_author to name fields #1945
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
Merged
Crabcyborg
merged 47 commits into
master
from
issue-1781-restrict_comment_author_to_name_field
Dec 23, 2024
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
a270b79
Restrict comment_author to name fields
AbdiTolesa 036c38f
Check field name patterns for building comment_author for non-name fi…
AbdiTolesa 7fd8c2b
Optimize code a bit
AbdiTolesa 2c36fe0
Use strict comparison for field names
AbdiTolesa ba41749
Merge if..else block
AbdiTolesa fe5344d
Shuffle if..else conditions
AbdiTolesa 606906c
Correct if condition
AbdiTolesa c675db9
Fix PHPCS error
AbdiTolesa ac56f10
Debugging unit test
AbdiTolesa 6ca7338
Debugging unit test
AbdiTolesa 493ef34
Debugging unit test
AbdiTolesa 360b89b
Debugging unit test
AbdiTolesa 9eab523
Debugging unit test
AbdiTolesa d93a524
Debug tests
AbdiTolesa 6d2f2ea
Debug tests
AbdiTolesa f44134e
Debugging tests
AbdiTolesa d5b59e7
Debugging tests
AbdiTolesa 0fefc9f
Debugging tests
AbdiTolesa 8d85638
Debugging tests
AbdiTolesa 16464ce
Debugging tests
AbdiTolesa e9d64aa
Debugging tests
AbdiTolesa c6c0d82
Prepare values for spam check
AbdiTolesa a510a86
Remove debugging lines
AbdiTolesa 8eaa2f9
Remove debugging lines
AbdiTolesa 77da237
Add assertion to cover field name pattern to build the comment author
AbdiTolesa a7a1e87
Add comment to clarify a test section
AbdiTolesa 9acf225
Uncomment original code
AbdiTolesa 85c7ac9
Fix PHPCS errors
AbdiTolesa 3b8b663
Avoid translating field names when comparing with expected strings
AbdiTolesa e6afde7
Add a guard for array element
AbdiTolesa ffbae2b
Add a guard for array element
AbdiTolesa 5759e74
Add a guard for array element
AbdiTolesa bb1c286
Add a guard for array element
AbdiTolesa 00b0268
Add a guard for array element
AbdiTolesa 0125fea
Merge branch 'master' into issue-1781-restrict_comment_author_to_name…
Crabcyborg ce73c3d
Limit fields queried to text fields
AbdiTolesa 4c94f7d
Merge branch 'issue-1781-restrict_comment_author_to_name_field' of ht…
AbdiTolesa 973bef1
Fix PHPCS error
AbdiTolesa f6ab3e1
Fix PHPCS errors
AbdiTolesa 3063336
Filter 'name' column to 'Name' or 'Last' in fields query
AbdiTolesa af9e1fb
Merge branch 'master' into issue-1781-restrict_comment_author_to_name…
Crabcyborg 9da51cb
Store fields query in a static variable
AbdiTolesa 8391831
Merge branch 'issue-1781-restrict_comment_author_to_name_field' of ht…
AbdiTolesa 9ec1b4e
Avoid extra variable
AbdiTolesa c6f9905
Support multiple form submission per page
AbdiTolesa 5dc0d7e
Make code more readable
AbdiTolesa 027e543
Merge branch 'master' into issue-1781-restrict_comment_author_to_name…
Crabcyborg 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
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.