mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-09-29 20:59:07 +02:00
Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e1b4ea2807 | ||
|
c08ec451bf | ||
|
00869b6755 | ||
|
cfcfa9352c | ||
|
9e74d2749e | ||
|
04f6d63258 | ||
|
41cd3190ee | ||
|
20270caef8 | ||
|
ad2dd60c77 | ||
|
f194344efe | ||
|
537b1b9290 | ||
|
d4df0bad4c | ||
|
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)
|
[![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/)
|
[![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
|
## Maintainer Contact
|
||||||
|
|
||||||
* Saophalkun Ponlu
|
* Saophalkun Ponlu
|
||||||
@ -11,16 +17,6 @@
|
|||||||
* Will Rossiter
|
* Will Rossiter
|
||||||
<will (at) fullscreen (dot) io>
|
<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
|
## Documentation
|
||||||
|
|
||||||
This module provides a generic, consistent API for adding spam protection to
|
This module provides a generic, consistent API for adding spam protection to
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^8.1",
|
||||||
"silverstripe/framework": "^4.10"
|
"silverstripe/framework": "^5"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"silverstripe/versioned": "^1.0",
|
"silverstripe/versioned": "^2",
|
||||||
"squizlabs/php_codesniffer": "^3.0",
|
"squizlabs/php_codesniffer": "^3",
|
||||||
"silverstripe/userforms": "^5"
|
"silverstripe/userforms": "^6"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"expose": [
|
"expose": [
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
Name: spamprotectionlegacy
|
|
||||||
---
|
|
||||||
SilverStripe\ORM\DatabaseAdmin:
|
|
||||||
classname_value_remapping:
|
|
||||||
EditableSpamProtectionField: 'SilverStripe\SpamProtection\EditableSpamProtectionField'
|
|
Loading…
Reference in New Issue
Block a user