97065 Commits

Author SHA1 Message Date
Sara Arjona
dad7f2ba1d Merge branch 'MDL-65539' of https://github.com/NeillM/moodle 2020-04-06 16:40:52 +02:00
Brendan Heywood
d71752df93 MDL-67818 auth_none: Moved to improved Check API
AMOS BEGIN
 MOV [check_noauth_details,auth_none],[checknoauthdetails,auth_none]
 MOV [check_noauth_error,auth_none],[checknoautherror,auth_none]
 MOV [check_noauth_name,auth_none],[checknoauthname,auth_none]
 MOV [check_noauth_ok,auth_none],[checknoauthok,auth_none]
AMOS END
2020-04-06 22:08:33 +10:00
Brendan Heywood
26bb3c24d2 MDL-67818 check: Improved Check API to reduce boilerplate 2020-04-06 22:08:15 +10:00
Paul Holden
abde761cb6 MDL-40081 completion: clean up criteria records for deleted courses. 2020-04-06 12:22:51 +01:00
Sara Arjona
71576a58e6 Merge branch 'MDL-68231-master' of https://github.com/snake/moodle 2020-04-06 13:22:18 +02:00
Paul Holden
0c68ae88eb MDL-67499 restore: account for deleted user truncated email/username. 2020-04-06 12:09:48 +01:00
Sara Arjona
43cda51ea1 Merge branch 'MDL-68233' of https://github.com/timhunt/moodle 2020-04-06 12:51:22 +02:00
Eloy Lafuente (stronk7)
68ba708334 MDL-67499 restore: add 100% cov. to restore_dbops::precheck_user()
Supports multiple mails to be tested.

So we can perform changes to it and also some related stuff,
like delete_user() with confidence.
2020-04-06 11:48:27 +01:00
Paul Holden
343380d9c8 MDL-67499 user: truncate long username/email during user deletion. 2020-04-06 11:48:27 +01:00
Paul Holden
b6ea0ef7ee MDL-68280 user: fix PHP notice for unknown user invalid login token. 2020-04-06 11:46:06 +01:00
Paul Holden
96e7f4f4fd MDL-68279 admin: filter site fullname when sending test email. 2020-04-06 11:41:18 +01:00
Mihail Geshoski
9f1bfca2e8 MDL-68051 course: Fix accessibility issues in chooser tabs navigation 2020-04-06 17:31:23 +08:00
Sara Arjona
9ac9ff50de Merge branch 'MDL-68250-master' of git://github.com/bmbrands/moodle 2020-04-06 10:31:39 +02:00
Sara Arjona
b0aaee0e69 Merge branch 'MDL-68239' of https://github.com/NinaHerrmann/moodle 2020-04-06 10:17:44 +02:00
Huong Nguyen
f389e916f2 MDL-68113 Drag and drop into text questions: better responsive design
These changes also make it possible to print these questions.
2020-04-06 14:28:29 +07:00
Andrew Nicols
c52f3a3efa Merge branch 'MDL-68256' of https://github.com/timhunt/moodle 2020-04-06 15:05:41 +08:00
Andrew Nicols
924d50a3b8 Merge branch 'MDL-67818-check-api' of https://github.com/brendanheywood/moodle 2020-04-06 11:23:39 +08:00
Brendan Heywood
00c2153be1 MDL-67818 check: Added Check API and refactored security checks
AMOS BEGIN
 MOV [check_noauth_details,report_security],[check_noauth_details,auth_none]
 MOV [check_noauth_error,report_security],[check_noauth_error,auth_none]
 MOV [check_noauth_name,report_security],[check_noauth_name,auth_none]
 MOV [check_noauth_ok,report_security],[check_noauth_ok,auth_none]
AMOS END
2020-04-06 12:28:37 +10:00
Andrew Nicols
b02d376c9b Merge branch 'MDL-66301-master' of git://github.com/mickhawkins/moodle 2020-04-06 10:13:01 +08:00
Sara Arjona
0f51963108 MDL-67919 dataprivacy: Fix behat error when contacting DPO 2020-04-03 19:37:39 +02:00
n_herr03
d097538b01 MDL-68239 mod_data: make required icon in multimenu visible 2020-04-03 12:15:54 +02:00
Andrew Nicols
c540a575db MDL-68286 table: Support initials bar for dynamic tables 2020-04-03 16:54:13 +08:00
Neill Magill
28ee72fd68 MDL-65539 dragdrop: Ignore drag proxy in keyboard menu
Before this change the node that is displayed during a the last mouse
drag and drop would be listed in a keyboard drag and drop if it was
the container node of one of the types of node being moved in this action.

If a node is inside a node with the .yui3-dd-proxy class then it is
one of the proxy elements used to display the dragged content during
mouse drag and drop so we will start ignoring it.
2020-04-03 08:36:37 +01:00
Neill Magill
b08323a789 MDL-65539 dragdrop: Allow sections and blocks to move to the top
Before this change sections and blocks could not be moved to be the
top item when using keyboard drag and drop.

They can now be moved to the top in one action.

The way they move using keyboard drag and drop has changed when they
are below the item they are dropped on, not instead of appearing
below it they will be placed above it.
2020-04-03 08:36:37 +01:00
Neill Magill
472c953093 MDL-65539 dragdrop: Allow direction detection when using keyboard
Before this change keyboard drag and drop could not detect the
direction of movement, this meant that an item would only be placed
below an item or at the top of a container item.

