Commit graph

7191 commits

Author SHA1 Message Date
Sara Arjona
1627aa8e71
Merge branch 'MDL-83527-main-v02' of https://github.com/ferranrecio/moodle 2025-01-14 09:38:54 +01:00
Sara Arjona
ec68d42f82
Merge branch 'MDL-83561-main' of https://github.com/laurentdavid/moodle 2025-01-14 08:42:42 +01:00
Sara Arjona
7f114bb370
Merge branch 'MDL-83214-main' of https://github.com/aanabit/moodle 2025-01-14 08:26:57 +01:00
ferran
3a8172a26a MDL-83527 core_courseformat: refactor course editor action menus
As part of the course format cleanup epic, all course editor action menu
output classes needs to be refactored to be more mantainable and
reusable. Also, it added notes for the final deprecation of many lines
of code in Moodle 6.0.
2025-01-13 14:49:46 +01:00
Laurent David
c7fec301bc MDL-83561 format_social: Limit visible sections in social
* Only the first section is visible in social format, so we
limit the visibility of the section to the first section.
This impacts the move dialog.
* Fix PHP unit tests
2025-01-06 06:57:43 +01:00
Huong Nguyen
0fc12f295f
NOBUG: Add upgrade notes 2025-01-03 13:53:41 +07:00
Huong Nguyen
d5505e0ae2
Merge branch 'MDL-83639-main' of https://github.com/sarjona/moodle 2025-01-02 10:00:11 +07:00
Huong Nguyen
cec2c6f872
Merge branch 'MDL-66129-main' of https://github.com/rhell4/moodle 2025-01-02 09:59:44 +07:00
ferran
22935259c1
MDL-82342 core_course: deprecate old course edit webservices
Both core_course_edit_section and core_course_edit_module are not needed
anymore. All course edit actions are now executed as state actions from
core_courseformat_update_course. Also, the core_course_get_module is
fully replaced by the core_courseformat cmitem fragment (including also
any possible JS module).
2024-12-23 11:28:17 +01:00
Sara Arjona
84f561189a
Merge branch 'MDL-82341-main' of https://github.com/ferranrecio/moodle 2024-12-23 11:19:57 +01:00
ferran
f081373156 MDL-82341 core_courseformat: migrate events for inplace editable 2024-12-20 12:22:45 +01:00
ferran
074645571b MDL-82341 core_courseformat: migrate permalink to action request 2024-12-20 12:22:45 +01:00
ferran
751dcbb4b9 MDL-82341 core_course: deprecate yui modules 2024-12-20 12:22:45 +01:00
Amaia Anabitarte
f87d36d750 MDL-82034 core_course: Fix Activity chooser opening issues on behat 2024-12-20 10:31:24 +01:00
Amaia Anabitarte
c406bcecc3 MDL-82034 mod_subsection: Enable by default 2024-12-20 10:29:48 +01:00
Sara Arjona
314d41f427
MDL-83639 pix: Update custom icons
Sabina Abellán from the UX team has created the following custom icons:

- ai*:sparkles
- core:e/insert_col_after
- core:e/insert_col_before
- core:e/split_cells
- core:e/text_color
- core:i/bulk_edit
- core:i/export
- core:i/grade_partiallycorrect
- core:i/item
- core:t/completion_incomplete
- core:t/locktime
- mod_scorm:browsed
- tool_policy:level

In addition to updating these SVG files, the entries in the icon_map() have
been removed to ensure that the customized version is always used.
2024-12-20 07:40:23 +01:00
Huong Nguyen
7a5fb9bd78
Merge branch 'MDL-82697' of https://github.com/paulholden/moodle 2024-12-19 10:21:08 +07:00
Huong Nguyen
c66bbed355
Merge branch 'MDL-83956' of https://github.com/paulholden/moodle 2024-12-19 10:07:02 +07:00
Huong Nguyen
7befed22d0
Merge branch 'versionbump' of https://github.com/junpataleta/moodle 2024-12-19 10:03:51 +07:00
Jun Pataleta
1ff50ac088
NOBUG: Bump versions for main to the current date 2024-12-18 23:53:12 +08:00
Paul Holden
0fe0fc675c
MDL-84000 reportbuilder: move testcase helper to autoloaded namespace.
Clean up some class imports while we're at it.
2024-12-17 08:19:38 +00:00
Amaia Anabitarte
e1e282a4b1 MDL-83214 core_course: Make is_delegated consistent 2024-12-16 11:07:32 +01:00
Paul Holden
83dc1912dd
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:46:50 +00:00
Sara Arjona
1420e2fb5d
Merge branch 'MDL-82457-main' of https://github.com/laurentdavid/moodle 2024-12-11 08:57:09 +01:00
Jun Pataleta
4929d6c3d1
Merge branch 'MDL-81520-main' of https://github.com/andrewnicols/moodle 2024-12-11 13:41:15 +08:00
Andrew Nicols
c2414e5a45
MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
Huong Nguyen
7e497dedc4
Merge branch 'MDL-81825-main' of https://github.com/roland04/moodle 2024-12-11 09:52:51 +07:00
Mikel Martín
a973ea46d7 MDL-81825 core: Replace sr_text() with visually_hidden_text()
In core renderer, replace 'sr_text' method with 'visually_hidden_text' to be
consistent with Bootstrap 5 upgrade.
2024-12-10 14:02:34 +01:00
Mikel Martín
f9abc562f5 MDL-81825 theme_boost: Refactor .sr-only usages for BS5
- Add .visually-hidden to the Boostratp 5 bridge SCSS file
- Replace .sr-only occurrences with .visually-hidden
- Replace .dropzone-sr-only-focusable  with .dropzone-visually-hidden-focusable
  for consistency
