7134 Commits

Author SHA1 Message Date
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
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
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
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
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
James C
7d0474f270 MDL-83497 course: Preserve move section dialogue info HTML 2024-10-19 16:22:56 +13:00
Jun Pataleta
7ebe8cc971
Merge branch 'MDL-83143-main' of https://github.com/safatshahin/moodle 2024-10-17 11:47:08 +08:00
Safat
e0cce75501 MDL-83143 core_course: Add course name as default for empty room name 2024-10-11 10:56:32 +11:00
Huong Nguyen
cd35384df4
Merge branch 'MDL-83255-main' of https://github.com/TobiGa/moodle 2024-10-10 10:11:15 +07:00
Paul Holden
ef77114960
MDL-78118 reportbuilder: final removal of deprecated report elements. 2024-10-07 18:49:21 +01:00
Jun Pataleta
c9356e039f
MDL-83374 upgrade: add the 4.5.0 separation line to all upgrade scripts 2024-10-05 21:16:13 +08:00
Jun Pataleta
5b421c6db6
NOBUG: Add upgrade notes 2024-10-05 15:08:28 +08:00
Huong Nguyen
3a6640c461
NOBUG: Add upgrade notes 2024-10-04 21:06:11 +07:00
Sara Arjona
d7f28e0c93
Merge branch 'MDL-83309-main' of https://github.com/junpataleta/moodle 2024-10-03 08:22:26 +02:00
Jun Pataleta
f24e0ecf53
MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Jun Pataleta
f332842df1
Merge branch 'mdl83310' of https://github.com/danmarsden/moodle 2024-10-02 12:31:17 +08:00
Huong Nguyen
4d1c0cb04b
NOBUG: Add upgrade notes 2024-10-01 19:37:15 +07:00
Mikel Martín
89c30cecd8 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:53:52 +02:00
Dan Marsden
14254008fd MDL-83310 course: remove hard-coded list of course formats from test. 2024-10-01 19:57:46 +13:00
Paul Holden
8e2ad49afe
MDL-76564 behat: final removal of deprecated pre-404 step definitions. 2024-09-30 19:42:54 +01:00
Tobias Garske
0b38d6558c MDL-83255 core_course: Fix activitychooser recommended tab navigation 2024-09-30 10:00:47 +00:00
Huong Nguyen
282421ce6c
NOBUG: Change upgrade notes version 2024-09-27 19:16:56 +07:00
Huong Nguyen
7b4ed9096f
NOBUG: Add upgrade notes 2024-09-27 18:45:07 +07:00
Mikel Martín
1490f72122 MDL-83087 course: Convert category 'More' actions to kebab menu 2024-09-27 09:12:37 +02:00
Jun Pataleta
75888b351f
Merge branch 'MDL-83163-main' of https://github.com/sammarshallou/moodle 2024-09-27 11:59:22 +08:00
Sara Arjona
e0c8730147
Merge branch 'MDL-83173-main' of https://github.com/stevandoMoodle/moodle 2024-09-25 17:11:32 +02:00
Jake Dallimore
8982cc61b3 MDL-80746 core_course: fix user_selector rendering
This change:
- Moved the user selector button content out into its own
named_templatable renderable + updates calling code
2024-09-25 12:47:07 +08:00
Jake Dallimore
c648839070 MDL-80746 core_course: fix group_selector rendering
This change:
- Fixes the group_selector constructor, removing the unnecessarily
deprecated param (this code is main-only, so no need to deprecate) and
fixes all calling code.
- moves the button and content into separate named_templatable
renderables, cleaning up the group_selector code so that it only needs
to make a single call to render and doesn't concern itself with contexts
of other renderables.
2024-09-25 12:47:07 +08:00
Jake Dallimore
8d1cdf6f8e MDL-80746 core_course: fix initial_selector rendering
This change:
- Fixes naming of initials_selector class (making plural to match its
predecessor), and addresses relevant calling code.
- Adds an initials_dropdown_form renderable, templatable
- Removes superfluous course/classes/output/actionbar renderer
- Replaces the rendering logic inside initial_selector with calls to
render the new renderable
- Simplifies the initials_selector class, using instance vars instead of
passing args to helpers, removing unnecessary vars, etc.
2024-09-25 12:47:07 +08:00
Kevin Percy
67379e7607 MDL-80746 behat: Update initials bar behat selector to core_course 2024-09-25 12:47:07 +08:00
Kevin Percy
939e6b546a MDL-80746 core_course: Move initials selector from core_grades 2024-09-25 11:03:55 +08:00
Stevani Andolo
23ca271d65 MDL-83173 course: Fixed overlaps courses cards three dots 2024-09-24 09:50:52 +08:00
Sara Arjona
e4e8bc8bbb
Merge branch 'MDL-82845-main' of https://github.com/ferranrecio/moodle 2024-09-19 18:29:37 +02:00
Laurent David
2aa7790804
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 17:48:39 +02:00