102650 Commits

Author SHA1 Message Date
Simey Lameze
e2649db6c4 MDL-72672 lesson: add label for true/false checkboxes 2021-11-04 16:18:35 +08:00
Simey Lameze
f540540b9e MDL-72672 lesson: add label for multichoice checkboxes 2021-11-04 16:18:35 +08:00
Simey Lameze
1662fa085e MDL-72672 lesson: remove unnecessary nowrap
This commit also remove some deprecated table properties as well.
2021-11-04 16:18:35 +08:00
Simey Lameze
f7f15b93e4 MDL-72672 mod_lesson: add aria-label to actions select element 2021-11-04 16:18:35 +08:00
Eloy Lafuente (stronk7)
8af7bec81e on-demand release 4.0dev+ 2021-11-02 14:08:44 +01:00
Eloy Lafuente (stronk7)
79a9748f85 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-11-02 14:08:39 +01:00
Andrew Nicols
ad7a38872d Merge branch 'MDL-72884' of git://github.com/paulholden/moodle 2021-11-02 11:33:53 +08:00
Andrew Nicols
b4fbfb5eb1 Merge branch 'MDL-72767' of https://github.com/NeillM/moodle 2021-11-02 11:27:09 +08:00
AMOS bot
8a09e3ee36 Automatically generated installer lang files 2021-11-02 00:07:29 +00:00
Eloy Lafuente (stronk7)
c1a43e84f0 Merge branch 'MDL-72938-master' of git://github.com/ferranrecio/moodle 2021-11-01 23:06:11 +01:00
Eloy Lafuente (stronk7)
12795aa4b1 Merge branch 'MDL-72850' of https://github.com/paulholden/moodle 2021-11-01 22:58:09 +01:00
Paul Holden
7071e4dfd4 MDL-72172 reportbuilder: fix cohort report source tests.
Choose aggregation method that has availability across all
supported databases; and allows sorting.

"Comma separated distinct values" doesn't fulfill either of
these criteria.
2021-11-01 15:42:35 +02:00
Jun Pataleta
440799b641 Merge branch 'MDL-72588-fix' of git://github.com/paulholden/moodle 2021-11-01 19:51:07 +08:00
Paul Holden
31ba06b837 MDL-72588 reportbuilder: fix expected exception message in tests.
See change to exception strings in 07b74820.
2021-11-01 11:21:07 +00:00
Paul Holden
f4c8daa479 MDL-72850 search: show role alias in "Teacher roles" configuration. 2021-11-01 10:15:14 +00:00
Neill Magill
653af355dc MDL-72767 forum: Stop duplicate digests being created
This change is to stop there being a possibility of 2 digests tasks
being created for a user on the day that MDL-72767 is applied.
2021-11-01 08:49:47 +00:00
Neill Magill
42171eb435 MDL-72767 forum: Ensure digests are sent
Before this change if a new post was made after the digest time but
before todays daily digest had been sent the run time on the digest
would be set to the next day resulting in no digest being sent to
the user.

By adding the server midnight to the custom data on the task we
ensure that in this case a new adhoc task is created for the next
day leaving the current one to get processed.

Server midnight is used so that if the digest time setting is
changed we would not get two tasks queued for the same day.
2021-11-01 08:49:46 +00:00
Neill Magill
7c8942046a MDL-72767 forum: Fix PHPDoc 2021-11-01 08:49:46 +00:00
Ilya Tregubov
03eca63387 Merge branch 'MDL-72736-master-v3' of git://github.com/peterRd/moodle 2021-11-01 08:19:24 +01:00
Peter Dias
d632240ac4 MDL-72736 course: Switch tests to classic only 2021-11-01 15:17:00 +08:00
Ilya Tregubov
2b45c78426 Merge branch 'MDL-72172-master' of git://github.com/dravek/moodle 2021-11-01 07:26:34 +01:00
Jun Pataleta
6f7defeeb6 Merge branch 'MDL-72588' of git://github.com/dravek/moodle 2021-11-01 11:22:48 +08:00
Peter Dias
0f20d7bba9 MDL-72736 course: Remove nav links if index is available 2021-11-01 08:28:07 +08:00
Andrew Nicols
3535fcca7a Merge branch 'MDL-72921' of https://github.com/stronk7/moodle 2021-11-01 07:18:34 +08:00
Andrew Nicols
2c32a5f8d8 Merge branch 'MDL-72660-master' of git://github.com/ferranrecio/moodle 2021-11-01 06:50:51 +08:00
AMOS bot
f89d8cd993 Automatically generated installer lang files 2021-10-30 00:07:29 +00:00
Eloy Lafuente (stronk7)
b5c6ce0d7f MDL-72921 generators: exported users now match the plan size definition
Before this patch the exported users (to csv file that jmeter consumes)
were all the enrolled users in the test course. And that's ok when the
number of users enrolled match the number of concurrent threads planned
for a jmeter plan (each thread is a user).

But when both numbers don't match, that can lead to the jmeter plan
not behaving as expected, because it iterates over the excessive users
in the file, leading to some users having run 5 loops, others 4...

The only way to make results more consistent is to, always, ensure that
the number of users exported for the plan match the plan size and not
the site size.

