Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
22 Apr 2013 at 12:54 UTC
Updated:
4 Jan 2014 at 03:28 UTC
Jump to comment: Most recent
Comments
Comment #1
sreynen commentedComment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxpranit841976520git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
pranit84Issues reported by code sniffer tool has been rectified. Now needs to be reviewed.
Comment #4
a.milkovskyIt 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.
Test your module at http://ventral.org/pareview/httpgitdrupalorgsandboxpranit841976520git
Comment #5
a.milkovskyplease checkout to new branch and remove master branch
Comment #6
pranit84Thanks a.milkovsky for your feedback, Branch changed to 7.x-1.x from master.
Comment #7
a.milkovskyThere is still a master branch at http://drupal.org/project/1976520/git-instructions
Make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.x branch:
Comment #8
pranit84Master Branch removed.
Comment #8.0
pranit84Description Modified.
Comment #8.1
pranit84PAReview Added
Comment #8.2
pranit84PAReview
Comment #8.3
pranit84PAReview
Comment #9
pranit84Comment #9.0
pranit84PAReview: review bonus
Comment #10
trof commentedHi pranit84.
Manual reviw:
password_confirm.module
line 14
'label' => 'Password Confirm',need add t() function
line 139
need insert array_key_exists() function
line 46
need insert array_key_exists() function
Best regards.
Comment #11
pranit84Hi trof,
Thanks for your valuable suggestions. Suggested changes has been done.
Now you can review it.
Comment #11.0
pranit84Reviews of other projects
Comment #12
kaushalkishorejaiswal commentedpassword_confirm.module
--------------------------------------------------------------------------------
FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
49 | ERROR | else must start on a new line
52 | ERROR | else must start on a new line
--------------------------------------------------------------------------------
Comment #13
pranit84Resolved.
Comment #14
eriknewby commentedHey,
A minor issue, but thought I'd document it anyway.
Description:
It is not possible to disable the module after creating and deleting a password field, until cron has run.
Steps to reproduce:
1. I installed the module, created a password field on the Article content type of a Vanilla Drupal install.
2. Created an Article with a value in the password field.
3. Deleted the password field from the content type.
4. Disable the module (via drush)
Actual result:
received the following message:
"password_confirm is a required module and can't be disabled. Reason: Fields pending deletion"
Expected result:
Module disables successfully
At this point I would assume I could disable the module since I've deleted the field and there are no more dependencies. Even checking "admin/reports/fields" before cron was run, the field did not show up in the field list.
Thanks for your contributions, pranit84! Nice module.
Comment #15
eriknewby commentedsee #14
Comment #16
pranit84Hi eriknewby,
The issue that you are reporting is actually not related to my module. Infact it seems it is related to Drupal 7 core.
Check the links below:
http://drupal.org/node/1400478
http://drupal.org/node/1284358
http://drupal.org/node/1284358#comment-5026526
http://drupal.org/node/1284332#comment-5050554
I'm sharing only drupal.org links, apart from that there are several forums which is discussing this issue.
So, I don't think i need to do anything for this with my module.
and now i'm changing the state back to "needs review".
Thanks for your comments.
- Pranit
Comment #16.0
pranit84Another review detail of other project added
Comment #17
pranit84It's been more than 2 days, no one reviewing my Module.
How much time does it takes to approve the module and get it on drupal.org for everyone.
Comment #17.0
pranit84Review of other project added.
Comment #17.1
pranit84REview of other projects added.
Comment #18
klausiRemoving review bonus tag, you have not done any manual review, you just posted the output of an automated review tool. Make sure to read through the source code of the other projects, as requested on the review bonus page.
I removed the automated review comments from the issue summary.
Comment #18.0
klausiremoved automated reviews.
Comment #18.1
pranit84Adding manual Review
Comment #19
pagolo commentedHi Pranit,
I got an issue, while testing your module.
this code generates an HTTP 500 error. If I change 'password_confirm' to 'password', it works. If I remove the '#default_value' line, it works.
cheers.
Comment #20
pranit84Field type password confirm doesn't supports #default_value. For detailed information read: http://api.drupal.org/api/drupal/developer%21topics%21forms_api_referenc...
Comment #20.0
pranit84Adding Other projects Review link
Comment #21
pranit84PAReview added.
Comment #22
pranit84Hi klausi,
I had completed the manual review of three projects. Now i assume i should get review for my module from your end.
Thanks,
-Pranit
Comment #23
pagolo commentedPranit says:
I know and I apologize, however it would be a good choice ignoring this mistake (see #password field)
Comment #24
pranit84Hi pagolo,
I checked your code without my module and found the same error is coming, which means it is not related to my module. Rather it is a part of Drupal core.
- Pranit
Comment #25
markpavlitski commentedHi pranit84, please see some comments below:
When the 'Save Password in encrypted form' option is used (the default), there is no way of recovering the password. This could be confusing when used with the 'Show password' option, since it doesn't actually show the password but a salted, hashed version instead. Perhaps add a description on the field form or in README.txt to note this.
Since the form validates that both passwords are the same, there is no reason to store both copies of the password. Since a different salt is used, the hashed passwords can appear different but are still encrypting the same password. Without encryption, the two passwords are identical. I would suggest removing the second password field.
A couple of minor comment issues too:
password_confirm.module:9 This should be 'Implements hook_field_info().'
password_confirm.module:135: This should be 'Implements hook_field_presave().'
Comment #26
markpavlitski commentedI've just spotted this module which seems quite similar, http://drupal.org/project/password_field have you seen this one before?
Comment #27
pranit84Once password is encrypted, user should not use show password, although it is up to the user's choice. I will mention this in the README.txt file. I agree with your suggestion of dropping one field from the table. And will do the changes accordingly.
I will correct the mentioned comment issues as well.
I had already seen the module, that mentioned in the #26, is not at all similar to my module. It's totally different.
In that module field of password type is created, In my module field of password_confirm type is created.
In that module password is stored in encrypted form only, In my module their is a option to save data without encryption as well.
Suppose for example, you need to create a user with the node data, In that case with help of that module the password will not help you create the user by code. But with my module it can be done.
I will try to commit the change today itself if not today then by tomorrow for sure.
Comment #28
pranit84All the required changes has been done in the code. Now i'm changing the status back to "Needs Review".
Comment #28.0
pranit84Review of other project added
Comment #29
klausimanual review:
But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to patrickd as he might have time to take a final look at this.
Comment #30
pranit84Thanks klausi,
I added the difference details to the project page, under Notes section. And got your point about commit message, and will keep that in mind while doing future tasks.
I will try to add the reviews soon.
-Pranit
Comment #30.0
pranit84new review added
Comment #30.1
pranit84review added
Comment #30.2
pranit84review added
Comment #31
pranit84Review Bonus added.
Comment #32
patrickd commented"code modified" is not a very good commit message - for sure you modified code - that's what a commit is all about.. (I just saw that klausi pointed that already out)Use the commit messages to describe WHAT and WHY you changed it. If there's an issue for the change begin the commit message with "Issue #[number]: [text]"
Beside that everything looks fine to me!
Thanks for your contribution!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, 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.
Thanks to the dedicated reviewer(s) as well.
Comment #33.0
(not verified) commentedreview added