115744 Commits

Author SHA1 Message Date
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
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
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
Huong Nguyen
803467e888
Merge branch 'MDL-83190-main' of https://github.com/mickhawkins/moodle 2024-09-23 14:32:17 +07:00
Sara Arjona
65fc64aa19
Merge branch 'MDL-81612' of https://github.com/timhunt/moodle 2024-09-23 07:36:07 +02:00
Sara Arjona
303d17ba9b
Merge branch 'MDL-82681-main-3' of https://github.com/mihailges/moodle 2024-09-23 07:17:03 +02:00
Sara Arjona
39fbaf37a5
MDL-83162 theme: Review graded icons colors to improve accessiblity 2024-09-23 07:02:16 +02:00
Huong Nguyen
5ff9474322
Merge branch 'MDL-81924-main' of https://github.com/HuongNV13/moodle 2024-09-23 11:33:14 +07:00
Huong Nguyen
36de9d1c88
Merge branch 'MDL-83204-main' of https://github.com/roland04/moodle 2024-09-23 11:12:30 +07:00
Michael Hawkins
c098b72faa
MDL-81924 factor_sms: Improve MFA plugin table settings accessibility 2024-09-23 10:53:31 +07:00
Safat
d5bdb07c28
MDL-81924 core: Remove unused AWS classes and tests
Originally implemented as MDL-80962.
2024-09-23 10:53:30 +07:00
Safat
310f5f50ee
MDL-81924 smsgateway_aws: Move SMS related methods to AWS plugin
Originally implemented as MDL-80962.
2024-09-23 10:53:30 +07:00
Safat
cceed874fd
MDL-81924 factor_sms: Remove leftover AWS implementation
Originally implemented as MDL-80962.
2024-09-23 10:53:30 +07:00
Safat
b5ac3257b5
MDL-81924 core_sms: Add SMS gateway management UI
Originally implemented as MDL-81732.

Co-authored by: Michael Hawkins <michaelh@moodle.com>
2024-09-23 10:53:30 +07:00
Safat
3348832b78
MDL-81924 smsgateway_aws: Add hooks for SMS gateway management
Originally implemented as MDL-81732.

Co-authored by: Michael Hawkins <michaelh@moodle.com>
2024-09-23 10:44:27 +07:00
Safat
a1209ab882
MDL-81924 factor_sms: Add support for SMS gateway selection
Includes migrating AWS settings from the SMS MFA factor to a new gateway
in the SMS subsystem and notifying admins of the update.

Originally implemented as MDL-81732 and MDL-82660.

Co-authored by: Michael Hawkins <michaelh@moodle.com>
2024-09-23 10:44:26 +07:00
Safat
cf75a3aad1
MDL-81924 factor_sms: Implement sms subsystem
Originally implemented as MDL-80961.
2024-09-23 10:43:39 +07:00
Safat
a5f100e6dd
MDL-81924 smsgateway_aws: Add AWS sms gateway plugin
Originally implemented as MDL-80961.
2024-09-23 10:43:39 +07:00
Andrew Nicols
10c3e4b770
MDL-81924 core_sms: Add new subsystem and plugintype
Originally implemented as MDL-80960.
2024-09-23 10:43:39 +07:00
Andrew Nicols
11ab65db5e
MDL-81924 core: Include libphonenumber lite
Originally implemented as MDL-80960.
2024-09-23 09:45:41 +07:00