Commit graph

90819 commits

Author SHA1 Message Date
Jake Dallimore
f6b4c923ec Merge branch 'MDL-63710-MOODLE_35' of https://github.com/ilya-catalyst/moodle into MOODLE_35_STABLE 2018-12-06 11:45:04 +08:00
Jake Dallimore
a702f2b935 Merge branch 'MDL-46783_35' of https://github.com/timhunt/moodle into MOODLE_35_STABLE 2018-12-06 10:23:50 +08:00
Ilya Tregubov
daa7d65f34 MDL-63710 repository: Delete orphaned file records. 2018-12-06 12:38:25 +11:00
Jun Pataleta
b7e4fbb246 Merge branch 'MOODLE_35_STABLE-MDL-64290-imscc-restore-temp-dir' of https://github.com/mspall/moodle into MOODLE_35_STABLE 2018-12-06 08:56:44 +08:00
AMOS bot
4745892272 Automatically generated installer lang files 2018-12-06 00:08:01 +00:00
Michael Spall
559759aa4a MDL-64290 backup imscc: Use correct tempdir for imscc restore
Use configured temp directory $CFG->tempdir instead of hard coded
$CFG->dataroot . '/temp/backup/'
Remove unused variable, $CFG
2018-12-05 11:05:44 -07:00
Tim Hunt
edb89914d8 MDL-46783 accesslib: tests for MDL-63818
MDL-46783 and MDL-63818 were originally coded on the
assumption that MDL-46783 would get integrated first. However it wasn't.
Therefore, it was not easy to add unit tests for MDL-63818
at the time, but it is now, so here they are.
2018-12-05 16:41:42 +00:00
Jun Pataleta
c2e3ca2f6c MDL-62922 core_user: Check auth mechanism before validating password
* External authentication mechanisms (e.g. via oauth2, etc.) don't store
  password in the user table, so we shouldn't be requiring password in
  such case when creating users via the core_user_create_users WS
  function.
2018-12-05 15:33:33 +08:00
Jake Dallimore
c758547bd7 Merge branch 'MDL-64198-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2018-12-05 14:31:02 +08:00
Damyon Wiese
f20b808629 Merge branch 'MDL-60267-35' of https://github.com/rogerbaba/moodle into MOODLE_35_STABLE 2018-12-05 12:56:48 +08:00
Tim Hunt
6a58779607 MDL-46783 permissions: let some moodle/ caps be overriden in all mods
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to
'contextlevel' => CONTEXT_MODULE) are:

* moodle/site:accessallgroups
* moodle/site:viewfullnames
* moodle/site:trustcontent
* moodle/site:viewuseridentity

This list came from reviewing the _get_extra_capabilities functions in
all core activities. They were all somewhat inconsistent, but I think it
makes sense that these capabilities are consistently overridable in all
activities. E.g. moodle/site:accessallgroups affects conditional
availability even if there is no other user of groups, and
moodle/site:viewuseridentity and moodle/site:viewfullnames affect the
logs report, if nothing else.

