Commit graph

440 commits

Author SHA1 Message Date
Dmitrii Metelkin
057cf92f03 Add recurring option to dateranges (#185) 2020-04-17 15:39:55 +02:00
Dmitrii Metelkin
59fe72c7ca Use element name in the preview mode (#185) 2020-04-17 15:39:49 +02:00
Mark Nelson
e0cdcb07b9 Bump date range element version numbers (#185) 2020-04-17 15:39:41 +02:00
Dmitrii Metelkin
d91639e4ed Add date range element (#185) 2020-04-17 15:39:34 +02:00
mwithheld
6d0c4160f7 Do not fail if multiple certificate issues (#304)
Fix another location of this problem.
2020-04-07 13:46:29 +02:00
mwithheld
db81b49608 Do not fail if multiple certificate issues (#295)
Ignore multiple matches for a user-customcert combo in the customcert_issues table.
In our case, the scheduled task died when:
$issueid = $DB->get_field('customcert_issues', 'id', array('userid' => $enroluser->id, 'customcertid' => $customcert->id));
returned 2 rows, which shouldn't happen, but did anyway.

This means in rare circumstances (i.e. the race condition) the user may get multiple certificates (e.g. one via the UI, one by email) but that is better than not getting one at all and the whole job dying.
2020-04-01 15:11:33 +02:00
Mark Nelson
3c3902ab9d Specify OS in travis 2019-05-29 00:19:42 +08:00
Mark Nelson
b1b6af3e65 Bump version 2019-05-28 17:49:23 +08:00
Mark Nelson
aacf541621 Updated CHANGES.md 2019-05-28 17:49:23 +08:00
Mark Nelson
4f583679d0 Check that a certificate issue exists (#269) 2019-05-28 14:36:21 +08:00
Mark Nelson
01e427cf57 Make travis happy (#282) 2019-05-28 14:36:15 +08:00
Sagar Ghimire
bb2ed945fa Fix failing test_get_grades (#282) 2019-05-28 14:36:10 +08:00
Mark Nelson
5a7e1ee98d Use openjdk-8-jre-headless instead of oracle-java8 in .travis.yml 2019-05-28 14:36:00 +08:00
Mark Nelson
13ec235c2d Readded number of certificates issued (#266) 2019-05-28 14:35:55 +08:00
Mark Nelson
d42cbc9a16 Removed unnecessary inclusion 2019-05-28 14:35:51 +08:00
Mark Nelson
f91a54ebc9 Specify grades' decimal places in unit test (#277) 2019-05-28 14:35:46 +08:00
Mark Nelson
fc0fb240fd Always send emails from 'noreplyuser' (#165) 2019-05-28 14:35:41 +08:00
Mark Nelson
92e0029623 Incorrect PHPDocs for render_form_elements and co (#271) 2019-05-28 14:35:30 +08:00
Nicolas Roeser
322abdbba3 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 14:46:46 +08:00
Mark Nelson
59f9bfcc78 Bumped version 2018-12-31 10:45:22 +08:00
Mark Nelson
577a997960 Updated CHANGES.md 2018-12-31 10:44:01 +08:00
Mark Nelson
1b756fbd5b Make it clear what element values are just an example (#144) 2018-12-31 10:16:58 +08:00
Mark Nelson
d12e752d1a Use course module context when calling format_string/text (#200) 2018-12-28 15:09:40 +08:00
Mark Nelson
961a3f02f0 Prevent exception when adding 'teachername' element to site template (#261) 2018-12-27 09:08:31 +08:00
Mark Nelson
9f844368fd Added missing details to CHANGES.md 2018-12-27 07:42:37 +08:00
Mark Nelson
a3f159dfaf Added missing implementation for privacy provider (#260) 2018-12-27 07:42:32 +08:00
Mark Nelson
ed2eccd430 Bumped version 2018-12-24 15:19:57 +08:00
Mark Nelson
7ebb5b0ab5 Updated CHANGES.md 2018-12-20 12:32:51 +08:00
Mark Nelson
13ddab941f Add ability to set transparency on images (#186) 2018-12-20 09:16:31 +08:00
Mark Nelson
9e9192c7fc Fixed issue when scales are used (#242)
The grade item's type was being hard-coded to
GRADE_TYPE_VALUE when this isn't always the
case.
2018-12-19 14:37:06 +08:00
Mark Nelson
32338c9aa7 Make use of the decimal value setting
We should use this instead of our own logic.
2018-12-19 14:19:27 +08:00
Mark Nelson
2bfb6b53e0 Allow verification of deleted users (#159) 2018-12-18 11:25:25 +08:00
Mark Nelson
5182ab60e2 Report now respects the setting 'Show user identity' (#224) 2018-12-18 09:43:43 +08:00
Mark Nelson
a55b253cff Fixed logic so site templates work as expected (#160) 2018-12-17 16:41:21 +08:00
Mark Nelson
cf93b540d6 Hide completion date option if not applicable (#160) 2018-12-17 16:28:16 +08:00
mwithheld
97e44d3d1d Move creating the temp directory out of the emailing for loop (#238) 2018-12-17 15:23:50 +08:00
Mark Nelson
9834d7f4b8 Removed boolean return and added a comment (#237) 2018-12-17 14:13:15 +08:00
mwithheld
255743f9e0 Reduce code nesting level in task (#237)
Make the code easier to read and understand
2018-12-17 14:10:30 +08:00
Mark Nelson
988af1c457 Change field 'element' to character rather than text (#241) 2018-12-17 12:36:37 +08:00
Aaron Parker
76a20a80e0 Added plaintext lang variants for email bodies and updated template (#230) 2018-12-17 11:00:51 +08:00
james-cnz
ff02ba71aa Matched up prevent x description strings (#254)
The description strings for the settings prevent copy, prevent print, and prevent modify were mixed up when added with:
#180 Add possibility to set default values of activity instance
2018-12-17 10:51:58 +08:00
Sara Arjona
7ae3101ea1 #252 Privacy API update
Add support to get_users_in_context and delete_data_for_users methods
added since 3.4.6 and 3.5.3 and 3.6.
2018-12-17 10:13:15 +08:00
Mark Nelson
2ebb734145 Changed reference to moodlerooms (#251) 2018-12-17 09:48:33 +08:00
Marina Glancy
e6d74ec047 Updated travis (#251)
Bring the travis.yml up to date with https://github.com/blackboard-open-source/moodle-plugin-ci/blob/master/.travis.dist.yml
use grunt to validate js and css
add validation of mustache, savepoints, allow javascript behat tests
2018-12-17 09:47:50 +08:00
Mark Nelson
c8939ae526 #225 Renamed static function 2018-08-23 20:37:32 +08:00
Alexander Bias
fcaf1fefd5 #225 Allow element plugins to control if they can be added 2018-08-23 20:15:52 +08:00
Mark Nelson
706912c52f Revert version bump until release 2018-08-07 11:47:36 +08:00
Mark Nelson
7de488d638 #223 Removed incorrect course reset logic 2018-08-06 20:32:15 +08:00
Dmitrii Metelkin
804b0ec359 Add tests to support new permissions and default activity options 2018-08-06 18:44:58 +08:00
Dmitrii Metelkin
d169b6958c #179 Don't display form elements if a user doesn't have capabilities 2018-08-06 18:44:58 +08:00