910 Commits

Author SHA1 Message Date
Mikel Martín
0a03018116 MDL-75671 theme_boost: Refactor spacing classes for BS5
- Add SCSS code for spacing utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (pr-1 > pe-1, ml-auto > ms-auto, ml-sm-3 > ms-sm-3, ...)
2024-08-09 07:40:17 +02:00
Helen Foster
c5b3abf9f5 MDL-82599 lang: Import fixed English strings (en_fix) 2024-08-02 14:57:43 +02:00
Ilya Tregubov
1e1af341c0 NOBUG: Add upgrade notes 2024-08-02 09:30:38 +08:00
Jun Pataleta
902f9535b6
NOBUG: Add upgrade notes 2024-07-26 13:35:25 +08:00
Amaia Anabitarte
8596d3cd7c MDL-82146 report_log: Add subsections to activity filter 2024-07-19 08:38:12 +02:00
Andrew Nicols
5efe90187d
Merge branch 'MDL-82431' of https://github.com/paulholden/moodle 2024-07-11 11:46:04 +08:00
Paul Holden
8413f61260
MDL-82431 phpunit: correct unit test filename and classname.
Standardise the same test cases, e.g. make final, covers notation,
static data providers, namespaces, etc.

Once the tests run, a couple of them failed. They required changes
to assertions to make them pass.
2024-07-10 19:06:14 +01:00
Ilya Tregubov
096897d623 Merge branch 'MDL-81765-main-v02' of https://github.com/ferranrecio/moodle 2024-07-10 09:16:56 +08:00
David Woloszyn
2e0579ce3a MDL-58353 report_usersessions: Ability to logout all other sessions 2024-07-09 13:39:27 +10:00
ferranrecio
0ccafe76f6 MDL-81765 mod_subsection: disable mod subsection by default 2024-07-08 13:34:28 +02:00
ferranrecio
72efec7fb6 MDL-81765 report_outline: add subsection tests 2024-07-05 08:29:21 +02:00
Ilya Tregubov
c7af8d8afa NOBUG: Add upgrade notes 2024-07-05 09:01:53 +08:00
Huong Nguyen
ccd8089de9
Merge branch 'MDL-80907' of https://github.com/marinaglancy/moodle 2024-07-04 11:12:50 +07:00
Amaia Anabitarte
6912ddb3c6 MDL-81771 report_outline: Add subsections to course Activity report 2024-07-03 15:47:48 +02:00
Amaia Anabitarte
f9497ceade MDL-81771 core_report: Add Report as subsystem 2024-07-03 15:47:46 +02:00
Sara Arjona
510e8db405
NOBUG: Add upgrade notes 2024-06-20 16:30:46 +02:00
Huong Nguyen
966d5308a5
Merge branch 'MDL-78773' of https://github.com/paulholden/moodle 2024-06-20 11:06:01 +07:00
Eloy Lafuente (stronk7)
674497a12c
MDL-81523 phpunit: Add all missing setUp/tearDown parent calls
All setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass()
must, always, call to parent, to ensure that everything is properly
set and cleaned.

While in a lot of situations this is not needed (parents may not
have anything to run), with PHPUnit >= 10 this can become more
important because we are going to move the reset code from current
placement @ runBare() to setUp()/tearDown().

Note that all the changes performed in this commit have been detected
and fixed by moodle-cs (ParentSetUpTearDownSniffTest).
2024-06-14 16:04:57 +02:00
Huong Nguyen
6b0c51a2ca
Merge branch 'MDL-81781' of https://github.com/paulholden/moodle 2024-06-13 10:12:37 +07:00
Eloy Lafuente (stronk7)
01148a0816
MDL-81522 phpunit: Add missing void return type to all tests
While this change is not 100% required now, it's good habit
and we are checking for it since Moodle 4.4.

