Commit graph

518 commits

Author SHA1 Message Date
Mark Nelson be34b27ff9 Fixed size of 'Changed' in CHANGES.md 2020-11-26 23:31:42 +08:00
Mark Nelson 2253884856 Bumped version 2020-11-26 23:00:04 +08:00
Mark Nelson e5059a63f4 Update CHANGES.md (#390) 2020-11-26 22:11:28 +08:00
uvigo-atic 13a1012ffb Added username to userfield form element (#390) 2020-11-26 22:11:19 +08:00
Mark Nelson 24ac8add66 Updated CHANGES.md (#276) 2020-11-26 21:43:02 +08:00
Mark Nelson 98a2c53463 Update 'emailteachers_help' and 'emailothers_help' language strings (#276) 2020-11-26 21:35:44 +08:00
Mark Nelson 69817ce07a Do not email out certificates with no elements (#276) 2020-11-26 21:13:43 +08:00
Mark Nelson b56c13b67b Use null coalescing operator in element factory 2020-11-26 18:22:52 +08:00
Mark Nelson 90241238fb Update 'emailstudents_help' language string (#276) 2020-11-26 17:55:54 +08:00
Mark Nelson 5034faa2e4 Bump .travis.yml to use v3 of moodle-plugin-ci 2020-11-09 16:29:14 +01:00
Mark Nelson 0f6282a1b1 Update repo used by Travis 2020-11-09 16:28:54 +01:00
Mark Nelson 7e9de4aada Update CHANGES.md 2020-11-04 19:32:50 +01:00
Brendan Heywood 42d3b3a50e PDFs should be inline not attachments #153 2020-11-04 19:16:22 +01:00
Mark Nelson c9b83759bc Add CSS class for mobile app (#378) 2020-10-12 13:36:33 +02:00
Mark Nelson f1a55ce6db Removed multiple empty lines 2020-09-20 16:00:55 +02:00
Mark Nelson d0e75bb6fc Updated CHANGES.md 2020-09-20 15:55:05 +02:00
Mark Nelson 2b210b4bb8 Fixed issue with PDF being generated without a name (#333) 2020-09-20 15:41:05 +02:00
Mark Nelson 4765c11a46 Fixed exception loading template image that has no image selected (#369) 2020-09-20 14:58:18 +02:00
Mark Nelson 03d56eddae Do not email those who can manage the certificate (#376) 2020-09-20 14:29:31 +02:00
Guillermo Gomez d37bfab4cd Implement get_objectid_mapping (#374) 2020-09-20 14:17:08 +02:00
Mark Nelson d8f275d588 Updated CHANGES.md 2020-08-08 19:38:57 +02:00
Mark Nelson 616bc4f43b Changed 'enrollment' to 'enrolment' to conform to Moodle core (#328)
Also minor changes like ordering strings alphabetically and adding
full-stops.
2020-08-08 19:36:17 +02:00
Sergey Evstegneiev b3433e598c Adding enrollment start & end date options (#328) 2020-08-08 19:35:50 +02:00
Mark Nelson 05ba53ad3a Fix stale file warning 2020-08-08 18:11:04 +02:00
Mark Nelson 545ed8bbbd Ignore multiple certificate codes (#363) 2020-08-08 15:53:00 +02:00
Mark Nelson 2697ba9fb5 Remove trailing spaces 2020-08-08 15:47:00 +02:00
Thong Bui 4447e2ac6f Fix get position when browser shrinking (#343) 2020-08-08 15:28:28 +02:00
Mark Nelson 4a85da7297 Updated CHANGES.md 2020-06-28 18:37:50 +02:00
Mark Nelson 112a027849 Mark certificates as viewed in mobile app (#342) 2020-05-30 13:10:18 +02:00
Mark Nelson feb3bac856 Refactor element_helper::get_grade_items() to be nicer to read 2020-05-08 21:24:10 +02:00
Mark Nelson 88d0449d62 Fix docs in Grade element name 2020-05-08 17:50:36 +02:00
Mark Nelson ba0bfd3a7e The Grade item name element works with all grade items (#346) 2020-05-08 17:27:46 +02:00
Mark Nelson 8d3d78307f Extend unit test (#329) 2020-05-08 17:23:14 +02:00
Mark Nelson 6ba2efa3b0 Add the ability to select Outcomes in the Grade element (#329) 2020-05-08 17:23:08 +02:00
Mark Nelson a7d372a26a Removed 'exampledata' string 2020-05-08 16:57:28 +02:00
Mark Nelson 14e480f7e9 Bumped version 2020-03-17 00:21:51 +01:00
Mark Nelson a379c93dd7 Fixed broken logic (#298) 2020-03-16 17:52:19 +01:00
Mark Nelson 185389b983 Loading templates copies system images to the course (#298)
Before it would just reference the system images. However, this meant
backup/restore was broken as it did not include the images the template
was using.
2020-03-15 19:53:05 +01:00
Mark Nelson 3dc83cb306 Updated CHANGES.md 2020-03-12 14:54:58 +01:00
Mark Nelson a2c30e3667 Added extra Behat steps for new elements (#309) 2020-03-11 14:18:42 +01:00
Mark Nelson ad7d4099b4 Avoid use of old array syntax (#331) 2020-03-10 17:41:30 +01:00
Sergey 1c9f4786fb Fix of showing names of custom user fields (#326)
Show normal human-readable name of custom user profile fields instead of internal shortname
2020-03-09 14:57:35 +01:00
Mark Nelson 2f8bb1eb29 Do not allow '0' as a value for width or height in QR code (#321) 2020-03-09 14:53:11 +01:00
Mark Nelson 01bfe2f660 Fix foreign key violation (#331) 2020-03-09 14:32:10 +01:00
Mark Nelson 28a8b99f31 Bumped version 2020-02-01 16:00:06 +01:00
Mark Nelson 9810b48b25 Updated CHANGES.md 2020-02-01 15:55:22 +01:00
Mark Nelson 28b2210b19 Fixed typo in Behat file name 2020-02-01 15:48:42 +01:00
Mark Nelson 62639d1754 Re-add code column (#264) 2020-02-01 15:48:08 +01:00
mwithheld e7352bf715 Do not fail if multiple certificate issues (#304)
Fix another location of this problem.
2019-12-16 16:18:24 +01:00
mwithheld b28877f5ee Do not fail if multiple certificate issues (#295)
Ignore multiple matches for a user-customcert combo in the customcert_issues table.
In our case, the scheduled task died when:
$issueid = $DB->get_field('customcert_issues', 'id', array('userid' => $enroluser->id, 'customcertid' => $customcert->id));
returned 2 rows, which shouldn't happen, but did anyway.

This means in rare circumstances (i.e. the race condition) the user may get multiple certificates (e.g. one via the UI, one by email) but that is better than not getting one at all and the whole job dying.
2019-12-16 16:18:12 +01:00