Paul Holden
d77a46c804
MDL-79463 output: invert logic in url_select change event.
...
Avoids eslint `consistent-return` errors (because we previously only
returned from the conditional branch).
2023-09-22 10:22:59 +01:00
Simey Lameze
3b6acb99bd
MDL-75928 format_week: improve get_section_dates one week calc
2023-09-22 08:48:37 +08:00
Jun Pataleta
04461bed1c
Merge branch 'MDL-79323-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-09-21 15:29:23 +02:00
Ilya Tregubov
0717d4ea0e
Merge branch 'MDL-79341-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-21 14:51:12 +08:00
Ilya Tregubov
9e62b27d12
Merge branch 'MDL-71955-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-21 09:18:17 +08:00
Jake Dallimore
3c7c965a80
MDL-77891 core_calendar: support display of mod iconurl
...
This affects:
- event_item.mustache (day view)
- event_icon.mustache (used by month_mini and month_mini and
month_detailed templates)
2023-09-21 09:17:40 +08:00
Ilya Tregubov
3dc7b4b927
Merge branch 'MDL-68712-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-21 08:52:38 +08:00
Shamim Rezaie
24a5b078f7
Merge branch 'MDL-78895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-20 23:43:43 +10:00
Paul Holden
cee1103bec
MDL-68712 enrol_self: improve detection/re-use of group enrolment keys.
2023-09-20 13:31:05 +01:00
Víctor Déniz
98419ad77a
MDL-79323 lang: Fix Behat tests regressions after merging en_fix strings
2023-09-20 09:59:26 +01:00
Helen Foster
7e6930f5b9
MDL-79323 lang: Import fixed English strings (en_fix)
2023-09-20 09:59:21 +01:00
Andrew Nicols
b8f45d20fd
MDL-79422 ajax: Allow no-login WS calls to fetch after a failure
2023-09-20 16:02:31 +08:00
Ilya Tregubov
8e931f2073
weekly release 4.1.5+
2023-09-20 09:03:29 +08:00
Huong Nguyen
285b364a1e
Merge branch 'MDL-79370-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-19 14:30:53 +08:00
Jake Dallimore
2a2edcde93
Merge branch 'MDL-79186-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-19 11:12:51 +08:00
Dale Davies
ce1f9ec96a
MDL-79350 core: Do not store lang in session when readonly
2023-09-18 14:31:02 +01:00
Huong Nguyen
3720396bb4
Merge branch 'MDL-79332_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-09-18 18:57:01 +07:00
Paul Holden
47941cb17a
MDL-79370 user: set profile page URL earlier, avoid subsequent error.
...
Co-authored-by: Dominique Palumbo <domenico.palumbo@uclouvain.be>
2023-09-18 09:26:45 +01:00
Ilya Tregubov
880e7e7298
Merge branch 'MDL-79047-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-18 12:25:40 +08:00
Jun Pataleta
8ebf873b65
MDL-79047 grade: Use the gradebook plugin name for the page title
...
* Use the appropriate gradebook plugin string for the page title.
* Improve gradebook page titles set by grade_get_plugin_info() by
listing the unique identifying information for the page first
(e.g. the gradebook plugin name), followed by broader information
(Grades + Course name), separating these bits of information using the
pipe `|` character.
For more information, check out
https://www.w3.org/WAI/WCAG21/Techniques/general/G88
2023-09-18 03:47:24 +02:00
Sara Arjona
0a09e482e4
weekly release 4.1.5+
2023-09-15 17:34:04 +02:00
Mark Johnson
e6b80e155b
MDL-78580 report_statistics: Prevent database deadlocks when viewing
...
If a quiz had a long job to calculate statstics running, this would
cause pages that may also attempt a recalculation (the statistics report
page or question bank) to load very slowly, and possibly result in a
database deadlock.
This change will firstly prevent the question bank page performing
analysis calculations at all, since these are not required for this
page, which will speed up loading and prevent deadlocks on this page.
Secondly, this adds a lock to the recalcuation process so that it cannot
run twice concurrently. This will present the user with a message to
indicate that it is waiting for a running calculation until it is
complete, and eventually it will timeout with a message and debugging.
2023-09-15 15:16:12 +01:00
Petr Skoda
e42eeb62b0
MDL-79360 filter: fix nolink tag regression from MDL-77525
2023-09-15 12:45:02 +02:00
Ilya Tregubov
a5f1d86040
Merge branch 'test4' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-09-15 17:38:42 +08:00
Jun Pataleta
c0ec027149
MDL-79057 grade: Remove block-level elements within buttons
...
Replace <div> tags within <button> tags for the selector
buttons in the grade pages.
2023-09-15 17:37:20 +08:00
Huong Nguyen
02e7ab212a
Merge branch 'MDL-79283-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-15 17:37:19 +08:00
Jun Pataleta
312f80d1d7
Merge branch 'MDL-79291-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-15 17:37:19 +08:00
Luca Bösch
767e147dac
MDL-79226 questions: check for UTF-8 encoding of the import file
2023-09-15 17:35:33 +08:00
Huong Nguyen
c2e501e144
Merge branch 'MDL-78728-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-15 17:32:44 +08:00
Huong Nguyen
978fb4f1fe
Merge branch 'MDL-79057-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-15 17:32:44 +08:00
Ilya Tregubov
748814dc61
Merge branch 'MDL-79220-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-09-14 17:43:57 +08:00
sam marshall
f6f0787fc8
MDL-79349 core_cache: Lock on multi-layer cache can behave incorrectly
2023-09-14 09:32:09 +01:00
Paul Holden
00d7ed9518
MDL-79283 core: add title to embedded iframe, for accessibility.
2023-09-14 09:26:32 +01:00
Jun Pataleta
cdb81ef363
Merge branch 'MDL-79181-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-09-14 14:02:29 +08:00
Ilya Tregubov
8a72397e0a
Merge branch 'MDL-79195-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-09-14 09:37:53 +08:00
Paul Holden
a3ddbca835
MDL-79341 core: more robust testing of user-agent curl response.
...
The external test file URL concerns itself only with HTTP_USER_AGENT
matching, not sending response headers, which can differ according to
HTTP protocol in use by the endpoint (1.1 vs 2).
Given the returned response code itself is irrelevant to the testcase,
there's not much benefit to asserting it and risking random failures.
2023-09-13 13:36:28 +01:00
Ilya Tregubov
f154d35e13
Merge branch 'MDL-78806-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-13 10:55:47 +08:00
Eloy Lafuente (stronk7)
5058c46813
weekly release 4.1.5+
2023-09-12 18:54:06 +02:00
Tim Hunt
aea590716a
MDL-79332 Question stats: make loading robust to bad data
...
We were experiencing problems caused by old stats analysis in our
database, computed when there was a bug, causing fatal errors
when they were displayed. Therefore, this code needs to be robust to that.
2023-09-12 16:59:02 +01:00
Angelia Dela Cruz
5d23cfe21f
MDL-79195 core_course: Activity and resource description display behat
2023-09-12 12:20:49 +08:00
Huong Nguyen
05c1fb3794
Merge branch 'MDL-79246-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-09-12 08:51:23 +07:00
Paul Holden
0f4b831249
MDL-71955 h5p: ensure embedded player sets up $PAGE correctly.
...
For module context, it should set the current cm and course to
ensure consistency in navigation API.
2023-09-11 10:18:20 +01:00
Paul Holden
721b02a270
MDL-79186 task: fix evaluation of 'X/Y' cron field format.
...
The above syntax is defined as supported by the class, for example the
format '5/10' means:
"At every 10th <unit> from 5 through <max>."
It is analogous to '5-<max>/10'.
2023-09-11 09:22:26 +01:00
Jake Dallimore
e8e5b279b0
Merge branch 'MDL-79048-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-11 13:00:51 +08:00
Ilya Tregubov
b0a931b48a
Merge branch 'm41_MDL-63539' of https://github.com/danmarsden/moodle into MOODLE_401_STABLE
2023-09-11 11:15:33 +08:00
Jake Dallimore
35e8d7517f
MDL-79181 core: update LinkedIn OAuth template to use OIDC
...
The old method (sign in with linkedin) is deprecated:
https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin
This replaces this with the new method:
https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2
This is not entirely OIDC compliant, however. The well known
openid-configuration isn't present at the issuer root and the 'locale'
claim contains an object instead of a string. These are worked around.
2023-09-11 10:42:35 +08:00
Jun Pataleta
007988a5f2
MDL-78806 mod_assign: Use new Behat step for checking page title
2023-09-10 10:54:18 +08:00
Jun Pataleta
9b6ed477f8
MDL-78806 behat: Create a step that for checking the page title
...
Create a Behat step "the page title should contain ':title'" to check
the page title.
2023-09-10 10:54:18 +08:00
Jun Pataleta
94efef85bb
MDL-78806 behat: More lenient checking of page title
...
Instead of doing an exact checking of the page title in
\behat_hooks::before_step(), do a more lenient check by checking that
the page title contains the acceptance test's site name.
2023-09-09 21:28:53 +08:00
Jun Pataleta
89e853437b
MDL-78806 core: Add upgrade.txt notes
2023-09-09 08:58:03 +08:00