This is a companion module for Share Link. www.sharelink.com.au
Automatically manage the addition of ASX share price, commodity prices and ASX Announcements to your website via the Share Link Drupal module.
Share Link is a subscription service that includes the ability to display share prices, commodity prices, graphs and automatically upload ASX Announcements to your website.
We currently have a Wordpress version of the module. https://wordpress.org/plugins/share-link/
This is our Drupal Version
Current Project page
https://www.drupal.org/sandbox/harmonicnewmedia/2784655
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/harmonicnewmedia/2784655.git share_link
cd share_link
Manual reviews of other projects
Comment | File | Size | Author |
---|---|---|---|
#6 | sandbox_project_form.png | 46.89 KB | lionslair |
Comments
Comment #2
dilipsingh02 CreditAttribution: dilipsingh02 commentedHi,
Please review the automated test error and fixed it.
http://pareview.sh/pareview/httpsgitdrupalorgsandboxharmonicnewmedia2784...
Also update the git clone URL with correct one.
Thanks
Dilip
Comment #3
lionslair CreditAttribution: lionslair as a volunteer commentedComment #4
lionslair CreditAttribution: lionslair as a volunteer commentedI have now made the changes requested.
I have run it through the automated coder testing locally.
I have set the default branch and updated the git url above.
I have also re-run the test from the link above. All that is left is some warnings for comments
http://pareview.sh/pareview/httpsgitdrupalorgsandboxharmonicnewmedia2784...
Just a question. After this is approved that is when we can set the short name for this project correct?
Comment #5
kamdanishit CreditAttribution: kamdanishit commentedHi lionslair, what do you mean by short name?
Comment #6
lionslair CreditAttribution: lionslair as a volunteer commentedThe short name field on the project page. See screenshot.
Comment #7
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 #8
visabhishek CreditAttribution: visabhishek as a volunteer and at Azri Solutions commentedComment #9
dilipsingh02 CreditAttribution: dilipsingh02 commentedHi,
DrupalPractice has found some issues with your code, please review following URL:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxharmonicnewmedia2784...
Thanks
Comment #10
lionslair CreditAttribution: lionslair as a volunteer commentedDoes that page need to be clear to pass? That is what I'm getting to understand.
Comment #11
benjy CreditAttribution: benjy at PreviousNext commentedHere's an initial review as requested.
module_load_include('inc', 'sharelink', 'sharelink');
You shouldn't use this in a global context, simply require_once the files if they belong to your module.'title' => t('Share Link'),
- Don't use t() to translate title in hook menu._sharelinkGetAnnouncementsFromDatabase
rather than Drupal's preferredsharelink_get_announcements_from_database
$tz_perth = new DateTimeZone('Australia/Perth');
- Should this be picked up from the users/site timezone?empty() does an isset() check as well so the isset() call is redundant.
$data = curl_exec($ch);
- Consider using drupal_http_request()return 'http:'. SHARELINK_SOURCE . _sharelinkGetLicense() . "/announcements";
- Looks like this builds a http url with the license key included? Can you use https?_sharelinkCreateUrlFriendlyFilename
you are using_sharelinkShuffleString
to md5 hash a part of the filename? Are you trying to hide something there, checkoutdrupal_hmac_base64()
which is also URL safe.This entire chunk be replaced with
return $return;
Although, looking at the code above, it's initialised to array() so I don't see how it would ever be false anyway.Comment #12
lionslair CreditAttribution: lionslair as a volunteer commentedI have now gone through and made a load of changes as suggested.
The check is now passing
http://pareview.sh/pareview/httpsgitdrupalorgsandboxharmonicnewmedia2784...
Here are the changes
Comment #13
lionslair CreditAttribution: lionslair as a volunteer commentedComment #14
nhanlq@outlook.com CreditAttribution: nhanlq@outlook.com commentedHi lionslair
Automated Review
By PAReview.sh:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxnisith2696411git
Manual Review
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
README.txt/README.md
No: Follows the guidelines for in-project documentation
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Coding style & Drupal API usage
(+) Please add hook_help
(*) - I found some issue about translate in t():
some cases have t(), and some cases don't have t()
- Should use base_path() instead "/":
you can use:
The 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 walk through 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.
Thanks
Nhan
Comment #15
klausi@mrken201016: looks like you forgot to change the status. Is this now RTBC after your review or are there application blockers left and this should be "needs work"?
Comment #16
nhanlq@outlook.com CreditAttribution: nhanlq@outlook.com commentedComment #17
lionslair CreditAttribution: lionslair as a volunteer commented@mrken201016 I already have a hook_help in the module. It links to the detailed help page.
sharelink.module line 190
I have made the changes to the t() functions. I have also done some further standards changes. I have updated the README.txt to conform to the standards further.
Comment #18
nhanlq@outlook.com CreditAttribution: nhanlq@outlook.com commentedHi @lionslair
http://pareview.sh/pareview/httpsgitdrupalorgsandboxharmonicnewmedia2784...
EDIT: removed long pareview.sh dump.
Please fix code review firt
Thanks
Nhan
Comment #19
nhanlq@outlook.com CreditAttribution: nhanlq@outlook.com commentedComment #20
klausi@mrken201016: please don't post the full output of pareview.sh, it just clutters up the issue. A link is enough :)
Comment #21
lionslair CreditAttribution: lionslair as a volunteer commentedI have now addressed all the issue in terms of code formatting and compliance.
http://pareview.sh/pareview/httpsgitdrupalorgsandboxharmonicnewmedia2784...
Comment #22
lionslair CreditAttribution: lionslair as a volunteer commentedComment #23
3ssom CreditAttribution: 3ssom commentedHello lionslair,
Reviewers here have done great work ,, and you followed that so I'll do a review to see if this is a RTBC.
Automated Review
Nothing :)
Manual Review
Have you considered renaming your project to something more specific? like ASX share link(ASX_share_link) it'd be better to know what the project is about? and what the share link about exactly even when users search for this in Drupal.- you could use the (configure = path to your project's configuration page) in your info file which helps a lot using your module your path I think is (admin/config/sharelink)
- README file needs some enhancement .. I think Configuration section needs to be separated from Installation section which you dont have there.
- good job on writing rich help tpl :) ,, but you could put those phrases in t() .. it would be perfect :)
I see no blockers here so I think this is a RTBC :)
Thank you
Comment #24
3ssom CreditAttribution: 3ssom commentedComment #25
apadernoI will update your account so you can 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 stay involved!
Thank you, 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 go the dedicated reviewer(s) as well.