As a result of this, several _get_extra_capabilities functions are no
longer needed, and all the rest have been simplified.
2018-12-04 18:01:29 +00:00
Michael Aherne
83c4b6d01e MDL-64216 privacy: Split query to use indexes. 2018-12-04 15:07:40 +00:00
Luca Bösch
7c72db7d7e MDL-64198 course: set formatted modulename for togglecompletion js. 2018-12-04 14:32:09 +01:00
Eloy Lafuente (stronk7)
3aca528730 weekly release 3.5.3+ 2018-12-04 13:06:05 +01:00
Jun Pataleta
0dc3fbf069 Merge branch 'MDL-64206_35' of git://github.com/markn86/moodle into MOODLE_35_STABLE 2018-12-04 10:49:43 +08:00
Damyon Wiese
c5dab021db Merge branch 'MDL-64286_35' of https://github.com/timhunt/moodle into MOODLE_35_STABLE 2018-12-03 15:40:47 +08:00
Jake Dallimore
a08ecb70f0 Merge branch 'MDL-63459_35' of https://github.com/timhunt/moodle into MOODLE_35_STABLE 2018-12-03 14:26:29 +08:00
Mark Nelson
d5901aa09c MDL-64206 core: updated FB logo URL 2018-12-03 12:26:28 +08:00
Eloy Lafuente (stronk7)
394c5ae9b8 weekly release 3.5.3+ 2018-11-30 18:02:10 +01:00
Eloy Lafuente (stronk7)
79bfd75d15 Merge branch 'install_35_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_35_STABLE 2018-11-30 18:02:08 +01:00
Tim Hunt
35e9c7202e MDL-64286 qtype_gapselect: removed unneeded line of code
The extended Behat test show the qtype works fine without it.
2018-11-30 12:36:06 +00:00
Jun Pataleta
4ff43a278b Merge branch 'MDL-64214-35' of git://github.com/junpataleta/moodle into MOODLE_35_STABLE 2018-11-30 09:45:00 +08:00
Damyon Wiese
9485649edd MDL-64283 competency: Correct numbering in tests 2018-11-30 09:38:23 +08:00
Jun Pataleta
673340157a MDL-64214 calendar: Populate the groups select box on page load 2018-11-30 09:26:25 +08:00
Simey Lameze
c6dd258bfd MDL-64214 calendar: fix failing unit tests 2018-11-30 09:26:25 +08:00
Simey Lameze
f4a61ac99a MDL-64214 core_calendar: fix event types form element handling 2018-11-30 09:26:25 +08:00
AMOS bot
df367e966a Automatically generated installer lang files 2018-11-30 00:07:41 +00:00
AMOS bot
276097e0d7 Automatically generated installer lang files 2018-11-29 00:08:25 +00:00
David Monllao
b64e7253b2 weekly release 3.5.3+ 2018-11-28 11:23:14 +01:00
Jun Pataleta
02b46dd142 Merge branch 'MDL-64223-35' of https://github.com/snake/moodle into MOODLE_35_STABLE 2018-11-28 13:59:35 +08:00
Jake Dallimore
ce2684efd9 MDL-64223 libraries: PHP7.1 compatibility fixes for Jabber lib 2018-11-28 09:58:58 +08:00
Eloy Lafuente (stronk7)
23c05fe9ce Merge branch 'MDL-64220-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2018-11-27 16:44:25 +01:00
Andrew Nicols
944d0fd395 Merge branch 'MDL-64161-35' of git://github.com/abgreeve/moodle into MOODLE_35_STABLE 2018-11-27 15:17:28 +08:00
Adrian Greeve
fa2a738f80 MDL-64161 gradereport_singleview: Single updates reported correctly.
If there is an error with the update of individual entries this is
also correctly displayed as not being updated.
2018-11-27 15:04:27 +08:00
Damyon Wiese
35bc9f8bb2 MDL-64220 privacy: Clean path params
We need to consistently clean the path params before we use them. This
shows a difference on windows where dir separators are different.
2018-11-27 15:02:44 +08:00
Jun Pataleta
2e36915e1f Merge branch 'MDL-64181-35-fix' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-27 14:49:22 +08:00
Andrew Nicols
aad94d9332 MDL-64181 core: Ensure that self is included in parentage 2018-11-27 14:47:34 +08:00
Jun Pataleta
96c3b2042e Merge branch 'MDL-64181-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2018-11-27 11:45:09 +08:00
Andrew Nicols
c7390b1c4f Merge branch 'MDL-64161-35' of git://github.com/abgreeve/moodle into MOODLE_35_STABLE 2018-11-27 11:37:22 +08:00
Damyon Wiese
60b951eca5 MDL-64181 javascript: Recursive template fix
This change prevents template rendering from waiting for itself, but does
allow it to wait for another async call to render.
2018-11-27 08:45:15 +08:00
David Monllao
89d45109aa Merge branch 'MDL-64205-35-sarunconfirmeduser' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-11-26 15:47:53 +01:00
David Mudrák
690e03bfea MDL-64205 privacy: Delete orphaned data request records on upgrade
As a result of the bug, some requests can be orphaned - the linked user
record may not exist any more. This is a cleanup of such records.
2018-11-26 14:17:55 +01:00
Tim Hunt
37438b2a00 MDL-63459 qtype_calculatedmulti: fix incorrect hint object type 2018-11-26 12:55:15 +00:00
Tim Hunt
89e3b8aa80 MDL-63459 qtype_calculatedmulti: unit test should test this qtype
This also demonstrates the bug to be fixed
2018-11-26 12:55:12 +00:00
Adrian Greeve
b87ad367d9 MDL-64161 gradereport_singleview: Behat test for out of bounds grade. 2018-11-26 11:46:06 +08:00
Adrian Greeve
27cfbf2986 MDL-64161 gradereport_singleview: Stop updating grades with errors. 2018-11-26 11:45:55 +08:00
David Mudrák
8575b451c4 MDL-64205 users: Do not delete the actual records of unconfirmed users
There is an automatic data privacy request created to get rid of all the
personal data upon the user deletion. With the actual user record
absent, the data privacy requests page throws an error. Let's do here
same as we do in `delete_incomplete_users_task` and let us not delete
the actual user record.
2018-11-25 07:21:59 +01:00
Eloy Lafuente (stronk7)
e3a1c26bd7 Merge branch 'MDL-64186-35-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-11-24 00:27:14 +01:00
Eloy Lafuente (stronk7)
51b022db9b weekly release 3.5.3+ 2018-11-23 16:36:48 +01:00
Eloy Lafuente (stronk7)
33a95ab889 Merge branch 'install_35_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_35_STABLE 2018-11-23 16:36:46 +01:00