Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
# Summary
utility module which makes the password field optional (or hidden) on the add new user page (admin & registration). If the password field is not set during registration, the system will generate a password. You can optionally display this password at the time it's created.
# Project URL
https://www.drupal.org/project/genpass
# Where is the code?
https://github.com/luksak/genpass
# Estimated completion date
# Dependencies
# Who's doing the port?
# What help do they need?
# D8 roadmap
Meta task list:
1. Create info.yml file. - #2657948: Convert .info into .info.yml file
# Background and reference information
Comment | File | Size | Author |
---|---|---|---|
#11 | genpass_8.x.zip | 16.08 KB | Kris77 |
#5 | genpass.zip | 6.63 KB | Kris77 |
Comments
Comment #2
laxman.ghavte CreditAttribution: laxman.ghavte as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #3
laxman.ghavte CreditAttribution: laxman.ghavte as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #4
naveenvalechaComment #5
Kris77 CreditAttribution: Kris77 commentedHi guys,
i have tried to port this module in Drupal 8 version.
I'm not a programming expert but I tried to do my best for this module that is very useful to me in DRUPAL 7.
I don't know how to publish a module, so attach the zip module.
There will definitely pieces of code to fix but for now this works for me.
In my site users can only be created by the administrator.
So, to the users will be sent a message with the data access : Username and Password(by module RPT (Registration Password Token)).
I hope it has been useful and that this module can have a stable version in drupal 8.
I use it in DRUPAL 8.35 with PHP 7.0
Comment #6
Parashram CreditAttribution: Parashram at ]init[ AG commentedComment #7
rcodina CreditAttribution: rcodina commented@Kris77 The function variable_del no longer exists on Drupal 8. So people won't be able to uninstall this D8 version. Check this URL on detail on how to do the port from D7 to D8:
https://www.drupal.org/docs/8/converting-drupal-7-modules-to-drupal-8/st...
Thanks for your efforts!
Comment #8
AnybodyHow can we proceed here? laxman.ghavte you are still assigned, what's you status about this?
Comment #9
dureaghin CreditAttribution: dureaghin as a volunteer commentedNow should work. I was able to uninstall this from Drupal 8.
I found another issue, settings are not saved, I will try to fix this.
Thanks,
Alex.
Comment #10
Kris77 CreditAttribution: Kris77 commentedHi guys,
there is a new version of the module.
After a lot of work, for me that I'm not an expert in programming, I hope it will work. I've been trying it with a site in Drupal 8.5.1
I think I have corrected all the instructions for Drupal8:
And I have also added the possibility to insert a token [user:password] during user registration. Site administrator allowed to customize the text of the e-mail that is sent to the user after registration.
This last option I took from the rpt module.
Check that there are other errors.
I hope it can be useful for other users.
Comment #11
Kris77 CreditAttribution: Kris77 commentedOps....I forgot to attach the module.
Comment #12
Lukas von BlarerCould whe have this in a 8.x branch or on a sandbox project to facilitate testing of this?
Comment #13
Kris77 CreditAttribution: Kris77 commentedVery willingly.
But how do you create an 8.x branch or a sandbox?
This is my first module for me.
Comment #14
mmjvb CreditAttribution: mmjvb as a volunteer commentedSuggest to start the procedure for abandoned projects. It seems there is no interest anymore with current maintainers. To create an 8.x branch cooperation of a maintainer is required.
Comment #15
Lukas von Blarer@mmjvb can you do this?
For now I created a repository on github: https://github.com/luksak/genpass
Comment #16
mmjvb CreditAttribution: mmjvb as a volunteer commentedSuggest someone with more interest in this module does that.
Comment #17
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedHi @Kris77
I Will create 8.x branch for this module. I am a co-maintainer of this project now.
Thanks
NitinSP
Comment #18
Kris77 CreditAttribution: Kris77 commentedPerfect @NitinSP.
If you need help, I will try to make it possible.
Thanks again.
Comment #19
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedHi Kris77,
I have release latest module with tag 8.x-1.x-dev. But still this module is not avaialable for download in project page becuase I was checked "Security Update" checkbox checked at the time of release this module.
I have folow below steps to release this module
1. Create Branch with name 8.x-1.x-dev
2. Commit and push all required file to this branch using command "git push -u origin 8.x-1.x-dev"
3. Using "git tag 8.x-1.0" command create new tag "8.x-1.0"
4. execute "git push origin tags/8.x-1.0" to push all changes to this tag.
5. After that got to project page and click on "Edit" link.
6. Select "Release" tab.
7. For new release click on "Add new release" link
8. After that select "8.x-1.0" tag from "Git release tag or branch" and click on next button.
9. Fill the required information in the form and Save it.
I am not able to understand what is the issue.
Comment #20
mmjvb CreditAttribution: mmjvb as a volunteer commentedBranch should have been called 8.x-1.x to be consistent, there should only be a tag for 8.x-1.0, not for 8.x-1.x-dev. Not sure whether having a branch and tag with the same name is causing your issue.
Comment #21
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedSo what can i do to publish this module to download?
Comment #22
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commented@Kris77,
I am release dev version of this module in drupal 8.
Comment #23
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedComment #24
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedComment #25
mmjvb CreditAttribution: mmjvb as a volunteer commentedDepending on what you want you would need to fix the mistakes as mentioned.
Only when you have tagged an alpha or beta you can set the Status to Needs review. Suggest to read this project on usage of Status.
With a dev release Status should be Needs work !
Comment #26
AnybodyThere's now a stable release from the 8.x branch: https://www.drupal.org/project/genpass/releases/8.x-1.0-beta1
Comment #27
mmjvb CreditAttribution: mmjvb as a volunteer commentedAs mentioned, with a beta, Status should be Needs review.
Also, calling a beta stable is just bad terminology. The release cycle goes from -dev through alpha, beta, RC to stable. Where stable is the version without any suffix (8.x-1.0 in this case).
Comment #28
gregglesThis seems like a dup of #2657948: Upgrade "Generate Password" module to Drupal 8 .x.
Comment #29
mmjvb CreditAttribution: mmjvb as a volunteer commentedNo duplicate! D8CPT is for meta issues, see description of this project. Details about the port can be recorded in their own queue as in this case.
Comment #30
gregglesOK, then perhaps this should be marked fixed since the port exists?
Comment #31
mmjvb CreditAttribution: mmjvb as a volunteer commentedWith an alpha or beta the Status should be Needs review. When a Stable is released this issue should be Fixed.
Comment #32
Kris77 CreditAttribution: Kris77 commentedHi guys,
I'm using this module in production site for a long time without problems.
I think we can release a stable version.
Thank you.
Comment #33
gregglesOk, now there's an https://www.drupal.org/project/genpass/releases/8.x-1.0
Comment #34
apadernoI am giving credits to the users who participated in this issue.