Commit graph

575 commits

Author SHA1 Message Date
Mark Nelson
a262adfc6e Update 'emailstudents_help' language string (#276) 2020-11-25 22:38:28 +08:00
Mark Nelson
2b4f385333 Bump .travis.yml to use v3 of moodle-plugin-ci 2020-11-09 15:32:31 +01:00
Mark Nelson
62dcd9576d Update repo used by Travis 2020-11-05 20:05:56 +01:00
Mark Nelson
9a2edca684 Update CHANGES.md 2020-11-04 20:21:02 +01:00
Brendan Heywood
0c89ff9547 PDFs should be inline not attachments #153 2020-11-04 19:03:57 +01:00
Mark Nelson
27f5a74cb3 Add CSS class for mobile app (#378) 2020-10-12 13:34:04 +02:00
Mark Nelson
a8eca647fe Removed multiple empty lines 2020-09-20 16:00:34 +02:00
Mark Nelson
695798ca6f Updated CHANGES.md 2020-09-20 15:51:04 +02:00
Mark Nelson
632dba8fb2 Fixed issue with PDF being generated without a name (#333) 2020-09-20 15:39:53 +02:00
Mark Nelson
0a390df7ff Fixed exception loading template image that has no image selected (#369) 2020-09-20 14:55:48 +02:00
Mark Nelson
46ca744d32 Do not email those who can manage the certificate (#376) 2020-09-20 14:24:50 +02:00
Guillermo Gomez
60b247f441 Implement get_objectid_mapping (#374) 2020-09-20 14:13:27 +02:00
Mark Nelson
6a19ec83e9 Updated CHANGES.md 2020-08-08 19:16:54 +02:00
Mark Nelson
e52422b922 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:08:02 +02:00
Sergey Evstegneiev
2dc05b8b81 Adding enrollment start & end date options (#328) 2020-08-08 18:57:05 +02:00
Mark Nelson
c95b058049 Fix stale file warning 2020-08-08 18:10:29 +02:00
Mark Nelson
c69d4822cc Ignore multiple certificate codes (#363) 2020-08-08 15:52:10 +02:00
Mark Nelson
a884f948d3 Remove trailing spaces 2020-08-08 15:46:08 +02:00
Thong Bui
6af1757084 Fix get position when browser shrinking (#343) 2020-08-08 15:23:15 +02:00
Steven Tsvetkov
0f62eb30b5 Fix custom fields not displaying properly #359 2020-07-20 16:02:39 +02:00
Mark Nelson
66148c70f6 Updated CHANGES.md 2020-06-28 18:36:51 +02:00
Mark Nelson
98307310cf Update node version used in .travis.yml 2020-05-30 13:13:10 +02:00
Mark Nelson
05f12a3dde Mark certificates as viewed in mobile app (#342) 2020-05-30 13:03:02 +02:00
Mark Nelson
7107b67856 Refactor element_helper::get_grade_items() to be nicer to read 2020-05-08 21:23:36 +02:00
Mark Nelson
9e386f19c3 Fix docs in Grade element name 2020-05-08 17:40:26 +02:00
Mark Nelson
eec256cd01 The Grade item name element works with all grade items (#346) 2020-05-08 17:22:50 +02:00
Mark Nelson
4ab2c04b29 Extend unit test (#329) 2020-05-08 17:22:50 +02:00
Mark Nelson
784ca08fb1 Add the ability to select Outcomes in the Grade element (#329) 2020-05-08 17:22:44 +02:00
Mark Nelson
31d1f9a36d Removed 'exampledata' string 2020-05-08 15:56:41 +02:00
Mark Nelson
05c1c00cc0 Revert "Add new Outcome element (#329)"
This reverts commit 3e26a6b7c1.

This logic should be in the Grade element.
2020-05-06 14:57:27 +02:00
Mark Nelson
3e26a6b7c1 Add new Outcome element (#329) 2020-05-06 13:44:20 +02:00
Mark Nelson
4679c79e37 Bumped version 2020-03-17 00:20:30 +01:00
Mark Nelson
15b8061261 Fixed broken logic (#298) 2020-03-16 17:04:08 +01:00
Mark Nelson
2a16dbe1c0 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:42:36 +01:00
Mark Nelson
f2524610f0 Updated CHANGES.md 2020-03-12 14:42:54 +01:00
Mark Nelson
db10a589f1 Added extra Behat steps for new elements (#309) 2020-03-11 14:10:22 +01:00
Mark Nelson
a0bc5ffa04 Avoid use of old array syntax (#331) 2020-03-10 17:29:37 +01:00
Sergey
d5ba284e64 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:55:50 +01:00
Mark Nelson
f68658d675 Do not allow '0' as a value for width or height in QR code (#321) 2020-03-09 14:50:33 +01:00
Mark Nelson
28975d4625 Fix foreign key violation (#331) 2020-03-09 14:05:21 +01:00
Mark Nelson
2cdae3f45c Added missing full-stop 2019-12-16 20:56:24 +01:00
Mark Nelson
9cf95f5104 Bumped version 2019-12-16 20:53:06 +01:00
Mark Nelson
f0a25193ba Updated CHANGES.md 2019-12-16 20:53:00 +01:00
Mark Nelson
bd135ef579 Define subplugins.json (#312) 2019-12-16 20:39:08 +01:00
Mark Nelson
6a1f55c98a Fixed typo in Behat file name 2019-12-16 17:03:47 +01:00
Mark Nelson
9df6c9d71e Re-add code column (#264) 2019-12-16 16:55:33 +01:00
mwithheld
8ba89c18ce Do not fail if multiple certificate issues (#304)
Fix another location of this problem.
2019-12-16 15:59:57 +01:00
mwithheld
a5eea57644 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 15:55:42 +01:00
Mark Nelson
f172ad029b Changed references to old github name 2019-12-16 15:00:11 +01:00
Mark Nelson
59b87d19ac Bump with JS fix 2019-12-14 14:51:30 +01:00