Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2013 at 12:34 UTC
Updated:
6 Jan 2014 at 22:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
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 #2
razonklnbd commentedPlease tell us how we can enable Taxon and Taxon web service to test your project. Please write as details as possible.
But I installed your module in my test-box and found no problem. But I really don't know what is its work. Need document link of usability.
Thanks.
Comment #3
Taxon commentedHi razonklnbd
Thank you so much for your time and effort.
I have set up a Taxon web service at test.taxon.dk. To use it enter the following values in the admin page:
The remaining fields should be ok.
As test text try something like this:
The test taxonomy is very simple so the result is just:
I have attached 2 screendumps, one for the admin page and one for the results when using the module.
Regards,
Brian
Comment #4
Taxon commentedUpdated to 7.x-2.2.
Added help texts for classes, see the attached image.
You can supply your own help texts (in HTML) to be displayed with each class.
Comment #5
kscheirerAll user accounts are for individuals. Accounts created for more than one user or those using anonymous mail services will be blocked when discovered (see Get a Drupal.org account).
Can you confirm that the Taxon account is a single user? Please change your account information and enter your realname.
If you prefer, we can also promote this sandbox to a full project without granting you "git vetted user" status.
The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
variable_get('taxon_taxonomy_number_results_returned', 5);. This will return 5 even if the variable has not been explicitly set yet.----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #5.0
kscheireradded link to project page
Comment #6
Taxon commentedIssues from #5:
> License
> Please remove the LICENSE.txt file. Drupal will add the appropriate version automatically during packaging so your repository should not include it.
Done
> You should only have 1 branch in your drupal repository, named 7.x-2.x. Individual releases can be tagged from that branch. My review is based on the 7.x-2.2 branch. 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.
Done
> Remove the .gitignore file from the repo
Done
> Use a default value when calling variable_get, like variable_get('taxon_taxonomy_number_results_returned', 5);. This will return 5 even if the variable has not been explicitly set yet.
Done
> In _taxon_taxonomy_proxy() I think you are trying to remove html tags from the text, can you use strip_tags() instead of all the regexes?
Not done. strip_tags() is pretty dangerous as it removes everything after a < until either a > or the end of the string, so "foo < bar" becomes "foo ". On top of that strip_tags() does not understand HTML so "foo
barbecomes "foo bar" and I want it to be "foo ".
> When you are generating the string for POST, http_build_query() might be easier than creating it yourself.
Done. Thanks for pointing out this funtion.
> If your module requires curl to work, implement a hook_requirements() to make sure it's installed, or consider switching to drupal_http_request().
Done
> For returning json output, use drupal_json_return()
The function _taxon_taxonomy_proxy() actually returns a text string.
> Instead of using hook_init(), which is called for every Drupal page request, can you instead only load your js/css where they are actually used?
Done
> Why do you require ckeditor?
Legacy code. Removed requirement.
Thanks for all your time.
Regards
Brian
Comment #7
kscheirerI think you still need to remove the license/copyright text from taxon_taxonomy.js, or get an exception to Drupal's standard rule against hosting licensed code.
Otherwise looks ready to go!
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #8
Taxon commented>Project page
>Please take a moment to make your project page follow tips for a great project page.
Done. Updated the text and added an image.
>I think you still need to remove the license/copyright text from taxon_taxonomy.js, or get an exception to Drupal's standard rule against hosting licensed code.
Done.
Comment #9
boyan.borisov commentedHi Brian,
Congratulation for the module! I already use it for some of projects that I work on.
I just want to suggest you 2 small improvements:
- it is not needed to use a custom submit callback function(taxon_taxonomy_admin_form_submit) for the admin form. Use system_settings_form instead of it.
- in your ajax call you've hardcoded the basepath in ajax url ""/taxon-taxonomy". Also this will make your ajax call to use only the default language.
You could use Drupal.settings.basePath and Drupal.settings.pathPrefix to handle them.
Comment #10
boyan.borisov commentedComment #11
kscheirer@Taxon - you don't need to set this back to "needs review" - once it's in RTBC, it's only 1 review away from being published!
@boyan.borisov - those are great suggestions, but "needs work" is only for major blocking issues.
Comment #12
Taxon commentedHi boyan.borisov
If you are already using the module here is a 'heads up'. Yesterday I discovered the reason why the CKEditor needs special attention. Getting the text with .text() works, but with CKEditor it gets the text which is present when the CKEditor opens. Changes to the text are not caught by .text().
I have made some changes to the module to get the text one way with CKEditor and another without CKEditor.
I am uncertain whether to upload the new version now or wait for the module to be published. Is there something I need to do for the module to be published?
Comment #13
boyan.borisov commentedHi Taxon,
I guess that if you want to speed up the publishing of your module you should become part from the review bonus program.
Comment #14
kscheirerIt's been a month without any problems reported, so I'm promoting this myself as per https://drupal.org/node/1125818.
Thanks for your contribution, Taxon!
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.
----
Top Shelf Modules - Crafted, Curated, Contributed.