The copyscape module integrates Copyscape API and checks the originality of content published. In order to use this project, you will have to purchase a Copyscape subscription. They don't expose their API for free accounts. You can, however, test an URL from their website.
This project aims to help large content sites with multiple editors to ensure the published nodes are not partially/entirely copied from other sources.
From their website:
Copyscape provides a free plagiarism checker for finding copies of your web pages online, as well as two more powerful professional solutions for preventing content theft and content fraud.
Copyscape Premium provides more powerful plagiarism detection than the free service, plus a host of other features, including copy-paste originality checks, batch search, private index, case tracking and an API.
Project page: https://www.drupal.org/sandbox/web247/2350161
Installation and setup:
- Download and extract the copyscape module into the modules directory (usually "sites/all/modules").
- Go to "Administer" -> "Modules" and enable the module.
- Configure the copyscape module admin/config/copyscape/settings. Create an account on copyscape API service, insert the account details in copyscape module settings.
- Go to /admin/config/copyscape/settins/content and check desired content type fields to be added to the copyright checked list. You can select as many content types/fields as you like, but the available fields are limited to long texts
- Now, every node added/edited will be tested against Copyscape API functions, unless the user can bypass the check. The user with uid=1 bypasses this check. Additional roles can be added to the bypass list from project's user configuration.
Git Clone:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/web247/2350161.git copyscape
cd copyscape
Manual reviews of other applications:
https://www.drupal.org/node/2828431
https://www.drupal.org/node/2746357
https://www.drupal.org/node/2815597
https://www.drupal.org/node/2826538
2017/01/11 - New manual reviews
https://www.drupal.org/node/2826538#comment-11862303
https://www.drupal.org/node/2800517#comment-11862419
https://www.drupal.org/node/2793665#comment-11862634
| Comment | File | Size | Author |
|---|---|---|---|
| #27 | coder-results.txt | 3.62 KB | klausi |
| #23 | coder-results.txt | 14.78 KB | klausi |
Comments
Comment #1
web247 commentedComment #2
PA robot commentedGit clone failed for http://git.drupal.org/sandbox/web247/2350161.git while invoking http://pareview.sh/pareview/httpgitdrupalorgsandboxweb2472350161git
We 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
web247 commentedThe files have been committed again:
Git Clone: git clone --branch 7.x-1.x git@git.drupal.org:sandbox/web247/2350161.git copyscape
Thank you!
Comment #4
web247 commentedThe files have been committed again:
Git Clone: git clone --branch 7.x-1.x git@git.drupal.org:sandbox/web247/2350161.git copyscape
Thank you!
Comment #5
vbouchetHi,
Please find my findings:
Comment #6
web247 commentedHi,
The changes have been made and the code committed to the repository.
Git Clone: git clone --branch 7.x-1.x git@git.drupal.org:sandbox/web247/2350161.git copyscape
Thank you!
Comment #7
pravin ajaaz commentedComment #8
chenderson commentedHi web247,
I have had a look at you module. I can only read the code as I do not have an account with Copyscape. However I do have a few comments and suggestions. I have only marked point 7 as a bigger issue but I think 3, 5 and 6 are blockers also however I am not sure.
Automated Review
You have quite a few errors showing up see http://pareview.sh/pareview/httpgitdrupalorgsandboxweb2472350161git
Their is some documentation about drupal coding standards here https://www.drupal.org/coding-standards is needed.
Manual Review
README.txt/README.md
Your README.txt could follow the template.
Also your project page could do with some more information. Again there is a template.
Coding style & Drupal API usage
configure = admin/config/copyscape/settingsYou have an optional $full which is always overriden by $full = 10. You then are checking if it isset on the next line when it would always be set.
Seems like the $full is not used at all and can be removed from copyscape_api_text_search() and copyscape_api_text_search_internet()
You are creating a url for &url. I think you could use the function url() instead.
(*) You will need to remove all the variables you create if someone uninstalls the module. You can do this with hook_uninstall() in the .install file.
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 walkthrough are recommendations.
Comment #9
chenderson commentedComment #10
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
sch2 commentedHi,
We've done a major refactoring of the code respecting Drupal's Coding Standars.
We've also implemented the recommendations from the previous messages (thanks for taking the time).
Code has been pushed to 7.x-1.x branch.
Thank you!
Comment #12
PA robot commentedProject 1: https://www.drupal.org/node/2460777
Project 2: https://www.drupal.org/node/2820903
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #13
web247 commentedAs per the 'Application Priority' section from this page, I updated the status of the application to Critical.
Comment #14
web247 commentedComment #15
web247 commentedComment #16
web247 commentedComment #17
web247 commentedComment #18
arun ak commentedComment #19
arun ak commentedeg: https://www.drupal.org/node/2828431#comment-11799478
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #20
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #21
web247 commentedThanks for your review, ARUN AK, and sorry it took so long to apply your recommendations. I applied all your findings with one exception: drupal_http_request instead of curl. Nowadays, most php installations come with php_curl installed and I think that dependency is pretty safe.
I'm reopening this for review and will do another 3 reviews when my time allows it.
Comment #22
web247 commentedComment #23
klausiGit errors:
Review of the 7.x-1.x branch (commit f6b8245):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
Comment #24
web247 commentedComment #25
web247 commentedComment #26
web247 commentedThanks klausi for the thorough review.
I'm not sure how so many phpcs issues got away (I think I had it disabled in my IDE at some point), I fixed them.
Regarding your manual review:
Comment #27
klausiGit errors:
Review of the 7.x-1.x branch (commit 337cddb):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Otherwise looks good to me now.
Thanks for your contribution, Adrian!
I updated 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!
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.
Comment #29
web247 commented