Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2018 at 11:03 UTC
Updated:
9 Aug 2018 at 12:33 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
sathishkumar.k commentedComment #3
sathishkumar.k commentedComment #4
sathishkumar.k commentedPlease review! working version.
Comment #5
sathishkumar.k commentedComment #6
sathishkumar.k commentedComment #7
PA robot commentedGit clone command for the sandbox is missing in the issue summary, please add it.
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 #8
sathishkumar.k commentedComment #9
sathishkumar.k commentedFile push to Git
sandbox url: https://www.drupal.org/sandbox/sathish92/2935333
Comment #10
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxsathish922935333git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
markusd1984 commented@sathish92 How does this compare to https://www.drupal.org/project/time_spent ?
Comment #12
sathishkumar.k commentedHi @markusd1984 this module https://www.drupal.org/project/time_spent track only node page not custom page but our module track site overall pages (include custom page).
Comment #13
markusd1984 commented@sathish92 tried the user time spent with count module but couldn't access the user stats with /time-spent/USERNAME/user.
Besides having these stats accessible in a tab within user profile is handy, better even if there is a page for reporting :)
Comment #14
sathishkumar.k commented@markusd1984 use /time-spent/{user_id}/user instead of /time-spent/USERNAME/user.
Thanks for your suggestion for handy tab in an user profile. We add this feature in next version.
Comment #15
sathishkumar.k commentedComment #16
rajveergangwar@sathish92
Please add git clone url to issue.
Comment #17
rajveergangwar@sathish92,
I have reviewed your module, Reviews are below:
Reviews are given below:
README.txt File is missing.
user_time_custom.js file doc is missing.
user_time_spent.js file doc is missing.
Review of .install file
1) File doc comment is missing
2) Why function user_time_spent_uninstall() {} is blank
3) Table name should start with your module name prefix, So mysql table will be user_time_spent_time_spent and user_time_spent_time_spent_day
4)
5) Why the description for both tables are same ?
Review of .module file
1) Please write hook_help for module
2) Move below code to hook_preprocess_page
3) Functionality you have written in hook_init, you can move to hook_preprocess_page.
You can take reference from this url: https://www.drupal.org/forum/support/module-development-and-code-questio...
4) In hook_permission your permission name should contain module name.
5) In function time_spent_data() there is below mistakes
Use placeholder for all above queries.
6)
Use db_merge for above logic.
7) The file must end with an empty line.
Comment #18
rajveergangwarIssues are found, So marking this issue to needs work.
Comment #19
avpadernoIf you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.
I am closing this application due to lack of activity.