90307 Commits

Author SHA1 Message Date
Jake Dallimore
8df868e9e0 weekly release 3.6dev 2018-08-24 13:08:47 +08:00
Mark Nelson
ce1db1f7db MDL-63210 core: convert for loop to forEach in JS 2018-08-24 11:31:32 +08:00
Eloy Lafuente (stronk7)
a20ff7089c Merge branch 'MDL-63028-master' of git://github.com/bmbrands/moodle 2018-08-23 12:48:41 +02:00
Bas Brands
4a5ceb215f MDL-63028 Theme boost: fix footer maintenance page 2018-08-23 10:55:26 +02:00
Jun Pataleta
e477bed27b MDL-63187 tool_dataprivacy: Improve confirm message lang strings
* Updated the delete confirmation messages so that the category/purpose
names are shown in italics. This makes it easier for the privacy officer
to see the category/purpose that is being deleted.
2018-08-23 16:53:03 +08:00
Andrew Nicols
2c6771d793 Merge branch 'MDL-57281-master-fix' of https://github.com/andrewnicols/moodle 2018-08-23 15:47:28 +08:00
Andrew Nicols
67984597fb MDL-57281 question: Correct path to Quiz admin in test 2018-08-23 15:44:23 +08:00
Jake Dallimore
a37a616213 Merge branch 'MDL-57281-master-fix' of https://github.com/andrewnicols/moodle 2018-08-23 08:20:13 +08:00
Andrew Nicols
e8449116ef MDL-57281 enrol_lti: Nav to Published as LTI tools 2018-08-23 08:08:59 +08:00
Víctor Déniz Falcón
5a4b4c06ec MDL-57281 behat: Fix some goutte tests (cannot click on li)
Simply they are not needed, without JS everything is expanded.
2018-08-22 18:34:50 +02:00
Jake Dallimore
7e93539cf6 MDL-36255 core_grade: fix to ensure correct context used for filters
Some grade object (outcomes,scales) can be created at site or course
context, so this patch just makes sure we use the respective context
when applying format_string to the name in the get_name() function.
2018-08-22 17:55:50 +08:00
Damyon Wiese
334db37769 MDL-53024 assign: Remove incorrect logic in query
We are simplifying this query so it will return grades if the attempt matches
the submission attempt, or there is no submission. The case where there is a grade
but no submission can happen only for group assignments.
2018-08-22 12:59:10 +08:00
Andrew Nicols
5ab0e8aae3 MDL-63094 tool_policy: Fix the cookie banner to the bottom
Floating banners cause issues with clickability in Behat as it is unable
to understand that it cannot interact with the elements underneath the
floating banner, or that it needs to scroll the page so that the
required content is no longer beneath the floating banner.

Changing the banner to be fixed to the bottom of the page during Behat
runes is a reliable fix.
2018-08-22 11:00:08 +08:00
Andrew Nicols
4d1a42fb7c MDL-63094 js: Do not check visibility before hiding backdrop
It's possible for the backdrop to be created during the show, before the
modal is actually fully shown.

This check is unnecessary because the getBackdrop() function always
returns a value and will always succeed.
2018-08-22 10:23:30 +08:00
Andrew Nicols
4b6780417e MDL-63094 tool_policy: Fix race condition in modal display
The way in which the modal was displayed meant that there were no
pending JS items, whilst the modal was rendered, causing random behat
fails.

This JS has been restructured to create the Modal and pass it a set of
Promises for both the title, and body.
2018-08-22 10:23:30 +08:00
Henning Bostelmann
0e141964e0 MDL-62914 Calendar: handle TZURL iCal property 2018-08-22 10:07:41 +08:00
Andrew Nicols
d5bf22ecd1 Merge branch 'MDL-62660' of https://github.com/stronk7/moodle 2018-08-22 08:02:47 +08:00
Eloy Lafuente (stronk7)
726c0ab9a3 MDL-62660 xmldb: fix tool_dataprivacy_request_>status to int(2)
So the new defined statuses fit in the column for all databases.
2018-08-21 23:57:35 +02:00
Eloy Lafuente (stronk7)
3a6f371640 Merge branch 'MDL-63028-master' of git://github.com/bmbrands/moodle 2018-08-21 19:23:37 +02:00
Jun Pataleta
9193226522 MDL-63187 tool_dataprivacy: Behat tests for purposes/categories CRUD 2018-08-21 16:34:29 +08:00
Jun Pataleta
bcff8dfb3f MDL-63187 tool_dataprivacy: Fix delete button text
* No need to add the purpose/category name for the delete button itself
* Fix delete confirmation lang strings.
* Add button titles to Add purpose/category buttons so they can be
  clicked on when running Behat tests.
