Enable logging and a Whois block showing previous lookups

Christefano - June 14, 2007 - 18:04
Project:Whois lookup
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Being able to save my lookup history and display previous lookups in a Whois block would be fabulous. Even having a global history would be helpful.

Great module. Thanks!

#1

Gurpartap Singh - August 12, 2008 - 11:18
Version:5.x-1.x-dev» 6.x-1.0

Added watchdog logging in 6.x version.

If someone can take up with the above suggested feature, patches are welcomed anytime! :-)

#2

obsidiandesign - January 9, 2009 - 05:00
Status:active» needs work

The attached patch will store the data in the database and allow the admin to return a cached result over a specified time period. One issue is that the storage relies on the cache time, as the result will be stored every request if the cache time is set to 0.

I'm working on the block next, hope to have a separate patch tomorrow or Saturday. I'm working on this for a client project, so he's agreed to contribute the work back to the modules.

Bryan O'Shea
Obsidian Design

#3

obsidiandesign - January 9, 2009 - 05:01

Forgot to attach the patch, sorry.

AttachmentSize
whois_store_data.patch 3.99 KB

#4

giorgio79 - July 3, 2009 - 18:20

Thanks for this :)

Was the block part ever finished? :)

#5

giorgio79 - July 6, 2009 - 04:25

It seems the patch does not apply anymore, will try to reroll it

patch < whois_store_data.patch
(Stripping trailing CRs from patch.)
patching file whois.install
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file whois.install.rej
(Stripping trailing CRs from patch.)
patching file whois.module
Hunk #1 FAILED at 85.
Hunk #2 FAILED at 197.
2 out of 2 hunks FAILED -- saving rejects to file whois.module.rej

 
 

Drupal is a registered trademark of Dries Buytaert.