Commit graph

104908 commits

Author SHA1 Message Date
Jun Pataleta
31a6f70ea1 Merge branch 'MDL-73784-master' of https://github.com/HuongNV13/moodle 2022-02-10 22:56:24 +08:00
Jun Pataleta
9dd8909360 Merge branch 'MDL-73811' of https://github.com/paulholden/moodle 2022-02-10 22:41:47 +08:00
Paul Holden
b393248400 MDL-73837 reportbuilder: use column attributes in system reports. 2022-02-10 13:17:01 +00:00
Paul Holden
14b6334133 MDL-73836 reportbuilder: allow pre-defined action title attribute. 2022-02-10 12:38:25 +00:00
Ilya Tregubov
8685968870 Merge branch 'MDL-73764' of https://github.com/stronk7/moodle 2022-02-10 14:18:34 +02:00
Sara Arjona
3daeecd3d2 MDL-73827 lib: Fix URL blocked error for userinfo endpoint
When the oAuth2 issuer hasn't any userinfo endpoint, a call to
$this->get(false) was done, which was returning "The URL is
blocked".
This is a regression from MDL-70649, which added some cURL security
checks.
2022-02-10 10:43:38 +01:00
Paul Holden
ff6e5cc71d MDL-73797 output: swap order of buttons in save/cancel dialogs.
The primary button should swap position with the secondary button,
so that it's displayed on the right hand side of the dialog.
2022-02-10 08:34:04 +00:00
Jake Dallimore
2a736da1ee Merge branch 'MDL-73448-master' of https://github.com/peterRd/moodle 2022-02-10 15:59:57 +08:00
Peter Dias
97fb06057b MDL-73448 scorm: Remove displayactivityname in scorm. 2022-02-10 15:23:36 +08:00
Peter Dias
8f16a4d98e MDL-73448 scorm: Update scorm tertiary navigation
* Left align scorm content
* Add headings
* Remove exit buttons when in separate window
2022-02-10 15:23:36 +08:00
Shamim Rezaie
e30493108d Merge branch 'MDL-73722' of https://github.com/paulholden/moodle 2022-02-10 17:21:10 +11:00
Jake Dallimore
264e2b4781 Merge branch 'MDL-73354-master' of git://github.com/abgreeve/moodle 2022-02-10 14:14:41 +08:00
AMOS bot
612b39c175 Automatically generated installer lang files 2022-02-10 00:07:52 +00:00
Shamim Rezaie
c652a07dd8 Merge branch 'MDL-73772-master' of https://github.com/aanabit/moodle 2022-02-10 09:42:25 +11:00
David Matamoros
ad35d520c8 MDL-72061 reportbuilder: Fix lost focus on action menu items 2022-02-09 17:19:48 +01:00
Bas Brands
5e9e4c2e5e MDL-73816 theme_boost: increase font weight of headings 2022-02-09 17:16:35 +01:00
David Matamoros
48a6e92700 MDL-72061 reportbuilder: Report actions are shown in action menus 2022-02-09 15:55:08 +01:00
Bas Brands
d9cefeba09 MDL-73795 theme_boost: align header actions on mobile 2022-02-09 15:06:04 +01:00
Bas Brands
7433e69353 MDL-73814 theme_boost: align contextheader 2022-02-09 14:34:06 +01:00
Amaia Anabitarte
ddfc3316f3 MDL-73772 reports: Fix Activity completion report with no group select 2022-02-09 13:18:01 +01:00
Ilya Tregubov
7e34d42298 Merge branch 'MDL-73773' of https://github.com/paulholden/moodle 2022-02-09 13:28:43 +02:00
Ilya Tregubov
acb47915e3 Merge branch 'MDL-71713-master' of https://github.com/cescobedo/moodle 2022-02-09 12:06:25 +02:00
Jun Pataleta
7d743b255d Merge branch 'MDL-73633-master' of git://github.com/mihailges/moodle 2022-02-09 17:45:54 +08:00
Huong Nguyen
b5c181f117 MDL-72915 qtype_ddimageortext: Fix eventHandler for Unlimited items
Sometimes, for the question that has a lot of input groups and unlimited draggable items,
the 'clone' process takes longer than usual, so the questionManager.init() method
will not add the eventHandler for the cloned drag.
We should make sure to bind the eventHandler for the cloned too
2022-02-09 15:23:37 +07:00
Peter Dias
df5425538e MDL-73373 behat: Update behat tests 2022-02-09 16:06:48 +08:00
Adrian Greeve
965f4e74cd fixup! MDL-73354 mod_assign: General tidy up of tertiary navigation. 2022-02-09 10:52:58 +08:00
Adrian Greeve
ddb35c124a fixup! MDL-73354 mod_assign: Overrides page updates to tertiary navigation. 2022-02-09 10:52:35 +08:00
Adrian Greeve
ac32195022 MDL-73354 mod_assign: Fixed broken timed assignment feature. 2022-02-09 10:52:35 +08:00
Adrian Greeve
c565ec4535 MDL-73354 mod_assign: Removed unused test code. 2022-02-09 10:52:35 +08:00
Adrian Greeve
75aed26e78 MDL-73354 advanced grading: Updated management page.
The management page will no longer show the activity name in the
title if using secondary navigation.
2022-02-09 10:52:34 +08:00
Adrian Greeve
1b0fec7f03 MDL-73354 mod_assign: Overrides page updates to tertiary navigation. 2022-02-09 10:52:34 +08:00
Adrian Greeve
33e6a36daf MDL-73354 mod_assign: General tidy up of tertiary navigation. 2022-02-09 10:52:34 +08:00
AMOS bot
e3bf7380ba Automatically generated installer lang files 2022-02-09 00:07:38 +00:00
Eloy Lafuente (stronk7)
a0f8a78f16 MDL-73764 behat: Verify the report works and all files in core are ok 2022-02-08 19:25:03 +01:00
Eloy Lafuente (stronk7)
3bb4a4009c MDL-73764 tool_xmldb: Regenerate all the files detected by the report
Note that, instead of going one by one to them from the XMLDB Editor
(load, makes some tiny change, save, revert the change, save), the
report includes a commented line that, once uncommented, does regenerate
the file while reporting.

