Commit graph

115046 commits

Author SHA1 Message Date
Huong Nguyen
099c2f9ef3
Merge branch 'MDL-82451-main' of https://github.com/aanabit/moodle 2024-07-25 08:43:36 +07:00
Huong Nguyen
e756da0774
Merge branch 'MDL-82422-main' of https://github.com/andelacruz/moodle 2024-07-25 08:36:27 +07:00
AMOS bot
4e2a85414b Automatically generated installer lang files 2024-07-25 00:08:11 +00:00
Paul Holden
22c8d85752
MDL-82585 mod_feedback: remove long since unused redirection scripts. 2024-07-24 16:11:27 +01:00
Juan Leyva
57650852e5 MDL-80017 core_grades: Fix return type for itemname 2024-07-24 16:15:57 +02:00
Amaia Anabitarte
ccd90b2d7c MDL-82451 course: Switch hide/show icons for section action menu 2024-07-24 12:07:59 +02:00
Jun Pataleta
e0240b1d6b
Merge branch 'MDL-81803' of https://github.com/paulholden/moodle 2024-07-24 16:57:56 +08:00
Jun Pataleta
6d80637532
Merge branch 'MDL-82289' of https://github.com/paulholden/moodle 2024-07-24 15:05:43 +08:00
Angelia Dela Cruz
3a41d1a588 MDL-82422 mod_workshop: Behat for how strict assessment comparison is 2024-07-24 13:19:08 +08:00
Huong Nguyen
83a18b6f58
Merge branch 'MDL-82466' of https://github.com/paulholden/moodle 2024-07-24 12:10:28 +07:00
Huong Nguyen
86968a64a5
Merge branch 'MDL-72424' of https://github.com/paulholden/moodle 2024-07-24 12:06:54 +07:00
Huong Nguyen
eb14ffa0b6
Merge branch 'MDL-82146-main' of https://github.com/aanabit/moodle 2024-07-24 12:04:23 +07:00
Huong Nguyen
f8654b55c6
Merge branch 'MDL-82528' of https://github.com/paulholden/moodle 2024-07-24 11:59:48 +07:00
Huong Nguyen
ef80d0d099
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-24 10:49:56 +07:00
Jun Pataleta
6c82a2e9d2
MDL-70854 core: Rewrite logic for determining whether to update progress
Rewriting, especially to prevent empty if-blocks.
2024-07-24 10:48:00 +08:00
Jun Pataleta
467fa44233
MDL-70854 core: Revert removal of conditions to update progress
The conditions for updating the progress in the progress bar were
mistakenly removed. We need to revert these to ensure proper operation
of the progress bar.
2024-07-24 10:48:00 +08: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
cc84ae5809 MDL-81766 mod_subsection: Add 'get_delegated_section_info' to manager
Add a new 'get_delegated_section_info' to the manager class so it can be reused.
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
Jun Pataleta
bc5a65e444
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-23 17:59:30 +08:00
Jun Pataleta
42aca7aaf7
MDL-70854 core: Simplify querying of unconfirmed users
- Use $DB->count_records_select() and $DB->get_recordset_select()
instead of using full SQL queries.
- Other fixes:
  - Remove unused variable in progress_bar::update_raw()
  - poll_stored_progress tidy-ups:
    - Use validated parameter.
    - Add return types for the external methods.
2024-07-23 17:58:53 +08:00
Conn Warwicker
b92886ad59
MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Michael Aherne
35cfdf4927 MDL-82554 question: Allow null createdby in question_has_capability_on. 2024-07-23 10:24:35 +01:00
Simey Lameze
753c247bad MDL-82250 core: add web installer test workflow 2024-07-23 13:32:13 +08:00
Andrew Nicols
f5f883ef04
MDL-82427 core_filters: Deprecate filter.php 2024-07-23 11:33:46 +08:00
Andrew Nicols
8d284e3ce0
MDL-82427 core_filters: Coding style tidyup 2024-07-23 11:33:45 +08:00
Andrew Nicols
01f7456a96
MDL-82427 core_filters: Final deprecation of text_filtering_hash 2024-07-23 11:33:45 +08:00
Andrew Nicols
29e7140e30
MDL-82427 filter_*: Move text filters to autoloaded location
Note: No backwards-compatability layer is included for manual inclusion
of filter.php as this is not a public API.  Inclusion should have always
been through the filter manager, and the filter's own unit tests.
2024-07-23 11:33:42 +08:00
Andrew Nicols
534c3e1821
MDL-82427 core_filters: Support autoloading of filters 2024-07-23 11:33:03 +08:00
Andrew Nicols
fe3b13d51a
MDL-82427 core_filters: Update name of external service class 2024-07-23 11:33:03 +08:00
Andrew Nicols
16456220cd
MDL-82427 core: Update namespace of core_filters classes 2024-07-23 11:33:03 +08:00
Andrew Nicols
ae2f69a898
MDL-82427 core_filters: Move filter classes to autoloading 2024-07-23 11:32:09 +08:00
Jun Pataleta
4cdd0459b4
Merge branch 'MDL-77167_remove-deprecation-layer-for-mdl-70990-yui-events' of https://github.com/ziegenberg/moodle 2024-07-23 10:36:57 +08:00
Shamim Rezaie
eb2b5875ef MDL-80752 mod_assign: Move action menu to the action bar on grading page
Also, move the "Download all submissions" button into the action menu.
2024-07-23 00:12:45 +10:00
Paul Holden
aca7b96e9e
Merge branch 'MDL-82529' of https://github.com/dravek/moodle into main 2024-07-22 12:36:40 +01: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
Paul Holden
08f6023657
Merge branch 'MDL-82512' of https://github.com/dravek/moodle into main 2024-07-22 12:31:21 +01:00
Jun Pataleta
0b9660a43f
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria 2024-07-22 14:36:10 +08:00
Jun Pataleta
dc12e44bd4
MDL-82551 core: Set welcome message heading to level 1 2024-07-22 14:20:37 +08: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
Huong Nguyen
7222619857
Merge branch 'MDL-82476-main' of https://github.com/sarjona/moodle 2024-07-22 10:43:54 +07:00
Huong Nguyen
6559850be1
Merge branch 'MDL-82481' of https://github.com/paulholden/moodle 2024-07-22 10:40:18 +07:00
Huong Nguyen
b8831f566b
Merge branch 'MDL-82193-main' of https://github.com/ericmerrill/moodle 2024-07-22 09:39:15 +07:00