Commit graph

20463 commits

Author SHA1 Message Date
Shamim Rezaie
95ae74a7bc MDL-58768 calendar: Add $requestinguser to the container class
The requesting user is not always the same as the current user. The container class now allows a different user
to be set as the requesting user. All capability checks are done against the requesting user.

Also, the $requestinguser is passed to core_calendar_provide_event_action and core_calendar_is_event_visible
callback functions. These callback functions need to be updated in all activity modules to accept a $user parameter.
2018-07-28 07:51:32 +10:00
Johnny Tsheke
155bf1dd2f MDL-62344 mod_label: ID number feature support 2018-07-27 06:03:24 -04:00
Mark Nelson
1b722e3c31 MDL-62977 mod_wiki: style buttons appropriately 2018-07-27 10:46:35 +08:00
Dan Marsden
7c75e02730 MDL-58015 mod_scorm: set orgidentifier correctly for popup. 2018-07-27 10:36:09 +12:00
Vadim Tabunshchik
d5f47f8f39 MDL-62871 quiz: incorrect foreign key declaration 2018-07-26 11:36:43 +02:00
Eloy Lafuente (stronk7)
e270bf92a1 Merge branch 'MDL-62771-master_move_plag_disclosure' of https://github.com/jmcgettrick/moodle 2018-07-26 00:34:37 +02:00
Damyon Wiese
3412b12c22 MDL-61041 assign: Remove assignment 2.2 upgrader 2018-07-25 14:11:10 +08:00
Tony Butler
9ed5b0c1f6 MDL-59611 mod_assign: Move help icons for subplugin types out of labels 2018-07-25 12:23:08 +08:00
Cory Buecker
520c5e080b MDL-62969 mod_lti: fix parsed value for LtiLink.memberships.url
Fixes a typo in the function that replaces the LTI placeholder variable
LtiLink.memberships.url with the actual endpoint. Without this change,
the placeholder variable, "$LtiLink.memberships.url" is not replaced in
the LTI launch parameters.
2018-07-25 11:59:36 +08:00
Eloy Lafuente (stronk7)
193a3aa9d7 Merge branch 'MDL-62961_master' of git://github.com/markn86/moodle 2018-07-25 01:24:34 +02:00
cescobedo
605354de50 MDL-53297 core_course: Final deprecation of xxx_delete_course callback 2018-07-24 23:09:47 +02:00
Eloy Lafuente (stronk7)
402d1c538a Merge branch 'MDL-62925_master' of git://github.com/markn86/moodle 2018-07-24 18:31:48 +02:00
Adrian Greeve
3714fe7e6e MDL-57244 general: Remove old class renames. 2018-07-23 15:54:13 +08:00
Mark Nelson
0089fc929e MDL-62961 mod_feedback: style buttons appropriately 2018-07-23 15:47:38 +08:00
Mihail Geshoski
10bd37fabd MDL-54742 general: Remove strings deprecated in 3.2 2018-07-23 14:25:14 +08:00
Jun Pataleta
432e755f2b Merge branch 'MDL-62769' of https://github.com/timhunt/moodle 2018-07-19 08:46:50 +08:00
David Monllao
810f12c25b Merge branch 'MDL-53972-master' of git://github.com/mihailges/moodle 2018-07-19 08:46:48 +08:00
David Monllao
98b5b9d8a5 Merge branch 'MDL-61355' of git://github.com/danmarsden/moodle 2018-07-19 08:46:46 +08:00
Andrew Nicols
affd85ce24 Merge branch 'MDL-53697-master' of git://github.com/abgreeve/moodle 2018-07-17 11:36:44 +08:00
Mark Nelson
94a1861c84 MDL-62925 mod_wiki: style 'Search wikis' button 2018-07-17 11:31:20 +08:00
David Monllao
aa59fb2ea2 Merge branch 'MDL-49025' of https://github.com/NeillM/moodle 2018-07-16 13:34:57 +02:00
David Monllao
011c1a4291 Merge branch 'MDL-61019-master' of https://github.com/lucaboesch/moodle 2018-07-16 13:25:06 +02:00
Mihail Geshoski
98f9db0d63 MDL-53972 feedback: Final deprecation in mod/feedback/lib.php 2018-07-16 14:21:18 +08:00
Neill Magill
650779d609 MDL-49025 assign: Submissions of an empty directory should not save
Before this change if only a folder was submitted the submission_is_empty
check would return true. This meant that the draft area would be saved.
The is_empty check would then be called which would return false. This
caused the submission form to indicate to the user that the submission
had failed.

