Commit graph

90 commits

Author SHA1 Message Date
mwithheld
3bed3b83ae Move creating the temp directory out of the emailing for loop (#238) 2018-12-17 15:44:31 +08:00
Mark Nelson
0771ec8a4b Removed boolean return and added a comment (#237) 2018-12-17 15:15:55 +08:00
mwithheld
149e3cfc6c Reduce code nesting level in task (#237)
Make the code easier to read and understand
2018-12-17 15:15:50 +08:00
Aaron Parker
93b00b27b4 Added plaintext lang variants for email bodies and updated template (#230) 2018-12-17 11:02:37 +08:00
Sara Arjona
c8ab936b34 #252 Privacy API update
Add support to get_users_in_context and delete_data_for_users methods
added since 3.4.6 and 3.5.3 and 3.6.
2018-12-17 10:15:40 +08:00
Mark Nelson
17934659b6 #225 Renamed static function 2018-12-17 10:04:07 +08:00
Alexander Bias
e9ed3b28c7 #225 Allow element plugins to control if they can be added 2018-12-17 10:04:02 +08:00
Dmitrii Metelkin
2731008401 #213 Allow element plugins to have admin settings 2018-08-04 13:53:09 +08:00
Tristan Mackay
ed24576728 #176 Only get users details who are enrolled within the course 2018-07-13 20:52:38 +08:00
Mark Nelson
83f337f5c4 #154 Don't display 'Add page' link for unsaved templates 2018-07-13 20:52:18 +08:00
Mark Nelson
7e9414313e #187 Fix broken SQL on Oracle 2018-07-13 20:52:13 +08:00
Mark Nelson
7b35bcee9e #211 Use custom fonts if present 2018-07-13 20:52:09 +08:00
Mark Nelson
b928fd33a7 #207 Changed download button between managers and non-managers on mobile
Also minor changes to 'notissued' string and fixed reference to
non-existent string 'notissuedyet'.
2018-07-13 20:52:02 +08:00
Mark Nelson
520d6a2a5d #207 No need to use a table/list when displaying only one issue 2018-07-13 20:51:52 +08:00
Mark Nelson
2736eceb6a #207 Follow-up UX improvements
The majority of this change involved moving
the report page logic into the view page for
both browser and mobile.
2018-07-13 20:51:36 +08:00
Mark Nelson
9d27015a5f #203 Removed 'code' column
Not all certificates contain a 'code' element,
making this column unnecessary. It may also
confuse users when it is not applicable. For
those who are interested they can always use
the 'verify' functionality to confirm
certificates, rather than using this page.
2018-06-26 19:28:29 +08:00
Mark Nelson
75a9357dd1 #203 Don't display group select on activity view page 2018-06-26 17:00:15 +08:00
Mark Nelson
5b56acad9b #203 Don't show 'Awarded on' date to managers 2018-06-26 17:00:15 +08:00
Mark Nelson
9f4492e7e9 Fixed reference to 'mod/certificate' capability 2018-06-26 17:00:15 +08:00
Mark Nelson
fab998e07d #197 Respect filters in 'My certificates' and 'Verify certificate' pages 2018-06-26 17:00:15 +08:00
Mark Nelson
2fa7191d12 #70 Added mobile app support
This allows students to view the activity and download
their certificate. It also allows teachers to view the
list of issued certificates, with the ability to revoke
any.

This is for Moodle Mobile v3.5.0 (not to be confused with
your Moodle site version) and will not work on Mobile
versions earlier than this.

If you are running a Moodle site on version 3.4 or below
you will need to install the local_mobile plugin in order
for this to work.

If you are running a Moodle site on version 3.0 or below
then you will need to upgrade.
2018-06-07 12:26:57 +08:00
Mark Nelson
c80fee36ec Fixed typo in PHPDoc 2018-06-07 12:23:19 +08:00
Roberto Pinna
b93a12a74f #192 Fixed report fields for download 2018-05-26 18:34:12 +08:00
Mark Nelson
45494e3586 Fixed PHPDoc 2018-05-26 18:34:06 +08:00
Mark Nelson
adb17cf61e Added helper function to issue certificates 2018-05-26 18:33:47 +08:00
Mark Nelson
f28c2324e2 Changed icon for downloading certificate from reports
This was done because the core 'import' icon was mapped
to the Font Awesome icon 'fa-level-up' which did not look
appropriate.
2018-05-26 18:33:32 +08:00
Mark Nelson
f7732690ab #148 Increase size limit on fonts 2018-05-17 19:49:27 +08:00
Mark Nelson
1e977bbf31 #189 Implemented privacy provider for GDPR compliance 2018-05-15 18:21:13 +08:00
Eugene Venter
78931854ee #173 Fix race condition on certificate issues in scheduled task 2018-05-14 19:30:28 +08:00
Mark Nelson
981fd1828c #98 Add ability to display the date and grade for all grade items 2017-11-11 21:00:23 +08:00
Mark Nelson
759df979c8 #126 Use the course full name in emails 2017-11-11 15:30:19 +08:00
Mark Nelson
cbfe09f60a Fixed copyright year 2017-09-12 22:59:46 +08:00
Mark Nelson
cc22ebbac2 #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-12 21:54:38 +08:00
Mark Nelson
e2a814a315 Removed unnecessary line break 2017-09-09 13:26:25 +08:00
Mark Nelson
531cb0aefe #134 Renamed duplicate() function and modified behaviour 2017-09-04 18:50:28 +08:00
Mark Nelson
909d376b95 #134 Add ability to duplicate templates 2017-09-03 22:14:37 +08:00
Mark Nelson
a211f97931 #134 Created class for the manage templates table 2017-09-03 18:28:00 +08:00
Mark Nelson
f8d7781158 #119 Add ability to delete issued certificates 2017-09-03 17:24:37 +08:00
Mark Nelson
2d1bc8a70c Added missing confirm_sesskey() checks 2017-09-02 14:28:02 +08:00
Mark Nelson
2b2c16d3df #46 Added digital signature element 2017-08-28 22:35:53 +08:00
Mark Nelson
2b79d6c58b Added missing element 'pageid' value 2017-08-26 14:27:22 +08:00
Mark Nelson
5c1f1aa812 Removed usage of magic getter and abuse of $this->element 2017-08-26 13:39:51 +08:00
Mark Nelson
fedfe95080 Created factory class 2017-08-26 13:35:43 +08:00
Mark Nelson
3120130437 Moved helper function 2017-08-19 20:09:19 +08:00
Mark Nelson
fa69bcc604 #129 Added Behat test coverage 2017-08-11 14:30:33 +08:00
Mark Nelson
a165092d7d Fixed codechecker line length complaint 2017-08-09 12:27:24 +08:00
Mark Nelson
3c7c32e619 #35 Do not right align 'Reposition elements' text 2017-08-08 11:10:59 +08:00
Mark Nelson
1bb5ad0409 #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-07 17:47:52 +08:00
Mark Nelson
971a3fdbfe #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-07 17:08:17 +08:00
Mark Nelson
b626e4fd43 #35 Reworded 'deletecertpage' string and added icon 2017-08-07 17:05:13 +08:00