I've left it there as a commodity for the developer.
2022-02-08 19:25:03 +01:00
Eloy Lafuente (stronk7)
ebd0f69daa MDL-73764 tool_xmldb: New report to show all xml files needing reconcile
People uses to edit the install.xml files manually, here and there. That
uses to come with small mistakes, like wrong white-space indentation,
some attributes out of order...

While none of them are critical, they add a lot of noise when somebody
is correctly editing a file with the XMLDB Editor because it, correctly,
overwrites the whole file and then diffs show a lot of unrelated changes.

So, this report will inform us about any file needing to be regenerated
because it has been manually edited (in a different way than the way
the editor has).

Note that the report is very basic, with minimal ouput, manually
generating the HTML, like the rest of the XMLDB Editor actions do. We
are not using renderers neither templates here.

Also note that it includes a commented line of code that, once
uncommented, enables the report to, also, fix the wrong files. Useful
for developers.
2022-02-08 19:25:02 +01:00
Paul Holden
683fc4d9d1 MDL-73811 reportbuilder: ensure audience cards are uniquely keyed. 2022-02-08 16:35:59 +00:00
Bas Brands
c788b032ce MDL-73805 theme_boost: remove left icon margin
Reverted from MDL-73543 since it was causing multiple
icon alignment issues, Fixed the alignment issue for
the recently accessed courses block
2022-02-08 14:42:30 +01:00
Bas Brands
483686ad0e MDL-73768 theme_boost: add right margin to profile picture 2022-02-08 14:01:10 +01:00
Ilya Tregubov
5897242361 on-demand release 4.0dev+ 2022-02-08 14:54:21 +02:00
cescobedo
fafa097dd2 MDL-71713 auth_cas: Set Moodle files after phpCAS upgrade 2022-02-08 07:09:12 +01:00
cescobedo
4045a42445 MDL-71713 auth_cas: Upgrade phpCAS to 1.4.0 2022-02-08 07:02:04 +01:00
Andrew Nicols
68ae89ccc4 Merge branch 'MDL-73631' of https://github.com/paulholden/moodle 2022-02-08 12:03:42 +08:00
Jun Pataleta
939cb7a90f Merge branch 'MDL-72246-master-2' of https://github.com/andrewnicols/moodle 2022-02-08 11:36:59 +08:00
Andrew Nicols
70cc41eec8 MDL-72246 core_completion: Only fetch other completion data on requested
Prior to this patch, the code was fetching all completion data for all
activities in a course, even when the activity was not requested. This
leads to recursion issues as the data has not been added to the cache
before this operation occurs.

To handle this situation, only the requested CM is fetched in full, and
a boolean flag is used to store whether the full data has been fetched.

When returning a partially fetched value from the cache, the flag is
used to determine whether more data must be fetched, and the cache
updated.

The flag is filtered out before the value is returned.

Note: Many of the tests were updated as these were inspecting private
features of the API which should not really be tested.
2022-02-08 11:35:23 +08:00
Andrew Nicols
adc61dddc3 MDL-72246 core_completion: Test coverage improvements for completion 2022-02-08 11:22:14 +08:00
Andrew Nicols
a999b12e02 MDL-72246 core_completion: Stop testing the inner workings of get_data() 2022-02-08 11:22:14 +08:00
Andrew Nicols
95c6d3c8d9 Merge branch 'MDL-73716' of https://github.com/stronk7/moodle 2022-02-08 10:59:34 +08:00
Andrew Nicols
df154ecb72 Merge branch 'MDL-73116' of https://github.com/roland04/moodle 2022-02-08 10:57:40 +08:00
Andrew Nicols
b710e57ebd Merge branch 'MDL-73766-master' of https://github.com/lucaboesch/moodle 2022-02-08 10:54:44 +08:00