Skip to content

Commit

Permalink
Merge branch 'release/1.0.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Mar 4, 2021
2 parents 86b0015 + 544c634 commit 652d1df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v0.1.0
## 03/03/2021
# v1.0.0
## 03/04/2021

1. [](#new)
* ChangeLog started...
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# DNSBlacklist Plugin
# DNS Blacklist Plugin

The **DNS Blacklist** Plugin is an extension for [Grav CMS](http://github.com/getgrav/grav). Checks an IP address via mutliple DNS Blacklists to see if it's banned. It can be used as a PHP function, Twig function as well as via a Form action.

## Installation

Installing the Dns Blacklist plugin can be done in one of three ways: The GPM (Grav Package Manager) installation method lets you quickly install the plugin with a simple terminal command, the manual method lets you do so via a zip file, and the admin method lets you do so via the Admin Plugin.
Installing the DNS Blacklist plugin can be done in one of three ways: The GPM (Grav Package Manager) installation method lets you quickly install the plugin with a simple terminal command, the manual method lets you do so via a zip file, and the admin method lets you do so via the Admin Plugin.

### GPM Installation (Preferred)

To install the plugin via the [GPM](http://learn.getgrav.org/advanced/grav-gpm), through your system's terminal (also called the command line), navigate to the root of your Grav-installation, and enter:

bin/gpm install dns-blacklist

This will install the Dns Blacklist plugin into your `/user/plugins`-directory within Grav. Its files can be found under `/your/site/grav/user/plugins/dns-blacklist`.
This will install the DNS Blacklist plugin into your `/user/plugins`-directory within Grav. Its files can be found under `/your/site/grav/user/plugins/dns-blacklist`.

### Admin Plugin

Expand Down Expand Up @@ -104,6 +104,8 @@ form:
This is a simple blacklisting form action test page.
```

If you want to provide a custom error message instead of one that references the IP address and the DNSBL providers that block it, you can simply add a custom message in the `form_error:` property of the configuration yaml.

## Blacklist Providers

There are many blacklist providers. The plugin includes just a few, I suggest checking out https://w3dt.net/tools/dnsbl to test an IP and get a huge list or providers to potentially include.
Expand Down
11 changes: 5 additions & 6 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: Dns Blacklist
name: DNS Blacklist
slug: dns-blacklist
type: plugin
version: 0.1.0
version: 1.0.0
description: Checks an IP address via mutliple DNS Blacklists
icon: plug
icon: ban
author:
name: Trilby Media
email: [email protected]
homepage: https://github.com/trilbymedia/grav-plugin-dns-blacklist
demo: http://demo.yoursite.com
keywords: grav, plugin, etc
keywords: grav, plugin, dnsbl, spamhaus, spamcop
bugs: https://github.com/trilbymedia/grav-plugin-dns-blacklist/issues
docs: https://github.com/trilbymedia/grav-plugin-dns-blacklist/blob/develop/README.md
license: MIT

dependencies:
- { name: grav, version: '>=1.6.0' }
- { name: grav, version: '>=1.7.0' }

form:
validation: loose
Expand Down

0 comments on commit 652d1df

Please sign in to comment.