2018-08-21 16:18:55 +08:00
Jake Dallimore
805ce3de79 Merge branch 'MDL-36255-master' of https://github.com/lucaboesch/moodle 2018-08-21 16:04:17 +08:00
Jun Pataleta
69781cdae1 MDL-62657 user: More users fields for creation/update WS functions 2018-08-21 12:08:20 +08:00
Jake Dallimore
e9f1946ca1 Merge branch 'MDL-62534-master' of https://github.com/mackensen/moodle 2018-08-21 11:43:56 +08:00
Andrew Nicols
440dad627f Merge branch 'MDL-62660-master' of git://github.com/junpataleta/moodle 2018-08-21 11:09:33 +08:00
Andrew Nicols
9adf5f0595 Merge branch 'MDL-57281-master' of https://github.com/vmdef/moodle 2018-08-21 10:49:10 +08:00
Jun Pataleta
4ecb1c6221 MDL-62660 tool_dataprivacy: Behat fix for data deletion 2018-08-21 10:27:21 +08:00
Jun Pataleta
237c85d303 MDL-62660 tool_dataprivacy: CI fixes 2018-08-21 09:28:48 +08:00
Andrew Nicols
13b4a1f4bb Merge branch 'MDL-63131-master' of https://github.com/sammarshallou/moodle 2018-08-21 08:57:17 +08:00
sam marshall
b5311ce466 MDL-63131 Web services: Callback to allow web service overrides 2018-08-20 15:32:34 +01:00
Charles Fulton
4a34a26aa9 MDL-62534 course formats: do not purge empty sections on upgrade 2018-08-20 09:11:01 -04:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Michael Hawkins
a1e1cf63fd MDL-62660 tool_dataprivacy: Behat additions for deletion and data expiry 2018-08-20 15:31:20 +08:00
Michael Hawkins
95a844ebdc MDL-62660 tool_dataprivacy: Add and update PHPUnit tests
Updated tests with latest statuses.
Added testing for request download expiry functionality and method.
Added assign_site_dpo within a parent class for unit tests.
2018-08-20 15:31:20 +08:00
Michael Hawkins
5f9a31ee79 MDL-62660 tool_dataprivacy: Add scheduled task to expire data requests 2018-08-20 15:31:20 +08:00
Michael Hawkins
693f690c18 MDL-62660 tool_dataprivacy: Add ability to expire data requests
Also replaced Completed status with situation specific statuses.
Also improved UX on request pages in line with expiries and the aadditional statuses.
2018-08-20 15:31:20 +08:00
Andrew Nicols
7bd269e82d MDL-62660 tool_dataprivacy: Add method for unit tests to run adhoc tasks 2018-08-20 15:31:20 +08:00
Luca Bösch
8ad225b431 MDL-36255 grades: allow multilang filters in grades 2018-08-20 08:29:36 +02:00
Jake Dallimore
4638819780 Merge branch 'MDL-63097' of git://github.com/stronk7/moodle 2018-08-20 13:51:50 +08:00
Adrian Greeve
4905daf497 MDL-62535 tool_dataprivacy: Registry shows deprecated interfaces. 2018-08-20 11:32:01 +08:00
Adrian Greeve
4c6781f009 MDL-62535 privacy: Create deprecated provider interface.
Any interfaces that have become deprecated should extend
this interface.
2018-08-20 11:32:01 +08:00
Adrian Greeve
0aedccc973 MDL-62535 core_grading: Unit test for new methods. 2018-08-20 11:32:01 +08:00
Adrian Greeve
620dbfbe89 MDL-62535 mod_assign: Update to providers to include adv grading. 2018-08-20 11:32:01 +08:00
Adrian Greeve
f3a6d9bb76 MDL-62535 core_grading: Update to providers and interface.
The previous interface was inadequate for retrieving user
information stored in the sub-plugins.

A new interface and methods have been added to successfully
deal with user data.
2018-08-20 11:32:01 +08:00
Andrew Nicols
a4c596cb00 Merge branch 'MDL-63176' of https://github.com/spvickers/moodle 2018-08-20 11:15:35 +08:00
Jake Dallimore
88dc63c335 Merge branch 'MDL-57741-master' of git://github.com/cescobedo/moodle 2018-08-20 10:11:49 +08:00
Eloy Lafuente (stronk7)
a9428fab11 weekly release 3.6dev 2018-08-17 17:37:15 +02:00
Eloy Lafuente (stronk7)
beaff3f103 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2018-08-17 17:37:12 +02:00
David Mudrák
784883e1ee MDL-63174 user: user_create_user to throw exception on empty username
The core API function user_create_user() did not check the case when the
given username was empty.

Also adding a missing string 'usernamelowercase' for the existing lower
case check and unit tests.
2018-08-17 13:24:31 +02:00
David Mudrák
0e99d58c35 MDL-63174 user: core_user_create_users to throw exception on empty names
To be consistent with the web administration UI, we should not allow to
create invalid user records with empty username, lastname or firstname
via the web services.
2018-08-17 13:24:31 +02:00