Commit graph

522 commits

Author SHA1 Message Date
Mark Nelson
8c0c5bd4a4 Update CHANGES.md (#390) 2020-11-26 22:11:25 +08:00
uvigo-atic
ba71760984 Added username to userfield form element (#390) 2020-11-26 22:11:15 +08:00
Mark Nelson
ba47750c58 Updated CHANGES.md (#276) 2020-11-26 21:42:57 +08:00
Mark Nelson
58d7616a99 Update 'emailteachers_help' and 'emailothers_help' language strings (#276) 2020-11-26 21:35:41 +08:00
Mark Nelson
db3365d56a Do not email out certificates with no elements (#276) 2020-11-26 21:13:38 +08:00
Mark Nelson
deb8d60a89 Use null coalescing operator in element factory 2020-11-26 18:22:33 +08:00
Mark Nelson
b0fdb981ff Update 'emailstudents_help' language string (#276) 2020-11-26 17:55:50 +08:00
Mark Nelson
2cc3e3bb87 Bump .travis.yml to use v3 of moodle-plugin-ci 2020-11-09 16:29:11 +01:00
Mark Nelson
ad52d03b74 Update repo used by Travis 2020-11-09 16:28:50 +01:00
Mark Nelson
9aec9b5e76 Update CHANGES.md 2020-11-04 19:32:45 +01:00
Brendan Heywood
1d3d616935 PDFs should be inline not attachments #153 2020-11-04 19:16:15 +01:00
Mark Nelson
c00b957319 Add CSS class for mobile app (#378) 2020-10-12 13:36:27 +02:00
Mark Nelson
2de7656753 Removed multiple empty lines 2020-09-20 16:00:50 +02:00
Mark Nelson
f4a7c3ed37 Updated CHANGES.md 2020-09-20 15:55:00 +02:00
Mark Nelson
e012b8fb22 Fixed issue with PDF being generated without a name (#333) 2020-09-20 15:40:58 +02:00
Mark Nelson
f3f9f9c169 Fixed exception loading template image that has no image selected (#369) 2020-09-20 14:58:13 +02:00
Mark Nelson
1f1b2f7689 Do not email those who can manage the certificate (#376) 2020-09-20 14:29:26 +02:00
Guillermo Gomez
4a5b000c59 Implement get_objectid_mapping (#374) 2020-09-20 14:17:05 +02:00
Mark Nelson
378396ecf6 Updated CHANGES.md 2020-08-08 19:34:52 +02:00
Mark Nelson
9d70a88e74 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:34:43 +02:00
Sergey Evstegneiev
22b156be8f Adding enrollment start & end date options (#328) 2020-08-08 19:33:02 +02:00
Mark Nelson
007446ab33 Fix stale file warning 2020-08-08 18:11:00 +02:00
Mark Nelson
27ae633528 Ignore multiple certificate codes (#363) 2020-08-08 15:52:52 +02:00
Mark Nelson
d5e41eee61 Remove trailing spaces 2020-08-08 15:46:55 +02:00
Thong Bui
cb34de169e Fix get position when browser shrinking (#343) 2020-08-08 15:28:02 +02:00
Steven Tsvetkov
84bdb0d654 Fix custom fields not displaying properly #359 2020-08-01 13:11:47 +02:00
Mark Nelson
267484e214 Updated CHANGES.md 2020-06-28 18:37:12 +02:00
Mark Nelson
1eb24ae74e Update node version used in .travis.yml 2020-05-30 13:37:01 +02:00
Mark Nelson
7d91af9117 Mark certificates as viewed in mobile app (#342) 2020-05-30 13:10:12 +02:00
Mark Nelson
cc768d73aa Refactor element_helper::get_grade_items() to be nicer to read 2020-05-08 21:24:05 +02:00
Mark Nelson
a279237a69 Fix docs in Grade element name 2020-05-08 17:50:33 +02:00
Mark Nelson
b44500dae8 The Grade item name element works with all grade items (#346) 2020-05-08 17:27:43 +02:00
Mark Nelson
30e2e7b1a9 Extend unit test (#329) 2020-05-08 17:22:11 +02:00
Mark Nelson
95b9ee2acb Add the ability to select Outcomes in the Grade element (#329) 2020-05-08 17:22:05 +02:00
Mark Nelson
05fb3c71d7 Removed 'exampledata' string 2020-05-08 16:57:25 +02:00
Mark Nelson
4921c57b23 Bumped version 2020-03-17 00:21:21 +01:00
Mark Nelson
219cfd1343 Fixed broken logic (#298) 2020-03-16 17:52:15 +01:00
Mark Nelson
595326623f 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:52:57 +01:00
Mark Nelson
4b2af9bcca Updated CHANGES.md 2020-03-12 14:49:21 +01:00
Mark Nelson
ec0983c124 Added extra Behat steps for new elements (#309) 2020-03-11 14:17:00 +01:00
Mark Nelson
de7f9a9bd8 Avoid use of old array syntax (#331) 2020-03-10 17:41:25 +01:00
Sergey
ca1b065b65 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:23 +01:00
Mark Nelson
d007e56589 Do not allow '0' as a value for width or height in QR code (#321) 2020-03-09 14:53:02 +01:00
Mark Nelson
4e9421c6f9 Fix foreign key violation (#331) 2020-03-09 14:06:34 +01:00
Mark Nelson
3ef47f0cb1 Bumped version 2020-02-01 15:59:57 +01:00
Mark Nelson
fb15859e12 Updated CHANGES.md 2020-02-01 15:53:44 +01:00
Mark Nelson
7cb9bf4778 Fixed typo in Behat file name 2020-02-01 15:48:34 +01:00
Mark Nelson
f2a86d4098 Re-add code column (#264) 2020-02-01 15:47:58 +01:00
mwithheld
e0366eb398 Do not fail if multiple certificate issues (#304)
Fix another location of this problem.
2019-12-16 16:18:20 +01:00
mwithheld
def104602a 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:17:59 +01:00