Commit graph

85 commits

Author SHA1 Message Date
Mark Nelson
e5598e30ea #225 Renamed static function 2018-12-17 10:04:26 +08:00
Alexander Bias
f16434575d #225 Allow element plugins to control if they can be added 2018-12-17 10:04:20 +08:00
Dmitrii Metelkin
f0ab803912 #213 Allow element plugins to have admin settings 2018-08-04 13:53:13 +08:00
Tristan Mackay
f547e4b88c #176 Only get users details who are enrolled within the course 2018-07-13 20:55:52 +08:00
Mark Nelson
6070185a61 #154 Don't display 'Add page' link for unsaved templates 2018-07-13 20:55:32 +08:00
Mark Nelson
7f592e332f #187 Fix broken SQL on Oracle 2018-07-13 20:55:24 +08:00
Mark Nelson
71ea74a0ae #211 Use custom fonts if present 2018-07-13 20:55:19 +08:00
Mark Nelson
70fc4f454d #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:55:10 +08:00
Mark Nelson
622d670f47 #207 No need to use a table/list when displaying only one issue 2018-07-13 20:55:03 +08:00
Mark Nelson
7d2826654d #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:54:53 +08:00
Mark Nelson
ab4f8e1fb3 #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:53:33 +08:00
Mark Nelson
9a0decf45e #203 Don't display group select on activity view page 2018-06-26 17:02:27 +08:00
Mark Nelson
eee14ade58 #203 Don't show 'Awarded on' date to managers 2018-06-26 17:02:27 +08:00
Mark Nelson
f7587a5d22 Fixed reference to 'mod/certificate' capability 2018-06-26 17:02:27 +08:00
Mark Nelson
05b23b5213 #197 Respect filters in 'My certificates' and 'Verify certificate' pages 2018-06-26 17:02:27 +08:00
Mark Nelson
0404785271 #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:42:27 +08:00
Mark Nelson
9352c969ad Fixed typo in PHPDoc 2018-06-07 12:33:16 +08:00
Roberto Pinna
ccc7e9730e #192 Fixed report fields for download 2018-05-26 18:38:47 +08:00
Mark Nelson
237c21db4d Fixed PHPDoc 2018-05-26 18:38:42 +08:00
Mark Nelson
df058698b0 Added helper function to issue certificates 2018-05-26 18:38:32 +08:00
Mark Nelson
06cf83ffe9 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:38:05 +08:00
Mark Nelson
fa67a82dbc #148 Increase size limit on fonts 2018-05-17 19:49:21 +08:00
Mark Nelson
2470709383 #189 Implemented privacy provider for GDPR compliance 2018-05-15 18:29:36 +08:00
Eugene Venter
9f4e1f43b4 #173 Fix race condition on certificate issues in scheduled task 2018-05-14 19:32:06 +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
Mark Nelson
9c589163a2 #35 Moved 'Add element' submit button 2017-08-07 15:07:15 +08:00
Mark Nelson
87ee9f10ce #123 Renamed column to avoid breaking Oracle
The word 'size' is a reserved word in Oracle.
2017-08-05 15:50:08 +08:00
Mark Nelson
d0a0fc5abc #82 Do not assume $COURSE represents the course for the certificate 2017-05-31 16:16:15 +08:00
Mark Nelson
3c937be003 #111 Fixed task creating duplicate rows in issue table 2017-05-21 10:59:38 +08:00
Mark Nelson
7d2664991f #48 Make required time check more robust 2017-04-27 15:18:11 +08:00