David Monllao
523704d9ec
Merge branch 'MDL-62868-master' of https://github.com/snake/moodle
2018-07-19 08:46:44 +08:00
David Monllao
a02f330b5d
Merge branch 'MDL-62663' of https://github.com/andrewhancox/moodle
2018-07-19 08:46:43 +08:00
Tomasz Muras
7cdd97b252
MDL-50325 core: Use plugins API to check module status.
2018-07-18 16:54:31 +02:00
David Mudrák
067d0efe85
MDL-62939 user: Fix field type of the user profile description
...
As this is an editor element field, the it is supposed to be PARAM_RAW.
Otherwise it cleans-up certain non-HTML syntax such as Markdown
blockquote characters.
2018-07-18 14:27:14 +02:00
Mark Nelson
feb6a52035
MDL-54551 core: touch-up after review
...
1. Reworded the string.
2. Removed logic handling form data.
3. Do not use window.location.replace.
2018-07-18 18:08:37 +08:00
Thom Rawson
acf94de6d5
MDL-54551 core: AJAX call redirects to login page when session expired
2018-07-18 18:07:16 +08:00
Mark Nelson
512a1d310f
MDL-55259 core: removed lib/password_compat/lib/password.php
2018-07-18 16:18:48 +08:00
Jun Pataleta
061e9f4b11
MDL-62781 core_question: Remove unnecessary assertion
2018-07-18 09:57:49 +08:00
Tim Hunt
7ca1b32808
MDL-62781 question/privacy: fix tests with CodeRunner is installed
...
The tests were assuming that no plugin ever created questions on
install.
Also change the tests to do the counting in the DB. That is more
efficient.
2018-07-18 09:57:49 +08:00
AMOS bot
7c66d04911
Automatically generated installer lang files
2018-07-18 00:07:26 +00:00
cescobedo
9de1a91532
MDL-62919 auth_shibboleth: Use the right shibboleth_auth_instructions
...
Change $CFG->auth_instructions by shibboleth/auth_instructions in the index_form.html
2018-07-17 21:06:44 +02:00
Tim Schroeder
0f1dffe6af
MDL-61351 auth_shibboleth: removed redundant session handler class check
2018-07-17 16:45:20 +08:00
Tim Schroeder
81f55e41a7
MDL-61351 core: added \core\session\manager\get_handler_class()
...
* This is needed e.g. by the shibboleth logout handler to check which
type of sessions are used.
2018-07-17 16:45:20 +08:00
Mark Nelson
4beca90f3d
MDL-61351 auth_shibboleth: move new functions to separate class
...
This reduces the amount of code to an already confusing logout.php
file and prevents conflicts if someone else happens to be using
the same function name in a file.
2018-07-17 16:45:20 +08:00
David Monllao
e385230046
Merge branch 'MDL-60924-master' of git://github.com/sarjona/moodle
2018-07-17 09:38:04 +02:00
Tim Schroeder
1e737e38f9
MDL-61351 shibboleth: Logout: fix session handler class not being used
...
* use $CFG->session_handler_class to determine which type of session is
used
* if not set, use $CFG->dbsession instead
2018-07-17 15:27:26 +08:00
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