Commit graph

90035 commits

Author SHA1 Message Date
Andrew Nicols
9e52f4adc2 Merge branch 'MDL-62889_master' of git://github.com/markn86/moodle 2018-07-17 12:11:34 +08:00
Mark Nelson
b77e5841f8 MDL-62889 message_popup: redirect using moodle_url
Without this relative URLs passed (like /message/index.php)
were being redirected to HOST/message/index.php rather than
$CFG->wwwroot/message/index.php.
2018-07-17 11:54:52 +08:00
Mark Nelson
c5fcbd1081 MDL-62889 message_popup: redirect to notification page if url is empty
If you pass a URL that is not a valid URL (for example
';') it is cleaned to an empty string which redirects to
$CFG->wwwroot/message/output/popup/ which is not a valid
page.
2018-07-17 11:54:52 +08:00
Mark Nelson
7d5b9da80c MDL-62889 message_popup: allow redirects to external URLs
Many institutions create notifications that link to an
external service. We need to allow redirects to these
systems.
2018-07-17 11:44:41 +08:00
Mark Nelson
d2eb1ca91e MDL-62889 message_popup: only add redirecturl if it exists
We allow notifications to have a null value for the 'contexturl'.
In this case we should not be appending a 'redirecturl' param to
the URL when it is going to be empty.
2018-07-17 11:44:41 +08:00
Andrew Nicols
affd85ce24 Merge branch 'MDL-53697-master' of git://github.com/abgreeve/moodle 2018-07-17 11:36:44 +08:00
Andrew Nicols
38036e73c2 Merge branch 'MDL-53808-master' of git://github.com/cescobedo/moodle 2018-07-17 11:34:59 +08:00
Mark Nelson
94a1861c84 MDL-62925 mod_wiki: style 'Search wikis' button 2018-07-17 11:31:20 +08:00
Andrew Nicols
4a91bd6f62 Merge branch 'MDL-62849-master' of git://github.com/abgreeve/moodle 2018-07-17 10:31:29 +08:00
Adrian Greeve
f38766e166 MDL-62849 files lib: Add method to return all files.
Added a function which returns all the files from all directories
in the draftarea.
2018-07-17 10:25:11 +08:00
AMOS bot
e575ad38c8 Automatically generated installer lang files 2018-07-17 00:08:09 +00:00
David Mudrák
3dbda9f846 MDL-60874 enrol_manual: Improve searching of users in quick enrol UI
* The maximum of users to be displayed raised from 30 to 100. This is
  consistent with the legacy users selector available via enrolment
  methods page.
* If there are more users found matching the search criteria, notify the
  user instead of displaying them. This is to prevent false impression
  that there are only that many users.
* Added behat tests for the new behaviour.
2018-07-16 21:27:26 +02:00
David Mudrák
9411beb384 MDL-60874 core_form: allow autocomplete AJAX handlers return a string
Custom AJAX handlers for the form autocomplete fields can now optionally
return string in their processResults() callback. If a string is
returned, it is displayed instead of the list of suggested items.

The string is displayed same way as we inform about no available
suggestions.
2018-07-16 21:27:25 +02:00
sarjona
7fde83584f MDL-60924 core_user: Hold participant filters when clicking some link 2018-07-16 18:03:12 +02:00
David Monllao
c6f64c217d Merge branch 'MDL-52953-master' of git://github.com/abgreeve/moodle 2018-07-16 14:17:56 +02: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
Mark Nelson
c61a4a9d21 MDL-60435 auth_shibboleth: changed accepted image types 2018-07-16 18:31:57 +08:00
Mark Nelson
87647c07fb MDL-60435 auth_shibboleth: dont display button if not configured 2018-07-16 18:31:57 +08:00
Mark Nelson
4826b1e42b MDL-60435 auth_shibboleth: removed usage of deprecated loginhttps 2018-07-16 18:31:57 +08:00
fabmen
c637d96786 MDL-60435 auth_shibboleth: Display IDPs for Authentication Shibboleth.
Using Identity Providers for Authentication Shibboleth, instead of a manual link.
2018-07-16 18:31:52 +08:00
Mihail Geshoski
98f9db0d63 MDL-53972 feedback: Final deprecation in mod/feedback/lib.php 2018-07-16 14:21:18 +08:00
Damyon Wiese
6a621b0ce7 MDL-62807 output: Support .list-unstyled class
Category management lists should not have bullets.