This change means that extending modules can declare
detectkeyboarddirection to true. This will mean that when an item is
moved it's position will be determined by the direction of travel as
it would be when dragging using the mouse.

If detectkeyboarddirection is true then:

* If you move an item upwards it will be placed before the item
  selected in the drop menu
* If you move a item downwards it will be placed after the item
  selected in the drop menu
* The item above the one being dragged will now be displayed on
  the drop menu

If detectkeyboarddirection is false there will be no change in
behaviour.
2020-04-03 08:36:37 +01:00
Neill Magill
b5c9fb4a3d MDL-65539 course: Keyboad drag and drop should not break page
Before this change keyboard drag and drop of sections would alter
the structure of the page.

This occured because in this case the dragnode was the original node
2020-04-03 08:36:36 +01:00
Neill Magill
dc489dffe6 MDL-65539 formats: Section labels not updated during move
Before this change when moving a section via drag and drop the
aria-label for the section was not being updated neither was the
title on the drag handle.

The result was the the drop menu on keyboard drag and drop displayed
the wrong information after a section was moved.
2020-04-03 08:36:36 +01:00
Neill Magill
2ad7a19565 MDL-68189 course: Section name change should display in DD menu
This patch removed the sectionname hidden element (that was not used
by the keyboard menu anyway)

Changed the aria-label of the section to aria-labelled by as this
means that the description will change as drag and drop updated
things without the need to add additional JavaScript.
2020-04-03 08:36:17 +01:00
Sara Arjona
faf0029eed MDL-66357 core_badges: remove action=0 usage for issuer
In MDL-67971, issuer_json.php was created, to display issuer JSON content.
However, some files were still using action=0 to display this information.
It has been replaced by issuer_json.php.
The action=0 support won't be removed (at least for now), because several
public badges URLs are using it.
2020-04-03 08:09:55 +02:00
Sara Arjona
640628192a MDL-66357 core_badges: set OBv2 as default 2020-04-03 08:09:55 +02:00
Sara Arjona
f958f5c19b MDL-66357 core_badges: remove mozilla backpack references
Mozilla backpack closed a few months ago. It was moved to Badgr.io
(as OBv1.0) but as we're also supporting Badgr.io OBv2.0, it
makes no sense to leave old references to Mozilla backpack there.
2020-04-03 08:09:55 +02:00
Andrew Nicols
1c112ac5fd MDL-68286 table: Empty tables need the dynamic table wrapper 2020-04-03 12:08:48 +08:00
Mihail Geshoski
98ec40a8f6 MDL-68147 course: Remove bold styling in recommended activity admin page 2020-04-03 10:29:50 +08:00
Sara Arjona
1d4fdb0d1c weekly release 3.9dev 2020-04-02 16:51:06 +02:00
Sara Arjona
7a3cf8b177 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-04-02 16:51:03 +02:00
Marina Glancy
749a38a7a9 MDL-68323 core: add --max-lint-warnings option to grunt 2020-04-02 13:42:28 +02:00
Eloy Lafuente (stronk7)
d9bb17e696 Merge branch 'MDL-68300' of https://github.com/timhunt/moodle 2020-04-02 13:13:36 +02:00
Tim Hunt
a0f8944305 MDL-68300 question bank: merge duplicate Duplicate Behat tests 2020-04-02 11:18:55 +01:00
Ferran Recio
d8c9c99001 MDL-67734 core_xapi: Fix MSSQL PHPUnit failure with duplicated id 2020-04-02 10:37:41 +02:00
Michael Hawkins
99f928a893 MDL-66301 forumreport_summary: Minor code improvements 2020-04-02 15:17:57 +08:00
Michael Hawkins
bff097f216 MDL-66301 forumreport_summary: Refactors and fixes to course report 2020-04-02 13:36:26 +08:00
Michael Hawkins
d235f7a017 MDL-66301 forumreport_summary: Improved filter renderer variable names 2020-04-02 13:36:26 +08:00
Michael Hawkins
0e759f616b MDL-66301 forumreport_summary: Made nodetitle string more specific
This is needed now course-level forum summary reports are available,
otherwise places like breadcrumbs are not clear that it relates
to forum data.
2020-04-02 13:36:26 +08:00
Michael Hawkins
380ae3f126 MDL-66301 forumreport_summary: Added course report behat tests 2020-04-02 13:36:25 +08:00
Michael Hawkins
54a3b94452 MDL-66301 forumreport_summary: Add course level reporting
This adds the ability to report on all forums the user has
access to within a course.
2020-04-02 13:36:25 +08:00
Andrew Nicols
17f429ed57 Merge branch 'MDL-67734-andrewapocalipse' of git://github.com/ferranrecio/moodle 2020-04-02 09:30:54 +08:00
Jake Dallimore
1bfd325307 Merge branch 'MDL-68165' of https://github.com/stronk7/moodle 2020-04-02 08:42:45 +08:00
Eloy Lafuente (stronk7)
a0ea162f63 Merge branch 'MDL-67672-master' of git://github.com/lucaboesch/moodle 2020-04-02 00:16:51 +02:00
Luca Bösch
2ad02280a9 MDL-67672 user: Display name in user menu as elsewhere. 2020-04-02 00:04:38 +02:00
Eloy Lafuente (stronk7)
0ab2f5b506 Merge branch 'MDL-67914-master' of git://github.com/lameze/moodle 2020-04-01 23:41:38 +02:00