104822 Commits

Author SHA1 Message Date
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
Jun Pataleta
2bce5d8be5 Merge branch 'MDL-74274-master' of https://github.com/peterRd/moodle 2022-03-24 16:33:39 +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
Ilya Tregubov
84fbc7b31b Merge branch 'MDL-74193' of https://github.com/paulholden/moodle 2022-03-24 13:08:13 +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
Jake Dallimore
86f08a393f MDL-74221 enrol_lti: db changes supporting draft registrations
Summary:
- Allows nulls for a number of fields meaning largely empty drafts can
be stored.
- Adds 'uniqueid', an id unique to each issuer which is intended
to be used as a parameter in both the initiate login and dynamic
registration urls provided to platforms, as a means to identify specific
registrations for the issuer, in the absense of client_id (optional in
the 1.3 spec).
- Add 'status', used to denote draft or active registrations.
2022-03-24 14:12:24 +08: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
e420fbe303 MDL-74306 mod_assign: fix undefined property in override cache key. 2022-03-23 18:55:03 +00:00
Ferran Recio
b4f62d2426 MDL-74257 core_courseforrmat: fix make available badge 2022-03-23 17:31:22 +01:00
Víctor Déniz
7a65b2a3c7 Merge branch 'MDL-74288-master' of https://github.com/snake/moodle 2022-03-23 15:25:38 +00:00
Sara Arjona
733419daa9 Merge branch 'master-MDL-48633' of https://github.com/golenkovm/moodle 2022-03-23 15:14:27 +01:00
Sara Arjona
d084f08db3 Merge branch 'MDL-74283' of https://github.com/paulholden/moodle 2022-03-23 13:53:16 +01:00
Sara Arjona
b46c643276 Merge branch 'MDL-57383' of https://github.com/paulholden/moodle 2022-03-23 13:51:08 +01:00
Ilya Tregubov
56c82a85e8 Merge branch 'MDL-74121-master' of https://github.com/sharidas/moodle 2022-03-23 17:22:15 +06:00
Sujith Haridasan
6c7324856d MDL-74307 core_search: Use PARAM_ALPHANUMEXT for $areaid
Use PARAM_ALPHANUMEXT for $areaid as areaid can also be
say mod_h5pactivity. When PARAM_ALPHAEXT is used it would
become mod_hpactivity and would cause exception in code flow.
2022-03-23 14:47:34 +05:30
Sujith Haridasan
ff5381ad95 MDL-74121 mod_forum: Fix the posting threshold issue
When a student post exceeds the posting threshold
block then 'Add discussion topic' button should not be shown.
Also the student cannot reply to a topic if this is exceeded.
2022-03-23 14:23:29 +05:30
Shamim Rezaie
b66925ce26 Merge branch 'MDL-73792-master' of https://github.com/HuongNV13/moodle 2022-03-23 19:07:28 +11:00
Bas Brands
8ccc266f4d MDL-73792 theme_boost: drawer layout spacing for mobile 2022-03-23 11:31:09 +07:00
Ilya Tregubov
a824011103 Merge branch 'MDL-74091-master' of https://github.com/lucaboesch/moodle 2022-03-23 09:11:30 +06:00
Peter Dias
3c51d8a87b MDL-74274 lesson: Set maxattempts reached when retries allowed 2022-03-23 10:26:23 +08:00
AMOS bot
85022e2172 Automatically generated installer lang files 2022-03-23 00:07:32 +00: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
Sara Arjona
838704aa85 MDL-74184 behat: Unrelated, remove the @skip_interim tag
This commit is UNRELATED to the MDL-74184, but we need the
@skip_interim tag removed to a couple of scenarios that were
causing lots of noise and failures @ci infrastructure.
MDL-74265 was created to deal with this issue but these jobs
are now passing, and nothing has been changed...

So we are using MDL-74184 (this extra commit) to remove that
tag (sorry for the noise).
2022-03-22 17:22:58 +01:00
Sara Arjona
a3de1eff1b Merge branch 'MDL-74160-master' of https://github.com/ferranrecio/moodle 2022-03-22 16:51:05 +01:00
Sara Arjona
d5ade9c68c Merge branch 'MDL-74049' of https://github.com/Chocolate-lightning/moodle 2022-03-22 16:47:49 +01:00
Sara Arjona
f4730df85e Merge branch 'MDL-74184' of https://github.com/timhunt/moodle 2022-03-22 16:42:03 +01:00
Tim Hunt
ee80bc47b7 MDL-72958 questions: tidy up all question-related upgrade.txt files 2022-03-22 14:53:43 +00:00
Luca Bösch
96581087a9 MDL-74091 core_question: 'table-responsive' qtable avoids overlap. 2022-03-22 14:19:42 +01:00
Mikhail Golenkov
4c3932dbca MDL-48633 mod_lesson: Fix lesson grade handling when scales in use 2022-03-22 23:02:20 +11:00
Sara Arjona
34ce1463cc on-demand release 4.0beta+ 2022-03-22 12:55:08 +01:00
Sara Arjona
aca06f668c Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-03-22 12:55:03 +01:00
Tim Hunt
439ecc57fd MDL-74184 quiz: prevent repagination of quizzes with attepts
There was a loophole to this rule on the settings form, which is now fixed.
2022-03-22 10:32:24 +00:00
Ferran Recio
ce7edab8a8 MDL-74160 core_coureformat: fix legacy renderer methods
To ensure legacy course formats works on Moodle 4.0 some method are
reintroduced (but marked as deprecated) like start_section_list and
end_section_list. Furthermore, the course_section_cm_availability
returns a string again as expected.
2022-03-22 10:59:14 +01:00
Andrew Nicols
6212b71318 MDL-74291 mod_bigbluebuttonbn: Allow students to join moderated meetings 2022-03-22 16:09:45 +08:00
Jake Dallimore
afbf15cd97 MDL-74288 enrol_lti: fix cross-origin postMessage call in registration
This isn't using the targetOrigin, which should be passed as 2nd param.
2022-03-22 11:06:23 +08:00
Ilya Tregubov
debe19b49b Merge branch 'MDL-74161' of https://github.com/Chocolate-lightning/moodle 2022-03-22 08:56:04 +06:00
Ilya Tregubov
719cc6024e Merge branch 'MDL-74169-master' of https://github.com/FMCorz/moodle 2022-03-22 08:46:46 +06:00
Jun Pataleta
ad1660721c Merge branch 'MDL-73795-master' of https://github.com/bmbrands/moodle 2022-03-22 10:22:45 +08:00
Jun Pataleta
5fffb343cb Merge branch 'MDL-72698' of https://github.com/stronk7/moodle 2022-03-22 10:19:37 +08:00
Simey Lameze
37bf03b2f4 MDL-73914 course: move both options to more menu
This commit moves the 'Download course content' and 'Unenrol me from course'
options to more menu.
2022-03-22 10:03:29 +08:00
Simey Lameze
b74b47065a MDL-73914 course: remove download course content button 2022-03-22 10:03:29 +08:00