6ac6ba53c1
Current status
2022-09-07 13:54:03 +00:00
Mark Nelson
6e89c1d921
Use instance of moodle_url() in the function notice()
2021-04-05 20:08:25 +08:00
Toni Förster
350b18dda6
Allow managers to download certificates ( #412 )
...
Currently, it is not possible for editing teachers
and managers to download certificates for users because
we only check for $canreceive.
2021-04-02 20:45:42 +08:00
Brendan Heywood
0c89ff9547
PDFs should be inline not attachments #153
2020-11-04 19:03:57 +01:00
Mark Nelson
8358280c6c
Added capability to determine who can receive a certificate ( #270 )
2019-05-28 17:52:52 +08:00
Mark Nelson
4f4a999439
Readded number of certificates issued ( #266 )
2019-04-16 20:54:17 +08:00
Nicolas Roeser
a05996d656
Add vertical spacing after certificate download button
...
Increase the vertical spacing after the single button for downloading
user’s own certificate. This makes the page look better.
2019-02-04 12:06:56 +08:00
Mark Nelson
f3cff401b5
#207 No need to use a table/list when displaying only one issue
2018-07-10 11:13:42 +08:00
Mark Nelson
c395c7dadc
#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-01 20:37:20 +08:00
Mark Nelson
8fbc6a0f13
#203 Added heading to activity view page in browser
2018-06-20 17:03:51 +08:00
Mark Nelson
e7a7f0aef5
#203 Don't display group select on activity view page
2018-06-19 21:37:33 +08:00
Mark Nelson
de2709ae54
#203 Don't show 'Awarded on' date to managers
2018-06-19 21:37:33 +08:00
Mark Nelson
9a32a99f65
#203 Removed 'issued' string and replaced with 'receiveddate'
...
Also renamed 'Received date' to 'Awarded on'.
2018-06-19 21:02:01 +08:00
Mark Nelson
74d0fb363f
#203 Removed confusing 'summaryofissue' string
2018-06-19 19:27:02 +08:00
Mark Nelson
3c6a8b97f3
Added helper function to issue certificates
2018-05-26 18:22:27 +08:00
Mark Nelson
fa69bcc604
#129 Added Behat test coverage
2017-08-11 14:30:33 +08:00
Mark Nelson
052b7b874f
#85 Added new capability for viewing the course report
2017-06-02 16:24:24 +08:00
Mark Nelson
1f219af560
#115 Prevent PDF being polluted with HTML at the EOF
2017-05-31 16:16:15 +08:00
Mark Nelson
72c3b278e3
#48 Added task and settings responsible for emailing certificates
2017-04-26 21:44:33 +08:00
Mark Nelson
f83e3dca58
#83 Removed unnecessary pop-up
2017-03-04 17:59:20 +08:00
Mark Nelson
fdc5bde3d4
#88 Make plugins DB codechecker happy
2017-02-25 11:38:30 +08:00
Mark Nelson
e31236cbf2
#76 Added standard course viewed events
2017-02-16 18:01:05 +08:00
Mark Nelson
5bed5517e6
Fixed reference to a string present in the mod_certificate activity
2017-02-01 14:43:08 +08:00
Mark Nelson
a41c443135
#57 Set the activity as viewed when downloaded
2016-11-29 15:43:19 +08:00
Mark Nelson
c5859e433f
#55 Fixed references to capabilities from mod_certificate
2016-11-29 13:30:16 +08:00
Mark Nelson
43d20c0d1b
Huge refactor
...
1) Every certificate is a template. Before a user would create a certificate then had
the option to save it as a template. This could potentially be chaotic with numerous
users creating templates, making the template system a mess. Now, rather than creating
a certificate first, then saving it as a template, you are always creating a template.
Each template is associated with a context, so depending on where you are creating it
the context is different. This means users in the CONTEXT_MODULE context are creating
a template specific to that module, where as a user creating a template in the
CONTEXT_SYSTEM context would be creating a general template that can be used by others.
This meant we can remove the 'customcert_template_*' db tables. Yay - no duplicated
tables.
2) Created new helper classes and moved functionality there.
3) Moved files to classes/ for autoloading.
4) General tidy up.
2016-02-20 16:35:19 +08:00
Mark Nelson
0483cda501
Fixed access control
2015-03-13 23:37:07 -07:00
Mark Nelson
ba12c4d42b
Fixed group mode
2015-03-13 23:37:06 -07:00
Mark Nelson
a61997b2aa
Check course time using new logging API
2015-03-13 23:37:06 -07:00
Mark Nelson
7a2675e889
Moved internal functions to locallib.php
2015-03-13 23:37:06 -07:00
Mark Nelson
5203d81980
Changed PHPDocs and added date to the copyright to match Moodle coding guidelines
2013-07-22 13:06:18 +08:00
Mark Nelson
59ea1afd75
Removed unnecessary second parameter for the render function
2013-06-06 11:14:06 +08:00
Mark Nelson
60ba77d562
Removed usages of deprecated function
2013-05-28 17:00:07 +08:00
Mark Nelson
a513ba8038
Added functionality to preview the custom certificate
2013-05-17 11:09:22 +08:00
Mark Nelson
d8677842d3
Used the moodle_url class rather than $CFG->wwwroot for links
2013-05-16 13:17:42 +08:00
Mark Nelson
47b79abf6c
Added spacing around '=>'
2013-04-26 16:41:08 +08:00
Mark Nelson
9e36732d5f
Updated package and removed subpackage from PHPDocs
2013-04-26 15:39:59 +08:00
Mark Nelson
7ce63bbca0
Included the TCPDF_COLORS file when viewing a customcert
2013-04-11 18:50:44 +08:00
Mark Nelson
7451ab20ba
Introduced the function responsible for generating the PDF
2013-04-11 16:59:29 +08:00
Mark Nelson
31168708bb
Added a view.php file
2013-04-09 17:31:36 +08:00