Commit graph

63 commits

Author SHA1 Message Date
Mark Nelson
1e977bbf31 #189 Implemented privacy provider for GDPR compliance 2018-05-15 18:21:13 +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
759df979c8 #126 Use the course full name in emails 2017-11-11 15:30:19 +08:00
Mark Nelson
750a787214 #140 Add text describing the my certificates list 2017-11-11 14:37:39 +08:00
Mark Nelson
9813efbac5 #135 Added missing string when performing course reset 2017-09-09 13:21:50 +08:00
Mark Nelson
909d376b95 #134 Add ability to duplicate templates 2017-09-03 22:14:37 +08:00
Mark Nelson
f8d7781158 #119 Add ability to delete issued certificates 2017-09-03 17:24:37 +08:00
Mark Nelson
461a05ea69 Lang changes
It's not always necessary to specify it is a 'custom' certificate.

Also some other minor improvements.
2017-08-09 19:15:15 +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
052b7b874f #85 Added new capability for viewing the course report 2017-06-02 16:24:24 +08:00
Mark Nelson
1ac7c1ffb6 #78 Add setting to allow anyone to verify certificates 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
bbc749fa49 #79 Replaced usages of hard-coded strings 2017-02-25 13:49:15 +08:00
Mark Nelson
ca08fe954a #51 Added ability to verify certificates 2017-02-02 11:49:21 +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
7e1dcd3cf7 #71 Added validation for element and template name length 2017-01-31 17:15:49 +08:00
Mark Nelson
a09fc76ef4 #40 Change download certificate string 2017-01-31 11:59:30 +08:00
Mark Nelson
a925687e09 Added missing 'customcert:viewallcertificates' string 2017-01-28 19:49:28 +11:00
Mark Nelson
04510e2627 #44 Added page to view all certificates for a user 2016-12-30 13:40:56 +08:00
Mark Nelson
13fc5dfa4f #41 Add setting to display the position X and Y elements 2016-12-30 13:32:01 +08:00
Mark Nelson
433fd8b43b #49 Allow templates to have the same name 2016-11-29 15:13:01 +08:00
Mark Nelson
62715ab073 #15 Added global search support 2016-08-25 15:13:41 +08:00
Mark Nelson
166e62a2ee #17 Improved reference point location help string 2016-08-22 17:01:57 +08:00
Mark Nelson
a48ef25d32 #21 Changed 'Rearrange' to 'Reposition' for clarity 2016-08-22 15:32:54 +08:00
Mark Nelson
36c55a65ab #22 Described importance of element order 2016-08-22 14:50:30 +08:00
Mark Nelson
ed93542c0c Removed the 'posx' and 'posy' form elements 2016-06-17 15:49:10 +08:00
Mark Nelson
70b47d6de3 Added module help and link 2016-06-14 20:28:39 +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
355de679e8 Added a 'leftmargin' field
Also renamed the 'margin' field to 'rightmargin'
to easily distinguish between the two.
2015-12-11 12:10:45 +08:00
Mark Nelson
3a63a6e00a Minor changes 2015-12-10 11:40:25 +08:00
Mark Nelson
e441b7051b Removed the 'align' property 2015-12-08 18:27:30 +08:00
Mark Nelson
87d1ecfcc7 Removed the 'Download grid' functionality 2015-12-06 16:54:19 +08:00
Mark Nelson
4efbac65ff Fixed typo 2015-08-09 17:48:55 -07:00
Shamim Rezaie
9998fa2b4a Added drag & drop feature to rearrange elements 2015-08-05 14:19:55 -05:00
Shamim Rezaie
039e8bca37 Implemented support for element alignment
Also specifying the reference point location (the
location of the element that's put at posx and
posy) for each element.
2015-08-05 14:19:54 -05:00
Shamim Rezaie
6400e587d8 Added support for having right margin and width limit for each element
In addition to width and height, each page can have an
optional (right) margin attribute. Also, each element
can have an optional width attribute.
2015-08-05 14:16:56 -05:00
Shamim Rezaie
3774a6323c Added ability to modify templates and save them with same name.
An option named "replace" has been added to the same
template form so user can choose to overwrite an existing
template (i.e. modify and save an existing template).
2015-08-05 12:23:51 -05:00
Mark Nelson
91cc331a89 Added index.php file
This file is barely accessed in Moodle, if it all. However, it is
required in order to upload this module to the plugin database as
it is needed to pass validation.
2013-09-09 18:40:32 +08:00
Mark Nelson
4b2692d377 Images can now be saved into either the course or system context 2013-09-09 17:10:37 +08:00
Mark Nelson
9b77e2734e Specified and corrected units of measurement in the language strings 2013-07-26 14:43:34 +08:00
Mark Nelson
8b92d1c307 Removed the orientation field as it is redundant considering the width and height are already specified
Note: I did not create a db/upgrade.php script to remove the database column as this module should not be currently used by anyone.
2013-07-25 18:54:28 +08:00
Mark Nelson
23d611de1b Added ability to print out a grid PDF so that the user knows where to specify the placement of elements 2013-07-25 18:36:43 +08:00
Mark Nelson
cf0bdf7580 Placed long language strings on to two lines 2013-07-25 13:08:17 +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
1527587218 Changed the string 'configure' to 'edit' to conform to Moodle standards 2013-06-21 14:02:49 +08:00
Mark Nelson
fa5d45eef3 Completely refactored the code for editing a custom certificate
The elements for each page are listed in a table below the other page settings, meaning each page has a separate table for listing their elements. Each element is now edited in a pop-up, rather than having all the element settings displayed at once on the form causing it to look overcrowded. There is also no longer any need for the function add_element to add default values for the elements when they are added, as a a form is shown when you click to add an element where you can enter the values before it is created.

Note: I did not create a db/upgrade.php script to add the new database columns as this module should not be currently used by anyone.
2013-06-07 16:04:38 +08:00
Mark Nelson
0dc1ef19c9 Introduced an image element and refactored the code in the process so less code was required in the new element 2013-05-30 17:55:40 +08:00
Mark Nelson
8350c4afbf Introduced basic reporting functionality 2013-05-22 19:37:39 +08:00
Mark Nelson
a513ba8038 Added functionality to preview the custom certificate 2013-05-17 11:09:22 +08:00