115762 Commits

Author SHA1 Message Date
Jun Pataleta
f2e601c39f
Merge branch 'MDL-83148' of https://github.com/paulholden/moodle 2024-09-26 11:16:25 +08:00
Andrew Nicols
102366f8aa
Merge branch 'MDL-82298-main-behat-fixes' of https://github.com/cameron1729/moodle 2024-09-26 11:13:53 +08:00
Jun Pataleta
1b648f0c14
Merge branch 'MDL-83246-main' of https://github.com/andrewnicols/moodle 2024-09-26 10:59:06 +08:00
Cameron Ball
7bccc2978a MDL-82298 navigation: Update behat tests for theme_classic 2024-09-26 10:08:36 +08:00
Jun Pataleta
a397b070df
Merge branch 'MDL-83235' of https://github.com/paulholden/moodle 2024-09-26 09:25:35 +08:00
Sara Arjona
e0c8730147
Merge branch 'MDL-83173-main' of https://github.com/stevandoMoodle/moodle 2024-09-25 17:11:32 +02:00
Andrew Nicols
aa543e8c39
MDL-83246 core: Move profiler after autoloader registration 2024-09-25 23:11:23 +08:00
Andrew Nicols
ce119a4344
Merge branch 'MDL-82298-main' of https://github.com/andrewnicols/moodle 2024-09-25 22:44:50 +08:00
Andrew Nicols
d2f71d6b02
MDL-82298 navigation: Update behat tests 2024-09-25 22:37:56 +08:00
Karjun Loong
b3152b7311
MDL-82298 navigation: Add behat tests for secondary menu navigation 2024-09-25 22:29:39 +08:00
Jose
3d1102607c
MDL-82298 navigation: Add setting data-disableactive on moremenu items
This setting will avoid conflicts between checkmark and
bfcache. The removed function added as part of the MDL-77732
is no longer required as the behaviour on the menu items (including the
secondary navigation) is not altered anymore by the menuItemHelper function
(menu_navigation file).
2024-09-25 22:29:35 +08:00
Jun Pataleta
d56ce93a8d
Merge branch 'MDL-83236-main-fix' of https://github.com/HuongNV13/moodle 2024-09-25 22:03:27 +08:00
Huong Nguyen
b5aeff34d9
MDL-83236 install: update the list of stale files for 4.5
Remove `tool_innodb` out of the example files
2024-09-25 19:24:49 +07:00
Jun Pataleta
df07d2ca35
Merge branch 'MDL-83236-main' of https://github.com/HuongNV13/moodle 2024-09-25 18:53:20 +08:00
Jake Dallimore
9a293aae34
Merge branch 'MDL-80746-main-update-rebased' of https://github.com/mihailges/moodle 2024-09-25 14:45:26 +08:00
Andrew Nicols
0bb97d657b
Merge branch 'MDL-83259' of https://github.com/paulholden/moodle 2024-09-25 13:18:37 +08:00
Jake Dallimore
0504fd353b MDL-80746 core: make comboboxsearch a named_templatable
This class was rolling its own version of get_template_name, which
meant that calling code needed to first call get_template and was forced
to use render_from_template(). This fixes that by implementing the
named_templatable interface and the get_template_name method. Now,
renderables that extend comboboxsearch can just be passed to render()
for rendering.
2024-09-25 12:47:07 +08:00
Jake Dallimore
f80045bb10 MDL-80746 gradereport_user: fix action bar rendering
This code was unnecessarily pre-rendering some context properties used
by the action_menu, which also meant the mustache template expected HTML
in the context, which should be avoided. Instead of pre-rendering, just
export_for_template() and adjust the mustache template to render the sub
template for the respective templatables. Doing this also reveals two
unecessary renderer methods which have now been deprecated.
2024-09-25 12:47:07 +08:00
Jake Dallimore
cf524d0172 MDL-80746 gradereport_grader: fix action bar rendering
This code was unnecessarily pre-rendering some context properties used
by the action_menu, which also meant the mustache template expected HTML
in the context, which should be avoided. Instead of pre-rendering, just
export_for_template() and adjust the mustache template to render the sub
template for the respective templatables.
2024-09-25 12:47:07 +08:00
Jake Dallimore
b62aff2c3a MDL-80746 mod_assign: fix action bar rendering
As per prior commit, this fixes the export_for_template() method as
well as the template itself, ensuring no rendering is done in the
renderable, and ensuring the template defers to the comboboxsearch
or dialog partials with the data-only (no html) contexts.
2024-09-25 12:47:07 +08: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
303b226f6b MDL-80746 mod_assign: Move grading page initials selector to action bar 2024-09-25 12:47:07 +08:00
Huong Nguyen
939ca435bc
MDL-82151 core: Fix upgrade note illegal whitespace 2024-09-25 11:45:49 +07:00
Huong Nguyen
b1f982dffb
MDL-82151 core: Fix upgrade note typo 2024-09-25 11:26:30 +07:00
Huong Nguyen
93c8843dc0
Merge branch 'MDL-82151-main' of https://github.com/andrewnicols/moodle 2024-09-25 11:25:12 +07:00
Kevin Percy
939e6b546a MDL-80746 core_course: Move initials selector from core_grades 2024-09-25 11:03:55 +08:00
Huong Nguyen
ab9ed3336c
MDL-74050 mod_assign: Upgrade notes 2024-09-25 09:08:32 +07:00
Huong Nguyen
9de70c3b5b
Merge branch 'MDL-74050-main' of https://github.com/durenadev/moodle 2024-09-25 09:03:09 +07:00
Huong Nguyen
5f2d20ef64
Merge branch 'MDL-72856-main' of https://github.com/michael-milette/moodle 2024-09-25 08:58:04 +07:00
Paul Holden
4d1dcc60d7
MDL-83259 smsgateway_aws: add to standard plugins list. 2024-09-24 17:05:07 +01:00
Paul Holden
246429e89a
MDL-83259 sms: define plugin type strings and fix management URL. 2024-09-24 17:03:57 +01:00
Sara Arjona
97c2beae70
on-demand release 4.5dev+ 2024-09-24 16:54:09 +02:00
Sara Arjona
3140928651
NOBUG: Add upgrade notes 2024-09-24 16:54:09 +02:00
Daniel Ureña
b4770461f7 MDL-74050 mod_assign: New WS remove_submission 2024-09-24 16:47:55 +02:00
Huong Nguyen
df1e264d29
Merge branch 'MDL-83085-main' of https://github.com/meirzamoodle/moodle 2024-09-24 10:35:18 +07:00
Andrew Nicols
6a517f26a6
MDL-82151 core: Tidy up all upgrade notes 2024-09-24 10:40:34 +08:00
Stevani Andolo
23ca271d65 MDL-83173 course: Fixed overlaps courses cards three dots 2024-09-24 09:50:52 +08:00
Andrew Nicols
12d789ae47
MDL-82151 core: Improve empty line removal for upgrade notes 2024-09-24 09:48:01 +08:00
Andrew Nicols
3ace1920f1
MDL-82151 core: Ensure that upgrade notes are sorted
Prior to this change the order of upgrade notes changed depending on
what was encountered first when looping through the list of upgrade
notes.