We support this class in "boost" theme but not in bootstrapbase and there are uses of it in core.
2018-07-16 14:03:42 +08:00
Andrew Nicols
bfeef10af0 Merge branch 'MDL-45851' of git://github.com/timhunt/moodle 2018-07-16 13:10:24 +08:00
Jake Dallimore
bdd410a6f4 MDL-54830 core_course: fix maxbytes logic in course_update web service
The service should allow the special value of 0 (site limit) to be set.
2018-07-16 10:41:17 +08:00
Jake Dallimore
fd6d98cc90 MDL-62868 core_group: clear group_grouping cache when changing grouping 2018-07-16 10:34:52 +08:00
Jake Dallimore
c6150f1104 Merge branch 'MDL-45389-master' of https://github.com/lucaboesch/moodle 2018-07-16 10:11:40 +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
Luca Bösch
41a7fec75f MDL-44538 action_menu: rounded corner of highlights only where needed. 2018-07-13 09:26:41 +02:00
Andrew Nicols
df95c479fc MDL-62653 behat: Ensure that tasks run properly from behat 2018-07-13 13:54:42 +08:00
Jake Dallimore
8c51626841 weekly release 3.6dev 2018-07-13 12:26:07 +08:00
Jake Dallimore
856602d992 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2018-07-13 12:26:05 +08:00
Nick Phillips
b6efeb4730 MDL-59447 question: GIFT import to respect multichoice defaults
Fix GIFT import to respect default answernumbering for new multichoice
questions (introduced in MDL-50011). Default for shuffleanswers is still
ignored, as this is a rather coarse-grained way to do it, and the wrong
setting for shuffleanswers would irreversibly alter the meaning of some
questions.

This is not an ideal long-term fix, but will save significant effort
for anyone who needs to be able to set answernumbering style for
questions imported in GIFT format.
2018-07-13 13:33:33 +12: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
c2164bff0d Merge branch 'MDL-47899-master' of https://github.com/lucaboesch/moodle 2018-07-11 12:29:23 +02:00
David Monllao
fd2b5d5c63 MDL-59599 navigation: Respect previous activity-level navigation
The original patch was overwriting grading methods navigation.

All credit goes to Andrew Nicols.
2018-07-11 12:01:08 +02:00
Luca Bösch
aab977e0ce MDL-47899 forms: course search form info list bullet points alignment.
AMOS BEGIN
    MOV [searchhelp,moodle],[coursesearch_help,moodle]
AMOS END
2018-07-11 11:58:14 +02:00
cescobedo
437ffc9f46 MDL-53808 external_api: Remove external_function_info 2018-07-11 11:11:33 +02:00
Adrian Greeve
28d0d12f5f MDL-52953 tool_log: Deprecation of the legacy log store. 2018-07-11 09:45:52 +08:00
Jake Dallimore
98a09721d7 Merge branch 'MDL-62712-master' of https://github.com/HuongNV13/moodle 2018-07-11 09:02:15 +08:00
Andrew Nicols
034e9ce5cd Merge branch 'MDL-52318-master' of https://github.com/snake/moodle 2018-07-11 08:33:13 +08:00
Andrew Nicols
124cd929fb Merge branch 'MDL-62026-master' of git://github.com/junpataleta/moodle 2018-07-11 08:13:11 +08:00
Andrew Hancox
7068dd3990 MDL-62663 core_user: Enforce viewalldetails capability when editing user 2018-07-10 13:28:24 +01: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
e7941ae3e9 Merge branch 'MDL-62823' of https://github.com/NeillM/moodle 2018-07-10 11:43:37 +02:00