Commit graph

30787 commits

Author SHA1 Message Date
Mihail Geshoski
d5a48c941e MDL-74208 navigation: Avoid showing empty menu in single activity course
The following change prevents showing the 'Course' item (dropdown) in
the secondary navigation if this dropdown does not contain any items
when using the single activity course format.
2022-04-04 15:46:18 +08:00
Jake Dallimore
0dcb53ec19 MDL-74303 lib: pull upstream lib/lti1p3 changes to support JWKS parsing
This pulls in the latest changes from the moodle-fixes branch of
snake/lti-1-3-php-library. This specific change is required so JWKS
key parsing works when launching from platforms which omit the 'alg'
property in their JWKs.
2022-04-04 14:43:22 +08:00
Jun Pataleta
37f37a42d4 Merge branch 'MDL-74096-master' of https://github.com/ilyatregubov/moodle 2022-04-04 13:06:06 +08:00
Gareth Barnard
8af8eeef69
MDL-59545 navigation: Missing editing icons on activity pages 2022-04-03 21:54:51 +01:00
Paul Holden
efbe15306a MDL-74222 forms: add aria-controls attribute to expand/collapse all. 2022-04-01 18:44:24 +01:00
Paul Holden
b7417f2adf MDL-74026 admin: consistently show search element on admin pages. 2022-04-01 18:41:16 +01:00
Víctor Déniz
a51d24c8a8 MDL-74330 lang: Replace modified strings in tests 2022-04-01 13:17:18 +01:00
Ilya Tregubov
1d4c22a64a MDL-74096 mlbackend_python: Update mlbackend version. 2022-04-01 16:27:01 +06:00
Jun Pataleta
20f8914f1e Merge branch 'MDL-74390' of https://github.com/timhunt/moodle 2022-04-01 17:00:21 +08:00
Michael Hawkins
a0c6b4a174 MDL-74078 core: Add the ability to lock all blocks on a page 2022-04-01 15:12:56 +08:00
Peter Dias
2c27a33213 MDL-74276 report: Update behat tests to account for new page. 2022-04-01 12:44:04 +08:00
Huong Nguyen
2fa497df65 MDL-74113 atto_media: Listen to play/pause events 2022-04-01 10:03:17 +07:00
Andrew Nicols
46bdfc9b93 Merge branch 'MDL-72446' of https://github.com/stronk7/moodle 2022-04-01 10:13:46 +08:00
Peter Dias
3eb80e7386 MDL-74276 report: Render a new 'Reports Overview' page 2022-04-01 08:56:00 +08:00
Tim Hunt
409b94cf09 MDL-74390 filter admin: log filter order changes in config_log 2022-03-31 16:49:03 +01:00
Eloy Lafuente (stronk7)
c21a82df58 MDL-72446 behat: Ensure that the day reset happens on enabled element
Before this change we were setting the month day to 1 unconditionally
and that was working ok for enabled by default elements.

But in a number or cases we were doing that against disabled elements
so the day reset was not happening. Now we wait for the element to
be enabled and only then proceed with the day reset.