This change ensures that the core component is always first, followed by
core subsystems sorted lexically, and finally a lexical sorting of
everything else.

The note types are also sorted in the order suggested at keep a
changelog, that is:
- Added
- Changed
- Deprecated
- Removed
- Fixed
2024-09-24 09:16:00 +08:00
Shamim Rezaie
e5290c42ab Merge branch 'MDL-77625' of https://github.com/timhunt/moodle 2024-09-24 02:52:46 +10:00
Shamim Rezaie
e9f789f6b0 Merge branch 'MDL-83162-main' of https://github.com/sarjona/moodle 2024-09-24 00:33:48 +10:00
Shamim Rezaie
d9ecf425f2 Merge branch 'MDL-83164-main' of https://github.com/andrewnicols/moodle 2024-09-24 00:28:06 +10:00
Andrew Nicols
11216cc711
MDL-83164 core: Add support for namespaced renderer methods 2024-09-23 21:35:13 +08:00
Huong Nguyen
f9d8e8b428
MDL-83236 install: Update the list of stale files for 4.5 2024-09-23 16:30:00 +07:00
Huong Nguyen
aec2ea99c2
MDL-83123 AI: Switch to use Message Drawer Helper and PubSub 2024-09-23 15:51:33 +07:00
Huong Nguyen
d59fc721ac
Merge branch 'MDL-83123-main2' of https://github.com/raortegar/moodle 2024-09-23 15:50:46 +07:00
Paul Holden
8e46e810ff
MDL-83235 qbank_columnsortorder: correct config retrieval ordering.
There is a unique index on plugin/name, so having a trailing order
clause on value would produce no effect. We also cannot order by
CLOB fields on Oracle, lest it complain loudly.
2024-09-23 08:51:05 +01:00