CVS edit link for Ilmar

I have been using ipgeobase.ru service to determine the location of the user by user's IP for quite some time. This service provides rather accurate results for the IPs of the Russian providers and returns correct geographical names in Russian (which is very important feature for a number of my projects) along with coordinates. No existing Drupal module does this so I've decided to share my own implementation. There is an demo site where basic features of the module can be seen: http://ipgeobase.pcholnick.net/
CommentFileSizeAuthor
#9 ipgeobase.tar_.gz3.51 KBIlmar
#1 ipgeobase.tar_.gz3.5 KBIlmar

Comments

Ilmar’s picture

StatusFileSize
new3.5 KB
Ilmar’s picture

Status: Postponed (maintainer needs more info) » Needs review
avpaderno’s picture

Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.

Ilmar’s picture

Hi! Great, thanks, I'll be waiting for the feedback :)

Ilmar’s picture

Hello! Is there anything I should do to improve the code in order to meet the Drupal standards? Just let me know, I'm still waiting :)

Ilmar’s picture

Anybody? :)

avpaderno’s picture

Status: Needs review » Needs work
  • The points reported in this review are not in order or importance / relevance.
  • Most of the times I report the code that present an issue. In such cases, the same error can be present in other parts of the code; the fact I don't report the same issue more than once doesn't mean the same issue is not present in different places.
  • Not all the reported points are application blockers; some of the points I report are simple suggestions to who applies for a CVS account. For a list of what is considered a blocker for the application approval, see CVS applications review, what to expect. Keep in mind the list is still under construction, and can be changed to adapt it to what has been found out during code review, or to make the list clearer to who applies for a CVS account.
  1. package = IpGeoBase
    

    The package is used when a module is part of a group of modules; if the package name is not one already used by other modules, it should not be set.

  2. The module doesn't delete the Drupal variables it defines when hook_uninstall() is invoked.
Ilmar’s picture

Thanks for the feedback! I'll address those issues.

Ilmar’s picture

Status: Needs work » Needs review
StatusFileSize
new3.51 KB

Hi!

I've fixed issues pointed out in #7.

I'm not sure I have understood why I shouldn't set the package name (although I've removed it anyway :) I've created 2 info files in order to divide the api and block logic. I guess this module's blocks will not be used as frequently as the core API for geolocating so I thought that it might be good idea to let end-user decide which features will be required and do not introduce unneeded hooks into the system. Could you explain this a bit? I have read through the CVS application review, but had not found any explanation there.

Thanks! :)

avpaderno’s picture

Status: Needs review » Fixed

Thank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Ilmar’s picture

Thanks :)

avpaderno’s picture

Assigned: Unassigned » avpaderno

Status: Fixed » Closed (fixed)
Issue tags: -Module review

Automatically closed -- issue fixed for 2 weeks with no activity.

avpaderno’s picture

Component: Miscellaneous » new project application
Issue summary: View changes