Commit graph

116701 commits

Author SHA1 Message Date
Huong Nguyen
b3aa2e1743
Merge branch 'MDL-83977_main' of https://github.com/marxjohnson/moodle 2024-12-18 09:09:40 +07:00
Huong Nguyen
28cd1d99e0
Merge branch 'MDL-84000' of https://github.com/paulholden/moodle 2024-12-18 09:03:50 +07:00
Sara Arjona
0edac60cfe
Merge branch 'MDL-83807-main' of https://github.com/clransom/moodle 2024-12-17 17:06:22 +01:00
Mark Johnson
131803e8cf
MDL-83977 qbank: Fix migration issues for unused questions.
Previously, question categories which contained only questions with no
usages were deleted during migration to mod_qbank.

Also, contexts that contained no questions once unsused questions were
deleted were still migrated to a mod_qbank instance, which was empty.

The intention is that hidden questions with no usages should be deleted,
then any categories which are now empty should be deleted rather than
migrated. If there are no categories that contain questions left in a
context, creation of a mod_qbank to migrate those categories is not
necessary.

The unit tests did not cover the cases of categories containing only
non-hidden questions without usages, of categories containing only
unused questions with multiple hidden versions, or of empty categories
with children that were not empty.

This change now specifically checks whether a category or is children
are empty before deleting the category, rather than checking question
usage, since stale questions (hidden questions with no usage) are
already deleted before this point. It also expands the unit tests to
cover the above cases.
2024-12-17 15:44:03 +00:00
Sara Arjona
f2c9419a56
Merge branch 'MDL-71472_deprecate-add_select_with_email' of https://github.com/ziegenberg/moodle 2024-12-17 13:15:54 +01:00
Sara Arjona
ba98c82406
Merge branch 'MDL-81952-main' of https://github.com/srobotta/moodle 2024-12-17 13:01:44 +01:00
Jun Pataleta
b0ce9d6552
Merge branch 'MDL-83377-main' of https://github.com/sh-csg/moodle 2024-12-17 19:54:03 +08:00
Jun Pataleta
d7d0135ca7
Merge branch 'MDL-83593' of https://github.com/lostrogit/moodle 2024-12-17 19:32:50 +08:00
Carlos Castillo
dfed85fcb2 MDL-83593 theme_boost: Fix navbar site logo link 2024-12-17 11:18:39 +01:00
Sara Arjona
65a4277f85
Merge branch 'MDL-83336-main' of https://github.com/andrewnicols/moodle 2024-12-17 10:54:29 +01:00
Paul Holden
952747912c
MDL-83738 reportbuilder: allow aggregations to define calculated type.
This allows each class to define the type of data that they return,
regardless of the type of column to which they are applied. This is the
pre-cursor to work on graphing and filtering of aggregated data.

E.g. a text field that is aggregated with "count" is returning numeric
data rather than text.
2024-12-17 08:28:31 +00:00
Paul Holden
0fe0fc675c
MDL-84000 reportbuilder: move testcase helper to autoloaded namespace.
Clean up some class imports while we're at it.
2024-12-17 08:19:38 +00:00
Huong Nguyen
cf0d361721
Merge branch 'MDL-83119-main' of https://github.com/sammarshallou/moodle 2024-12-17 14:59:22 +07:00
Sara Arjona
3dbf243303
Merge branch 'MDL-83361' of https://github.com/paulholden/moodle 2024-12-17 08:00:16 +01:00
Sara Arjona
df337ab680
Merge branch 'MDL-83696-main' of https://github.com/andelacruz/moodle 2024-12-17 07:41:45 +01:00
Huong Nguyen
eb2be9fede
Merge branch 'MDL-77713' of https://github.com/cwarwicker/moodle 2024-12-17 09:11:56 +07:00
Huong Nguyen
fe5ce6d717
Merge branch 'MDL-83860_main' of https://github.com/marxjohnson/moodle 2024-12-17 09:06:57 +07:00
Angelia Dela Cruz
29bf0123d8 MDL-83696 core_tag: Added behat for book chapter and glossary entry tags 2024-12-17 10:04:12 +08:00
Paul Holden
b0bd6907b1
MDL-83183 mod_bigbluebuttonbn: consistent order in activity index. 2024-12-16 19:38:45 +00:00
hieuvu
5dbded532a
MDL-82273 core_question: Fix behat failed 2024-12-16 18:48:38 +01:00
Julien Boulen
6d38ff43b7 MDL-79121 lib: Improve the dataset for is_proxybypass_provider() 2024-12-16 15:55:58 +01:00
Julien Boulen
67d0069dad MDL-79121 lib: Normalize proxybypass value
This changes prevent the admin to define an incorrect proxybypass value.

