Commit graph

14 commits

Author SHA1 Message Date
967571cd14 Replaced plugin name and some logic 2021-11-24 08:29:43 +01:00
Mark Nelson
8358280c6c Added capability to determine who can receive a certificate (#270) 2019-05-28 17:52:52 +08:00
Dmitrii Metelkin
13ab862856 #179 Add possibility to selectively disable activity instance settings 2018-08-04 12:52:15 +08:00
Mark Nelson
65179d6b8b #142 Add setting to allow site-wide verification of certificates 2017-11-12 21:29:31 +08:00
Mark Nelson
052b7b874f #85 Added new capability for viewing the course report 2017-06-02 16:24:24 +08:00
Mark Nelson
ca08fe954a #51 Added ability to verify certificates 2017-02-02 11:49:21 +08:00
Mark Nelson
7e6fa8103f Fixed the context level for 'mod/customcert:manage' in db/access.php 2017-02-01 17:39:27 +08:00
Mark Nelson
04510e2627 #44 Added page to view all certificates for a user 2016-12-30 13:40:56 +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
14cc24e540 Changed 'captype' for customcert:manage cap 2015-12-11 13:19:21 +08: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
9e36732d5f Updated package and removed subpackage from PHPDocs 2013-04-26 15:39:59 +08:00
Mark Nelson
9d0eb727e5 Introduced customisable elements to the customcert
Elements are sub-plugins that have the same abilities as a core plugin, such as creating tables, capabilities and performing upgrades.

Currently elements can define -

* What additional form elements are rendered when adding the element to the customcert customisation page.
* How the data from the additional form elements is validated and saved.
* How the element is rendered on the PDF.
* How the element handles removing data when it is deleted.
2013-02-21 18:23:11 +08:00
Mark Nelson
2b8403438f Module will install successfully with limited functionality
The module will add tables to the DB on install, you can then add/edit instances and add/edit pages to these instances.
2013-02-18 11:48:16 +08:00