Commit graph

99879 commits

Author SHA1 Message Date
David Mudrák
29a396fe4e MDL-69355 file: Do not attempt to set headers after output started
It was found out that in certain situations there may be some content
in to output handlers buffers. Let's allow that to happen given that:

* default handler's buffer is not sent as a part of the file and an
  error is reported into the server log.
* other handlers' buffer is sent with the assumption that it is required
  for the correct serving of the file.
2020-09-17 11:42:33 +02:00
Eloy Lafuente (stronk7)
af777f92a0 Merge branch 'MDL-62387-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE 2020-09-17 08:58:46 +02:00
Eloy Lafuente (stronk7)
6f35d6536d Merge branch 'MDL-69395-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE 2020-09-17 08:58:46 +02:00
Jun Pataleta
36cde1e295 Merge branch 'MDL-69663-m39' of https://github.com/sammarshallou/moodle into MOODLE_39_STABLE 2020-09-17 08:58:46 +02:00
AMOS bot
05a1532e88 Automatically generated installer lang files 2020-09-16 00:07:11 +00:00
David Mudrák
91ae4ab5db MDL-69698 licenses: Improve the performance of the licenses cache
The cache uses a single simple key and there is no need to hash it.
2020-09-15 10:22:57 +02:00
David Mudrák
2cc3588b77 MDL-69698 licenses: Do not cache the localised licenses fullnames
The localisation must happen only after loading the list of licenses
from cache so that the name is displayed in the current user's preferred
language, not in the language of the user who initiated the cache
rebuild.
2020-09-15 10:19:46 +02:00
Paul Holden
222aefb456 MDL-62387 tool_lp: switch to core 'cohort' form element.
The autocomplete AJAX is identical to the version in tool_lp, but also
includes support for excluding suggestions (i.e. cohorts already
synced with the current learning plan).
2020-09-15 08:06:37 +01:00
comete-upn
94160c9ad0 MDL-69667 competencies: fix competencies count always 0 in frameworks. 2020-09-15 08:37:50 +02:00
Jun Pataleta
9c7ab777d9 Merge branch 'MDL-42012-39-alt' of git://github.com/andrewnicols/moodle into MOODLE_39_STABLE 2020-09-15 11:52:50 +08:00
Andrew Nicols
7818990010 MDL-42012 cache: Fix missing return value 2020-09-15 11:46:31 +08:00
Eloy Lafuente (stronk7)
17a035ac59 Merge branch 'MDL-42012-39-alt' of git://github.com/andrewnicols/moodle into MOODLE_39_STABLE 2020-09-14 23:29:04 +02:00
Eloy Lafuente (stronk7)
abe11a9ace Merge branch 'MDL-69658-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE 2020-09-14 22:56:55 +02:00
Paul Holden
bfab0d603c MDL-69014 tool_usertours: clean up user preferences of deleted tours. 2020-09-14 20:36:26 +01:00
Paul Holden
070454489f MDL-66648 user: consistent checks for linking to full profile.
The access checks for displaying a link to a users' full profile
now match the checks performed on the full profile page itself.
2020-09-14 20:22:03 +01:00
AMOS bot
e32a114998 Automatically generated installer lang files 2020-09-13 00:07:51 +00:00
AMOS bot
3db28cdebd Automatically generated installer lang files 2020-09-12 00:07:33 +00:00
Jun Pataleta
ccd4ef8ddd Moodle release 3.9.2 2020-09-11 10:41:59 +08:00
sam marshall
51b0a67bd2 MDL-69663 Web services: override_webservice_execution not honoured
If two different plugin types (e.g. theme, local) implement
override_webservice_execution callbacks, then all of them except
the 'last' plugin type do not work correctly.
2020-09-10 09:51:16 +01:00
Sara Arjona
b9371d7bf6 weekly release 3.9.1+ 2020-09-10 08:52:10 +02:00
Sara Arjona
1ec406cbd7 Merge branch 'install_39_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_39_STABLE 2020-09-10 08:52:07 +02:00
Sara Arjona
b1c1119743 Merge branch 'MDL-69466-3.9' of https://github.com/JBThong/moodle into MOODLE_39_STABLE 2020-09-09 11:39:30 +02:00
Sara Arjona
3d45f2c083 Merge branch 'MDL-69645-39' of git://github.com/lucaboesch/moodle into MOODLE_39_STABLE 2020-09-09 11:01:00 +02:00
Thong Bui
1f5da975e2 MDL-69466 Autocomplete widget: Improve keyboard accessibility 2020-09-09 13:50:04 +07:00
Andrew Nicols
7156a01a0c MDL-42012 cache: Valid definitions are required even when disabled 2020-09-09 14:05:19 +08:00
Andrew Nicols
db22846df6 MDL-42012 cache: Fully disable cache for disabled cache factory 2020-09-09 14:05:19 +08:00
Andrew Nicols
ef6e3bfd77 MDL-42012 cache: Allow data sources to work when caching is disabled 2020-09-09 14:05:19 +08:00
Eloy Lafuente (stronk7)
ee0106f70b Merge branch 'MDL-69116-39' of git://github.com/rezaies/moodle into MOODLE_39_STABLE 2020-09-08 23:16:43 +02:00
Paul Holden
36ee886a12 MDL-69658 quizaccess_seb: progress bar on install only when necessary. 2020-09-08 19:32:36 +01:00
Sara Arjona
97e0452344 MDL-69657 mod_h5pactivity: component passed always
The $component = 'mod_h5pactivity' will be passed always to the H5P
player because it's required for being able to call these activities
from outside using embed code. The xAPI implementation checks whether
the information should be tracked or not.

