Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

API for exposing blocked ips to external applications #1

Merged
merged 1 commit into from
May 24, 2014
Merged

Conversation

f3nry
Copy link
Contributor

@f3nry f3nry commented May 24, 2014

This is for use in main applications or admin interfaces for unblocking ips. The client will be another separate gem (that will be included here for testing, as a dev dependency).

  • endpoint for listing ips
  • endpoint for unblocking a specific ip

Webmachine is the framework used, as it's simple and straightforward. Webrick is used as the server, for now unless we see a reason to switch.

@kigster @sax

 - endpoint for listing ips
 - endpoint for unblocking a specific ip
kigster added a commit that referenced this pull request May 24, 2014
API for exposing blocked ips to external applications

Very nice Paul!
@kigster kigster merged commit 5ee090b into master May 24, 2014
@kigster
Copy link
Contributor

kigster commented May 24, 2014

I think might be nice to have also an 'add IP to block list' functionality, especially since it's so easy :)

@kigster
Copy link
Contributor

kigster commented May 24, 2014

Actually, also "clear all" could be useful too incase something bad happens (ie, CDN, etc)

@f3nry
Copy link
Contributor Author

f3nry commented May 24, 2014

@kigster Agreed 😊 I'll add both of those. This should all make for a nice admin page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants