Skip to content
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

NEW Add NullSpamProtector #135

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Jan 18, 2023

Issue silverstripe/silverstripe-framework#10402

This is required because we no longer support https://github.com/silverstripe/silverstripe-akismet/ which means there is no longer a default spam protector for recipes which had previously included it.

Create 1.1 branch and tag 1.1.0 after merging Leave as 1.x-dev for now

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll allow the code/null-spam-protector directory name only because this isn't used outside of our own test processes.... but in general we should be adhering to PSR4 naming standards.

composer.json Outdated
@@ -20,7 +20,8 @@
"silverstripe/cms": "^5",
"guzzlehttp/guzzle": "^7.5",
"fzaninotto/faker": "^1.9.2",
"silverstripe/vendor-plugin": "^2"
"silverstripe/vendor-plugin": "^2",
"silverstripe/spamprotection": "^4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not just arbitrarily add that module - use if (class_exists) to only declare the class if it's needed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@emteknetnz emteknetnz force-pushed the pulls/1/null-spam-protector branch from 5d1eef6 to 54a54cf Compare January 18, 2023 01:49
@emteknetnz emteknetnz force-pushed the pulls/1/null-spam-protector branch from 54a54cf to 5afed61 Compare January 18, 2023 01:54
@GuySartorelli GuySartorelli merged commit e847f79 into silverstripe:1 Jan 18, 2023
@GuySartorelli GuySartorelli deleted the pulls/1/null-spam-protector branch January 18, 2023 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants