Commit graph

565 commits

Author SHA1 Message Date
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
Mark Nelson
849d6645fd Recompile JS for 3.8 2019-12-14 14:50:53 +01:00
Mark Nelson
ac8a49bcca Bumped version 2019-12-14 14:23:31 +01:00
Mark Nelson
f6b9e48691 Bumped version in travis 2019-12-14 14:19:51 +01:00
Arnaud Trouvé
080e53d13a Add userfullname variable for email subject (#316) 2019-12-14 14:17:49 +01:00
Mark Nelson
b89010ffd1 Bumped version for 3.8 2019-12-14 14:14:50 +01:00
Mark Nelson
8296796519 Bumped version 2019-06-17 17:02:25 +08:00
Mark Nelson
9f953fc928 Updated CHANGES.md 2019-06-17 14:38:13 +08:00
Mark Nelson
36d178bda3 Add ability to specify the current date for date related elements (#289) 2019-06-17 13:33:16 +08:00
Mark Nelson
7756d928ac String improvements for date range element
Also added a help button to reduce the wall
of text.
2019-06-17 12:41:02 +08:00
Mark Nelson
7611196fa3 Fixed PHPDoc reference to edit_element_form 2019-06-17 12:14:26 +08:00