Dropped out formats in MDL-74289 are now fixed automatically.
e.g.: "192.168." becomes "192.168.0.0/16" and ".domain.tld" becomes "*.domain.tld".
2024-12-16 15:54:52 +01:00
Mark Johnson
c87cffac88
MDL-83860 qbank_viewquestionname: Add question name filter condition 2024-12-16 11:07:21 +00:00
Amaia Anabitarte
e1e282a4b1 MDL-83214 core_course: Make is_delegated consistent 2024-12-16 11:07:32 +01:00
Stefan Hanauska
c56efb2650 MDL-83377 repository_local: Missing options for searching 2024-12-16 06:26:58 +01:00
Huong Nguyen
5800e83c46
Merge branch 'MDL-79268-master' of https://github.com/danghieu1407/moodle 2024-12-16 10:55:03 +07:00
Huong Nguyen
3cbad54d6a
Merge branch 'MDL-83859_main' of https://github.com/marxjohnson/moodle 2024-12-16 10:46:52 +07:00
Huong Nguyen
adb94bf614
Merge branch 'MDL-83883_main' of https://github.com/marxjohnson/moodle 2024-12-16 10:24:44 +07:00
Huong Nguyen
860bb57497
Merge branch 'MDL-83703-main' of https://github.com/andrewnicols/moodle 2024-12-16 10:07:57 +07:00
Huong Nguyen
ebc3b82b48
Merge branch 'MDL-82273-master' of https://github.com/NashTechOpenUniversity/moodle 2024-12-16 10:01:51 +07:00
Huong Nguyen
bb3cda8b64
Merge branch 'MDL-75075-master' of https://github.com/NashTechOpenUniversity/moodle 2024-12-16 09:50:12 +07:00
Huong Nguyen
a4abbc7fa9
Merge branch 'MDL-83493-main' of https://github.com/roland04/moodle 2024-12-16 08:59:44 +07:00
AMOS bot
0692025d41 Automatically generated installer lang files 2024-12-15 00:08:27 +00:00
Stephan Robotta
49a9803144 MDL-81952 questions: Fix warning in export of multitype 2024-12-14 13:16:19 +01:00
Conn Warwicker
d9d2388965
MDL-79122 question: Correct capability check for question comments link.
This makes the rendering of the question comments count additionally
check the core moodle/comment:post capability, since this capability
is required to make comments. Previously, this was not being checked
so users could open the modal to make a comment, which was causing
a javascript error due to expected elements being missing.
2024-12-13 15:31:47 +00:00
Paul Holden
812975e218
MDL-83361 reportbuilder: date aggregation for timestamp columns.
This change introduces updates to the existing aggregation API, to
allow types to define whether to group by fields of a column to which
the aggregation is applied.

The new date aggregation utilises this, to allow for creation of time
series reports, e.g. report data grouped by dates.

Co-authored-by: Daniel Neis Araujo <danielneis@gmail.com>
2024-12-13 12:36:22 +00:00
Luca Bösch
3c94afe292 MDL-63802 theme_classic: ARIA label in nav for secure layout 2024-12-13 08:21:11 +01:00
hieuvu
5e952377aa MDL-82273 core_question: get correct category for question bank view 2024-12-13 14:07:49 +07:00
danghieu1407
4eaefa2a0f MDL-79268 questions: Show version numbers in delete confirmation 2024-12-13 13:35:04 +07:00
meirzamoodle
7dac99c191 MDL-83691 core_sms: Avoid saving unnecessary data in the database 2024-12-13 10:17:05 +07:00
Huong Nguyen
a97ddeb2a2
weekly release 5.0dev 2024-12-13 08:57:54 +07:00
Huong Nguyen
dab6f42de4
NOBUG: Add upgrade notes 2024-12-13 08:57:53 +07:00
Huong Nguyen
15b1d05530
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install 2024-12-13 08:57:32 +07:00
sam marshall
b549491bb3 MDL-83119 search_solr: Implement check on connectivity, space usage
Implements a status check which confirms that the Solr search engine
is available. Optionally, the check can also show a warning if the
index grows beyond a certain size.

As part of this change, a new API was added in search_solr\engine
to allow using http_client (Guzzle) instead of raw Curl; this makes
it easier to create mock tests in PHPunit for the new functionality.
2024-12-12 13:32:11 +00:00
Jun Pataleta
df990a7c02
Merge branch 'MDL-83733-main' of https://github.com/aanabit/moodle 2024-12-12 11:50:09 +08:00
Jun Pataleta
fce8ddcac8
Merge branch 'MDL-83765-main' of https://github.com/aanabit/moodle 2024-12-12 11:43:29 +08:00
Paul Holden
83dc1912dd
MDL-82697 courseformat: fix exception arguments for section limit.
Co-authored-by: James C <5689414+james-cnz@users.noreply.github.com>
2024-12-11 17:46:50 +00:00
Paul Holden
ded7f2e995
MDL-76566 core: final removal of pre-404 renamed class definitions. 2024-12-11 16:59:06 +00:00
Andrew Nicols
e89f890b3d
MDL-83988 core: Hide common machine-read files 2024-12-11 23:34:55 +08:00
raortegar
b014947acb MDL-82958 core_dml: Hide table details in exceptions if debug disabled 2024-12-11 12:31:29 +01:00