Commit graph

321 commits

Author SHA1 Message Date
Mark Nelson
e4b5ce7293 #142 Add setting to allow site-wide verification of certificates 2017-12-03 14:49:23 +08:00
Mark Nelson
bd9a59631f #98 Add ability to display the date and grade for all grade items 2017-12-03 14:48:44 +08:00
Mark Nelson
572025716b #126 Use the course full name in emails 2017-12-03 14:48:40 +08:00
Mark Nelson
b189236b6e #140 Add text describing the my certificates list 2017-12-03 14:48:35 +08:00
Mark Nelson
bd160b420a Fixed copyright year 2017-12-03 14:48:30 +08:00
Mark Nelson
ff39fd2cee #98 Added PHPUnit tests for element helper 2017-12-03 14:47:49 +08:00
Mark Nelson
4f0a94af99 #98 Moved helper functions used by multiple elements
Also did the following -

1. Changed get_grade_items() so it takes a course parameter.
2. Renamed get_grade() and get_mod_grade() and changed functionality
   slightly to use newly introduced class.
3. Do not return a date graded value if there is no grade.
4. Added course grade date as an option to the date element.
5. Fix inconsistency between number of decimals showing for a grade
   between the drag and drop interface and the PDF.
2017-12-03 14:47:45 +08:00
Mark Nelson
df6385fe94 Removed improper use of self 2017-12-03 14:47:39 +08:00
Mark Nelson
873ffdf932 Removed unnecessary line break 2017-12-03 14:47:30 +08:00
Mark Nelson
6dcce0a17a #135 Added missing string when performing course reset 2017-12-03 14:47:25 +08:00
Mark Nelson
4797dd287e Fixed Moodle PHPdoc check complaint 2017-12-03 14:47:20 +08:00
Mark Nelson
d0b8df1816 Bumped version 2017-12-03 14:47:00 +08:00
Mark Nelson
01ed749ac1 Updated CHANGES.md
Updating details in advance before version bump.

Also minor fixes to previously listed changes.
2017-12-03 14:46:26 +08:00
Mark Nelson
459244b417 #134 Renamed duplicate() function and modified behaviour 2017-12-03 14:45:51 +08:00
Mark Nelson
9507a87d46 #134 Add ability to duplicate templates 2017-12-03 14:45:45 +08:00
Mark Nelson
6128884b5a #134 Created class for the manage templates table 2017-12-03 14:45:39 +08:00
Mark Nelson
42812529d4 #134 Do not load templates in site templates 2017-12-03 14:45:34 +08:00
Mark Nelson
a9fdf770d0 #119 Add ability to delete issued certificates 2017-12-03 14:45:23 +08:00
Mark Nelson
6e55519b81 Added missing confirm_sesskey() checks 2017-12-03 14:45:18 +08:00
Mark Nelson
d9eb78eee1 #46 Added digital signature element 2017-12-03 14:45:11 +08:00
Mark Nelson
c26dce0e79 Fixed exception being thrown when deleted image is selected 2017-12-03 14:43:59 +08:00
Mark Nelson
33d2f65e56 Add ability to set the width and height even if no image is selected 2017-12-03 14:43:55 +08:00
Mark Nelson
f75a943352 Fixed incorrect setting of 'fileid' form element 2017-12-03 14:43:49 +08:00
Mark Nelson
7b04c7a67f Added missing element 'pageid' value 2017-12-03 14:43:44 +08:00
Mark Nelson
13f892a229 Removed usage of magic getter and abuse of $this->element 2017-12-03 14:43:40 +08:00
Mark Nelson
430ae35d71 Created factory class 2017-12-03 14:43:35 +08:00
Mark Nelson
03ae37705a Moved helper function 2017-12-03 14:43:28 +08:00
Mark Nelson
0b807a2697 Extend Behat test coverage for loading templates 2017-12-03 14:43:24 +08:00
Mark Nelson
cce88f8122 Bumped version 2017-12-03 14:41:46 +08:00
Mark Nelson
9baeb5477d Updated CHANGES.md
Updating details in advance before version bump.
2017-12-03 14:41:01 +08:00
Mark Nelson
dc56808e32 #129 Added Behat test coverage 2017-12-03 14:39:24 +08:00
Mark Nelson
852408ee17 Fixed minor typo in template comment 2017-12-03 14:39:17 +08:00
Mark Nelson
c89c2d447a Lang changes
It's not always necessary to specify it is a 'custom' certificate.

Also some other minor improvements.
2017-12-03 14:39:04 +08:00
Mark Nelson
072d75798f Fixed codechecker line length complaint 2017-12-03 14:38:59 +08:00
Mark Nelson
8c84adeb8d #118 Fixed issue with activity dates not displaying 2017-12-03 14:38:54 +08:00
Mark Nelson
0f206bccbb Added CHANGES.md 2017-12-03 14:38:47 +08:00
Mark Nelson
a9e3714139 #35 Do not right align 'Reposition elements' text 2017-12-03 14:37:11 +08:00
Mark Nelson
f382805d89 Redirect after page deletion to avoid page error when refreshing 2017-12-03 14:37:05 +08:00
Mark Nelson
0f2b2f2fca #35 Make some of the buttons secondary when editing a certificate
MDL-59740 added the ability to determine if a submit button should
be primary, or not.
2017-12-03 14:36:57 +08:00
Mark Nelson
528daad08c #35 Reworded 'addcertpage' string and changed button to a link
Also added an icon next to the link and moved the location via CSS.
2017-12-03 14:36:53 +08:00
Mark Nelson
5d1dd37972 #35 Reworded 'deletecertpage' string and added icon 2017-12-03 14:36:47 +08:00
Mark Nelson
69405ced78 #35 Moved 'Add element' submit button 2017-12-03 14:36:40 +08:00
Mark Nelson
937cf3ad81 #123 Change reference to old column name 2017-12-03 14:35:45 +08:00
Mark Nelson
254fdd4017 #123 Renamed column to avoid breaking Oracle
The word 'size' is a reserved word in Oracle.
2017-12-03 14:35:07 +08:00
Mark Nelson
3b61d1ffa8 #117 Do not process image if 'No image' selected 2017-12-03 14:33:28 +08:00
Mark Nelson
b18f4347cb #116 Re-added previous date formats that no longer exist 2017-12-03 14:32:01 +08:00
Mark Nelson
1015ffa46d #85 Added new capability for viewing the course report 2017-12-03 14:29:32 +08:00
Mark Nelson
a17bb41307 #30 Add more date formats 2017-12-03 14:04:41 +08:00
Mark Nelson
84610ea418 #30 Add the course start and end dates as options 2017-12-03 14:04:35 +08:00
Mark Nelson
8499527489 Bumped version 2017-06-01 10:11:54 +08:00