Hijri
Description
This is a smart module that basically extends Drupal's display date to provide Hijri Date integration with Drupal core date field and with other Drupal contributions.
This module is integrated very well with Views module. You can use it to display Hijri date instead of Gregorian date or you can have them both by mention "الموافق".
Also this module coming with Hijri block that will showing Hijri today date on your website wherever you want to show today date in your header for example.
For some Hijri issues, sometime the day by the algorithm be not exact the same day in the current period because of the moon cycle, so we resolve this issue by adding custom Hijri increment field so you can increment or decrement the Hijri date to meet the real day.
You can reach Hijri settings by going to this path: Administration » Configuration » Regional and language » Date and time » Hijri Settings.
Also you can change the Hijri format by editing the Drupal date format for (long, medium and short) types in this path: Administration » Configuration » Regional and language » Date and time » Types.
Project page
https://www.drupal.org/sandbox/drpl/2389037
Git
git clone --branch 7.x-1.0 drpl@git.drupal.org:sandbox/drpl/2389037.git hijri
Automatic Pareview
http://pareview.sh/pareview/httpgitdrupalorgsandboxdrpl2389037git
The intended Drupal core version
7.x
Reviews of other projects
https://www.drupal.org/node/2307995#comment-9546551
https://www.drupal.org/node/2398263#comment-9565869
https://www.drupal.org/node/2397237#comment-9565973
Comment | File | Size | Author |
---|---|---|---|
#18 | coder-results.txt | 12.49 KB | klausi |
Comments
Comment #1
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 #2
mayurjadhav CreditAttribution: mayurjadhav commentedHey drpl,
You might want to update the git command as it is using your maintainer command.
Just edit your project, untick maintainer, click show and copy the command.
I will review as soon as I can.
Cheers.
Comment #3
drplHello mayurjadhav,
Thank you for your replay
Comment #4
mayurjadhav CreditAttribution: mayurjadhav commentedHi drpl,
Thank you for your efforts, I did some manual review of the code however didn't install it yet. Please find my comments:
Automated Review
Review of the 7.x-1.0 branch (commit efe5340):
There are some errors reported by automated review tools, did you already check them? See
http://pareview.sh/pareview/httpgitdrupalorgsandboxdrpl2389037git
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.
Comment #5
drplHello mayurjadhav,
We have reviewed every point you mentioned one by one and fixed them all.
Regards,
Comment #6
mayurjadhav CreditAttribution: mayurjadhav commentedGreat, you need to get the review bonus for further review of your module by community members,
see https://www.drupal.org/node/1975228
Comment #7
drplComment #8
klausiRemoving review bonus tag, you have not listed any reviews in the issue summary? Make sure to read https://www.drupal.org/node/1975228 again. Thanks for helping!
Comment #9
alokvermaei CreditAttribution: alokvermaei commentedHI,
Please have a look on these points.
1: On settings page i have found the below mentioned notices .
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined property: stdClass::$field_hijri_correction in hijri_preprocess_node() (line 267 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Notice: Undefined index: article in hijri_preprocess_node() (line 280 of F:\wamp\www\drupal\sites\all\modules\hijri\hijri.module).
Warning: Invalid argument supplied for foreach() in form_type_checkboxes_value() (line 2337 of F:\wamp\www\drupal\includes\form.inc).
2 : Still i can see a lot of issues on "http://pareview.sh/pareview/httpgitdrupalorgsandboxdrpl2389037git" .Do resolve all the point before making it in needs review mode.
Comment #10
mayurjadhav CreditAttribution: mayurjadhav commentedDo resolve all the issues mention in #9 as well as do unit testing before making status needs review.
Don't forget to review other module applications and add those links to the your application to add review bonus.
Comment #11
drplAll notices error fixed
Comment #12
drplComment #13
drplComment #14
drplComment #15
drplComment #16
drplComment #17
drplComment #18
klausiThank you for your reviews. Make sure to review projects in the "needs review" state next time because projects in "needs work" are already blocked and need a maintainer response anyway.
Review of the 7.x-1.x branch (commit a13885e):
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. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to er.pushpinderrana as he might have time to take a final look at this.
Comment #19
er.pushpinderrana CreditAttribution: er.pushpinderrana commentedAutomated Review
Best practice issues identified by pareview.sh / drupalcs / coder. Yes, See coder-results.txt uploaded by Klausi.
Review of the 7.x-1.x branch (commit a13885e):
Manual Review
(+) README.md: The file should be formatted to hard-wrap at 80 characters. See https://www.drupal.org/node/161085#readme
(+) hijri_help(): Help link switch case/path is incorrect. See https://api.drupal.org/api/drupal/modules%21system%21system.api.php/func...
_hijri_date_block(): Klausi also pointed the same thing. Don't use theme() directly, use render arrays. The main reason why the render api exists is it allows for altering by other modules before any html is produced. Also it provides one consistent system to produce any output.
But those issues are not critical application blockers, so...
Thanks for your contribution, Abdullah Bamelhes!
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.