2024-12-10 14:02:32 +01:00
Laurent David
2be6563324 MDL-82457 core: Remove chat and survey dependencies
* Remove chat and survey plugins from the standard plugins
* Remove all related tables and settings from both plugins
using upgrade.
* Remove temporary admin notification (MDL-82297) and strings.
* PHP Unit:
   - Remove chat and survey as a sample module for unit testing
     replacing it with assignment module when possible (if not page).
   - Remove chat and survey from bulk update test
* Behat: Remove chat and survey behat tests
2024-12-10 08:59:18 +01:00
Sara Arjona
9a482096f6
Merge branch 'MDL-83783-main' of https://github.com/aanabit/moodle 2024-12-09 16:20:30 +01:00
Paul Holden
45a6986aa4
MDL-83956 course: update spacer icon for category management tree.
Prior to fd676913 the manage course categories tree element used
the 'i/empty' icon as a fixed width spacer (fa-fw). However this
icon is now shown as a square, which looks out of place here.

Change to a different icon that maps to the same fixed width spacer
in order to restore the previous behaviour.
2024-12-09 08:55:26 +00:00
Mikel Martín
c74102a3c6 MDL-80303 theme_boost: Clean and reorder course SCSS
- Reorder SCSS blocks to improve readability
- Clean comment style to improve readability
- Refactor some SCSS blocks
- Move some styles from core.scss to course.scss
2024-12-03 10:57:29 +01:00
Mikel Martín
195b14b3d9 MDL-80303 theme_boost: Remove unused/unneded course SCSS
- Remove unused/unneeded styles in course.scss
- The .activity-wrapper class and its related SCSS styles are not
needed anymore after MDL-77863 was integrated.
2024-12-03 10:57:29 +01:00
Sara Arjona
44a0f48a30
NOBUG: Add upgrade notes 2024-11-29 12:36:42 +01:00
Huong Nguyen
7fd11604da
Merge branch 'MDL-81821-main' of https://github.com/roland04/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen
c77fb0e6e0
Merge branch 'MDL-83473_main' of https://github.com/dasistwas/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen
d08c982135
Merge branch 'MDL-83470-main' of https://github.com/junpataleta/moodle 2024-11-28 13:23:53 +08:00
Huong Nguyen
2dd2c3db17
Merge branch 'MDL-83661-main' of https://github.com/ferranrecio/moodle 2024-11-28 09:38:49 +07:00
Huong Nguyen
8fc0a38df0
Merge branch 'mdl-72526_main' of https://github.com/james-cnz/moodle 2024-11-27 10:02:15 +07:00
Jun Pataleta
03729748d1
MDL-83470 core: Remove upgrade steps from 4.1 2024-11-27 10:27:09 +08:00
Mikel Martín
636ab0fba9 MDL-81821 theme_boost: Refactor font utility classes for BS5 2024-11-26 15:17:30 +01:00
jacob.viertel@wunderbyte.at
1773124a97 MDL-83473 course: hooks api for external courses 2024-11-26 09:11:45 +01:00
Huong Nguyen
40630e1bd2
Merge branch 'mdl-82762_main_wip' of https://github.com/james-cnz/moodle 2024-11-26 12:10:17 +07:00
Amaia Anabitarte
bf4f930773 MDL-83783 core_course: Make activity chooser button ids unique 2024-11-25 14:37:46 +01:00
Shamim Rezaie
0af9b5ca7e Merge branch 'MDL-71378_main' of https://github.com/SimonasAdams/moodle 2024-11-25 18:21:18 +11:00
ferran
694edcf76b MDL-82351 core_courseformat: fix social format phpunits 2024-11-22 17:20:55 +01:00
ferranrecio
8be3db6de2 MDL-82351 format_social: migrate to reactive course editor
The commit adds all the necessary methods to allow social format to use
the course editor. The code is similar to the one used in the frontpage
format. The commit does not include the migration of the
social_activities blocks.
2024-11-22 17:20:55 +01:00
ferranrecio
fa1296a7a4 MDL-82351 courseformat: allow blocks to use the course editor
Some formats like the social need the blocks and drawers to access the
course editor. However, the include_course_ajax was called after the
main page structure is created and produces some errors, especially in
behat. Now include_course_ajax is called before the page header.
2024-11-22 17:20:55 +01:00
ferranrecio
4053bd2139 MDL-82351 course: fix course_ajax_enabled function
The course_ajax_enabled was using a course_format_ajax_support which
does not initialize the course format with the correct parameters.
Having a global function to get something the format base format can
provide is unnecessary and redudant, for this reason the function is now
deprecated.
2024-11-22 17:20:55 +01:00