Commit graph

327 commits

Author SHA1 Message Date
Mark Nelson
ead842abdd Coding style fixes 2017-12-04 21:27:09 +08:00
Mark Nelson
ad82da2de8 Updated CHANGES.md 2017-11-13 11:04:25 +08:00
Mark Nelson
62a7491c99 #142 Add setting to allow site-wide verification of certificates 2017-11-13 11:02:37 +08:00
Mark Nelson
c6d6394b0d #98 Add ability to display the date and grade for all grade items 2017-11-13 11:00:29 +08:00
Mark Nelson
0ba790b08b #126 Use the course full name in emails 2017-11-11 16:09:42 +08:00
Mark Nelson
289742da00 #140 Add text describing the my certificates list 2017-11-11 16:09:37 +08:00
Mark Nelson
0051a25cc4 Fixed copyright year 2017-09-21 20:35:31 +08:00
Mark Nelson
8823a90ddb #98 Added PHPUnit tests for element helper 2017-09-21 20:35:26 +08:00
Mark Nelson
fdf71fac98 #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-09-21 20:35:20 +08:00
Mark Nelson
1f2a34a92f Removed improper use of self 2017-09-21 20:35:15 +08:00
Mark Nelson
6e27421982 Removed unnecessary line break 2017-09-09 13:27:48 +08:00
Mark Nelson
45409dfe1c #135 Added missing string when performing course reset 2017-09-09 13:22:32 +08:00
Mark Nelson
d6c4843acf Fixed Moodle PHPdoc check complaint 2017-09-05 10:53:15 +08:00
Mark Nelson
2a7b02527e Bumped version 2017-09-04 19:21:29 +08:00
Mark Nelson
f963358ddf Updated CHANGES.md
Updating details in advance before version bump.

Also minor fixes to previously listed changes.
2017-09-04 19:20:33 +08:00
Mark Nelson
6d02679ad2 #134 Renamed duplicate() function and modified behaviour 2017-09-04 18:52:34 +08:00
Mark Nelson
e6d9b708ed #134 Add ability to duplicate templates 2017-09-03 22:22:17 +08:00
Mark Nelson
5d7921f23f #134 Created class for the manage templates table 2017-09-03 22:22:11 +08:00
Mark Nelson
6afd9555c4 #134 Do not load templates in site templates 2017-09-03 22:22:05 +08:00
Mark Nelson
4232b1da86 #119 Add ability to delete issued certificates 2017-09-03 22:22:00 +08:00
Mark Nelson
a7b14ab48d Added missing confirm_sesskey() checks 2017-09-03 22:21:50 +08:00
Mark Nelson
e087567b03 #46 Added digital signature element 2017-08-28 22:37:29 +08:00
Mark Nelson
309815eb7c Fixed exception being thrown when deleted image is selected 2017-08-27 16:31:41 +08:00
Mark Nelson
762e56b680 Add ability to set the width and height even if no image is selected 2017-08-27 16:31:36 +08:00
Mark Nelson
e406bb48c7 Fixed incorrect setting of 'fileid' form element 2017-08-27 16:31:31 +08:00
Mark Nelson
be25ea3637 Added missing element 'pageid' value 2017-08-26 14:28:14 +08:00
Mark Nelson
24974bc5af Removed usage of magic getter and abuse of $this->element 2017-08-26 13:54:28 +08:00
Mark Nelson
327750bb38 Created factory class 2017-08-26 13:54:23 +08:00
Mark Nelson
ae90c7ee4a Moved helper function 2017-08-19 20:45:16 +08:00
Mark Nelson
24f57a7dbc Extend Behat test coverage for loading templates 2017-08-19 20:45:09 +08:00
Mark Nelson
47b7ec2577 Bumped version 2017-08-11 14:59:07 +08:00
Mark Nelson
4a3e2d217d Updated CHANGES.md
Updating details in advance before version bump.
2017-08-11 14:54:02 +08:00
Mark Nelson
61608c56fa #129 Added Behat test coverage 2017-08-11 14:52:10 +08:00
Mark Nelson
1edab7a384 Fixed minor typo in template comment 2017-08-11 14:52:05 +08:00
Mark Nelson
9606e9003d Lang changes
It's not always necessary to specify it is a 'custom' certificate.

Also some other minor improvements.
2017-08-11 14:52:01 +08:00
Mark Nelson
4c26f6c2c3 Fixed codechecker line length complaint 2017-08-11 14:51:55 +08:00
Mark Nelson
533d128be7 #118 Fixed issue with activity dates not displaying 2017-08-08 13:53:11 +08:00
Mark Nelson
72de06f17f Added CHANGES.md 2017-08-08 12:04:01 +08:00
Mark Nelson
11495411e2 #35 Do not right align 'Reposition elements' text 2017-08-08 12:02:43 +08:00
Mark Nelson
edd8734711 Redirect after page deletion to avoid page error when refreshing 2017-08-08 12:02:38 +08:00
Mark Nelson
822b46bf5a #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-08-08 12:02:31 +08:00
Mark Nelson
d70a693137 #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-08-08 12:02:21 +08:00
Mark Nelson
e7dba867ec #35 Reworded 'deletecertpage' string and added icon 2017-08-08 12:02:15 +08:00
Mark Nelson
e41880730a #35 Moved 'Add element' submit button 2017-08-08 12:02:08 +08:00
Mark Nelson
b8bb672d85 #123 Change reference to old column name 2017-08-05 18:04:11 +08:00
Mark Nelson
b85d982674 #123 Renamed column to avoid breaking Oracle
The word 'size' is a reserved word in Oracle.
2017-08-05 16:13:49 +08:00
Mark Nelson
03d6b12628 Bumped version 2017-07-03 12:31:16 +08:00
Mark Nelson
c90a3445e5 #117 Do not process image if 'No image' selected 2017-06-23 13:02:22 +08:00
Mark Nelson
3a142506c7 Bumped version 2017-06-11 14:06:41 +08:00
Mark Nelson
744ac1b42b #116 Re-added previous date formats that no longer exist 2017-06-11 14:05:40 +08:00