Amaia Anabitarte
4fac40c02f
MDL-82478 core_coures: Add Delete option for subsection page
2024-08-06 10:55:48 +02:00
Paul Holden
bf8f0c19a2
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:11 +01:00
Andrew Nicols
024e36be17
MDL-81634 core: Fix all implicitly defined nullables
...
Note: This does not impact third-party libraries.
2024-08-02 14:11:12 +08:00
Ilya Tregubov
1e1af341c0
NOBUG: Add upgrade notes
2024-08-02 09:30:38 +08:00
Paul Holden
07ce1ccc18
MDL-82208 block_starredcourses: avoid double encoding course name.
2024-07-31 08:47:17 +01:00
Huong Nguyen
7b4f8e4021
Merge branch 'MDL-82260-main' of https://github.com/ferranrecio/moodle
2024-07-31 09:37:01 +07:00
Sara Arjona
793fe8ac40
MDL-82497 theme: Update icons for consistency
...
Some places where using the wrong icon and now that they have changed,
they need to be updated. For instance:
- i/settings (cog) should be used for settings or configure.
- t/edit (pen) should be used for editing
2024-07-30 12:55:09 +02:00
Tim Hunt
69e1c3ca7a
MDL-82607 filters: configfilternavigationwithsystemcontext on by default
2024-07-29 11:12:13 +01:00
ferranrecio
9065e509da
MDL-82260 core_courseformat: sync subsections access restrictions
2024-07-26 16:56:58 +02:00
Amaia Anabitarte
19ab9cc6ec
MDL-82259 course: Propagate visibility from and to delegated section
2024-07-26 14:45:55 +02:00
ferranrecio
72b154e33f
MDL-82260 course: add hidden course field to edit section form
...
A course id hidden field is needed to edit availability conditions
directly from behat. This fields is not relevant to normal execution but
it is not harmfull as section update will ignore it.
2024-07-26 11:16:38 +02:00
ferranrecio
c87e52f577
MDL-82260 course: add behat section settings page url
2024-07-26 11:16:38 +02:00
Amaia Anabitarte
d4a887987a
MDL-82259 behat: Improve section behat steps to allow section name
2024-07-26 10:02:47 +02:00
Jun Pataleta
902f9535b6
NOBUG: Add upgrade notes
2024-07-26 13:35:25 +08:00
Huong Nguyen
3d30c4abd6
Merge branch 'MDL-81766-main-clr02' of https://github.com/ferranrecio/moodle
2024-07-25 11:08:54 +07:00
Huong Nguyen
c8d1f90c0e
Merge branch 'MDL-58287' of https://github.com/paulholden/moodle
2024-07-25 10:29:23 +07:00
Huong Nguyen
0079197827
Merge branch 'MDL-73232-main' of https://github.com/laurentdavid/moodle
2024-07-25 09:20:14 +07:00
Huong Nguyen
854296c210
Merge branch 'MDL-81888-main-v02' of https://github.com/ferranrecio/moodle
2024-07-25 08:58:19 +07:00
Huong Nguyen
099c2f9ef3
Merge branch 'MDL-82451-main' of https://github.com/aanabit/moodle
2024-07-25 08:43:36 +07:00
Paul Holden
9ff0b21e38
MDL-73976 course: final removal of deprecated request button method.
2024-07-24 11:41:18 +01:00
Amaia Anabitarte
ccd90b2d7c
MDL-82451 course: Switch hide/show icons for section action menu
2024-07-24 12:07:59 +02:00
Huong Nguyen
83a18b6f58
Merge branch 'MDL-82466' of https://github.com/paulholden/moodle
2024-07-24 12:10:28 +07:00
Huong Nguyen
f8654b55c6
Merge branch 'MDL-82528' of https://github.com/paulholden/moodle
2024-07-24 11:59:48 +07:00
Mikel Martín
63b46b415f
MDL-81766 mod_subsection: Update behat tests
...
Update the existing behat tests and add new ones with the new
modification that renders the subsection in the course page.
2024-07-23 16:33:00 +02:00
Mikel Martín
1b8ec78421
MDL-81766 mod_subsection: Display subsection content in activity card
...
- Replace the standard activity card display with the delegated section
rendering.
- Add and fix related SCSS styles.
2024-07-23 16:33:00 +02:00
Mikel Martín
195812b34b
MDL-81766 courseformat: Add delegatedsection renderable
...
Create a new 'delegatedsection' renderable extending the 'section' one
with its own template.
2024-07-23 16:32:59 +02:00
ferranrecio
a908c0f8af
MDL-81766 core_course: fix modchooser section number
2024-07-23 16:32:59 +02:00
Mikel Martín
eb4c43b387
MDL-81766 courseformat: Fix section page actionmmenu update
2024-07-23 16:32:59 +02:00
Mikel Martín
2a01a188a1
MDL-81766 courseformat: Fix hide addsection in delegated sections
...
Delegated sections should not render the add new section button at
the bottom of them.
2024-07-22 13:34:45 +02:00
Mikel Martín
c51989d649
MDL-81766 courseformat: Fix bulk actions for delegated sections
...
Disable bulk editing for delegated sections and fix some styles related to it.
2024-07-22 13:34:45 +02:00
Mikel Martín
b18db24552
MDL-81766 courseformat: Fix delegated section headers display
...
Section specific page was not prepared to display another sections in
it. Fixed some of its logic to handle other section's headers inside.
2024-07-22 13:34:45 +02:00
Mikel Martín
d77b20b65f
MDL-81766 courseformat: Fix last activity dropzone
...
When using drag and drop with activities and subsection combination, the dropzone
of the last element was incorrectly calculated. Fixed the 'getLastCm()' function.
2024-07-22 13:34:45 +02:00
Mikel Martín
572d45c885
MDL-81766 course: Fix activity name inplace editor selector
...
Fix name inplace editor for course modules by updating the selector
to a more specific one.
2024-07-22 13:34:45 +02:00
Laurent David
4fe100f161
MDL-73232 core_courseformat: Inform user when reaching section max
...
* Disable the Add new Section button when max has been reached
* It also grays out the (+) button between sections and display a tooltip
* When adding a new section via the (+) button between section
should add a section with the (+) (add) button disabled.
2024-07-22 07:58:54 +02:00
Paul Holden
26c42bf02d
MDL-58287 courseformat: ensure all format plugins are returned.
2024-07-19 15:21:19 +01:00
Paul Holden
c99c9c1b5a
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:13 +01:00
Paul Holden
c10610d035
MDL-82466 completion: format time duration in report entity columns.
...
Where the previous output was simple count of days, switch to using
the new format helper to return a time duration.
AMOS BEGIN
CPY [daystakingcourse,core_course],[daystakingcourse,core_completion]
AMOS END
2024-07-19 10:34:00 +01:00
Amaia Anabitarte
ff6edc2e9f
MDL-82510 course: Add new delegated action menu
2024-07-19 08:27:10 +02:00
Ilya Tregubov
fdfdd02639
NOBUG: Add upgrade notes
2024-07-19 09:30:19 +08:00
Huong Nguyen
388fb71f51
Merge branch 'MDL-81699-main' of https://github.com/durenadev/moodle
2024-07-18 09:57:18 +07:00
Huong Nguyen
f4b332a67e
Merge branch 'MDL-82467' of https://github.com/paulholden/moodle
2024-07-18 09:19:33 +07:00
Sara Arjona
a7383405a8
Merge branch 'MDL-81683-main' of https://github.com/laurentdavid/moodle
2024-07-17 17:03:17 +02:00
Laurent David
45c157d0f9
MDL-81683 core_courseformat: Adjust Move Activity Modal style
...
* Use the same style as the course index for the tree/list items
* Fix indentation
2024-07-17 09:32:05 +02:00
Laurent David
7f7d4a97d8
MDL-81683 core_courseformat: Add subsection to the move activity modal
...
* Add subsection in the tree hierarchy
* Split the mustache templates to avoid repetitive code
2024-07-17 09:32:05 +02:00
Huong Nguyen
7c6fcaaff5
Merge branch 'MDL-80744-main-1' of https://github.com/ilyatregubov/moodle
2024-07-16 09:15:57 +07:00
Paul Holden
e60876ecef
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:19:25 +01:00
Ilya Tregubov
0e8c086653
MDL-80744 core_course: user selector renderer for actionbar in course
2024-07-15 16:36:43 +08:00
Laurent David
c115b6d699
MDL-82319 core_courseformat: Remove redundant lock icon in section
2024-07-15 06:32:44 +02:00
Daniel Ureña
5089744789
MDL-81699 Course: core_course_get_courses_by_field add param sectionid
2024-07-12 11:29:26 +02:00
ferranrecio
5617445d42
MDL-81888 tool_generator: add cleanup scenario tag
...
The tool_generator creates a testing scenario that can
execute all steps from behat_data_generators (with some
limitations) and admin settings. With the patch the scenario file can
incorporate a cleanup steps to be executed when the manual test is done.
2024-07-12 10:32:54 +02:00