Commit graph

160 commits

Author SHA1 Message Date
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
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
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
mwithheld
8ba89c18ce Do not fail if multiple certificate issues (#304)
Fix another location of this problem.
2019-12-16 15:59:57 +01:00
Mark Nelson
ac8a49bcca Bumped version 2019-12-14 14:23:31 +01:00
Mark Nelson
b89010ffd1 Bumped version for 3.8 2019-12-14 14:14:50 +01: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
Mark Nelson
68838944fa 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:29:06 +08:00
Dan Marsden
7dd18f75e2 Add custom course field element to custom cert (#274) 2019-05-29 16:07:30 +08:00
Mark Nelson
38def6bfb4 Fix complaints found by local_moodlecheck 2019-05-29 00:12:10 +08:00
Mark Nelson
cbf9997f3e Bump version for 3.7 2019-05-28 18:29:44 +08:00
Mark Nelson
88dcb9142a Minor changes (#185) 2019-05-28 14:20:30 +08:00
Dmitrii Metelkin
1fbf233111 Use repeat form element for date ranges (#185) 2019-05-25 15:01:26 +08:00
Dmitrii Metelkin
3450388a36 Remove empty line (#185) 2019-05-25 15:01:13 +08:00
Dmitrii Metelkin
5b44544e74 Add new placeholders and update help description (#185) 2019-05-25 15:01:02 +08:00
Dmitrii Metelkin
597659e23e Rename first_year and last_year placeholders (#185) 2019-05-25 15:00:49 +08:00
Dmitrii Metelkin
c31f31a63d Update description string (#185) 2019-05-25 15:00:41 +08:00
Dmitrii Metelkin
fafb0159d8 Add tests to support functionality (#185) 2019-05-25 15:00:33 +08:00
Dmitrii Metelkin
6e091e9fd6 Improve the logic of recurring ranges (#185) 2019-05-25 15:00:19 +08:00
Dmitrii Metelkin
4ac9615514 Recursively check recurring date ranges (#185) 2019-05-25 15:00:12 +08:00
Dmitrii Metelkin
d0bca80d35 Add an empty line to the end of styles.css (#185) 2019-05-25 15:00:03 +08:00
Dmitrii Metelkin
386592d27b Update lang strings (#185) 2019-05-25 14:59:56 +08:00
Dmitrii Metelkin
a7441e8b1b Be more strict about 12 months limit (#185) 2019-05-25 14:59:48 +08:00
Dmitrii Metelkin
fbe8024438 Modify recurring dateranges (#185) 2019-05-25 14:59:23 +08:00
Dmitrii Metelkin
4e30f1e851 Add range related placeholders (#185) 2019-05-25 14:59:15 +08:00
Dmitrii Metelkin
5a9d9792df Get rid of useless css rule (#185) 2019-05-25 14:59:03 +08:00
Dmitrii Metelkin
19d0bf5dc8 Change a way of displaying date ranges on the edit element page (#185) 2019-05-25 14:58:52 +08:00
Dmitrii Metelkin
b26e8c92b9 Add recurring option to dateranges (#185) 2019-05-25 14:58:41 +08:00
Dmitrii Metelkin
b6ce73637c Use element name in the preview mode (#185) 2019-05-25 14:58:31 +08:00
Mark Nelson
1a172b9065 Bump date range element version numbers (#185) 2019-05-25 14:58:27 +08:00
Dmitrii Metelkin
7436054c17 Add date range element (#185) 2019-05-25 14:58:13 +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
2ea80b1084 Fixed misleading PHP comment referring to 3.5 2019-01-03 06:22:31 +08:00
Mark Nelson
7c333442ee Make it clear what element values are just an example (#144) 2018-12-31 09:54:26 +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
f8a55869b5 Prevent exception when adding 'teachername' element to site template (#261) 2018-12-27 09:05:45 +08:00
Mark Nelson
b211a06bd5 Bumped version for 3.6 2018-12-24 15:50:40 +08:00
Mark Nelson
13ddab941f Add ability to set transparency on images (#186) 2018-12-20 09:16:31 +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
a55b253cff Fixed logic so site templates work as expected (#160) 2018-12-17 16:41:21 +08:00
Mark Nelson
cf93b540d6 Hide completion date option if not applicable (#160) 2018-12-17 16:28:16 +08:00
Mark Nelson
210e61e227 Fixed misleading version number in requires comment 2018-07-28 12:43:03 +08:00
Mark Nelson
26ea75479f #171 Only get teachers who are enrolled within the course 2018-07-13 20:46:17 +08:00