15004 Commits

Author SHA1 Message Date
Jun Pataleta
5597a4eb33
Merge branch 'MDL-82168-main' of https://github.com/junpataleta/moodle 2024-07-11 11:21:21 +08:00
Sara Arjona
8c006300e5
MDL-82168 badges: Move enable/disable badges to modal
Co-authored-by: Ferran Recio <ferran@moodle.com>
2024-07-11 11:19:34 +08:00
Huong Nguyen
0644eeb752
Merge branch 'MDL-43938-main' of https://github.com/sarjona/moodle 2024-07-10 09:20:44 +07:00
Sara Arjona
4fa7cba998 Merge branch 'MDL-66994-main' of https://github.com/meirzamoodle/moodle 2024-07-10 09:17:57 +08:00
Paul Holden
c8d32c279d
MDL-82309 comment: preserve link text property during AJAX requests.
We really only need to update the count value that follows the link
text content, so do that rather than overwriting the entire thing.
2024-07-09 09:17:10 +01:00
David Woloszyn
2e0579ce3a MDL-58353 report_usersessions: Ability to logout all other sessions 2024-07-09 13:39:27 +10:00
Sara Arjona
11b276fc1b
MDL-43938 badges: Bagde names are not unique anymore
The restriction for the badge name to be unique has been removed so,
from now on, the badge names can be duplicated, even inside a course.
2024-07-08 15:53:27 +02:00
Amaia Anabitarte
f9497ceade MDL-81771 core_report: Add Report as subsystem 2024-07-03 15:47:46 +02:00
Jun Pataleta
130fff8fce
Merge branch 'MDL-52046-main' of https://github.com/davewoloszyn/moodle 2024-07-03 18:48:25 +08:00
meirzamoodle
1f1d1a3920 MDL-66994 core: Remove display contact form setting in site registration
Removing the display of the contact form causes deprecation of some
language strings and unsets the site_contactable during the upgrade.
2024-07-01 21:07:30 +07:00
Sara Arjona
4fcea1f716
Merge branch 'MDL-80191-main-v06' of https://github.com/ferranrecio/moodle 2024-07-01 12:26:46 +02:00
ferranrecio
c997f91db6 MDL-80191 backup: add subsections to backup form
The patch adds two new levels to the backup form structure: subsection
(a delegated section which parent is a course module) and subactivity
(an activity inside a subsection). Those new elements are displayed as a
inner section below the parent activitiy.

For now the UI is the same as a regular section but future issues will
define how the UX should be. The new two levels have their own classes
to represents settings and have extra dependencies.
2024-07-01 10:48:32 +02:00
Leon Stringer
7c70eb8e89 MDL-78776 database: Remove MyISAM migration
Remove functionality to migrate from MyISAM, and remove tests of whether
the existing database is using this.

Support for MyISAM was dropped in Moodle 2.9 (MDL-46064) so it should
not be possible for any subsequent Moodle version to be using this.

The only remaining MyISAM-aware code is the environment check via
check_database_storage_engine() to prevent installation/upgrade if the
database is set to use this.
2024-06-28 16:00:06 +01:00
ferranrecio
b4f0332388 MDL-80191 backup: delegate section backup and restore
This commit adds all the logic to allow delegate sections backup and
restore. The backup and restore process is quite complex and it is not
designed to have task hierarchy. To solve the subsection problem, the
backup/restore planners do not include delegated sections at a course
level, but they are included when the activity with delegated section is
processed.

To allow restoing, the activity is responsible to store the
component/itemid mapping in the backup_structure_dbops. This way, when
the delegated section is restored (delegated sections are always
processed right after the parent activity) it can use the itemid
mapping.
2024-06-27 10:21:07 +02:00
Sara Arjona
0bccb0b1e4
Merge branch 'MDL-80344' of https://github.com/paulholden/moodle 2024-06-26 12:11:11 +02:00
Ilya Tregubov
435619ac90 Merge branch 'MDL-81866-main' of https://github.com/sarjona/moodle 2024-06-26 10:16:36 +08:00
Jun Pataleta
19d16b9249
Merge branch 'MDL-81807-main' of https://github.com/tsmilan/moodle 2024-06-25 19:53:43 +08:00
Sara Arjona
7402706c59
MDL-81866 course: Improve workflow for reset course
The following changes have been done to improve the reset course:
- Reset course button moved to sticky footer. Select default and
deselect all buttons set as secondary and left at the end of the form
- Adjusted page layout to a standardized format, centering the form for
improving presentation and recolocating the Reset course button away
from the bottom-right corner
- Changed page layout to standard, to display the form centered and
avoid having the Reset course button in the right bottom corner
- Modal added before resetting a course, asking user for confirmation
- Reset course buttons displayed with danger styling, because they
remove information
- All sections are expanded by default
- Default options are selected by default
2024-06-25 12:59:25 +02:00
Trisha Milan
d0e82b746e MDL-81807 core: Add scheduled task for updating the GeoIP database
This commit includes the following changes:

- Implemented a scheduled task to automate the download and update of the GeoIP database.
- Integrated checksum verification for the downloaded database file.
- Added new configuration settings to enable administrators to enter MaxMind account credentials,
  allowing authenticated access to both free and paid GeoIP database versions from Maxmind.
