Commit graph

104908 commits

Author SHA1 Message Date
Jun Pataleta
76edf78668 Merge branch 'MDL-74031-master' of https://github.com/bmbrands/moodle 2022-03-21 17:38:54 +08:00
Ilya Tregubov
d7e5e22117 Merge branch 'MDL-73607-master' of https://github.com/rezaies/moodle 2022-03-21 15:35:03 +06:00
Jun Pataleta
4a5a25cbc4 Merge branch 'MDL-72698' of https://github.com/stronk7/moodle 2022-03-21 17:13:55 +08:00
Brendan Heywood
34efb9a19e MDL-59681 file: Stop recursive file serving 2022-03-21 17:50:20 +11:00
Ilya Tregubov
bbb3f3edcd Merge branch 'MDL-74088-master' of https://github.com/lameze/moodle 2022-03-21 12:48:31 +06:00
Andrew Nicols
424143b2e6 Merge branch 'MDL-74229-master' of https://github.com/bmbrands/moodle 2022-03-21 13:07:48 +08:00
Andrew Nicols
6d8bb892ec Merge branch 'MDL-74269-master' of https://github.com/ericmerrill/moodle 2022-03-21 12:51:24 +08:00
Ilya Tregubov
8a8001fcae Merge branch 'MDL-74134-master' of https://github.com/lucaboesch/moodle 2022-03-21 10:22:13 +06:00
Ilya Tregubov
8b871d98b4 Merge branch 'MDL-73891-master' of https://github.com/sarjona/moodle 2022-03-21 10:12:27 +06:00
Eloy Lafuente (stronk7)
9392313b88 MDL-72698 behat: Reduce random lesson behat failures on slow envs
In very slow environments viewing the lesson page for a student takes
more than 1 second and, because of this, the "Spend at least 1 sec"
completion condition is considered done.

So, in order to alleviate this problem, that leads to random failures
in CIs with slow databases, we have changed the condition to be 3
seconds instead.

That seems to do the work in super-slow environments, with 100
executions passing ok (when previously the scenario was failing 33%
of times).

The only cost is that now the behat run will be 2 seconds slower (there
is a wait changed from 2 to 4 seconds), but that's an acceptable
price to pay to get the scenarios consistent passing.

See the issue for more details.
2022-03-19 18:10:01 +01:00
Eloy Lafuente (stronk7)
2663e21be3 MDL-72698 behat: Reduce random scorm behat failures on slow envs
This just applies two "tricks" to make the test to behave better:
- Ensuring that the "wait until the page is loaded" happens in the scorm frame.
- Ensuring that the last item in the package gets some extra time
  by reloading the page completely at the end.

With them, a testing environment with a 100% of failures has become 100%
passing (25 repetitions). That should be good enough to reduce the
impact of that failure everywhere.

See the issue for more details.
2022-03-19 18:09:45 +01:00
Paul Holden
ec89abc5bf MDL-74110 forms: disable calendar link when date selector disabled. 2022-03-19 14:24:23 +00:00
Andrew Nicols
322395f29c Merge branch 'MDL-74199-master' of https://github.com/aanabit/moodle 2022-03-19 22:00:16 +08:00
Andrew Nicols
18f79ec838 Merge branch 'MDL-74258-master' of https://github.com/cescobedo/moodle 2022-03-19 21:48:14 +08:00
Andrew Nicols
ca4fd43f48 Merge branch 'MDL-74270' of https://github.com/timhunt/moodle 2022-03-19 21:40:31 +08:00
Tim Hunt
d76a072636 MDL-74270 format_float: fix bug with $decimalpoints=0, $stripzeros=true 2022-03-18 22:12:38 +00:00
Eric Merrill
dd5406527a MDL-74269 course: Make sure category exists before updating 2022-03-18 15:30:19 -04:00
Amaia Anabitarte
13e66c48f8 MDL-74253 core_course: get_nearest_editable_subcategory for hidden cat 2022-03-18 18:15:59 +01:00
Luca Bösch
f10e19c41c MDL-74134 graphics: Adding SVG log icon. 2022-03-18 17:55:20 +01:00
cescobedo
8581555f9d MDL-74258 mod_h5pactivity: Add global search to h5pactivity 2022-03-18 17:06:11 +01:00
Sara Arjona
0d0f09bc7f on-demand release 4.0beta+ 2022-03-18 16:28:33 +01:00
Ferran Recio
bf642fb6fc MDL-73556 core_courseformat: fix course index click toggle
When the user clicks on a course index chevron the section is toggled.
However, when clicks on the section name the section is expanded but
never collapsed.
2022-03-18 14:39:32 +01:00
Sara Arjona
5584c7b6a6 MDL-74116 behat: Unrelated, add the @skip_interim tag
This commit is UNRELATED to the MDL-74116, but we need the
@skip_interim tag added to a couple of scenarios that are
causing lots of noise and failures  @CI infrastructure.
MDL-74265 has been created to deal with this issue.

