Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
2 May 2013 at 17:05 UTC
Updated:
4 Jan 2014 at 03:28 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
kimberlydb commentedI'm not sure I really understand the purpose of this module that can't be solved by just adding an additional field? Perhaps you can add a more detailed explanation. I downloaded the source to look through it to see if I could figure out the intended purpose but the only thing that was in the git repo was the .info file. There is no .module file. Please commit your code to the repo.
Additionally, you have two very minor errors on the pareview: http://ventral.org/pareview/httpgitdrupalorgsandboxasik1985302git
Comment #2
samvel commentedOh, yes. It's my deploy error (it's my first deploy on d.o). Code committed now.
No, it's exactly "additional description" of field, which we see above the field (help text we see below the field). This description configurable in field settings.
Please check not in Rubik theme (Rubik theme get description and show it as tip above the field, we will get bad behavior with this module), thank you.
Comment #3
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then 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 #4
a.milkovskyManual review:
change git clone to
git clone http://git.drupal.org/sandbox/asik/1985302.git field_prefixalso use t() function with strings like
must be
separate code more often with empty line
Comment #5
samvel commentedThank you for review!
Comment #5.0
samvel commentedrefactoring description
Comment #6
samvel commentedComment #6.0
samvel commentedRefactoring
Comment #6.1
samvel commentedManual reviews of other projects:
Comment #6.2
samvel commented+ manual review other project
Comment #7
samvel commented+PAReview: review bonus
Comment #8
klausiIt 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.
manual review:
<script>alert('XSS');</script>as additional description I get a nasty javascript popup when editing content with that field. You need to sanitize user provided text before printing. Please read http://drupal.org/node/28984 again. And please don't remove the security tag, we keep that for statistics and to show examples of security problems.Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #9
samvel commentedThank you for good review!
Changelog:
I solved this situation by appending description at the end.
I will soon add the ability to add a unique class for the fields and implement functionality for other field types (not only textfield)
Now it is more than 170 lines and 5 functions. Thank you.
Comment #9.0
samvel commented+ review other task
Comment #9.1
samvel commentedAppend additional info
Comment #9.2
samvel commentedrefactoring
Comment #9.3
samvel commentedadd review
Comment #10
samvel commentedremove PAReview: Single project promote tag
Comment #10.0
samvel commentedrefactoring
Comment #10.1
samvel commentedadd review
Comment #10.2
samvel commentedgramaticcal error
Comment #11
samvel commented+PAReview: review bonus
Comment #12
klausimanual review:
But otherwise looks almost ready. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #12.0
klausiappend review
Comment #13
samvel commentedThank you klausi,
If all is ok, please grant me access, thank you.
Comment #13.0
samvel commentedsmall refactoring
Comment #14
samvel commented+PAReview: review bonus
Comment #15
klausiOk, looks RTBC now! Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to ELC as he might have time to take a final look at this.
Comment #16
elc commentedI see no blockers with this, but there are few things you should address, probably prior to promoting your project as one of them is regarding the name.
I have been looking long and hard at whether this is the proper way to handle adding text above the textfield in the form, but that is not the main purpose of this review. The code looks quite good and there effective use of the core Forms/Field API which is the important part; demonstrating good use of Drupal API to make a module. You could have taken a slightly different approach by adding your own custom theme hints to the form element which would allow adding an alternative to theme_form_element() which is where the final HTML for the form field is generated. This is probably a little better than appending things to #title or #field_prefix, but your method is effective in most situations. theme_form_element() or equivalent is at a much lower level than hook_field_attach_form(), and may allow for more generalisation instead of having to code for each field type. I will leave it to you to investigate.
filter_xss($string, _field_filter_xss_allowed_tags())to sanitize the text.Thanks for your contribution, Akopyan!
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 being an excellent project maintainer:
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.
(Welcome message shamelessly stolen from klausi!)
Comment #17
samvel commentedThank you ELC, I will consider all of your advice.
Comment #18.0
(not verified) commented+ review links