Enable to process payments using http://cmpay.10086.cn for China Mobile users.
dependencies: uc_payment

For Drupal 6.x

Module Page: http://drupal.org/sandbox/spiritfelix/1361654

Git: git clone --branch 6.x-1.x spiritfelix@git.drupal.org:sandbox/spiritfelix/1361654.git uc_cmpay

CommentFileSizeAuthor
#6 drupalcs-result.txt28.91 KBklausi

Comments

patrickd’s picture

Status: Needs review » Needs work

Link to project page is missing: http://drupal.org/sandbox/spiritfelix/1361654
git clone http://git.drupal.org/sandbox/spiritfelix/1361654.git uc_cmpay

Automated review: http://ventral.org/pareview/httpgitdrupalorgsandboxspiritfelix1361654git

spiritfelix’s picture

thank u, i'm a fresh fish.
i will look over the review and modify the errors.

spiritfelix’s picture

Issue summary: View changes

Add link to sandbox

spiritfelix’s picture

Status: Needs work » Needs review

To patrickd:
Will you help me to review it again? thank you.

patrickd’s picture

Status: Needs review » Needs work

Your still working in the master branch, please have a look at the instructions here:
http://ventral.org/pareview/httpgitdrupalorgsandboxspiritfelix1361654git

Try to fix all the stuff the automated review throws and retry reviewing it your self here: http://ventral.org/pareview

If you think something in the automated review is wrong or you have problems to understand some points, just ask!

patrickd’s picture

Status: Needs work » Needs review

Switched back to needs review, so in-depth reviews won't be blocked by coding standart issues.

patrickd’s picture

Issue summary: View changes

coding standards

klausi’s picture

Status: Needs review » Needs work
StatusFileSize
new28.91 KB

It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Go and review some other project applications, so we can get back to yours sooner.

manual review:

  • wrong git branch name, "6.x-1.0" should be "6.x-1.x".
  • "Implements of hook_uninstall()." should be "Implements hook_uninstall().", also on the other hook implementations.
  • uc_cmpay_uninstall(): you do not define a schema, so you do not need to uninstall one.
  • uc_cmpay_payment_method_cmpay(): all text for transalation in t() should be in English.
  • Same for comments.
klausi’s picture

Issue summary: View changes

Moving from a master to a major version branch (6.x-1.0).

spiritfelix’s picture

Status: Needs work » Needs review

need help to review.
i have do some change, and used the online version to check my project, but the result is the result which "Submitted by patrickd on Mon, 12/05/2011 - 21:45"
i wanna the realtime result.
can u help me to review it again?

patrickd’s picture

the date showed on a pareview report on ventral.org only shows who did the first submit.
So you got the most recent result, just ignore the shown date (I'll turn of this off in future).

patrickd’s picture

Assigned: spiritfelix » Unassigned

Please do not assign your own applications, only the current reviewer should do this

novalnet’s picture

Hi,

Manual Review :

1. Please use l() to create image and link markup in uc_cmpay.module line45 .
2. Use English words instead 个别浏览器暂时无法使用 ,enclosed with t() and also in other places throughout the file.
3. use drupal builtin function ip_address in function uc_cmpay_getclientip() in file uc_cmpay.inc.
4. Please use t() for all titles . ex : 'title' => 'cmpay payment return' should be 'title' => t('cmpay payment return')
5. Also modify markup coding in uc_cmpay.module line 206 .
6. Use drupal_urlencode instead of normal encode in uc_cmpay.inc.
7.It seems there is a problem in validating your code in PAREVIEW . Please check and clear it.

Thanks,

novalnet’s picture

Status: Needs review » Needs work
klausi’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

klausi’s picture

Issue summary: View changes

branch to 6.x-1.x