97031 Commits

Author SHA1 Message Date
Shamim Rezaie
3dec4c6ce3 MDL-68148 core_user: avoid multiple enrol buttons with the same id 2020-04-08 11:22:34 +10:00
Shamim Rezaie
8a805e03a4 MDL-68148 core_user: set the fullname column as the header column
ref: https://www.w3.org/WAI/tutorials/tables/
2020-04-08 11:22:34 +10:00
Shamim Rezaie
1a94ddd31b MDL-68148 output: type attribute is unnecessary for javascript resources 2020-04-08 11:22:34 +10:00
Shamim Rezaie
0ad48a3e68 MDL-68148 core: remove cellspacing
The cellspacing attribute of <table> is not supported in HTML5.
So the removed line did not have any effect since ages ago.
2020-04-08 11:22:34 +10:00
Eloy Lafuente (stronk7)
f1f1497f04 Merge branch 'MDL-66357-master' of git://github.com/sarjona/moodle 2020-04-08 02:52:15 +02:00
AMOS bot
fd236c2062 Automatically generated installer lang files 2020-04-08 00:11:05 +00:00
AMOS bot
9b543efc05 Automatically generated installer lang files 2020-04-08 00:11:05 +00:00
Eloy Lafuente (stronk7)
2c50e08a3b Merge branch 'MDL-68286-master' of git://github.com/andrewnicols/moodle 2020-04-08 00:37:02 +02:00
Eloy Lafuente (stronk7)
2ede5371ed Merge branch 'MDL-67895' of https://github.com/timhunt/moodle 2020-04-08 00:01:33 +02:00
Tim Hunt
9205d263d6 MDL-68256 task admin UI: Grrrr! browsers 2020-04-07 19:04:53 +02:00
Sara Arjona
b3f562176c Merge branch 'MDL-40081' of https://github.com/paulholden/moodle 2020-04-07 15:09:56 +02:00
Sara Arjona
3f79d5461d Merge branch 'master_MDL-68223' of https://github.com/golenkovm/moodle 2020-04-07 13:42:20 +02:00
Sara Arjona
55339ca9d0 Merge branch 'master_MDL-65700' of https://github.com/golenkovm/moodle 2020-04-07 13:34:01 +02:00
Mikhail Golenkov
3180869e19 MDL-65700 javascript: Add url-polyfill. 2020-04-07 20:54:46 +10:00
Andrew Nicols
4fc8c1e4f3 Merge branch 'MDL-68285-master' of git://github.com/cescobedo/moodle 2020-04-07 13:25:48 +08:00
Brendan Heywood
c1f7368e57 MDL-47271 clilib: Add support for background colors 2020-04-07 12:30:27 +10:00
Andrew Nicols
a87a3c12c9 Merge branch 'MDL-68051-master-2' of git://github.com/mihailges/moodle 2020-04-07 10:25:04 +08:00
Andrew Nicols
c8eca1f642 Merge branch 'MDL-67818-check-api-fixes' of https://github.com/brendanheywood/moodle 2020-04-07 10:09:34 +08:00
Brendan Heywood
a28277697d MDL-67818 check: Rename renderer to be less generic 2020-04-07 12:07:42 +10:00
Eloy Lafuente (stronk7)
c3415804c1 Merge branch 'MDL-68147-master' of git://github.com/mihailges/moodle 2020-04-06 19:09:10 +02:00
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
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
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
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