Compare commits
14 Commits
Author | SHA1 | Date |
---|---|---|
Steve Boyd | 4b3f5a2599 | |
Guy Sartorelli | e1b4ea2807 | |
Sabina Talipova | c08ec451bf | |
Guy Sartorelli | 00869b6755 | |
Steve Boyd | cfcfa9352c | |
Steve Boyd | 9e74d2749e | |
Steve Boyd | 04f6d63258 | |
Maxime Rainville | 41cd3190ee | |
Steve Boyd | 20270caef8 | |
Sabina Talipova | ad2dd60c77 | |
Steve Boyd | f194344efe | |
Sabina Talipova | 537b1b9290 | |
Maxime Rainville | d4df0bad4c | |
Sabina Talipova | d669b42cc9 |
11
.upgrade.yml
11
.upgrade.yml
|
@ -1,11 +0,0 @@
|
|||
mappings:
|
||||
SpamProtector: SilverStripe\SpamProtection\SpamProtector
|
||||
CommentSpamProtection: SilverStripe\SpamProtection\Extension\CommentSpamProtection
|
||||
EditableSpamProtectionField: SilverStripe\SpamProtection\EditableSpamProtectionField
|
||||
FormSpamProtectionExtension: SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension
|
||||
EditableSpamProtectionFieldTest: SilverStripe\SpamProtection\Tests\EditableSpamProtectionFieldTest
|
||||
EditableSpamProtectionFieldTest_Protector: SilverStripe\SpamProtection\Tests\Stub\Protector
|
||||
FormSpamProtectionExtensionTest: SilverStripe\SpamProtection\Tests\FormSpamProtectionExtensionTest
|
||||
FormSpamProtectionExtensionTest_BarProtector: SilverStripe\SpamProtection\Tests\Stub\BarProtector
|
||||
FormSpamProtectionExtensionTest_BazProtector: SilverStripe\SpamProtection\Tests\Stub\BazProtector
|
||||
FormSpamProtectionExtensionTest_FooProtector: SilverStripe\SpamProtection\Tests\Stub\FooProtector
|
16
README.md
16
README.md
|
@ -3,6 +3,12 @@
|
|||
[![CI](https://github.com/silverstripe/silverstripe-spamprotection/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-spamprotection/actions/workflows/ci.yml)
|
||||
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
composer require silverstripe/spamprotection
|
||||
```
|
||||
|
||||
## Maintainer Contact
|
||||
|
||||
* Saophalkun Ponlu
|
||||
|
@ -11,16 +17,6 @@
|
|||
* Will Rossiter
|
||||
<will (at) fullscreen (dot) io>
|
||||
|
||||
## Requirements
|
||||
|
||||
Silverstripe 4.0+
|
||||
|
||||
**Note:** For Silverstripe 3.x, please use the [2.x release line](https://github.com/silverstripe/silverstripe-spamprotection/tree/2.0).
|
||||
|
||||
## Install
|
||||
|
||||
To install run `composer require silverstripe/spamprotection`.
|
||||
|
||||
## Documentation
|
||||
|
||||
This module provides a generic, consistent API for adding spam protection to
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.4 || ^8.0",
|
||||
"silverstripe/framework": "^4.10"
|
||||
"php": "^8.1",
|
||||
"silverstripe/framework": "^5"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"silverstripe/versioned": "^1.0",
|
||||
"squizlabs/php_codesniffer": "^3.0",
|
||||
"silverstripe/userforms": "^5"
|
||||
"silverstripe/versioned": "^2",
|
||||
"squizlabs/php_codesniffer": "^3",
|
||||
"silverstripe/userforms": "^6"
|
||||
},
|
||||
"extra": {
|
||||
"expose": [
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
Name: spamprotectionlegacy
|
||||
---
|
||||
SilverStripe\ORM\DatabaseAdmin:
|
||||
classname_value_remapping:
|
||||
EditableSpamProtectionField: 'SilverStripe\SpamProtection\EditableSpamProtectionField'
|
Loading…
Reference in New Issue