wtf icon indicating copy to clipboard operation
wtf copied to clipboard

IPInfo module features: scrolling and option for ipv4 address

Open poetaman opened this issue 4 years ago • 8 comments

What should it do?

Currently the IP info module shows ipv6 address in my dashboard, and I would like to see ipv4. So the request is to add an option so user can specify which address is shown. Interestingly, the address shows in the screenshot at https://wtfutil.com/modules/ipaddress/ipinfo/ is ipv4. So it seems to vary by user.

It would also be great to have a scrolling option, currently ipv6 address does not fit in the window width I had allocated to IPInfo module.

poetaman avatar Sep 29 '21 17:09 poetaman

I just noticed that my IP address listing has changed to IPv6 as well. Interesting. It was definitely v4 before.

senorprogrammer avatar Oct 05 '21 20:10 senorprogrammer

@senorprogrammer It would also be nice to be able to pass our own api_key. Weird that when I use https://ipinfo.io from command line, it returns IPv4 string.

poetaman avatar Oct 06 '21 06:10 poetaman

Hi @senorprogrammer , for me with v0.39.2, this shows ip address in ipv4 format only. If this still qualifies as bug, any pointers on how to reproduce it?

siddhant94 avatar Oct 26 '21 22:10 siddhant94

Nope, not yet, I haven't had a chance to try.

senorprogrammer avatar Oct 28 '21 03:10 senorprogrammer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 27 '22 20:02 stale[bot]

Btw, I am somehow seeing ipv4 addresses again. Did you change anything?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

poetaman avatar Feb 27 '22 21:02 poetaman

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 28 '22 22:05 stale[bot]

Bypass stale bot...

poetaman avatar May 31 '22 22:05 poetaman

The IP address format depends on OS preferences. The OS may decide when to use IpV4 or IpV6. I added a configuration to enforce specific configuration or fallback to default.

vadeg avatar Oct 22 '22 04:10 vadeg