115380 Commits

Author SHA1 Message Date
Sara Arjona
e812811b11
Merge branch 'MDL-81767-main' of https://github.com/roland04/moodle 2024-09-03 19:35:20 +02:00
Jun Pataleta
13c12756b4
on-demand release 4.5dev+ 2024-09-03 20:05:50 +08:00
Jun Pataleta
ea2d3558d9
NOBUG: Add upgrade notes 2024-09-03 20:05:49 +08:00
Mikel Martín
74cfbbacc6 MDL-81767 courseformat: Add tests for module quick creation
- Added unit tests for 'core_courseformat\external\create_module' web service.
- Added unit tests for 'create_module' state action.

Both tests need at least a module with 'FEATURE_QUICKCREATE', so mod_subsection
was used.
2024-09-03 13:35:04 +02:00
Mikel Martín
c4470cc7f9 MDL-81767 mod_subsection: Add hook for activitychooserbutton
- Add the new 'FEATURE_QUICKCREATE' to mod_subsection.
- Implement the 'before_activitychooserbutton_exported' hook callback that adds
  an extra action_link to add subsections in a course section.
- Add a new permission class.
2024-09-03 13:35:04 +02:00
Mikel Martín
a0fa76c86b MDL-81767 courseformat: Add module quickcreation feature
- Add new 'FEATURE_QUICKCREATE' plugin feature that indicates the module can
  be created with a single click. It will use its own 'quickcreatename' defined
  string as the initial default name.
- Add new 'core_courseformat\external\create_module' web service to create new
  modules with the quickcreate featuer in the course page.
- Add a new 'create_module' state action.
2024-09-03 13:35:04 +02:00
Ilya Tregubov
70ab6b9a28 MDL-66151 core: fix destroy method. 2024-09-03 11:56:46 +08:00
Jun Pataleta
e1e15eb4a7
Merge branch 'MDL-82957-main' of https://github.com/roland04/moodle 2024-09-03 11:42:18 +08:00
Ilya Tregubov
f3a7b673c1 Merge branch 'main_MDL-66151' of https://github.com/mattporritt/moodle 2024-09-03 11:07:47 +08:00
Trisha Milan
e52fbd2f84 MDL-66151 Performance: Session Manager modularisation
Storage of session metadata has moved into the session handler class.
This allows for other classes to fully control session handling and
removes the dependancy on the core sessions database table.

Previously, the standard method of interaction with the
session metadata was direct DB calls; this may break other plugins as there
are now proper APIs available through the session manager.

Co-authored-by: Darren Cocco <moodle@darren.cocco.id.au>
Co-authored-by: Trisha Milan <trishamilan@catalyst-au.net>
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2024-09-03 13:04:04 +10:00
Jun Pataleta
2f6e81090f
Merge branch 'MDL-82984-main' of https://github.com/sarjona/moodle 2024-09-03 10:45:15 +08:00
Jun Pataleta
abc6e9d11e
Merge branch 'MDL-82953-main' of https://github.com/sarjona/moodle 2024-09-03 10:37:05 +08:00
Huong Nguyen
18058972f0
Merge branch 'MDL-82684-main' of https://github.com/rezaies/moodle 2024-09-03 09:36:02 +07:00
Jun Pataleta
2319636ebd
Merge branch 'MDL-82804' of https://github.com/paulholden/moodle 2024-09-03 10:32:14 +08:00
Huong Nguyen
42c1828295
Merge branch 'MDL-82500-main' of https://github.com/sarjona/moodle 2024-09-03 09:31:21 +07:00
Jun Pataleta
2de9d83d7d
Merge branch 'MDL-82717' of https://github.com/liamgm/moodle 2024-09-03 10:29:20 +08:00
Ilya Tregubov
71ede9e192 Merge branch 'MDL-75850-main-fix' of https://github.com/meirzamoodle/moodle 2024-09-03 10:17:17 +08:00
Ilya Tregubov
d38fa6e579 Merge branch 'MDL-80751-main-2' of https://github.com/mihailges/moodle 2024-09-03 09:18:00 +08:00
Sara Arjona
875fa9c2ec
MDL-82984 core: Missing step to uninstall filter_tidy 2024-09-02 18:36:03 +02:00
Mikel Martín
84d9e83588 MDL-81767 course: Refactor activity chooser button output
- Add new 'activitychooserbutton' output class that allows adding extra action_links through hooks.
- Add new 'before_activitychooserbutton_exported' hook so plugins could add extra action links
  to the activity chooser button.