Now is_empty and submission_is_empty should both return false if only
folders are submitted.
2018-07-13 14:03:42 +01:00
Neill Magill
3ebfab9810 MDL-49025 assign: Test than an empty directory will not submit 2018-07-13 14:03:41 +01:00
Luca Bösch
9004441b7b MDL-61019 Theme boost: lesson display issues with buttons/progress bar. 2018-07-13 09:27:06 +02:00
Luca Bösch
5cb24d2299 MDL-45389 theme_bootstrapbase: Forum index page alignment in clean. 2018-07-13 09:26:47 +02:00
Adrian Greeve
4bebed4011 MDL-53697 mod: Final deprecation of xxx_get_types(). 2018-07-12 10:19:09 +08:00
Christian Lawson-Perfect
7dcbe6a983 MDL-61355 SCORM: fix correct_response prefix check
The regexes to detect the optional prefixes at the start of some
interaction types are constructed to optionally match the prefix, so we
need to ensure that the matched group is really there when trying to
strip it from the given value in CRCheckValueNodes.

also remove "check for prefix" from CRcheckValueNodes

prefixes on correct responses patterns are removed in the section above
by CRremovePrefixes, so this block was redundant.
The `.pre` property for each correct_response is not used anywhere
else, so this removes their definitions too.
2018-07-12 10:44:30 +12:00
David Monllao
2a021ac3a0 Merge branch 'MDL-62618-master' of git://github.com/mickhawkins/moodle 2018-07-11 18:47:57 +02:00
David Monllao
76dbb5884d Merge branch 'MDL-62262-master' of https://github.com/lucaboesch/moodle 2018-07-10 13:30:17 +02:00
David Monllao
58b987282e Merge branch 'MDL-42818-master' of git://github.com/zig-moodle/moodle 2018-07-10 11:31:24 +02:00
David Monllao
cbc67cba73 Merge branch 'MDL-62533-master' of git://github.com/zig-moodle/moodle 2018-07-10 07:37:19 +02:00
Jake Dallimore
793fe5fc4c Merge branch 'MDL-62772-master_always_show_disclosure' of https://github.com/jmcgettrick/moodle 2018-07-10 08:59:34 +08:00
David Monllao
6ce50554ee Merge branch 'MDL-56881-master' of https://github.com/snake/moodle 2018-07-09 14:38:19 +02:00
David Monllao
381bb72153 Merge branch 'MDL-62831-master' of git://github.com/damyon/moodle 2018-07-09 13:36:05 +02:00
John McGettrick
9481cc0e06 MDL-62772 mod_assign: Show disclosure for all submitters 2018-07-09 09:26:38 +01:00
Jake Dallimore
5a8791336a MDL-56881 mod_choice: add unit tests for choice_user_submit_response
Tests cover option limits and multiple option responses.
2018-07-09 11:02:50 +08:00
Jake Dallimore
03577962ef MDL-56881 mod_choice: clarify lang string for limit-reached scenarios 2018-07-09 11:02:50 +08:00
Jake Dallimore
a039751aee MDL-56881 mod_choice: fix bug with limits when saving existing choice
The check determining whether a choice option's limit was exceeded was
including the user's existing answers in its checks, meaning a user
couldn't save an existing choice answer, or select further options,
if all a choice option limit was reached. This patch fixes that.
2018-07-09 11:02:45 +08:00
Luca Bösch
4a73ecc654 MDL-62262 quiz: quiz index page showing wrong dates. 2018-07-06 14:37:07 +02:00
John McGettrick
707dfd0c39 MDL-62771 mod_forum: Reformat for modern coding style 2018-07-06 09:32:14 +01:00
John McGettrick
f3bf0ed5fc MDL-62771 mod_forum: Fix to move print_disclosure 2018-07-06 09:30:34 +01:00
Michael Hawkins
26cee43786 MDL-62618 forum: Made full names displayed consistent 2018-07-05 10:03:18 +08:00
Tim Hunt
0b18d0c960 MDL-62820 question import: properly escape output 2018-07-04 15:40:50 +08:00
Damyon Wiese
166fa40a98 MDL-62782 assign: viewgrades allows files
Grade viewer role should be able to see feedback files for an assignment submission.
2018-07-04 14:17:28 +08:00
Damyon Wiese
e655cbb857 MDL-62831 mod_assign: Download as folders help
The help string for the download as folders setting should not mention the number of files
submitted by the student. It is not related to that, it is only dependant on the value of this setting.
2018-07-04 12:20:24 +08:00
Jake Dallimore
bbaab1bae7 Merge branch 'MDL-44081-master' of git://github.com/zig-moodle/moodle 2018-07-04 10:50:25 +08:00
Eloy Lafuente (stronk7)
a101b25863 Merge branch 'MDL-62288_master' of https://bitbucket.org/ujiapps/moodle-uji 2018-07-04 01:20:08 +02:00
Eloy Lafuente (stronk7)
7fb95a9d2d Merge branch 'MDL-62834' of git://github.com/timhunt/moodle 2018-07-04 00:46:33 +02:00