Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
# Changelog
2
 
3
All notable changes to this project will be documented in this file.
4
 
5
Note - All hash comments refer to the issue number. Eg. #169 refers to https://github.com/mdjnelson/moodle-mod_customcert/issues/169.
6
 
7
## [4.2.5] - 2024-XX-YY
8
 
9
### Fixed
10
 
11
- Fixed issue when restoring `date`, `daterange`, `gradeitemname` and `grade` that have been linked to a manual grade item (#582).
12
- Removed unnecessary set_context() call causing a PHP notice to be shown (#443).
13
- Ensure we use $CFG->emailfromvia setting (#471).
14
 
15
### Changed
16
 
17
- The downloaded issue report can now be ordered by date sanely (#602).
18
 
19
### Added
20
 
21
- Added ability to download all certificates in the report as a teacher and bulk download all site certificates as an administrator (#205).
22
 
23
## [4.2.4] - 2024-02-08
24
 
25
### Fixed
26
 
27
- Do not make index unique (#601).
28
 
29
## [4.2.3] - 2024-01-31
30
 
31
### Fixed
32
 
33
- Stopped PHP notice caused by the email certificate task (#443).
34
- Fixed undefined external_format_error in the mobile app (#565).
35
- Fixed being unable to reposition the course field element if it is empty (#579).
36
- Fixed incorrect name of mustache variable in email_certificate_html.mustache (#574).
37
- Fixed passing incorrect course module id value to \mod_customcert\output\email_certificate (#574).
38
- Delete the pages after deleting the elements otherwise it was breaking in element_deleted::create_from_element() (#571).
39
- Do not also show the 'My certificates' profile link when the user can not view the content of that page (#585).
40
- Added missing foreign key relationship for 'userid' in the 'customcert_issues' table (#537).
41
- Handle missing gradeitems as gracefully as possible, so we don't break the email task (#592).
42
- Fixed logic breaking the generation of the QR code URL (#545).
43
- Do not allow non-editing teachers to manage the certificate (#515).
44
- Ensure the 'verifyany' column length is valid on all sites (#597).
45
- Fixed events being triggered incorrectly (#570).
46
 
47
### Added
48
 
49
- Added the unique index 'userid-customcertid' to the 'customcert_issues' table (#537).
50
- Added events on the reposition element page (#599).
51
 
52
## [4.2.2] - 2023-06-08
53
 
54
### Fixed
55
 
56
- Fix TCPDF error when viewing an example PDF from the manage templates page (#558).
57
- Fix images not displaying on the reposition element page (#562).
58
 
59
### Added
60
 
61
- Added new events (#518).
62
  - An event for when an element is created.
63
  - An event for when an element is updated.
64
  - An event for when an element is deleted.
65
  - An event for when a page is created.
66
  - An event for when a page is updated.
67
  - An event for when a page is deleted.
68
  - An event for when a template is created.
69
  - An event for when a template is updated.
70
  - An event for when a template is deleted.
71
 
72
## [4.2.1] - 2023-05-30
73
 
74
### Fixed
75
 
76
- Fix course settings error on single activity format (#544).
77
- Remove debugging message caused by the user field element listing the Skype field (#478).
78
- Fix deprecated usage of rendering primary buttons (#555).
79
- Fix usage of deprecated `cron_setup_user` function (#547).
80
- Fix broken webservice functions used by the mobile app.
81
 
82
## [4.0.3] - 2023-02-07
83
 
84
### Added
85
 
86
- You can now optionally force the language of a certificate (#532).
87
 
88
## [4.0.2] - 2023-01-26
89
 
90
### Fixed
91
 
92
- Fix problem repositioning elements (#500).
93
 
94
## [4.0.1] - 2022-11-07
95
 
96
### Fixed
97
 
98
- Fix problem repositioning elements (#513).
99
- Fixed title and description shown twice (#521).
100
 
101
## [3.11.2] - 2022-11-07
102
 
103
### Fixed
104
- Fix places not using the multi-language filter (#433).
105
- Fix user IDs in the issue table not being mapped during restore (#449).
106
- Fix emails displaying HTML entities encoded (#457).
107
- Fix error message when we have custom profile fields (#465).
108
- Respect multiple languages in manage template page title (#467).
109
- Add field exist check for alignment field in upgrade script to prevent upgrades from dying.
110
- Stop using deprecated pipe coreToLocaleString.
111
 
112
### Changed
113
- User breadcrumbs on the my_certificates.php page changes when a course is specified (#469).
114
 
115
### Added
116
- You can now choose the course short or full name to display (#415).
117
- You can now select the alignment for all text elements (#121).
118
- Ability to add a relative date (#389).
119
 
120
## [3.11.1] - 2021-06-13
121
 
122
### Fixed
123
- Usage of deprecated functions (#423)
124
 
125
## [3.10.1] - 2021-06-13
126
 
127
### Added
128
- Usage of github actions (#407).
129
- The ability to show the description on the course page (#406).
130
- The ability to choose how to deliver the certificate (#401).
131
 
132
### Fixed
133
- Managers are now able to download their students' certificates (#412).
134
- Users being able to view the certificate before the required time set (#403).
135
- Fixed the issue with displaying PDF when debugging is ON (#420).
136
- Using incorrect context when sending emails (#402).
137
- Use `cron_setup_user` when sending emails (#414).
138
 
139
## [3.8.5] - 2020-11-26
140
 
141
### Added
142
 
143
- Added ability to select outcomes in the Grade element (#329).
144
- The Grade Item Name element now works with all grade items, whereas before it was just activities (#346).
145
- Added enrolment start and end dates to the date element (#328).
146
- Added username to userfield form element (#390).
147
 
148
### Changed
149
 
150
- Removed unnecessary and confusing 'exampledata' string.
151
- Do not email those who can manage the certificate (#376).
152
- Do not force the PDF to be downloaded, instead send the file inline to the browser (#153).
153
- Updated the 'emailstudents_help', 'emailteachers_help' and 'emailothers_help' strings to warn users about prematurely emailing the certificate (#276).
154
- Do not email out certificates that contain no elements (#276).
155
 
156
### Fixed
157
 
158
- Certificates now get marked as viewed via the mobile app (#342).
159
- Custom fields not displaying properly (#359).
160
- Fix repositioning elements page when resizing the browser (#343).
161
- Prevent error when duplicate issues exist when using the code element (#363).
162
- Implemented get_objectid_mapping for the course_module_viewed.php event to avoid warning (#374).
163
- Fixed exception being thrown when loading a template that has an image element but no image selected (#369).
164
- Fixed issue with PDF being generated without a name (#333).
165
 
166
## [3.8.4] - 2020-03-12
167
 
168
### Added
169
 
170
- Added extra Behat steps for new elements (#309).
171
 
172
### Changed
173
 
174
- When copying a site template the site images are also copied to the course context and then those copied images are used.
175
  Before, the elements would simply point to the site images. However, this meant when performing a backup/restore the
176
  images were not stored in the backup file (#298).
177
 
178
### Fixed
179
 
180
- Fixed the displaying of names of a custom user field (#326).
181
- Do not allow '0' as a value for width or height in QR code (#321).
182
 
183
## [3.8.3] - 2020-03-09
184
 
185
### Fixed
186
 
187
- Fixed foreign key violation (#331).
188
 
189
## [3.8.2] - 2019-12-16
190
 
191
### Added
192
 
193
- Added subplugins.json file (#312).
194
- Re-added 'code' column to user report (#264).
195
- Add 'userfullname' variable for email subject (#316).
196
 
197
### Fixed
198
 
199
- Do not fail if multiple certificate issues (#304) and (#295).
200
 
201
## [3.7.1] - 2019-06-17
202
 
203
### Added
204
 
205
- Added new custom course field element (#274).
206
- Added ability to specify the current date for date related elements (#289).
207
 
208
### Changed
209
 
210
- String improvements for the 'Date range' element.
211
 
212
### Fixed
213
 
214
- Use negative numbers for constants in the 'Date range' element. The reason being that we may have a module
215
  that has an id matching one of these positive values. Sites which are using the 'Date range' element (sites
216
  which are **not** using this element do **not** have to do anything) will need to re-edit each element, select
217
  the date item again and save. An upgrade step was not created because it is impossible to tell if the site does
218
  actually want the constant or if they actually want the date for the module.
219
 
220
## [3.6.2] - 2019-05-28
221
 
222
### Changed
223
 
224
- Always send emails from the 'noreplyuser' (#165).
225
 
226
### Added
227
 
228
- Added QR code element (#146).
229
- Added Date range element (#185).
230
- Added the number of certificates issued above the report (#266).
231
- Added new capability to control who can be issued a certificate (#270).
232
 
233
### Fixed
234
 
235
- Failures when running unit tests for multiple activities (#282).
236
- Check that a certificate is valid before downloading on 'My certificates' page (#269).
237
 
238
## [3.6.1] - 2018-12-31
239
 
240
### Changed
241
 
242
- Make it clear what element values are just an example when previewing the PDF (#144).
243
 
244
### Fixed
245
 
246
- Missing implementation for privacy provider (#260).
247
- Use course module context when calling format_string/text (#200).
248
- Exception being thrown when adding the 'teachername' element to site template (#261).
249
 
250
## [3.5.5] - 2018-12-20
251
### Added
252
 
253
- GDPR: Add support for removal of users from a context (see MDL-62560) (#252).
254
- Images can be made transparent (#186).
255
- Set default values of activity instance settings (#180).
256
- Allow element plugins to control if they can be added to a certificate (#225).
257
- Allow element plugins to have their own admin settings (#213).
258
- Added plaintext language variants for email bodies (#231).
259
- Added possibility to selectively disable activity instance settings (#179).
260
 
261
### Changed
262
 
263
- Allow verification of deleted users (#159).
264
- The 'element' field in the 'customcert_elements' table has been changed from a Text field to varchar(255) (#241).
265
- The 'Completion date' option in the 'date' element is only displayed when completion is enabled (#160).
266
- Instead of assuming 2 decimal points for percentages, we now make use of the decimal value setting, which the
267
  function `grade_format_gradevalue` does by default if no decimal value is passed.
268
 
269
### Fixed
270
 
271
- Issue with scales not displaying correctly (#242).
272
- The report now respects the setting 'Show user identity' (#224).
273
- Removed incorrect course reset logic (#223).
274
- Description strings referring to the wrong setting (#254).
275
 
276
## [3.5.4] - 2018-07-13
277
### Fixed
278
 
279
- Use custom fonts if present (#211).
280
- Fix broken SQL on Oracle in the email certificate task (#187).
281
- Fixed exception when clicking 'Add page' when template has not been saved (#154).
282
- Only email teachers who are enrolled within the course (#176).
283
- Only display teachers who are enrolled within the course in the dropdown (#171).
284
 
285
### Changed
286
 
287
- Multiple UX improvements to both the browser and mobile views (#207).
288
  - One big change here is combining the report and activity view page into one.
289
- Allow short dates with leading zeros (#210).
290
 
291
## [3.5.3] - 2018-06-26
292
### Fixed
293
 
294
- Respect filters in the 'My certificates' and 'Verify certificate' pages (#197).
295
- Fixed reference to 'mod/certificate' capability.
296
 
297
### Changed
298
 
299
- Multiple UX improvements to both the browser and mobile views (#203).
300
 
301
## [3.5.2] - 2018-06-07
302
### Fixed
303
 
304
- Hotfix to prevent misalignment of 'text' elements after last release (#196).
305
 
306
## [3.5.1] - 2018-06-06
307
### Added
308
- Mobile app support (#70).
309
```
310
    This allows students to view the activity and download
311
    their certificate. It also allows teachers to view the
312
    list of issued certificates, with the ability to revoke
313
    any.
314
 
315
    This is for the soon-to-be released Moodle Mobile v3.5.0
316
    (not to be confused with your Moodle site version) and
317
    will not work on Mobile versions earlier than this.
318
 
319
    If you are running a Moodle site on version 3.4 or below
320
    you will need to install the local_mobile plugin in order
321
    for this to work.
322
 
323
    If you are running a Moodle site on version 3.0 or below
324
    then you will need to upgrade.
325
```
326
- More font sizes (#148).
327
- Added new download icon.
328
```
329
    This was done because the core 'import' icon was mapped
330
    to the Font Awesome icon 'fa-level-up' which did not look
331
    appropriate. So, a new icon was added and that was mapped
332
    to the 'fa-download' icon.
333
```
334
### Fixed
335
- No longer display the 'action' column and user picture URL when downloading the user report (#192).
336
- Elements no longer ignore filters (#170).
337
 
338
## [3.4.1] - 2018-05-17
339
### Added
340
- GDPR Compliance (#189).
341
 
342
### Fixed
343
- Race condition on certificate issues in scheduled task (#173).
344
- Ensure we backup the 'verifyany' setting (#169).
345
- Fixed encoding content links used by restore (#166).
346
 
347
## [3.3.9] - 2017-11-13
348
### Added
349
- Added capability ```mod/customcert:verifyallcertificates``` that provides a user with the ability to verify any certificate
350
  on the site by simply visiting the ```mod/customcert/verify_certificate.php``` page, rather than having to go to the
351
  verification link for each certificate.
352
- Added site setting ```customcert/verifyallcertificates``` which when enabled allows any person (including users not logged in)
353
  to be able to verify any certificate on the site, rather than having to go to the verification link for each certificate.
354
  However, this only applies to certificates where ```Allow anyone to verify a certificate``` has been set to ```Yes``` in the
355
  certificate settings.
356
- You can now display the grade and date of all grade items, not just the course and course activities.
357
- Text has been added above the ```My certificates``` list to explain that it contains certificates that have been issued to
358
  avoid confusion as to why certificates may not be appearing.
359
 
360
### Changed
361
- The course full name is now used in emails.
362
 
363
### Fixed
364
- Added missing string used in course reset.
365
 
366
## [3.3.8] - 2017-09-04
367
### Added
368
- New digital signature element (uses existing functionality in the TCPDF library).
369
- Ability to duplicate site templates via the manage templates page.
370
- Ability to delete issued certificates for individual users on the course report page.
371
 
372
### Changed
373
- Removed usage of magic getter and abuse of ```$this->element```. The variable ```$this->element``` will still be
374
  accessible by any third-party element plugins, though this is discouraged and the appropriate ```get_xxx()```
375
  method should be used instead. Using ```$this->element``` in ```definition_after_data()``` will no longer work.
376
  Please explicitly set the value of any custom fields you have in the form.
377
 
378
### Fixed
379
- Added missing ```confirm_sesskey()``` checks.
380
- Minor bug fixes.
381
 
382
## [3.3.7] - 2017-08-11
383
### Added
384
- Added much needed Behat test coverage.
385
 
386
### Changed
387
- Minor language string changes.
388
- Made changes to the UI when editing a certificate.
389
  - Moved the 'Add element' submit button below the list of elements.
390
  - Added icon next to the 'Delete page' link.
391
  - Changed the 'Add page' button to a link, added an icon and moved it's location to the right.
392
  - Do not make all submit buttons primary. MDL-59740 needs to be applied to your Moodle install in order to notice the change.
393
 
394
### Fixed
395
- Issue where the date an activity was graded was not displaying at all.
396
 
397
## [3.3.6] - 2017-08-05
398
### Changed
399
- Renamed the column 'size' in the table 'customcert_elements' to 'fontsize' due to 'size' being a reserved word in Oracle.