- Unify activitychooserbutton and activitychooserbuttonactivity into a single template.
2024-09-02 18:16:18 +02:00
Sara Arjona
93aa8af266
Merge branch 'MDL-82617-main' of https://github.com/roland04/moodle 2024-09-02 18:15:57 +02:00
Jun Pataleta
4fcff065bb
Merge branch 'MDL-82828-main' of https://github.com/andrewnicols/moodle 2024-09-02 17:52:12 +08:00
Kevin Percy
990d54fc98 MDL-80751 behat: Combined Grade action into one step 2024-09-02 17:46:20 +08:00
Kevin Percy
a18376806d MDL-80751 behat: Removed Grade button from assignment submissions table 2024-09-02 17:03:58 +08:00
Jun Pataleta
b876e8501e
MDL-82255 editor_tiny: No need for extra styles for RTL 2024-09-02 16:53:48 +08:00
Kevin Percy
93490ddf30 MDL-80751 mod_assign: Removed Grade button from submissions table 2024-09-02 16:32:52 +08:00
Mikel Martín
2738e58304 MDL-82617 mod_subsection: Redirect from modedit to sectionedit page
When accessing mod_subsection edit form, redirect to section edit page of the
delegated section.
2024-09-02 10:15:52 +02:00
Jun Pataleta
1c790ec9fc
Merge branch 'MDL-82255-main' of https://github.com/raortegar/moodle 2024-09-02 16:01:45 +08:00
Sara Arjona
4cf292caaf
Merge branch 'MDL-78250_upgrade-cas' of https://github.com/ziegenberg/moodle 2024-09-02 09:44:24 +02:00
Ilya Tregubov
c1bd7d8d2e Merge branch 'MDL-82816-main' of https://github.com/mihailges/moodle 2024-09-02 15:32:14 +08:00
Ilya Tregubov
784b7962be Merge branch 'MDL-82220' of https://github.com/paulholden/moodle 2024-09-02 10:09:40 +08:00
Daniel Ziegenberg
3d482c9d96
MDL-78250 auth_cas: Bump thirdpartylibs version to 1.6.1
With MDL-81031 psr/log was added to moodle core, so amending the instructions
in readme_moodle.txt accordingly.

Notable upstream changes:

 - With the upstream PR #422 the file `source/CAS.php` is now also
   autoloaded.
 - With the upstream PR #428 the list of composer ignored files got
   updated. So we can now remove some of the upgrade steps in the
   readme_moodle.txt

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-31 17:43:57 +02:00
Daniel Ziegenberg
7572a302e8
MDL-78250 auth_cas: Update phpCAS to v1.6.1
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-31 17:43:53 +02:00
Sara Arjona
3c47fbe3b6
MDL-82953 badges: Fix redirect when form is cancelled
From the new badge page, when the form is cancelled, a redirect should
be done to the badges/index.php.
This is a regression introduced when newbadge.php and edit.php pages
were merged.
2024-08-30 11:37:02 +02:00
Mikel Martín
448b87bbfe MDL-82957 course: Fix section bulk actions alignment 2024-08-30 09:13:04 +02:00
Paul Holden
5d0e981eed
MDL-82804 badges: define no results notice inside report instances.
When doing so from calling code, the property is not persisted when
filtering/paging (or any AJAX interaction); instead, it should be
set from within the report instance itself.
2024-08-29 16:10:30 +01:00
Sara Arjona
1fbba6b3c3
MDL-82500 my: Move CTA from the menu to buttons
The icons have been updated to make them more consistent abroad Moodle and
take advantage of the benefits of FontAwesome 6.

This commit removes the actions from the first actions menu and moves them to
buttons as suggested by the UX team. Based on recent UX decisions, the following
changes have been implemented:

- The "View Quickstart Guide" is no longer displayed as a button. Instead, this
link will now appear within the text preceding the buttons (when available).
- When no courses are available on the site, the "Manage courses" button has been
replaced by "Manage course categories".
- A "Manage courses/Manage course categories" button has been added to the zero-state
view, ensuring consistency whether courses are present on the site or not.
2024-08-29 16:14:41 +02:00
Huong Nguyen
072fb90384
weekly release 4.5dev+ 2024-08-29 18:09:50 +07:00
Huong Nguyen
7aef6e21cb
NOBUG: Add upgrade notes 2024-08-29 18:09:49 +07:00
Huong Nguyen
234a065909
NOBUG: Fixed SVG browser compatibility 2024-08-29 18:09:37 +07:00
Liam Moran
d013299da0 MDL-82717 enrol_lti: Make contextmembershipsurl property immutable
The contextmembershipsurl property on the nrsp_info object is itself
an object of type moodle_url so its getter should return a copy
of the moodle_url object instead of a reference to the class-internal
object. This commit adds a test for get_context_memberships_url and
updates the getter so the property is immutable.
2024-08-29 03:40:47 -05:00
raortegar
51d0a1869c MDL-82255 editor_tiny: Add blockquote in toolbar menu and styled 2024-08-29 09:17:46 +02:00
Shamim Rezaie
5fe8064557 MDL-82684 mod_assign: Move the downloadasfolders checkbox to action bar 2024-08-29 14:32:38 +10:00
Huong Nguyen
47e77f895c
Merge branch 'MDL-82683-main' of https://github.com/rezaies/moodle 2024-08-29 11:22:16 +07:00
Shamim Rezaie
2e35d1bd30 MDL-82683 mod_assign: Remove session checking from the status filter 2024-08-29 14:19:39 +10:00
Shamim Rezaie
8b1d81c990 MDL-82683 mod_assign: Move the quick grading checkbox to the action bar 2024-08-29 14:19:33 +10:00
Paul Holden
3fc1073d30 MDL-82365 mod_lesson: stricter equality checks of activity password. 2024-08-29 12:12:58 +08:00
Huong Nguyen
8ec84f43cb
Merge branch 'MDL-82718' of https://github.com/paulholden/moodle 2024-08-29 11:08:31 +07:00
Huong Nguyen
c4be12a673
Merge branch 'MDL-82446' of https://github.com/paulholden/moodle 2024-08-29 11:04:56 +07:00
Jun Pataleta
a84fb7c075
Merge branch 'MDL-82651-main' of https://github.com/lameze/moodle 2024-08-29 11:59:31 +08:00