Commit graph

16 commits

Author SHA1 Message Date
Jesús Alonso Abad
383054be39 Added elements alignment support (#121) 2021-10-17 20:44:55 +08:00
Mark Nelson
8446a2e10a Add ability to choose how to deliver the certificate (#401) 2021-04-05 16:49:10 +08:00
Mark Nelson
a0bc5ffa04 Avoid use of old array syntax (#331) 2020-03-10 17:29:37 +01:00
Mark Nelson
28975d4625 Fix foreign key violation (#331) 2020-03-09 14:05:21 +01:00
Mark Nelson
988af1c457 Change field 'element' to character rather than text (#241) 2018-12-17 12:36:37 +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
1ac7c1ffb6 #78 Add setting to allow anyone to verify certificates 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
72c3b278e3 #48 Added task and settings responsible for emailing certificates 2017-04-26 21:44:33 +08:00
Mark Nelson
ee3bdf7c18 #71 Increase customcert_templates 'name' column length 2017-01-31 16:54:20 +08:00
Mark Nelson
dfdf7e42fc Added upgrade.php file to keep Moodle's plugin DB happy 2016-03-22 12:38:54 +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
e441b7051b Removed the 'align' property 2015-12-08 18:27:30 +08: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