Huong Nguyen
ffe2149889
Merge branch 'MDL-66129-404' of https://github.com/rhell4/moodle into MOODLE_404_STABLE
2024-12-30 09:41:11 +07:00
Huong Nguyen
dbf7ee97d0
Merge branch 'MDL-82697-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-12-19 10:21:36 +07:00
Paul Holden
a0f26a114f
MDL-84000 reportbuilder: move testcase helper to autoloaded namespace.
...
Clean up some class imports while we're at it.
2024-12-13 10:16:29 +00:00
Paul Holden
7cdb3538eb
MDL-82697 courseformat: fix exception arguments for section limit.
...
Co-authored-by: James C <5689414+james-cnz@users.noreply.github.com>
2024-12-11 17:47:02 +00:00
Andrew Nicols
55126be4ad
MDL-81520 core: Fix test finality
2024-12-11 12:30:21 +08:00
Huong Nguyen
da00d28c2c
Merge branch 'MDL-83661-404' of https://github.com/ferranrecio/moodle into MOODLE_404_STABLE
2024-11-28 09:39:16 +07:00
Huong Nguyen
ecf91e296e
Merge branch 'mdl-82762_404_wip' of https://github.com/james-cnz/moodle into MOODLE_404_STABLE
2024-11-26 12:10:51 +07:00
Jun Pataleta
86e2e5882e
MDL-83795 courseformat: Move upgrade notes to upgrade.txt
2024-11-22 23:53:34 +08:00
Andrew Nicols
c6942c9bb7
MDL-81521 core: Update all possibly data providers to be static
...
Note: Some data providers could not be automatically be converted to
being static. These will be handled in a separate issue.
2024-11-18 10:24:55 +08:00
James C
785d70c2d7
MDL-82762 course: Prevent "undefined" being added to course index
2024-11-14 10:14:17 +13:00
Huong Nguyen
1a88833799
Merge branch 'MDL-83185-404' of https://github.com/laurentdavid/moodle into MOODLE_404_STABLE
2024-11-13 14:27:46 +07:00
ferran
a85c93018a
MDL-83661 core_courseformat: fix drop file modal
...
When the user drags and drops a file into a course section that can
create more than one type of activity (for example a zip file) the modal
had repeated form elements ids. Now every radio option has its own id.
2024-11-08 11:45:58 +01:00
Rossco Hellmans
78be42a88e
MDL-66129 course_module: include lib.php before calling _refresh_events
...
Before checking for and calling the module _refresh_events function in
course_module_calendar_event_update_process, the module lib.php file
needs to be included if it has not been already.
2024-11-08 18:41:32 +10:00
Jun Pataleta
5ad4c9cf3b
Merge branch 'mdl-83497_404' of https://github.com/james-cnz/moodle into MOODLE_404_STABLE
2024-11-06 22:38:45 +08:00
Laurent David
3203fb9ae7
MDL-83185 core_courseformat: Refresh cache on group change
...
* When we add users to a group (or remove them), we should refresh
the course index cache so it stays in sync with what the user
can actually see.
2024-11-04 06:15:25 +01:00
ferran
84c2589c42
MDL-83185 core_courseformat: Allow global state cache invalidation
2024-11-04 06:15:25 +01:00
meirzamoodle
5bd5d08f7e
MDL-82988 general: Apply helper to get path to fixture
2024-10-27 15:45:19 +07:00
Jun Pataleta
731d5cc8b3
Merge branch 'MDL-82548-404' of https://github.com/roland04/moodle into MOODLE_404_STABLE
2024-10-24 12:18:11 +08:00
Andrew Nicols
564de9d4a7
MDL-81308 core: Use a helper for consecutive invocation counts
2024-10-23 14:17:37 +08:00
Andrew Nicols
da7c5d98ec
MDL-81308 core: Update tests to not use withConsecutive
2024-10-23 14:17:36 +08:00
James C
fb6ea9b0d6
MDL-83497 course: Preserve move section dialogue info HTML
2024-10-19 16:19:37 +13:00
Jun Pataleta
6e617b9e46
Merge branch 'MDL-83143-404' of https://github.com/safatshahin/moodle into MOODLE_404_STABLE
2024-10-17 11:47:16 +08:00
Safat
9ef5476361
MDL-83143 core_course: Add course name as default for empty room name
2024-10-11 11:02:08 +11:00
Tobias Garske
dc2b113bca
MDL-83255 core_course: Fix activitychooser recommended tab navigation
2024-10-07 08:24:31 +00:00
Dan Marsden
3100b07fb6
MDL-83310 course: remove hard-coded list of course formats from test.
2024-10-02 08:50:06 +13:00
Mikel Martín
bdd79633d3
MDL-82548 courseformat: Fix courseindex cm anchors
...
In the course index the course modules links had incorrenct "href" (only the anchor) when
being displayed in a page different than course page. This patch regenerates the href for
cms in the course index when needed.
2024-10-01 11:01:48 +02:00
Jun Pataleta
3dadbe85af
Merge branch 'MDL-83163-m404' of https://github.com/sammarshallou/moodle into MOODLE_404_STABLE
2024-09-27 11:59:25 +08:00
Sara Arjona
8cb9876cf8
Merge branch 'MDL-83173-404' of https://github.com/stevandoMoodle/moodle into MOODLE_404_STABLE
2024-09-25 17:11:36 +02:00
Stevani Andolo
ffaed1fc50
MDL-83173 course: Fixed overlaps courses cards three dots
2024-09-24 09:51:59 +08:00
Laurent David
289f2b427a
MDL-83050 core_courseformat: Fix index highlight for collapsed section
...
* Collapsed sections on course index is not highlighting the correct
element when scrolling over subelements.
2024-09-19 12:01:02 +02:00
sam marshall
32ac490e77
MDL-83163 core_course: Fresh install fails if dependency on format
...
If any plugin had dependency on a course format, Moodle fresh install
showed dependency errors (even though course format exists).
2024-09-16 15:44:25 +01:00
Jun Pataleta
4058934644
Merge branch 'mdl-83046_404' of https://github.com/james-cnz/moodle into MOODLE_404_STABLE
2024-09-12 13:40:33 +08:00
james-cnz
36c8faede8
MDL-83046 course: Add non-delegated sections before delegated ones
2024-09-12 12:11:31 +12:00
ferranrecio
c4f9163dc0
MDL-79020 core_courseformat: hide completion edit link in bulk edit
2024-09-06 11:11:16 +02:00
Simey Lameze
57fcc42a49
MDL-82651 behat: remove unnecessary steps
2024-08-28 13:51:24 +08:00
Sara Arjona
9e351777b1
Merge branch 'MDL-82502-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-13 13:14:58 +02:00
Paul Holden
2937e90bc7
MDL-82502 courseformat: align module action capability checks.
...
The "Hide/Show/Duplicate" actions should be considered self-contained,
and not also require "manageactivities" capability (per existing docs)
in addition to the specific capability that controls the action itself.
Also ensure the "Duplicate" capability checks are in the course context.
2024-08-02 10:01:16 +01:00
Paul Holden
94bcaa0d4f
MDL-82208 block_starredcourses: avoid double encoding course name.
2024-07-31 08:47:23 +01:00
Huong Nguyen
67b21bbc99
Merge branch 'MDL-58287-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-07-25 10:29:43 +07:00
Huong Nguyen
3da6a04461
Merge branch 'MDL-82451-404' of https://github.com/aanabit/moodle into MOODLE_404_STABLE
2024-07-25 08:43:49 +07:00
Amaia Anabitarte
727c4c5a6e
MDL-82451 course: Switch hide/show icons for section action menu
2024-07-24 12:17:45 +02:00
Paul Holden
2299b73307
MDL-58287 courseformat: ensure all format plugins are returned.
2024-07-19 15:23:37 +01:00
Paul Holden
85c7dcaf05
MDL-82528 courseformat: switch to existing group action icon.
...
Use a version that already exists in our fontawesome mapping so it
can be consistently styled/overridden.
2024-07-19 12:54:42 +01:00
Huong Nguyen
21fc6a3016
Merge branch 'MDL-82467-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-07-18 09:19:51 +07:00
Paul Holden
aa550ddea6
MDL-82467 completion: simplify field SQL for completion columns.
...
For columns whose values can be represented purely in SQL, we don't
need to/shouldn't select extra data because it confuses the column
output during aggregation for numeric/boolean columns.
2024-07-15 13:34:55 +01:00
Laurent David
e7065ad471
MDL-82319 core_courseformat: Remove redundant lock icon in section
2024-07-15 06:33:31 +02:00
Huong Nguyen
799e5c9ecc
Merge branch 'MDL-79717-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-07-11 09:35:15 +07:00
Sara Arjona
45d839a7c8
Merge branch 'MDL-82391-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-07-10 18:05:53 +02:00
Paul Holden
2196813e1e
MDL-79717 phpunit: ensure unique data provider keys in tests.
...
Duplicate data provider keys were overwriting and/or duplicating
one another, leading to some cases being skipped.
Other "duplicate array key" errors were picked up by `phpcs` in
this dragnet across all tests, which have also been fixed.
2024-07-10 14:08:52 +01:00
Paul Holden
5ca387bef3
MDL-82391 courseformat: correct selector element section URLs.
...
It's required by themes that don't use the course index component,
e.g. Classic theme.
2024-07-09 14:45:22 +01:00