Tim Hunt
aac5b47cea
MDL-74041 quiz: use own size for paging the question bank
2022-05-04 11:01:44 +01:00
Tim Hunt
10e8ffe312
MDL-74041 question bank: page size should be 100
2022-05-04 10:34:34 +01:00
Jake Dallimore
59b5858da2
MDL-73736 core_auth: Fix concurrency issue in login_attempt_failed()
...
This patch wraps the login_failed_count logic in a resource lock and
forces a user preferences cache reload. Each thread must wait for the
lock and must fetch the current count before incrementing it. This
ensures that login_failed_count is correct across threads and that the
lockout threshold is correctly honoured.
Co-Authored-By: Sujith Haridasan <sujith@moodle.com>
2022-05-04 14:44:42 +06:00
Michael Hawkins
a0f47c8bc4
MDL-74333 badges: Check profile criteria valid when reviewing
2022-05-04 12:57:38 +08:00
Ilya Tregubov
9478dc6b07
Merge branch 'MDL-74563' of https://github.com/paulholden/moodle
2022-05-04 09:25:08 +06:00
Ferran Recio
4f2eac208d
MDL-71623 core_search: fix user document visibility
2022-05-04 04:04:15 +02:00
Amaia Anabitarte
670268900c
MDL-74318 core_user: Description field as hidden on profile
2022-05-04 04:04:15 +02:00
Paul Holden
6abe964bba
MDL-74204 mod_assign: escape identity fields in allocate marker form.
2022-05-04 04:04:15 +02:00
Jun Pataleta
11b2cc4cb5
Merge branch 'MDL-73878-master' of https://github.com/aanabit/moodle
2022-05-04 09:42:30 +08:00
Leon Stringer
b460ea470f
MDL-74631 mod_lti: Remove </img>
...
Remove illegal HTML tag.
Added example context to pass CI checks.
2022-05-03 17:27:13 +01:00
Amaia Anabitarte
ffc655b181
MDL-73878 core_user: Creating a new category for social fields
2022-05-03 17:52:11 +02:00
Amaia Anabitarte
d2fb057b7e
MDL-73878 core_user: Fixing social fields upgrading issue
2022-05-03 17:32:20 +02:00
Jun Pataleta
b625dabb83
Merge branch 'MDL-74543' of https://github.com/timhunt/moodle
2022-05-03 22:22:39 +08:00
Tim Hunt
7d3eaf892d
MDL-74543 quiz attemptlib: covert string comparison to ===
...
Where obviously safe.
2022-05-03 13:45:39 +01:00
Tim Hunt
52b8962dbd
MDL-74543 quiz: correctly record time when overdue attempt submitted
2022-05-03 13:41:45 +01:00
Víctor Déniz
9943699604
Merge branch 'MDL-74611' of https://github.com/timhunt/moodle
2022-05-03 13:00:23 +01:00
Ilya Tregubov
df86854461
Merge branch 'mdl65478-fix-master' of https://github.com/matthewhilton/moodle
2022-05-03 15:43:53 +06:00
Jake Dallimore
9e70147e05
Merge branch 'MDL-74441-master' of https://github.com/cameron1729/moodle
2022-05-03 16:54:35 +08:00
Ilya Tregubov
c2a950237f
Merge branch 'MDL-74598-master' of https://github.com/roland04/moodle
2022-05-03 11:55:47 +06:00
Jason den Dulk
ba53ec733a
MDL-65478 backup, course format: Handle editor elements in course format
...
Modified course format options reading and writing to be able to handle Editor elements by enabling them to split array values into
multiple values before inserting into database, and combining multiple values into an array when reading from the database.
Modified backup and restore code to use backup_nested_elements, and to interact directly with the database.
Co-authored-by: Jason den Dulk <jasondendulk@catalyst-au.net>
Co-authored-by: Matthew Hilton <matthewhilton@catalyst-au.net>
2022-05-03 14:23:37 +10:00
Ilya Tregubov
719bb845d9
Merge branch 'MDL-74450-master' of https://github.com/mihailges/moodle
2022-05-03 09:47:29 +06:00
Jake Dallimore
db933339fa
MDL-74602 mod_wiki: disable activity header in wiki print view
2022-05-03 09:58:01 +08:00
Jake Dallimore
a8fcf50e55
MDL-74602 mod_chat: disable activity header in ajax chat interface
2022-05-03 09:57:19 +08:00
Jake Dallimore
edf2c5ea2f
MDL-74602 mod_book: disable activity header on book print page
2022-05-03 09:56:56 +08:00
Jake Dallimore
0402dfdc95
MDL-74602 mod_assign: disable activity header on embedded grader page
2022-05-03 09:55:22 +08:00
Jake Dallimore
cc94ab171d
MDL-74602 theme_boost: fix missing activity header in embedded layout
...
The activity header, which includes things like dates and completion
information, was moved out of the page $OUTPUT and into a separate
template context variable in 4.0, meaning it was missing from any layout
which didn't actively add it back to the page output. This fixes this
problem for the embedded layout only by adding support for the activity
header in the embedded template.
2022-05-03 09:53:57 +08:00
Jun Pataleta
a9d219fe66
Merge branch 'MDL-74317-2' of https://github.com/dravek/moodle
2022-05-02 17:24:29 +08:00
David Matamoros
e1da77a685
MDL-74317 blocks: Blocks can be added to profile pages
...
- Fixed method user_can_addto to take into account that
blocks can also be added to user profile pages
2022-05-02 10:45:30 +02:00
David Matamoros
b1a142eab4
MDL-74317 output: Remove capability checks in edit mode WS
...
- Removed validation on the change edit mode WS. Permission should
be handled where the edit button is rendered in order to show or not
the button.
2022-05-02 10:45:30 +02:00
Jun Pataleta
f9a3ccb1e2
Merge branch 'MDL-74436' of https://github.com/paulholden/moodle
2022-05-02 16:30:00 +08:00
Jake Dallimore
8f59d0b937
MDL-74576 enrol_lti: allow unsupported scopes in ags_info
...
Instead of hard blocking launches with extension scopes, just ignore
the unsupported scopes and continue.
2022-05-02 15:37:52 +08:00
Paul Holden
bc05916cbf
MDL-74128 reportbuilder: Behat helper for navigating to view page.
2022-04-29 17:14:23 +01:00
Paul Holden
2fede32518
MDL-74612 cohort: use data generator for populating cohort members.
2022-04-29 16:09:35 +01:00
Marina Glancy
ac7c952b84
MDL-73435 mod_wiki: htmlspecialchars changed default in PHP8.1
2022-04-29 16:22:43 +02:00
Marina Glancy
a0398fdde8
MDL-73423 core_privacy: Calling reset() on objects deprecated PHP8.1
2022-04-29 16:16:07 +02:00
Paul Holden
9ff112ea3d
MDL-74567 core: re-factor flickr libraries to use shared user-agent.
2022-04-29 13:31:55 +01:00
Tim Hunt
b6b0d8b848
MDL-74611 course settigns: re-order Common module settings
...
All the group-related settings should be next to each other.
2022-04-29 13:23:41 +01:00
Paul Holden
2972e66008
MDL-74567 repository_flickr: replace user-agent value for API calls.
...
Flickr doesn't like user agent that looks like a bot. Effectively the
same reasoning/fix as b8ee31a0.
2022-04-29 13:08:36 +01:00
Paul Holden
c44dc41a9f
MDL-74605 media_videojs: move player options to data setup.
...
Fixes the `playbackRates` functionality that was lost in library
upgrade (9ea8fa37).
2022-04-29 11:36:16 +01:00
Ilya Tregubov
1a744030d6
weekly release 4.1dev
2022-04-29 07:55:26 +06:00
Ilya Tregubov
debcef0903
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2022-04-29 07:55:23 +06:00
Mikel Martín
f35d43b633
MDL-74598 reportbuilder: Fix action menus alignment to the right
2022-04-28 16:29:48 +02:00
Cameron Ball
34c3392f49
MDL-74441 mod_forum: Fix overflow in unified grader
2022-04-28 15:55:18 +08:00
Jun Pataleta
c62fc00125
Merge branch 'MDL-74478-master' of https://github.com/mihailges/moodle
2022-04-28 12:54:33 +08:00
Peter Dias
d27e7e1950
MDL-74478 badges: Check completion_fail when awarding badge
...
Bring the award_criteria_activity checks in line with the observer checks
2022-04-28 12:14:45 +08:00
Jun Pataleta
44d39bf232
Merge branch 'MDL-74461-master' of https://github.com/HuongNV13/moodle
2022-04-28 11:40:07 +08:00
Ilya Tregubov
4a60e9733d
Merge branch 'master-MDL-74427-v4' of https://github.com/golenkovm/moodle
2022-04-28 08:09:37 +06:00
Jun Pataleta
c0466920b3
Merge branch 'MDL-74537-master-enfix' of https://github.com/vmdef/moodle
2022-04-27 15:56:00 +06:00
Ilya Tregubov
af8155036f
Merge branch 'MDL-74510' of https://github.com/stronk7/moodle
2022-04-27 15:56:00 +06:00
Ilya Tregubov
9f91cd1ca2
Merge branch 'MDL-74479' of https://github.com/paulholden/moodle
2022-04-27 15:56:00 +06:00