suhel.rangnekar(Owner and Maintainer)
ashwinikumar(Maintainer)
IME module allow you to integrate jQuery.IME library in Drupal 7 and use it's multilingual support in writing content in more then 62 languages.
IME project page link:
https://drupal.org/sandbox/suhelrangnekar/2264685
IME git repository
git clone git://git.drupal.org/sandbox/suhel.rangnekar/2264685.git ime
Requirements
------------
1. jQuery.IME library :- You will need to download jquery.ime from https://github.com/wikimedia/jquery.ime and extract the jquery.ime files to the "/sites/all/libraries/" directory and rename to jquery.ime(e.g:/sites/all/libraries/jquery.ime/).
or
you can directly do a "git clone https://github.com/wikimedia/jquery.ime.git" in "/sites/all/libraries/".
or
You can download this module using drush command "drush dl ime" after that do "drush en ime" it will download the jQuery.IME library as well automatically.
2. Libraries module (https://drupal.org/project/libraries)
3. jQuery update module (https://drupal.org/project/jquery_update)
IME module requires jQuery 1.7 . Please configure to use a higher jQuery version.
Installation / Configuration
----------------------------
1. Extract the module files to the "sites/all/modules" directory. It should now
contain a "ime" folder or download it using drush.
2. Enable the module in the "Administration panel > Modules >Multilingual - Internationalization" section.
3. Configured it from admin/config/regional/ime
PA Review:
http://pareview.sh/pareview/httpgitdrupalorgsandboxsuhelrangnekar2264685git
Reviews of Other Projects
https://www.drupal.org/node/2353541#comment-9259261
https://www.drupal.org/node/2358759#comment-9259433
https://www.drupal.org/node/2359919#comment-9263741
https://www.drupal.org/node/2356215#comment-9296799
https://www.drupal.org/node/2390607#comment-9420535
https://www.drupal.org/node/2398043#comment-9466021
https://www.drupal.org/node/2326223#comment-9493891
(still working on more)
| Comment | File | Size | Author |
|---|---|---|---|
| #28 | coder-results.txt | 3.23 KB | klausi |
Comments
Comment #1
smashwini commentedComment #2
smashwini commentedComment #3
coderider commentedHi
please check your code via http://pareview.sh/
see: http://pareview.sh/pareview/httpgitdrupalorgsandboxsuhelrangnekar2264685git
you git command is not workable for any one unless you.
You cannot use a command in the format username@git.drupal.org:sandbox/username/repo
It must be in the format http://git.drupal.org/sandbox/username/repo.
and you are working in dev branch you have to move it in a default branch.
It appears you are working in the "7.x-1.0-dev" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.0-dev branch:
manual review
Automated Review
http://pareview.sh/pareview/httpgitdrupalorgsandboxsuhelrangnekar2264685git
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.
Comment #4
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
suhel.rangnekar commentedComment #6
gislePlease note that you've got the name of the main development branch wrong.
You've named it "
7.x-1.0-dev". The correct branch name for a main development branch is "7.x-1.x" (Note: "1.x" instead if "1.0" and no "-dev"). Please change the name of the main development branch to follow main branch naming conventions.Comment #7
smashwini commented@coderider and @gisle
Thanks for your valuable comments.
1. The base branch name is now "7.x-1.x".
2. Majority of error has been resolved which get visible by automated review by http://pareview.sh/pareview/httpgitdrupalorgsandboxsuhelrangnekar2264685git .
3. Cloning URL has been updated in issue description.
4. Ran the code check with coder module and got everything is good.
Although the warnings w.r.t formatting ignored which are not critical. We will be fixing those going forward.
Please review again.
Comment #8
th_tushar commentedHi Ashwini Kumar,
I have installed your module in a drupal site for testing and I think its working great. The installation instructions are clear enough to get it started.
Manual review,
The code looks fine to me, But, you have written the libraries_load_files() in the hook_init() function. The library is getting loaded on every non-cached page requests and even on homepage. I don't think, the library files are required to load on the homepage. Can you correct this part?
Automated review,
There are minor coding standard issues as per pareview, which can be fixed.
Comment #9
laceysanderson commentedMoving this to "Needs Work" since the library loading on all pages is a serious performance issue. Please explain your reasoning.
Comment #10
suhel.rangnekar commented@th_tushar and @laceysanderson
Thanks for review.
I have added validation to load IME libraries on Specific pages only.
Pages can be managed from jQuery.ime administration setting pages.
Please review again and Let me know your thoughts.
Comment #11
suhel.rangnekar commentedComment #12
pgautam commented1) Please reduce clyomatic complexity (if, else) in the function
2) $patterns looks an array to me in the function ime_paths_patterns($ime_enable) when we check it prior to return, but it is initialized as empty string please maintain consistent data type for your variables.
Here's is an updated code which you can probably refer:
to:
3) Change comments for the function ime_paths_patterns($ime_enable) include @param $ime_enable in the comment and also define its return type in the comment
Comment #13
suhel.rangnekar commented@pgautam
Refactored function ime_paths_patterns($ime_enable)
Please review again.
Comment #14
suhel.rangnekar commentedComment #15
sharique commentedLooks good.
Comment #16
suhel.rangnekar commentedComment #17
suhel.rangnekar commentedComment #18
suhel.rangnekar commentedComment #19
pingwin4egReviews made by other people are not taken into account. The purpose of the whole this process is to show user experience, and the knowledge of Drupal API and common programming skills. It's not the contest or the race.
I'm going to remove the bonus tag, as well as links on reviews from the issue summary.
P.S.: @Sharique you should post a report of your review when you changing the issue status.
Comment #20
sharique commentedI' installed this module and it works fine for me.
Issue reported by @pgautam is fixed now. jQuery.ime js loading on every page is also fixed.
Comment #21
pingwin4egOK. I didn't change the status, just wanted to be sure.
Comment #22
suhel.rangnekar commentedComment #23
suhel.rangnekar commented@pingwin4eg @Sharique
Apology for ambiguity I am the maintainer and owner of this module. Therefore I have again added the PAReview: review bonus tag and review links into issue summary.
@ashwinikumar is a mainter of this module as he is busy with other work. So, I am taking care of the review process of respective module.
Please take this points into account and please correct me if I am missing something.
Comment #24
suhel.rangnekar commentedComment #25
suhel.rangnekar commentedComment #26
suhel.rangnekar commentedComment #27
suhel.rangnekar commentedComment #28
klausiReview of the 7.x-1.x branch (commit 8c7ba1c):
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:
So the variable naming is a blocker right now, and please also fix the other issues. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #29
suhel.rangnekar commentedComment #30
suhel.rangnekar commentedHi klausi
I have made all changes you mention.
Also corrected errors generated with PAReview.sh.
Added use case line on project page.
And resolved the variable naming blocker issue.
Please review again.
Comment #31
suhel.rangnekar commentedComment #32
suhel.rangnekar commentedComment #33
klausiThank you for your reviews. When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no major flaws).
Review of the 7.x-1.x branch (commit 171f7c6):
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:
But otherwise looks RTBC to me.
Assigning to mpdonadio as he might have time to take a final look at this.
Comment #34
mpdonadioThe docblock change is better, but it should really say something like 'Form constructor for IME settings.' See https://www.drupal.org/coding-standards/docs#forms
(+) The behavior should use the settings that got passed in, and not the global ones. I also suspect the selector should also use the context and you may need a .once() to make this AJAX friendly.
Yay drush command for getting the library! You could also copy down the file directly instead of cloning.
Avoid splitting translatable strings across lines. It makes them harder to translate. Eg, ime_requirements().
You could put the settings form in its own file. This can help with the global memory footprint. See the hook_menu() docs for how to do this.
Can you add the jQUery Update version to the hook_requirements?
You have a few variable_get() calls w/o a default return value. Eg, ime_page_build().
#attached in the render array is preferred over drupal_add_js() and libraries_load_files(). hook_page_build also has an argument, the page by reference, so you can do this.
None of these are blockers.
Comment #35
mpdonadio@ashwinikumar made the application.
@suhel.rangnekar has made most of the recent comments, and the majority of the commits.
Only one of you can get vetted access. I assume it should be @suhel.rangnekar?
Comment #36
suhel.rangnekar commentedYes @mpdonadio right, I am the owner of the Project and ashwinikumar is an maintainer.
So Please give full project access to suhel.rangnekar
suhel.rangnekar(Owner and Maintainer)
ashwinikumar(Maintainer)
Comment #37
mpdonadioThanks for your contribution, suhel.rangnekar!
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 #38
suhel.rangnekar commentedThanks for the review(s).
IME has now an official release!
for further information see the project page at https://www.drupal.org/project/ime