Commit graph

509 commits

Author SHA1 Message Date
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
Mark Nelson
bc2fe29354 Changed references to old github name 2019-12-16 15:11:36 +01:00
Arnaud Trouvé
74f1cd732d Add userfullname variable for email subject (#316) 2019-12-16 15:01:52 +01:00
Mark Nelson
9d97d7e6fb Bumped version 2019-06-17 17:08:06 +08:00
Mark Nelson
bd91807fe2 Updated CHANGES.md 2019-06-17 14:40:59 +08:00
Mark Nelson
88ef8f25fa Add ability to specify the current date for date related elements (#289) 2019-06-17 13:34:56 +08:00
Mark Nelson
c420d3b943 String improvements for date range element
Also added a help button to reduce the wall
of text.
2019-06-17 12:42:04 +08:00
Mark Nelson
5a6993009b Fixed PHPDoc reference to edit_element_form 2019-06-17 12:16:05 +08:00
Mark Nelson
08b10ebdad Use negative numbers for constants in date range element
The reason being that we may have a module that has
an id matching one of these values.
2019-06-17 11:30:58 +08:00
Mark Nelson
1511c079ab Specify OS in travis 2019-05-29 00:19:47 +08:00