2024-06-25 15:17:30 +10:00
Huong Nguyen
3b9cc05800
Merge branch 'MDL-81506-main' of https://github.com/davewoloszyn/moodle 2024-06-25 09:50:53 +07:00
David Woloszyn
d43da95ed6 MDL-81506 core_enrol: New capability to edit the welcome message 2024-06-20 15:23:04 +10:00
David Woloszyn
b174d05b54 MDL-52046 cohorts: Add ability to bulk delete cohorts 2024-06-20 11:39:03 +10:00
Sara Arjona
72f0d10e11
Merge branch 'MDL-80745-main' of https://github.com/rezaies/moodle 2024-06-19 08:48:40 +02:00
Shamim Rezaie
859a54b1c0 MDL-80745 mod_assign: Move group selector on grading page to action bar
AMOS BEGIN
 MOV [clearall,gradereport_grader],[clearall,core]
AMOS END
2024-06-19 00:41:05 +10:00
Jun Pataleta
a08233635d
Merge branch 'MDL-80951-main-v02' of https://github.com/ferranrecio/moodle 2024-06-18 11:40:08 +08:00
Huong Nguyen
7d95aa4b9c
MDL-80967 authentication: Fix language string and version pump 2024-06-12 14:49:01 +07:00
Huong Nguyen
bb267a11ad
Merge branch 'MDL-80967-main' of https://github.com/StudiUM/moodle 2024-06-12 14:45:40 +07:00
Huong Nguyen
a07054af30 MDL-81428 core: Display the correct status for the contact request 2024-06-10 17:00:46 +07:00
Paul Holden
d5316aeac6
MDL-80344 calendar: correct no subscriptions language string use.
Ensure expected parameters are present; avoid string concatenation.
2024-06-05 15:53:28 +01:00
Helen Foster
7b8da78e01
MDL-81982 lang: Import fixed English strings (en_fix) 2024-06-05 10:25:28 +08:00
Andrew Nicols
3a60821242
Merge branch 'MDL-81870' of https://github.com/paulholden/moodle 2024-05-28 13:57:13 +08:00
Andrew Nicols
e8f8a4c494
Merge branch 'MDL-74582' of https://github.com/paulholden/moodle 2024-05-28 09:52:14 +08:00
Sara Arjona
cb72a08193
MDL-81872 course: Improve the summary page for reset 2024-05-27 16:18:54 +02:00
Sara Arjona
22cc975705
MDL-81872 course: Improve wording and workflow for reset 2024-05-27 16:18:54 +02:00
Paul Holden
2ccdcca928
MDL-81870 core: re-factor duplicate plugin savepoint implementations. 2024-05-22 20:59:43 +01:00
Paul Holden
5f8aaf220f
MDL-81870 core: validate component during upgrade task savepoint. 2024-05-22 20:59:42 +01:00
Shamim Rezaie
bf85928261 Merge branch 'MDL-80599-main-2' of https://github.com/ilyatregubov/moodle 2024-05-21 14:22:45 +10:00
ferranrecio
5b7fc89152 MDL-80951 backup: add accessibility labels to schema fields 2024-05-16 16:57:56 +02:00
Amaia Anabitarte
0f73bb6cef MDL-81503 core_course: Improve section not found error 2024-05-15 09:31:39 +02:00
Ilya Tregubov
4b16c37b96 MDL-80599 core: Refactor enrol methods
Move update instance logic to its own method and cover with tests.
Also update enrol plugins to work woth new methods.
2024-05-14 12:08:46 +08:00
Steve Massicotte
fd4ebbf932 MDL-80967 Authentication: Login page - Hide the login form 2024-05-07 16:03:28 -04:00
Paul Holden
260b786d53
MDL-81754 reportbuilder: consistent filter field comparison labels. 2024-05-01 11:19:16 +01:00
Paul Holden
08575fdc56
MDL-74582 lang: final removal of deprecated 401 strings. 2024-04-22 19:06:18 +01:00
Huong Nguyen
978f3d42e5
Merge branch 'MDL-81512-main' of https://github.com/mickhawkins/moodle 2024-04-18 09:26:36 +07:00
raortegar
57df4a1dbb
MDL-81512 core_theme: Reinstate theme category as custom theme settings 2024-04-16 17:43:46 +08:00
Andrew Nicols
40e9fa2863
MDL-81525 core: Update column name for replaced hooks 2024-04-15 21:11:30 +08:00
Ilya Tregubov
1addf36711 Merge branch 'MDL-80160-main-siteadminsconfigphp' of https://github.com/mudrd8mz/moodle 2024-04-12 08:47:59 +08:00
Ilya Tregubov
c9eab29d37 Merge branch 'MDL-81480-main' of https://github.com/meirzamoodle/moodle 2024-04-11 15:48:07 +08:00
Paul Holden
ea81c5457d
Merge branch 'MDL-81488' of https://github.com/dravek/moodle into main 2024-04-10 13:57:09 +01:00
meirzamoodle
c9cb89323c MDL-81480 core: Sets user-level session storage functions
Also added @runInSeparateProcess on each session Redis cluster test to let the test run
in a separate process to avoid the error "the headers are not already sent" by PHPUnit.
2024-04-10 17:27:20 +07:00