14986 Commits

Author SHA1 Message Date
raortegar
56a1945b87 MDL-81130 core_admin: Update copy of alert to register site 2024-08-19 08:32:08 +02:00
Andrew Nicols
df01e2edc6
Merge branch 'MDL-82480-main' of https://github.com/ferranrecio/moodle 2024-08-14 22:31:16 +08:00
Amaia Anabitarte
6b34d4fd94 MDL-82480 core_course: Add Move option to subsections 2024-08-14 14:31:24 +02:00
Sara Arjona
4806f00921
Merge branch 'MOODLE_main_MDL-74590' of https://github.com/danielneis/moodle 2024-08-13 15:41:30 +02:00
Daniel Neis Araujo
d42e31899c MDL-74590 contentbank: add custom fields to content bank 2024-08-13 08:55:44 -03:00
Sara Arjona
8f2a665e26
Merge branch 'MDL-82687' of https://github.com/timhunt/moodle 2024-08-13 12:40:44 +02:00
Sara Arjona
ee16e0a4a5
Merge branch 'MDL-81129-main' of https://github.com/meirzamoodle/moodle 2024-08-13 09:06:09 +02:00
Ilya Tregubov
add178887b Merge branch 'MDL-82346-main' of https://github.com/davewoloszyn/moodle 2024-08-13 11:55:14 +08:00
Jun Pataleta
6d1816797c
Merge branch 'MDL-82599-main-enfix' of https://github.com/mudrd8mz/moodle 2024-08-09 11:20:14 +08:00
Tim Hunt
fc19af4ce5 MDL-82687 formslib: only allow positive durations by default 2024-08-06 13:53:56 +01:00
Andrew Nicols
091ae55c20
MDL-81031 admin: Add swagger UI 2024-08-06 16:01:07 +08:00
Andrew Nicols
1b7d08465c
MDL-81031 core: Add routing 2024-08-06 16:01:07 +08:00
Helen Foster
c5b3abf9f5 MDL-82599 lang: Import fixed English strings (en_fix) 2024-08-02 14:57:43 +02:00
meirzamoodle
5d316201b4 MDL-81129 hub: Update the intro paragraph on the site registration page
I added a new javascript in admin to trigger a collapse element to be
expanded using the URL hash.
2024-08-02 14:10:51 +07:00
Ilya Tregubov
965a892052 Merge branch 'MOODLE_main_MDL-76242' of https://github.com/danielneis/moodle 2024-07-31 12:58:22 +08:00
Huong Nguyen
0c2d74b1af
Merge branch 'MDL-64148-main' of https://github.com/meirzamoodle/moodle 2024-07-31 09:15:03 +07:00
Ilya Tregubov
f14746511b Merge branch 'MDL-78776-expunge_myisam' of https://github.com/leonstr/moodle 2024-07-31 09:38:25 +08:00
meirzamoodle
699daafc64 MDL-64148 core: Make email greetings consistent
Some email body strings use first names as greetings,
some use full names, and some do not.

Using the first name for greeting makes it consistent and
a bit more "personal".
2024-07-30 22:40:47 +07:00
meirzamoodle
020259dbad MDL-64148 core: Deprecate reset_password_and_mail 2024-07-30 22:40:47 +07:00
David Woloszyn
7501a54372 MDL-82346 hub: Add organisation type to registration form 2024-07-30 11:06:46 +10:00
Huong Nguyen
0079197827
Merge branch 'MDL-73232-main' of https://github.com/laurentdavid/moodle 2024-07-25 09:20:14 +07:00
Huong Nguyen
5a581f1304
Merge branch 'MDL-82225' of https://github.com/paulholden/moodle 2024-07-25 09:10:45 +07:00
Huong Nguyen
83a18b6f58
Merge branch 'MDL-82466' of https://github.com/paulholden/moodle 2024-07-24 12:10:28 +07:00
Jun Pataleta
bc5a65e444
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-23 17:59:30 +08:00
Conn Warwicker
b92886ad59
MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Laurent David
4fe100f161 MDL-73232 core_courseformat: Inform user when reaching section max
* Disable the Add new Section button when max has been reached
* It also grays out the (+) button between sections and display a tooltip
* When adding a new section via the (+) button between section
should add a section with the (+) (add) button disabled.
2024-07-22 07:58:54 +02:00
Daniel Neis Araujo
92e10322d4 MDL-76242 core_contentbank: Hide/show unlisted content 2024-07-19 12:29:45 -03:00
Paul Holden
c10610d035
MDL-82466 completion: format time duration in report entity columns.
Where the previous output was simple count of days, switch to using
the new format helper to return a time duration.

AMOS BEGIN
 CPY [daystakingcourse,core_course],[daystakingcourse,core_completion]
AMOS END
2024-07-19 10:34:00 +01:00
Huynh
879901ef24
MDL-72354 badges: Show always issuer details when creating badges
Co-author: Huynh Nguyen
2024-07-19 09:41:38 +02:00
Andrew Nicols
13bf6748f7
Merge branch 'MDL-82309' of https://github.com/paulholden/moodle 2024-07-18 11:58:06 +08:00
Glenn Poder
2afdd8d220 MDL-81075 quiz: config option for defaults when creating questions 2024-07-16 23:26:51 +08:00
Paul Holden
28ffd21d44
MDL-82225 cohort: convert single cohort deletion to JS & AJAX. 2024-07-12 10:58:00 +01:00
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