{"id":19591941,"url":"https://github.com/catalyst/moodle-block_dedication","last_synced_at":"2025-10-24T16:45:01.794Z","repository":{"id":64997809,"uuid":"567001702","full_name":"catalyst/moodle-block_dedication","owner":"catalyst","description":"This is a block / report that allows the time-spent by course participants to be estimated and displayed.","archived":false,"fork":false,"pushed_at":"2025-08-19T20:58:07.000Z","size":189,"stargazers_count":8,"open_issues_count":20,"forks_count":13,"subscribers_count":20,"default_branch":"MOODLE_404_STABLE","last_synced_at":"2025-08-19T22:30:04.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://moodle.org/plugins/block_dedication","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catalyst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-16T21:30:43.000Z","updated_at":"2025-08-19T20:58:11.000Z","dependencies_parsed_at":"2024-07-15T04:24:20.190Z","dependency_job_id":"e15a66af-01f9-420f-a171-4782a8a265e1","html_url":"https://github.com/catalyst/moodle-block_dedication","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/catalyst/moodle-block_dedication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-block_dedication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-block_dedication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-block_dedication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-block_dedication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst","download_url":"https://codeload.github.com/catalyst/moodle-block_dedication/tar.gz/refs/heads/MOODLE_404_STABLE","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-block_dedication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280833009,"owners_count":26398969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:32:06.608Z","updated_at":"2025-10-24T16:45:01.760Z","avatar_url":"https://github.com/catalyst.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis block allows to see the dedication estimated time to a Moodle course by the participants of the course.\nhttps://moodle.org/plugins/block_dedication\n\n# MOODLE 4.X updates\nMaintenance for this plugin has been taken over by Catalyst IT thanks to funding from the University of Canterbury.\n\nNOTE: This new version of the block differs from the original version in some significant ways:\n1. To unify global reporting across all courses, you can no longer set the minimum session limit within the block and can only set this in the site-level settings - this fixes various inconsistency issues previously reported and makes it clearer what the setting actually does. The site-level session limit is also exposed to teachers in the reporting pages via the text \"Excludes sessions less than X\".\n2. Timespent information is now generated via a scheduled task - this improves general performance but also enables the data to be exposed within Moodle's new Report Builder custom reporting.\n3. The main course report uses Moodle's reportbuilder api, however this unfortunately drops the ability to filter the report based on the date as system level reportbuilder reports do not support aggregate values well (see MDL-76392) - You can still create a custom report within report-buidlers custom reports to do this and make it available for teachers to use.\n4. Changing the site level settings (session_limit etc) does not recalculate existing records, this will be addressed in a future release - see issue #59.\n5. The first time this new version is installed, only the last 12 weeks of sessions usage is calculated - if you want to calculate further historical data see the CLI script in the CLI folder (requires server-level access to execute.).\n6. Users (students) can now see a link to a report that shows them a list of all ther sessions and estimated durations.\n7. Custom reportbuilder source is available for site-level reporting (under admin \u003e reports \u003e reportbuilder \u003e custom reports).\n8. Course and user-level reporting now uses the reportbuilder api available in Moodle 4.0.\n\n# Branches\n\n| Moodle version    | Branch             |\n| ----------------- | ------------------ |\n| Moodle 4.0 - 4.3  | `MOODLE_400_STABLE` | \n| Moodle 4.4        | `MOODLE_404_STABLE` |\n\n# How dedication time is estimated?\nTime is estimated based in the concepts of Session and Session duration applied\nto Moodle's log entries:\n\n  Click:\n  every time that a user access to a page in Moodle a log entry is stored.\n\n  Session:\n  set of two or more consecutive clicks in which the elapsed time between every\n  pair of consecutive clicks does not overcome an established maximum time.\n\n  Session duration:\n  elapsed time between the first and the last click of the session.\n\n# Features\n\nThis block is intended to be used only by teachers, so students aren't going to\nsee it and their dedication time. However, block can be configured to show\ndedication time to students too.\n\nTeachers can use a tool to analyze dedication time within a course. The tool\nprovides three views:\n\n  Dedication time of the course:\n  calculates total dedication time, mean dedication time and connections per day\n  for each student.\n\n  Dedication time of a group:\n  the same but only for choosed group members.\n\n  Dedication of a student:\n  detalied sessions for a student with start date \u0026 time, duration and ip.\n\nThe tools provide an option to download all data in spreadsheet format. The use\nof this tool is restricted by a capability to teachers and admins only.\n\nThis block cannot be used in the site page, only in courses pages.\n\nAll texts in English and Spanish.\n\n# Support\nPlease use the moodle coummunity forums for help with this plugin:\nhttps://moodle.org/mod/forum/view.php?id=44\n\nAlternatively commercial-level support is available from Catalyst IT:\nhttps://www.catalyst.net.nz/\n\n# Credits\nMoodle 4.0 release developed with funding thanks to Canterbury University\n\n![UC-Logo-3-2_3654775638524282877 (1)](https://user-images.githubusercontent.com/362798/202991887-815a122e-5b1b-49f0-8546-0fed94239753.jpg)\n\n\nThis block was previously developed and produced by Aday Talavera, CICEI at Las Palmas de Gran Canaria University and the first version for Moodle 1.9 was developed by Borja Rubio Reyes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fmoodle-block_dedication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst%2Fmoodle-block_dedication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fmoodle-block_dedication/lists"}