Backport of MDL-69174
2020-09-08 13:08:44 -04:00
Sara Arjona
874bdf2035 MDL-69657 h5p: add component to the embed H5P code
When the Moodle component is passed to the player, xAPI tracking
is enabled so, if the component implements required xAPI API methods
(for instance, mod_h5pactivity does), grades and responses are sent.
Adding this component to the embed code will help to add
the embed code from a mod_h5pactivity to any other place (such as label,
page or book), and being able to track the responses to the original
mod_h5pactivity.

Backport from MDL-69174
2020-09-08 13:08:13 -04:00
Sara Arjona
ab43412ae9 Merge branch 'MDL-69525-39-1' of git://github.com/mihailges/moodle into MOODLE_39_STABLE 2020-09-08 14:22:04 +02:00
Michael Hawkins
3d01fc77de MDL-69340 tag: Correct the filter input HTML in the tag manager 2020-09-08 08:47:20 +02:00
Mihail Geshoski
08d7552f4d MDL-69048 book: Sanitize previous chapter value in add new chapter page 2020-09-08 08:47:20 +02:00
Andrew Nicols
8983d50bd1 MDL-68974 calendar: Use page context for block check 2020-09-08 08:47:20 +02:00
Andrew Nicols
9fb8221fb3 MDL-68974 blocks: Check permission before generating content 2020-09-08 08:47:20 +02:00
Mihail Geshoski
4b60cede1e MDL-65115 repository: Prevent unzipping if it will exceed allowed quota 2020-09-08 08:47:20 +02:00
Mihail Geshoski
4514918c33 MDL-65115 core_files: Add get_total_content_size() in stored_file class
New function get_total_content_size() is introduced in the stored_file
class. The puprose of this function is to calculate and return the
total size (in bytes) of the content of an archive file.
2020-09-08 08:47:20 +02:00
Andrew Nicols
86d6bdf079 MDL-68974 admin: Unit tests for context parent/child test 2020-09-08 08:47:20 +02:00
Andrew Nicols
f5d75c8e24 MDL-68974 admin: Unit tests for loginas 2020-09-08 08:47:20 +02:00
Andrew Nicols
bfeb6f3bac MDL-68974 admin: Prevent login as outside of the desired context 2020-09-08 08:47:20 +02:00
Sara Arjona
ec52cca8b1 Merge branch 'MDL-68344-3.9' of https://github.com/JBThong/moodle into MOODLE_39_STABLE 2020-09-08 08:45:19 +02:00
Jun Pataleta
6bbb402129 Merge branch 'MDL-69492-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE 2020-09-08 12:56:19 +08:00
AMOS bot
7375466f51 Automatically generated installer lang files 2020-09-08 00:07:50 +00:00
Eloy Lafuente (stronk7)
8635e2cefa Merge branch 'MDL-69262-39-2' of git://github.com/junpataleta/moodle into MOODLE_39_STABLE 2020-09-07 23:43:04 +02:00
Eloy Lafuente (stronk7)
52bad33356 Merge branch 'MDL-69448-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE 2020-09-07 23:26:21 +02:00
Luca Bösch
5c155ba8f7 MDL-69645 quizaccess: Set allowPreferencesWindow to false in manual conf
Signed-off-by: Luca Bösch <luca.boesch@bfh.ch>
2020-09-07 21:26:11 +02:00
Mathew May
ffa17ad17d MDL-69240 tool_moodlenet: Clean MoodleNet profile field
Amended by: Eloy Lafuente (stronk7) <stronk7@moodle.org>
- adjust versions for every branch.
- modify verify_webfinger->profileurl external to PARAM_NOTAGS.
2020-09-07 17:25:13 +02:00
Sara Arjona
5d6fcc67cf Merge branch 'MDL-67468-MOODLE_39_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_39_STABLE 2020-09-07 13:20:06 +02:00
Paul Holden
a37dc94598 MDL-69492 auth_cas: normalise member distinguished name config. 2020-09-04 08:36:13 +01:00