Adds external downloads as a Ubercart product feature so an external url can be downloaded after purchasing. This module is a direct copy of the uc_file module modified to allow external file downloads.
The uc_file module allows you to set a file to be downloaded. But what if you use a third party to serve files? This module allows you to add a URL rather than a file for the user to download. The URL is never shown to the user and is served just like normal files. Instead of download/123 an external file uses download_url/123.
Uses the default download limits set in Store > Config > Products > File download settings but can be overwritten at the product level.
Project page
https://www.drupal.org/sandbox/jlain/2746571
Git clone
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/jlain/2746571.git
ubercart_external_download
Comments
Comment #2
Nikhil Banait CreditAttribution: Nikhil Banait as a volunteer and at QED42 commentedHi @jlain,
Manual Review
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause
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: Does not follow the guidelines for in-project documentation and/or the README Template.
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
There are some errors reported by automated review tools http://pareview.sh/pareview/httpsgitdrupalorgsandboxjlain2746571git. Some important of them are posted below. Please fix.
This review uses the Project Application Review Template.
Comment #3
TR CreditAttribution: TR commentedUnused variables should be fixed, but they're not a project application blocker ...
Comment #4
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 #5
jlain CreditAttribution: jlain commentedThanks @Nikhil Banait and @TR.
I've updated readme.txt with the required formatting.
I will leave the unused variables in the code for now. They may have use in the future.
Comment #6
iamfil CreditAttribution: iamfil commentedHello,
Why not submit this as a patch to the existing module?
The Drupal community prefers collaboration over competition to prevent having duplicating modules on drupal.org.
Comment #7
jlain CreditAttribution: jlain commentedThis functionality is not needed by all Ubercart users. Only a specific set need this functionality.
A separate module is best for this.
Comment #8
jlain CreditAttribution: jlain commentedThis module should be ready to go. Can we get this added?
Comment #9
jlain CreditAttribution: jlain commentedComment #10
3ssom CreditAttribution: 3ssom commentedHello jlain,
Actually I'm with @iamfil in this one .. why not trying to combining efforts here and patch this to the existing module? if its an option for some users as you say .. so make an option also there.
Thank you
Comment #11
klausiDuplication is bad and we should tell applicants, but it is not an application blocker.
Comment #12
jlain CreditAttribution: jlain commentedI asked over at Ubercart and the maintainer also agrees this implementation of serving external files is not a good fit for inclusion.
https://www.drupal.org/node/2811899
Comment #13
3ssom CreditAttribution: 3ssom commentedHello jlain,
Automated Review
you still have some error shown by @pareview.sh
http://pareview.sh/pareview/httpsgitdrupalorgsandboxjlain2746571git
please fix those .
Manual Review
I see no blockers here as been mentioned by klausi so I think this is a RTBC :)
Thank you
Comment #14
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.