And that's what this issue exactly does, restrict the export to the
number of threads that the plan will have. So every user always runs
the very same number of loops.
2021-10-29 18:03:39 +02:00
Eloy Lafuente (stronk7)
b16fc54103 on-demand release 4.0dev+ 2021-10-29 17:16:34 +02:00
Eloy Lafuente (stronk7)
c05e63bf5f Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-10-29 17:16:29 +02:00
Ilya Tregubov
0a34a151c9 Merge branch 'MDL-72743' of git://github.com/stronk7/moodle 2021-10-29 13:57:58 +02:00
Eloy Lafuente (stronk7)
a23cc25ccd MDL-72743 phpunit: Skip test until MDL-72950 is fixed
It's good to keep the test because it's not easy to
reproduce the issue to be fixed. Part of the fix will
be to remove this skip.
2021-10-29 13:36:36 +02:00
Paul Holden
0188af39a1 MDL-72588 reportbuilder: performance improvement to report loader.
Statically cache list of loaded reports during request lifecycle,
this ensures that computationally heavy initialisation routines
in system reports are only executed once (e.g. the access tab).
2021-10-29 12:50:20 +02:00
Paul Holden
42481d5c43 MDL-72588 reportbuilder: fix dynamic loading of report parameters.
This fixes an issue for system reports that are initialised with
parameters (such as the access report). Previously these parameters
were not preserved, when sorting/paging them via AJAX requests.

We now defer the initialisation of the report until the table
filterset has been set, ensuring all parameters are available.
2021-10-29 12:50:20 +02:00
David Matamoros
8a1e7d913f MDL-72588 reportbuilder: add report access tab.
This tab includes a system report that provides a listing of all
users who can access the report, taking into account all audiences
that have been created for it. Update page of users available
reports to obey audience configuration.

Fix filters JS form to ensure it is only loaded once.

Co-authored-by: Mikel Martín <mikel@moodle.com>
2021-10-29 12:50:20 +02:00
Mikel Martín
144084a2ac MDL-72588 reportbuilder: interface for managing report audiences.
Add new tab to editor, allowing user to select from available audience
types in order to grant access to their reports.

Co-authored-by: David Matamoros <davidmc@moodle.com>
2021-10-29 12:50:15 +02:00
David Matamoros
70085ef7ac MDL-72588 reportbuilder: implement audience helpers and classes.
Create the base audience class, to be extended by all audience types
across the site. Implement types allowing audiences to be created per
user, cohort or system role assignment.

The helper class is used for interrogating report audience instances
and retrieving access lists of those users able to view specific
reports.

Co-authored-by: Paul Holden <paulh@moodle.com>
2021-10-29 12:28:24 +02:00
Ferran Recio
41487c38ed MDL-72660 core_courseformat: course index completion icons 2021-10-29 11:49:45 +02:00
Andrew Nicols
d2d9d6087d MDL-72615 boxnet: Correct upgrade step for boxnet removal 2021-10-29 15:00:58 +08:00
Andrew Nicols
f764fa8e62 Merge branch 'MDL-72433-master' of git://github.com/peterRd/moodle 2021-10-29 11:27:39 +08:00
Andrew Nicols
415c771768 Merge branch 'MDL-52484-master' of git://github.com/peterRd/moodle 2021-10-29 11:22:20 +08:00
Andrew Nicols
a9eeca8c05 Merge branch 'MDL-72615-master' of git://github.com/cescobedo/moodle 2021-10-29 11:17:29 +08:00
Andrew Nicols
73ca68d3d5 Merge branch 'MDL-72779' of https://github.com/paulholden/moodle 2021-10-29 10:16:56 +08:00
Eloy Lafuente (stronk7)
ba1c3c0b88 Merge branch 'MDL-72781-master' of git://github.com/mickhawkins/moodle 2021-10-28 22:26:59 +02:00
Eloy Lafuente (stronk7)
440fac33bb Merge branch 'MDL-72843-qbank_comment-unit-testsuite-resolve' of https://github.com/catalyst/moodle-MDL-70329 2021-10-28 22:12:11 +02:00
Shamim Rezaie
18fb0358f3 Merge branch 'MDL-72874-master' of git://github.com/andrewnicols/moodle 2021-10-29 03:34:19 +11:00
Víctor Déniz
4c34afebae Merge branch 'MDL-71779-master' of git://github.com/ferranrecio/moodle 2021-10-28 17:08:16 +01:00
Shamim Rezaie
e852342d39 Merge branch 'MDL-72924-fix-component-initialisation-for-performance-checks' of https://github.com/keevan/moodle 2021-10-29 02:56:27 +11:00
Víctor Déniz
307c4b9d20 Merge branch 'MDL-72912' of https://github.com/timhunt/moodle 2021-10-28 15:43:57 +01:00
Ferran Recio
3d2a6eacae MDL-71779 core_courseformat: reactive add and delete sections 2021-10-28 16:41:17 +02:00
Eloy Lafuente (stronk7)
3efac737fe Merge branch 'MDL-63983' of https://github.com/NeillM/moodle 2021-10-28 16:23:15 +02:00