All the changes in this commit have been applied automatically
using the moodle.PHPUnit.TestReturnType sniff and are, exclusively
adding the ": void" return types when missing.
2024-06-11 11:55:07 +02:00
Paul Holden
41660e88c0
MDL-78773 report_stats: improve display of mode selection element.
Make use of existing theme selectors for navigation elements to style.
2024-06-07 11:33:37 +01:00
Paul Holden
2eb7db3a05
MDL-81781 report_log: escape description selectively on display/export.
Per cd85e090f3 all content was escaped, however we should only do that
when displaying the value in browser or exporting to file format which
supports HTML.
2024-06-07 11:29:10 +01:00
Jun Pataleta
c42c94279a
NOBUG: Add upgrade notes 2024-06-06 22:30:24 +08:00
Sara Arjona
5d6c6bf81c
NOBUG: Add upgrade notes 2024-05-30 17:00:19 +02:00
Paul Holden
c4b06e48a6
MDL-72786 report_eventlist: final removal of deprecated event methods. 2024-05-24 22:27:03 +01:00
Ilya Tregubov
8f9e93f5a3 NOBUG: Add upgrade notes 2024-05-24 10:51:52 +08:00
Andrew Nicols
0964cd5b69
MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
Sara Arjona
687381ee04
Merge branch 'MDL-81805-main' of https://github.com/lameze/moodle 2024-05-14 17:05:30 +02:00
Marina Glancy
49ab83c1a4 MDL-80907 various: fixes to incorrect column selectors in behat 2024-05-07 19:27:14 +01:00
Simey Lameze
6f4efa45bd MDL-81805 behat: remove unnecessary @javascript from tests 2024-05-07 09:05:10 +08:00
Paul Holden
be7802fa88
MDL-72353 report: final removal of deprecated report selection method. 2024-05-06 20:22:08 +01:00
Huong Nguyen
6b0f557404
Merge branch 'MDL-79149' of https://github.com/paulholden/moodle 2024-04-30 11:48:00 +07:00
Paul Holden
5f8b568cbc
MDL-79149 report_participation: more resilient activity access test.
Use the "Forum" module rather than the "Book" module, because the latter
emits two events when a student views it - if these two events happened
either side of a single second, then the report  would count two distinct
views (when it was trying to assert only one).
2024-04-26 16:08:02 +01:00
SergioComeron
c4f840d404 MDL-77272 report: Enable module level report options 2024-04-25 17:14:47 +02:00
Daniel Neis Araujo
bbc91d4788 MDL-81613 report_log: fix user fullname export for log report 2024-04-22 14:34:32 -03:00
Leon Stringer
cd85e090f3 MDL-80585 report_log: sanitize descriptions
Strip any HTML tags from values in the "Description" column.
2024-04-17 03:44:21 +00:00
Jun Pataleta
a180dba314
MDL-81549 versions: bump all versions and requires near release 2024-04-17 00:03:29 +08:00
Andrew Nicols
8acda4e048
Merge branch 'MDL-70829-main' of https://github.com/junpataleta/moodle 2024-04-12 11:58:32 +08:00
Jun Pataleta
31b4e4c7a0
MDL-70829 tool_lp: Remove presentation role for decorative images
* Behat tests in report_competency added to test the user summary
display in the user competency summary modal.
2024-04-12 10:42:10 +08:00
Huong Nguyen
7e2da937d5
Merge branch 'MDL-81327-main' of https://github.com/laurentdavid/moodle 2024-04-11 12:49:32 +08:00
Laurent David
59e63c2081 MDL-81327 report_loglive: Apply the same fixes to loglive
* Additional fix: take into account selected group (filter)
2024-04-09 15:10:37 +02:00
Andrew Nicols
a1ee9cdbdb MDL-81327 report_log: Make group filtering logstore agnostic
The original implementation of group filtering introduced in MDL-80565
assumed that the log table existed in Moodle's own database. This is not
the case of the database logstore, or any similar logstore implemetning
the database \core\log\sql_reader interface.

Furthermore this check was also applying the SQL when the user had the
`accessallgroups` capability, or when the course was not in SEPARATE
groups mode (no groupmode and/or visible groups).

Co-authored: Laurent David <laurent.david@moodle.com>
2024-04-09 15:10:37 +02:00
Laurent David
b418eff39d MDL-81327 report_log: Fix col_fullusername
* Avoid calling get_user_fullname too many times and
deal with the case that $event->userid is empty
2024-04-09 15:10:37 +02:00
Helen Foster
dccc91f4bc MDL-81351 lang: Import fixed English strings (en_fix) 2024-03-26 23:13:15 +01:00
Paul Holden
011619dbd3
MDL-71734 lang: final removal of deprecated 400 strings. 2024-03-21 09:44:15 +00:00
Sara Arjona
05dd0cd384
Merge branch 'MDL-80204-master' of https://github.com/izendegi/moodle 2024-03-13 12:24:41 +01:00
Ilya Tregubov
fd7703ff69 Merge branch 'MDL-80565-main' of https://github.com/laurentdavid/moodle 2024-03-13 11:22:23 +08:00
Iñigo Zendegi
a840d06652 MDL-80204 lang: Polysemic lang strings to & from
AMOS BEGIN
 CPY [to,moodle],[todate,moodle]
 MOV [to,moodle],[torecipient,moodle]
 CPY [from,moodle],[fromdate,moodle]
 MOV [from,moodle],[fromsender,moodle]
AMOS END
2024-03-12 11:51:03 +01:00
Laurent David
a12a4b3a14 MDL-80565 report_loglive: Do not show logs from other groups
* Prevent users from seeing logs from other groups if
groupmode is in SEPARATEGROUP
2024-03-11 14:27:10 +01:00
Laurent David
e899219c20 MDL-80565 report_log: Prevent user from seeing other logs
* When no groups are selected we forcefully prevent
users from seeing users' logs from other groups
2024-03-11 14:27:01 +01:00