{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":693082027,"defaultBranch":"main","name":"moodle-local_notifycoursecomplete","ownerLogin":"leonstr","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-09-18T10:05:16.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10348217?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1695031517.96617","currentOid":""},"activityList":{"items":[{"before":"48ef04e712d92a5f382fbcee9f7bf3e248598f72","after":"db422a042ff5d1bc9b445a136f0fd8365196f7de","ref":"refs/heads/main","pushedAt":"2023-10-25T15:56:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Send notifications by scheduled task\n\nNotifications are now sent asynchronously. They're added to a queue (in\nmdl_local_notifycoursecomplete) when the course_completed event occurs,\nthen sent by the new send_notifications scheduled task. This prevents\nany performance problem with remote SMTP services delaying page loads\nfor students (for example, if activity completion occurs on page view,\nand, thus, potentially course completion also).","shortMessageHtmlLink":"Send notifications by scheduled task"}},{"before":"08cc9e21ada38f662feb0e2b3a8cbe41f5a209a4","after":"48ef04e712d92a5f382fbcee9f7bf3e248598f72","ref":"refs/heads/main","pushedAt":"2023-10-20T11:38:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Add language support\n\nNotifications now sent to the teacher in that teacher's preferred\nlanguage (provided the corresponding language file is present).","shortMessageHtmlLink":"Add language support"}},{"before":"f2db234acd74819a44ab285b5c6719b105641b4b","after":"08cc9e21ada38f662feb0e2b3a8cbe41f5a209a4","ref":"refs/heads/main","pushedAt":"2023-10-18T14:39:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Add cap receivenotification\n\nAdd specific capability for this plugin's functionality,\nlocal/notifycoursecomplete:receivenotification. Roles with this\ncapability (by default teacher and editingteacher) can receive\nthese notifications.","shortMessageHtmlLink":"Add cap receivenotification"}},{"before":"368427fdb0842265fd5cec37cd405a026583e1de","after":"f2db234acd74819a44ab285b5c6719b105641b4b","ref":"refs/heads/main","pushedAt":"2023-10-18T14:19:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Add require_once to PHPUnit tests (MDL-68122)","shortMessageHtmlLink":"Add require_once to PHPUnit tests (MDL-68122)"}},{"before":"aa851b3ee04831f72a0ea4da56153e6fc74d01a1","after":"368427fdb0842265fd5cec37cd405a026583e1de","ref":"refs/heads/main","pushedAt":"2023-10-12T16:01:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Fix get_user FIXME, only active enrolled users\n\nUse core_user::get_user() instead of get_record(). Only notify teachers\nwith active enrolments.","shortMessageHtmlLink":"Fix get_user FIXME, only active enrolled users"}},{"before":"61dcfb4597f7d02f54c291df3481bd81e8d580e8","after":"aa851b3ee04831f72a0ea4da56153e6fc74d01a1","ref":"refs/heads/main","pushedAt":"2023-10-12T12:00:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Notifications disabled by default","shortMessageHtmlLink":"Notifications disabled by default"}},{"before":"875ef19af57196b8498fd8f18d1b59bca2163765","after":"61dcfb4597f7d02f54c291df3481bd81e8d580e8","ref":"refs/heads/main","pushedAt":"2023-10-09T17:17:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Add PHPUnit tests","shortMessageHtmlLink":"Add PHPUnit tests"}},{"before":"270b738a55e925389601efd1a9a1b961b525f747","after":"875ef19af57196b8498fd8f18d1b59bca2163765","ref":"refs/heads/main","pushedAt":"2023-10-09T16:55:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Fix: Potential wrong user checks","shortMessageHtmlLink":"Fix: Potential wrong user checks"}},{"before":"668fccdeacd7fe9a2fefe94b241e4e823c727a74","after":"270b738a55e925389601efd1a9a1b961b525f747","ref":"refs/heads/main","pushedAt":"2023-09-29T15:20:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Fix: Wrong student if teacher completed activity\n\nPreviously if the teacher's action completed the course for the student\n(for example, grading an activity with a passing grade) then the\nteacher's name would appear in the 'Student has completed\nthe course ...' notification. This should now be fixed.","shortMessageHtmlLink":"Fix: Wrong student if teacher completed activity"}},{"before":"1d0440f9d2169ffe6c99215560d9631278af3a6f","after":"668fccdeacd7fe9a2fefe94b241e4e823c727a74","ref":"refs/heads/main","pushedAt":"2023-09-28T07:39:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"c4e8113e09c9e2baed55f8943b2ba680f74350bc","after":"1d0440f9d2169ffe6c99215560d9631278af3a6f","ref":"refs/heads/main","pushedAt":"2023-09-18T13:27:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Add group membership checks when separate groups","shortMessageHtmlLink":"Add group membership checks when separate groups"}},{"before":"4d4e19e83b483394c0456dccc871e817a4854f9d","after":"c4e8113e09c9e2baed55f8943b2ba680f74350bc","ref":"refs/heads/main","pushedAt":"2023-09-18T11:02:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Basic sending of notification now works\n\nNo checking for course group mode or group membership.","shortMessageHtmlLink":"Basic sending of notification now works"}},{"before":"55514c8c0345d40589373b7593912de2d39af138","after":"4d4e19e83b483394c0456dccc871e817a4854f9d","ref":"refs/heads/main","pushedAt":"2023-09-18T10:28:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Add working event listener.","shortMessageHtmlLink":"Add working event listener."}},{"before":"dbe2ad2446ac2dc80cb285e4433739066de2a197","after":"55514c8c0345d40589373b7593912de2d39af138","ref":"refs/heads/main","pushedAt":"2023-09-18T10:08:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}},{"before":null,"after":"dbe2ad2446ac2dc80cb285e4433739066de2a197","ref":"refs/heads/main","pushedAt":"2023-09-18T10:05:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"leonstr","name":"Leon Stringer","path":"/leonstr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10348217?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0yNVQxNTo1NjoyNi4wMDAwMDBazwAAAAOfo-7V","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0yNVQxNTo1NjoyNi4wMDAwMDBazwAAAAOfo-7V","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0xOFQxMDowNToxNy4wMDAwMDBazwAAAAOC3Yfc"}},"title":"Activity ยท leonstr/moodle-local_notifycoursecomplete"}