So we are using MDL-74116 (this extra commit) to add that tag
(sorry for the noise).
2022-03-18 13:45:42 +01:00
Jun Pataleta
a96cec3ed3 Merge branch 'MDL-73233-fix' of https://github.com/sarjona/moodle 2022-03-18 16:15:19 +08:00
Sara Arjona
30b75b7190 MDL-73233 navigation: Breadcrumbs removed from user preferences
In MDL-74087 breadcrumbs were removed from the User preferences page.
This patch re-introduces a piece of code that was removed originally
in MDL-73233 while reviewing all the places where the Dashboard was
displayed by default (to avoid inconsistencies). New item in primary
navigation has been changed to "Home" but we still need the code
re-added to hide breadcrumbs when its content matches the primary
navigation.
2022-03-18 07:44:55 +01:00
Jun Pataleta
cd2225a71b Merge branch 'MDL-73383-master' of https://github.com/rezaies/moodle 2022-03-18 12:00:23 +08:00
Jun Pataleta
9a9244dcf9 Merge branch 'MDL-73793-master' of https://github.com/bmbrands/moodle 2022-03-18 11:51:20 +08:00
Shamim Rezaie
bdccf3eb3b Merge branch 'MDL-73593-master' of https://github.com/bmbrands/moodle 2022-03-18 11:30:27 +11:00
Víctor Déniz
d60d936c0e Merge branch 'MDL-74153-master' of https://github.com/ferranrecio/moodle 2022-03-17 23:02:24 +00:00
Eloy Lafuente (stronk7)
337dea4afa Merge branch 'MDL-69078-better-error-message-for-wrong-encoding' of https://github.com/ziegenberg/moodle 2022-03-17 22:22:03 +01:00
Daniel Ziegenberg
f942a5cedd
MDL-69078 questions: check for UTF-8 encoding of the import file
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-03-17 20:53:50 +01:00
Eloy Lafuente (stronk7)
05c07f2656 Merge branch 'MDL-74159-master' of https://github.com/sarjona/moodle 2022-03-17 18:08:25 +01:00
Eloy Lafuente (stronk7)
3a2b094973 Merge branch 'MDL-74240-master' of https://github.com/bmbrands/moodle 2022-03-17 18:06:05 +01:00
Jun Pataleta
1e533995dd Merge branch 'MDL-73233-master' of https://github.com/sarjona/moodle 2022-03-18 00:35:11 +08:00
Sara Arjona
47550abe6b Merge branch 'MDL-74080-master' of https://github.com/aanabit/moodle 2022-03-17 17:21:23 +01:00
Sara Arjona
d51c17a2ca Merge branch 'MDL-74076' of https://github.com/paulholden/moodle 2022-03-17 16:58:00 +01:00
Sara Arjona
12252ebec0 Merge branch 'MDL-74172-master' of https://github.com/bmbrands/moodle 2022-03-17 15:48:14 +01:00
Sara Arjona
1ccea2c9ff Merge branch 'MDL-74132' of https://github.com/roland04/moodle 2022-03-17 15:42:34 +01:00
Andrew Nicols
27bed0b928 Merge branch 'MDL-72991-master-4' of https://github.com/HuongNV13/moodle 2022-03-17 22:25:10 +08:00
Bas Brands
0ee53f2dcd MDL-74240 mod_forum: tertiary nav button wrapper 2022-03-17 13:56:29 +01:00
Sara Arjona
08bae4cce8 Merge branch 'MDL-74214' of https://github.com/paulholden/moodle 2022-03-17 13:11:47 +01:00
Jun Pataleta
cb9480841c Merge branch 'MDL-74216-master' of https://github.com/mihailges/moodle 2022-03-17 19:47:46 +08:00
Bas Brands
012ba2d823 MDL-74245 tool_lp: region-main overflow for dropdowns 2022-03-17 12:27:41 +01:00
Sara Arjona
dbb63cfffc Merge branch 'MDL-73863-master' of https://github.com/mihailges/moodle 2022-03-17 11:33:58 +01:00
Bas Brands
c546292739 MDL-74062 theme_boost: fix header with for course admin pages 2022-03-17 11:01:17 +01:00
Ilya Tregubov
ff0b43830a Merge branch 'MDL-73999' of https://github.com/paulholden/moodle 2022-03-17 15:23:56 +06:00
Bas Brands
40357a1976 MDl-74031 mod_assign: limited pagewidth for view action 2022-03-17 10:23:32 +01:00
Jun Pataleta
23ea7d6b43 Merge branch 'MDL-74112-master' of https://github.com/andrewnicols/moodle 2022-03-17 17:08:47 +08:00
Huong Nguyen
bfe14e2312 MDL-72991 Course: Partial course cache rebuild with cache versioning 2022-03-17 15:34:26 +07:00
Huong Nguyen
457d10a49f MDL-72991 Course: Fix move_section_to is not updating correct section
When we change the position of two sections, we just need to update
the position of the affected sections, not all the sections in the course.
This will improve the performance since the system only executes the queries to affected sections.
Also, the system only clears the cache for affected sections, not all the sections in the course.
2022-03-17 15:34:26 +07:00