Commit graph

7213 commits

Author SHA1 Message Date
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
ferran
121f4ad5c5 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-22 17:12:13 +01:00
Jun Pataleta
1a85875c34
NOBUG: Add upgrade notes 2024-11-22 22:26:24 +08:00
Jun Pataleta
fcb39d60a9
Merge branch 'MDL-81521-main' of https://github.com/andrewnicols/moodle 2024-11-19 15:15:17 +08:00
Huong Nguyen
155c4bd1e8
Merge branch 'MDL-82349-main-v03' of https://github.com/ferranrecio/moodle 2024-11-19 09:51:54 +07:00
Simon Adams
a0cf3d2da5 MDL-71378 core_question & mod_quiz: Refactor deprecated contexts 2024-11-18 10:22:59 +00:00
Tim Hunt
68d369917e MDL-70556 core db: change course fullname to 1333 chars
This is mainly for the benefit of multilang users.

As well as changing the database schema, it is also necessary to change
where this is inforced in PHP code (forms, web services). This was missed
when shortname was changed from 100 to 255 chars some time ago, but I have
fixed that here.

Note, I have not changed the legacy mnet code, since as far as I am aware
that is deprecated.
2024-11-15 15:28:23 +00:00
Simon Adams
776d1e40e4 MDL-71378 mod_qbank: Add question bank management 2024-11-15 15:18:47 +00:00
Andrew Nicols
a6acb015a3
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-15 12:50:55 +08:00
Huong Nguyen
093a2034b6
NOBUG: Add upgrade notes 2024-11-15 09:21:07 +07:00
James C
e85338bfee MDL-82762 course: Prevent "undefined" being added to course index 2024-11-14 10:15:26 +13:00
James C
e43c5eaf6b MDL-72526 course: Make course format output stuff protected, not private 2024-11-14 10:03:44 +13:00
ferran
b0683da877 MDL-82349 core_courseformat: new get_generic_section_name method
The string "sectionname" was an unnecessary coupling between
formats and other plugins. Now the generic name for a section
should be obtained using $format->get_generic_section_name.
This allow formats to use an alternative string for nameing
sections. This is especially important for rare formats like
the frontpage one that does not have a plugin lang file.
2024-11-12 12:22:25 +01:00
ferranrecio
0d04567882 MDL-82349 course: fix guest access to course 2024-11-12 12:21:55 +01:00
ferranrecio
cccacbdc04 MDL-82349 course: add frontpage behats 2024-11-12 12:21:55 +01:00
ferranrecio
c5133ddc47 MDL-82349 courseformat: add reactivity to frontpage topic 2024-11-12 12:02:16 +01:00
ferranrecio
c6a9177252 MDL-82349 core_courseformat: fix home section zero name 2024-11-12 12:02:16 +01:00
Laurent David
fbe420fc26 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-11 13:17:27 +01:00
ferran
1f7faa941b MDL-83185 core_courseformat: Allow global state cache invalidation 2024-11-11 13:17:26 +01:00
Rossco Hellmans
bdf5c2920f 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-11 08:51:39 +10:00
Jun Pataleta
bb39ec032b
Merge branch 'mdl-83497_main' of https://github.com/james-cnz/moodle 2024-11-06 22:38:36 +08:00
Jun Pataleta
50d8a547c7
Merge branch 'MDL-76564' of https://github.com/paulholden/moodle 2024-10-31 11:21:43 +07:00
Jun Pataleta
2672bbadea
Merge branch 'MDL-78118' of https://github.com/paulholden/moodle 2024-10-31 11:21:41 +07:00
meirzamoodle
758f79a5af MDL-82988 general: Apply helper to get path to fixture 2024-10-27 13:46:48 +07:00
Jun Pataleta
4ec4bd5306
Merge branch 'MDL-82548-main' of https://github.com/roland04/moodle 2024-10-24 12:18:08 +08:00
Jun Pataleta
e0340141b0
Merge branch 'MDL-81308-main' of https://github.com/junpataleta/moodle 2024-10-23 18:15:21 +08:00
Andrew Nicols
c745b3fb80
MDL-81308 core: Use a helper for consecutive invocation counts 2024-10-23 14:14:33 +08:00
Andrew Nicols
8dcad87631
MDL-81308 core: Update tests to not use withConsecutive 2024-10-23 14:14:32 +08:00
Jun Pataleta
660b4a9566
Merge branch 'MDL-83087-main' of https://github.com/roland04/moodle 2024-10-22 17:27:05 +08:00