Media 23Video OAuth integrates with the Media module to upload videos to and show videos from 23Video when using access restrictions on videos. The module uses OAuth authentication via 23Video's own OAuth implementation (https://github.com/23/23video-for-php).
Users can upload files to the 23Video server without having their own login to the 23Video account. Thumbnails are downloaded dynamically.
This module is partially inspired from Media 23Video and spheresh's sandbox module Media 23Video auth.
Media 23Video
Media 23Video provides support for publicly available videos on 23Video. This module is different in that it provides OAuth support for access to uploading and viewing videos on a 23Video account.
Media 23Video auth sandbox module
Media 23Video auth provides basic support for authenticating via OAuth, but doesn't yet support uploading or viewing videos. The module also uses a different OAuth library.
Project page
https://www.drupal.org/sandbox/bartvig/2412809
GIT
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/bartvig/2412809.git media_23video_oauth
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxbartvig2412809git
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 #2
arnested commentedBartvig changed some things based on PAreview, but he is apparently not able to post comments at the moment (for some weird reason). So I'm just helping my coworker by posting this comment at setting status to Need review.
Comment #3
tocab commentedHello Bartvig,
Automated Review
You seem to still have some errors related to coding standards and your branches. Please review http://pareview.sh/pareview/httpgitdrupalorgsandboxbartvig2412809git and solve these errors.
Manual Review
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.
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.
Regards
Comment #4
bartvig commentedThanks for the review, tocab. I've fixed the module according to your review.
Master branch
Removed master branch.
Third party library
Removed third party library from module, added documentation, and added loading with the libraries module.
Readme
Added hook_help.
Coding style / Drupal API Usage
Added "configure" to info file.
Comment #5
InviteReferrals commentedFILE: /var/www/drupal-7-pareview/pareview_temp/media_23video_oauth.module
---------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
---------------------------------------------------------------------------
236 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
236 | ERROR | [ ] 2 spaces found before inline comment; expected "//
| | dpm($display);" but found "// dpm($display);"
Comment #6
klausiPlease don't use random issue tags. That are surely not application blockers, please do a real manual review.
Comment #7
cherebedov.s commentedHi, please check your code in here.
http://pareview.sh/pareview/httpgitdrupalorgsandboxbartvig2412809git
You have a some issues. Thank's.
Comment #8
klausiThat minor coding standard errors are surely not application blockers, anything else that you found or should this be RTBC instead? Please do a real manual review.
Comment #9
nitebreedHi Bartvig,
Automated Review
There are some minor errors & warnings the automated test reports, see http://pareview.sh/pareview/httpgitdrupalorgsandboxbartvig2412809git-7x-1x
Manual Review
The comments in the code walkthrough are recommendations.
This review uses the Project Application Review Template.
Comment #10
arunkumark@bartvig
Manual review suggestions.
1. In line 714 on function media_23video_oauth_sessiontoken_callback(), you checked $fid is set or not instead of check is numeric or not using php function is_numeric().
2. On line 721 function media_23video_oauth_sessiontoken_callback() check is object or not as if(!is_object($file))
3. On function media_23video_oauth_sessiontoken_callback() used one parameter but in hook_menu() page arguments declared as two in array.
Comment #11
bartvig commentedThanks for the reviews, @nitebreed and @arunkumark.
I've fixed the code according to your reviews.
Comment #12
Cyclonecode commentedAutomated Review
The automated review report a couple of warnings and errors: https://pareview.sh/node/1603
Manual Review
Individual user account
Yes: Follows
No duplication
Yes: Follows
Master Branch
Yes: Follows
Licensing
Yes: Follows
3rd party assets/code
Yes: Follows
README.txt/README.md
Yes: Follows
Code long/complex enough for review
Yes: Follows
Secure code
Yes: Follows
Coding style & Drupal API usage
This review uses the Project Application Review Template.
Since I only find some minor warnings reported by PAReview I think this project is RTBC.
Comment #13
Cyclonecode commentedComment #14
Cyclonecode commentedComment #15
Cyclonecode commentedComment #16
avpadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. 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.
I thank all the dedicated reviewers as well.
Comment #17
avpaderno