Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2020 at 14:48 UTC
Updated:
25 Oct 2020 at 10:34 UTC
Jump to comment: Most recent, Most recent file



Comments
Comment #2
gregory claeyssens commentedComment #3
ndewhurstHi @gregory-claeyssens, this looks good at first glance. I'm attaching the feedback from pareview.sh. Most of the items should be easy to fix (e.g. single README file, etc.). At first I thought all the "Doc comment short description must start with a capital letter" errors tied to
{@inheritDoc}annotations were false positives...but it looks like all you have to do is rename{@inheritDoc}to{@inheritdoc}to satisfy that standard (cf).Abridged pareview.sh output:
Comment #4
ndewhurstAutomated Review
See #3
Manual Review
StoryChiefWebhookControlleris handling webhook requests in a sensible manner.This review uses the Project Application Review Template.
Comment #5
gregory claeyssens commentedHi @ndewhurst, thanks for the feedback!
Do you have any additional tips for moving this forward?
Comment #6
ndewhurst@gregory-claeyssens cool. Automated testing looks good now. I created a trial StoryChief account to do some basic manual testing...
Feedback:
Drupal\storychief\Exceptions\InvalidLanguageException: The language provided is not available on this website. in Drupal\storychief\Plugin\StoryChiefFieldHandler\LanguageStoryChiefFieldHandler->set() (line 35 of /var/www/html.original/modules/contrib/storychief/src/Plugin/StoryChiefFieldHandler/LanguageStoryChiefFieldHandler.php)..Comment #7
ndewhurstComment #8
gregory claeyssens commentedGreat feedback @ndewhurst
I renamed the API key to Encryption key. Both terms where used interchangeably on the Drupal module.
I also defaulted to the Drupal default language when there's no language coming from StoryChief.
Comment #9
ndewhurstThanks @gregory-claeyssens. Those updates look good. I confirmed that publishing a story with no languages defined in StoryChief now succeeds. A final automated code review shows no issues introduced by recent commits. As far as I'm aware, it's reasonable to now mark this RTBC.
Also, if you or someone on your team have a moment, I'm looking for someone to review this application, which comes with a sample account connection so it should be easy to test :)
Comment #10
gregory claeyssens commentedComment #11
klausiNot sure why you implement your own _is_storychief_hmac_valid access system. You can use the _custom_access route requirement and a method on your class, then this is simpler. See https://www.drupal.org/docs/8/api/routing-system/access-checking-on-rout...
Otherwise looks good to me.
Thanks for your contribution, Gregory!
I updated your account so you can opt into security advisory coverage now.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay 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.