Applying for the opt-in to security coverage permission.
Module description
The module provides a custom block that will show a list of related nodes. At the moment all content types will be displayed in the block.
The related content for the current node is calculated by checking taxonomy terms coincidences. All terms associated with a node are checked, from all vocabularies.
The nodes with the most coincidences in taxonomy terms with the current one will be showing up first in the list.
There is also a configuration page available for the module, where you can set:
- Block title
- Number of elements to be displayed
- Display type to use for rendering the nodes (i.e. Teaser, Full, etc.)
Project information
Project page: https://www.drupal.org/project/relatedbyterms
Git clone: git clone --branch 7.x-1.x https://git.drupal.org/project/relatedbyterms.git
PAReview: https://pareview.sh/node/2669
Comments
Comment #2
PA robot CreditAttribution: 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 #3
Stevel CreditAttribution: Stevel commentedManual Review
1. Basic application checks
1.1 Ensure your application contains a repository and project page link.
OK: Project and git clone link are present.
2. Basic repository checks
2.1 Ensure the repository actually contains code.
OK: The repository contains code in the 7.x-1.x branch.
3. Security review
3.1 Ensure the project does not contain any security issues.
Not OK:
(source: https://api.drupal.org/api/drupal/modules!node!node.module/group/node_ac...)
4. Licensing checks
4.1 Ensure the top directory of the repository does not contain a ‘LICENSE.txt’ (or similar) file.
OK: No LICENSE.txt or license information present in repository.
4.2 Ensure the repository does not contain any 3rd party files or non-GPLv2+ materials.
OK: No third party code and assets present.
5. Documentation checks
5.1 Ensure the project page contains detailed information.
OK: The project page contains precise information about what this module does.
5.2 Ensure the repository contains a detailed README.txt or README.md.
OK: A README.txt is available.
5.3 Ensure the code contains a well-balanced amount of inline-comments.
OK: All functions are documented and easily understandable.
6. Coding standards and style
6.1 Run an automated review and ensure there are no major issues.
Not OK:
Don't translate variable when using it, have users use 'Variable Translation' instead.
7. API and best practices Review
7.1 Ensure you are using Drupal's API correctly.
Not OK:
Comment #4
Stevel CreditAttribution: Stevel commentedSetting to 'Needs work'.
Comment #5
ccarrascal CreditAttribution: ccarrascal at Johnson & Johnson commentedThanks Stevel, I think I have fixed all your comments.
Great feedback, by the way, specially about the node_access tag in the query, loved that one.
As a summary:
* Made admin form fields mandatory
* Add node_access tag in the query
* Removed t function for the title block.
* Fixed parameter $delta from function call
Thank you very much
Comment #6
Stevel CreditAttribution: Stevel commentedSome further issues:
Comment #7
ccarrascal CreditAttribution: ccarrascal at Johnson & Johnson commentedHi again Stevel,
Sorry but I am afraid that I cannot display unpublished nodes in this query because when a node is unpublished, there are no entries for it in the taxonomy_index table that I am using for the query. The entries in this table are created when the node is published and deleted when unpublished.
Regarding the translation of the block title, i cannot use a t() function as per coding standards, but the value can be translated using variable translation module (inside i18n), so I am thinking about adding hook_variable_info() implementation, and add that info in the project description and readme file, and suggest to install i18n if you need translations.
Any feedback will be appreciated here!
Comment #8
ccarrascal CreditAttribution: ccarrascal at Johnson & Johnson commentedImplemented:
* relatedbyterms_variable_info
* relatedbyterms_variable_group_info
For i18n_variable support to be able to translate block title via variable.
Comment #9
apadernoPlease change back the priority to Normal after doing a review.
Comment #10
sleitner CreditAttribution: sleitner commentedAutomated Review
Pareview details: https://pareview.sh/pareview/https-git.drupal.org-project-relatedbyterms...
Review of the 8.x-1.x branch (commit 78afd5f):
This automated report was generated with PAReview.sh, your friendly project application review script.
Manual Review
drupal:node
anddrupal:language
module as requirement in relatedbyterms.info.ymlcore: 8.x
to relatedbyterms.info.ymlThe starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #11
apadernoIf you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.
I am closing this application due to lack of activity.