Backed with tests using disabled form elements, so we have now
both enabled and disabled fields covered.
2022-03-31 11:29:22 +02:00
Víctor Déniz
c6c99abe7a Merge branch 'MDL-74205-master' of https://github.com/ilyatregubov/moodle 2022-03-30 09:51:50 +01:00
Ilya Tregubov
053785ff5f MDL-74205 navigation: Don't show participants link to user if he has no permission. 2022-03-30 10:42:11 +06:00
Jun Pataleta
4aad8fe6a4 Merge branch 'MDL-74110' of https://github.com/paulholden/moodle 2022-03-29 10:51:30 +08:00
Víctor Déniz
07d4b60341 Merge branch 'MDL-74300-master' of https://github.com/sharidas/moodle 2022-03-28 22:23:37 +01:00
Jun Pataleta
328bba2743 Merge branch 'MDL-74266-master' of https://github.com/mihailges/moodle 2022-03-28 22:27:41 +08:00
Andrew Nicols
d5e0a57333 Merge branch 'MDL-74299-master' of https://github.com/ericmerrill/moodle 2022-03-28 15:52:25 +08:00
Ilya Tregubov
305a25ae53 Merge branch 'MDL-59681-recursive-file' of https://github.com/brendanheywood/moodle 2022-03-28 11:53:50 +06:00
Sujith Haridasan
f2c7f35f78 MDL-74300 core_grades: Fix errors in bulk to gradebook
This change prevents the printing of header when the
moodles page's state is STATE_IN_BODY. Due to the absence
of this check when user entered graded in bulk was causing
errors.
2022-03-28 11:12:40 +05:30
Eloy Lafuente (stronk7)
b7dc12b160 Merge branch 'MDL-72634' of https://github.com/paulholden/moodle 2022-03-27 16:50:29 +02:00
Eloy Lafuente (stronk7)
4344d4b55b Merge branch 'MDL-72958' of https://github.com/timhunt/moodle 2022-03-27 16:43:15 +02:00
Eloy Lafuente (stronk7)
c3f1c89a00 Merge branch 'master_MDL-73808-question-bank-upgrade-bkp' of https://github.com/catalyst/moodle-MDL-70329 2022-03-27 16:01:49 +02:00
Jun Pataleta
097d14c3f2 Merge branch 'MDL-74143' of https://github.com/stronk7/moodle 2022-03-25 17:56:10 +08:00
Mihail Geshoski
eac7fa895e MDL-74266 navigation: Perform strict check whether key exists in array 2022-03-25 16:06:24 +08:00
Mike Macgirvin
6770481c63 MDL-70568 cron: Temporarily increase debug level on task failure 2022-03-25 13:35:56 +11:00
Víctor Déniz
06eded2a8b Merge branch 'MDL-74224-master' of https://github.com/HuongNV13/moodle 2022-03-24 16:30:15 +00:00
Víctor Déniz
c21f2a73b1 Merge branch 'MDL-73393-master' of https://github.com/peterRd/moodle 2022-03-24 15:59:50 +00:00
Víctor Déniz
c5a510cd09 Merge branch 'MDL-73914-master' of https://github.com/lameze/moodle 2022-03-24 15:54:56 +00:00
Jun Pataleta
c1c52cfddd Merge branch 'MDL-73556-master' of https://github.com/ferranrecio/moodle 2022-03-24 23:50:07 +08:00
Peter Dias
0a7b8dbc46 MDL-73393 navigation: Reintroduce nav-drawer and add a button
- Reintroduce nav components to have backwards compatibility with existing themes
- Mark for deprecation flat_navigation and flat_navigation_node
2022-03-24 19:59:48 +08:00
Safat Shahin
6045e6b67b MDL-73808 core_question: Add efficiency in question migration
This commit will add some efficiency around the question
migration.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Andrew Lyons <andrew@nicols.co.uk>
2022-03-24 20:34:14 +11:00
Jun Pataleta
9f951edbff Merge branch 'MDL-72007-master' of https://github.com/peterRd/moodle 2022-03-24 16:37:46 +08:00
Peter Dias
e3921e1c74 MDL-72007 navigation: Update upgrade.txt files 2022-03-24 16:36:22 +08:00
Sara Arjona
8c502259f3 Merge branch 'MDL-74280' of https://github.com/paulholden/moodle 2022-03-24 08:33:49 +01:00
Ilya Tregubov
7bedf54f5b Merge branch 'master_MDL-73763_index-fix' of https://github.com/catalyst/moodle-MDL-70329 2022-03-24 13:14:03 +06:00
Marc-Alexandre Ghaly
c3ac868bf7 MDL-73763 core : Index fixes for reference tables
This commit will add the index for the question_reference
and the question_set_reference table if its not already
added. This commit will also implement the logic of adding
the question area and component in the joins of the question
reference table in order to make sure any other plugin using
the qbank api does not conflict with each other.
2022-03-24 18:04:47 +11:00
Huong Nguyen
9f9e940a19 MDL-74224 atto_managefiles: Remove unnecessary scrollbar 2022-03-24 09:37:12 +07:00
Jun Pataleta
efe227d1bf Merge branch 'MDL-73713-readonly-txn-latency' of https://github.com/catalyst/moodle 2022-03-24 10:17:30 +08:00
Srdjan
d8baf29573 MDL-73713 dml: moodle_read_slave_trait default latency to 1 second
In practice it is as if the feature was turned off most of the time.
However, some long processes may benefit from this very safe value
in case admins missed to configure it.
2022-03-24 09:32:24 +10:00
Srdjan
343384d921 MDL-73713 dml: test namespaces fix - a noop 2022-03-24 09:30:10 +10:00
Eric Merrill
29f83023a6 MDL-74299 question: Don't use a strict comparison for DB objects 2022-03-23 19:20:22 -04:00
Srdjan
8a386d68f6 MDL-73713 dml: moodle_read_slave_trait table written time adjustment
moodle_database::commit_delegated_transaction() calls
core\event\manager::database_transaction_commited() which may invoke
events that do database reads.
This change adjusts tables last written time in moodle_read_slave_trait *before*
calling moodle_database::commit_delegated_transaction().
2022-03-24 09:19:56 +10:00
Eloy Lafuente (stronk7)
848ec32df0 MDL-74143 database: Make get_indexes() to return original column names
Sometimes, in order to provide a cross-db behaviour of unique indexes
mixing null and not null columns, we create, under the hood, some
function based indexes.

When that happens get_indexes() is returning the name of the
expression objects used to calculate that function index. But we need
the original column names to be able to compare indexes and get
column dependencies properly.

So, this patch just looks, when the index is unique and function based,
to the expressions (pretty standard CASE statements) and gets the
original column name from it.

Covered with tests.
2022-03-23 23:16:53 +01:00
Paul Holden
4102ae35a4 MDL-74283 dml: replace hardcoded concat SQL with appropriate API. 2022-03-22 17:33:03 +00:00
Paul Holden
b6d8939959 MDL-72634 user: populate default city/country during user creation. 2022-03-22 17:28:09 +00:00