Description :
This module protects users email address, encrypting them into the database. This module doesn't alter user experience.
In case of database hacking, this sensitive data would be useless for the hacker.
It uses the AES module API, providing the encryption method.
Easy to use :
- install the DataBase Email Encryption (dbee) module : the encryption will be enabled for all users email address.
- Uninstall it or disable it : it will disable the users email address encryption for all users email address.
LINK : http://drupal.org/sandbox/thedut/1209196
Thread for promoting the dbee module to a full project.
Comments
Comment #1
patrickd commented- You may create a branch for it (eg.: 6.x-1.0-dev)
- The date of your commits will be saved automatically, you should rather describe what you did.
- Your module will be packed into the dbtree directory later automatically, you better move your files from ./dbtree to your git root ./
- Also licence informations will be added automatically later, you have to remove your licence file
- $Id$ tagging is deprecated; GIT doesn't need it, you should simply remove it
- version = "6.x" this is for your modules version not drupals, git will do that for you too
- the .info file is no php file, you don't need php tags in it
- "some text" formatting is also not necessary in your info file; you can simply write: const_name = value text
Some code parts are well commented others are not, imho I think a well commented code is the best documentation ;-)
I was never into d6 so I can't give you a detailed code review
cheers
Comment #2
patrickd commentedComment #3
thedut commentedHello pratrickd,
Thank you for your answer.
It is the first time I use a git software.
I'll apply your advises within 2 weeks (I'm in vacation right now) and submit my module again.
Comment #4
thedut commentedHere is the corrected version, needing review please.
Comment #5
alpp commentedgreat work indeed. will there be a d7 version?
Comment #6
thedut commentedYes, there will be a D7 version. I'm working on it.
Php Code will be quite different than the D6 version because I will use hooks on the Database abstraction layer (D7 specific features), that why compatibility between my module and custom modules will always be functionnal on the d7 version.
I'm actively working on other personal modules. I will probably release the d7 version within 2 or 3 monthes.
Comment #7
klausi* 6.x-1.0 should not be a git branch, it should be a git tag
* the module files should be in the root of the repository
* remove all old CVS $Id tags, not needed anymore
* Remove LICENSE.txt, this is added automatically by drupal.org packaging
* text in README.txt should not exceed 80 characters
* "changelog.txt" should be named "CHANGELOG.txt"
* info file: version is discouraged, this is added automatically by drupal.org packaging
* "@param noting" don't document that
Comment #8
thedut commentedok I'm going to fix that.
Comment #9
thedut commentedOk, I should be ok now.
Thanks for the time you spend reviewing this module
Comment #10
minnur commentedHi Julien
1. "if ($mails_row['count'] > 1)" always use "{}" around if/else statements, even if it is just one line.
This often leads to bugs if you add lines later.
2. If you are implementing a hook_(), please add proper comment to it.
add "Implementation of hook_perm()" comment to dbee_perm()
3. I think you should remove comments like
Please read comment formatting conventions document http://drupal.org/node/1354
Thanks,
Minnur
Comment #11
thedut commentedHi minnur,
after reading the comment formatting conventions document, I format ALL comments !
The whole documentation should be formated correctly now.
Here is the screenshot associated to this module (phpMyadmin screenshot) :
http://www.flickr.com/photos/68620474@N07/6242408552
Comment #12
minnur commentedHi Julien,
You almost there!
Please run your code through Coder module (set the servility level to "minor (most)").
Thanks,
Minnur
Comment #13
thedut commentedI guess it may be my last commit . . . . . . . before promoting the dbee module to a full project !
Comment #14
minnur commentedHi Julien,
I am sorry, but I found one more thing.
* I noticed that you are working in the "master" branch, you should be working version specific branch.
- Moving from a master branch to a version branch - http://drupal.org/node/1127732
- Release naming conventions - http://drupal.org/node/1015226
Please make this change; commit and push your code to specific branch (in your case this should be 6.x-1.0, the one you already have).
Thank you,
Minnur
Comment #15
thedut commentedHi Minnur,
Thanks for your fast anwser.
Notice on the post #7 was confusing. I made some changes : finally :
- I delete the 6.x-1.0 branch
- and create the 6.x-1.x branch pushing all module files
- and apply on it the 6.x-1.0 tag.
I delete all files stored into the master branch
Comment #16
klausiBut these are just minor nitpicks, I think this is RTBC. Now while we are waiting for the access grants to create full projects would you be so kind to do a review of the other applications pending? Just pick one from this list: http://drupal.org/project/issues/projectapplications?status=8
Comment #17
thedut commentedI have just made thoses changes.
I wil look at the localize.drupal.org site to upload the french translation on the dbee module.
It's a great honnor proposing me to review some applications, I will do it as soon as possible, within 1 or 2 days.
Comment #18
thedut commentedHi klausi,
I manage to help someone (at least I hope !)
Comment #19
gregglesThanks for your contribution, thedut! Welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
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.
As you continue to work on your module, keep in minde: Commit messages - providing history and credit and Release naming conventions.
Comment #20
thedut commentedHello Greggles,
Thank you !! At least, I'm published during my livetime !
Thanks to patrickd, alpp, klausi and minnur to !
I will go on reviewing other projects.
To be continued on :
http://drupal.org/project/dbee . . .