Commit graph

140 commits

Author SHA1 Message Date
6ac6ba53c1
Current status 2022-09-07 13:54:03 +00:00
87b79503c8 Implemented PIN replacement 2021-11-09 14:23:04 +00:00
7c33e659b4 Current changes 2021-11-09 13:43:08 +00:00
6bb72f655f Current changes 2021-11-09 13:42:47 +00:00
b9c5e95f7a Add custom HTML field which takes precedence over template pages 2021-11-05 08:02:24 +00:00
hieuvu
2a9640b5a3 Fix error message when we have custom profile fields (#465) 2021-10-27 15:30:13 +08:00
Mark Nelson
9e38411434 Changes to make GHA happy and added usages of the coalescing operator (#121) 2021-10-27 13:15:32 +08:00
Jesús Alonso Abad
383054be39 Added elements alignment support (#121) 2021-10-17 20:44:55 +08:00
Mark Nelson
80dc7395c3 Do not encode html entities in emails (#457) 2021-09-28 22:17:53 +08:00
Mark Nelson
afcea89c82 Add new lines at end of files 2021-08-03 17:39:34 +08:00
Mark Nelson
5e3135324c Remove unnecessary new line 2021-08-03 16:53:24 +08:00
Mark Nelson
c6c4e6f6a7 Minor changes and CHANGES.md note (#433) 2021-08-03 16:30:45 +08:00
Michael Milette
25d398ce22 Fix for multi-language issues (#433).
- Filename of PDF when viewing/previewing PDF.
- Page title tag when viewing/previewing PDF.
- List of available templates.
- Template Load dropdown list.
2021-07-27 10:54:18 +08:00
Dani Palou
6d966df56c Adapt mobile app code to Ionic 5 (#431) 2021-07-06 17:03:49 +08:00
Mark Nelson
0de67035a3 Use 'cron_setup_user' when sending emails (#414) 2021-06-13 14:04:18 +08:00
Mark Nelson
11225ff1fa Set proper context when sending emails (#402) 2021-06-13 13:36:02 +08:00
hieuvu
bd361d2434 Add actions title to elements table (#425) 2021-06-08 17:41:38 +08:00
Mark Nelson
8145e020e4 Add type hint and return type 2021-05-27 22:49:57 +08:00
Mark Nelson
e65cf7e9c2 Add new line at end of file 2021-05-27 22:48:30 +08:00
Mark Nelson
345c6e438b Removed usaged of deprecated functions (#423) 2021-05-27 22:46:53 +08:00
Mark Nelson
1343d64310 Fix Moodle Code Checker complaints 2021-05-27 22:13:31 +08:00
Mark Nelson
0208efa585 Removed usaged of deprecated functions (#423) 2021-05-27 21:37:50 +08:00
Mark Nelson
69a3436faa Fix Moodle Code Checker complaints 2021-05-27 18:24:01 +08:00
Mikhail Golenkov
1859ffa651 Fix the issue with displaying PDF when debugging is ON (#420) 2021-04-16 14:36:15 +08:00
Mark Nelson
47061f8737 Add type hinting to get_course_time() 2021-04-05 20:11:02 +08:00
Mark Nelson
22081dffb0 Fix get_course_time() allowing users to view certificate early (#403) 2021-04-05 19:55:27 +08:00
Mark Nelson
8446a2e10a Add ability to choose how to deliver the certificate (#401) 2021-04-05 16:49:10 +08:00
Marina Glancy
dcbb07e2f3 Add github actions (#407) 2021-04-02 20:48:49 +08:00
Mark Nelson
c1615cbd16 Do not email out certificates with no elements (#276) 2020-11-26 19:54:58 +08:00
Mark Nelson
438dfd868f Use null coalescing operator in element factory 2020-11-26 17:52:01 +08:00
Brendan Heywood
0c89ff9547 PDFs should be inline not attachments #153 2020-11-04 19:03:57 +01:00
Mark Nelson
a8eca647fe Removed multiple empty lines 2020-09-20 16:00:34 +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
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
7107b67856 Refactor element_helper::get_grade_items() to be nicer to read 2020-05-08 21:23:36 +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
9df6c9d71e Re-add code column (#264) 2019-12-16 16:55:33 +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
Arnaud Trouvé
080e53d13a Add userfullname variable for email subject (#316) 2019-12-14 14:17:49 +01:00
Mark Nelson
8358280c6c Added capability to determine who can receive a certificate (#270) 2019-05-28 17:52:52 +08:00
Dmitrii Metelkin
1fbf233111 Use repeat form element for date ranges (#185) 2019-05-25 15:01:26 +08:00
Mark Nelson
1746ec47dc Always send emails from 'noreplyuser' (#165) 2019-04-16 19:37:07 +08:00
Mark Nelson
a6b180454f Incorrect PHPDocs for render_form_elements and co (#271) 2019-04-16 19:22:57 +08:00
Mark Nelson
813fae127c Added QR code element (#146) 2019-04-16 19:04:53 +08:00
Mark Nelson
61d0bd433f Use course module context when calling format_string/text (#200) 2018-12-28 14:11:58 +08:00
Mark Nelson
7002818fca Added missing implementation for privacy provider (#260) 2018-12-26 11:34:51 +08:00
Mark Nelson
9e9192c7fc Fixed issue when scales are used (#242)
The grade item's type was being hard-coded to
GRADE_TYPE_VALUE when this isn't always the
case.
2018-12-19 14:37:06 +08:00
Mark Nelson
32338c9aa7 Make use of the decimal value setting
We should use this instead of our own logic.
2018-12-19 14:19:27 +08:00
Mark Nelson
5182ab60e2 Report now respects the setting 'Show user identity' (#224) 2018-12-18 09:43:43 +08:00