Commit graph

90678 commits

Author SHA1 Message Date
Luca Bösch
1188a6e41b MDL-64280 core_outcome: Add/remove outcome buttons style. 2018-12-10 17:56:03 +01:00
Sara Arjona
9cfb533e2d MDL-63485 core_user: Allow filtering by No groups on participants page
A new optional parameter $context has been added to the
core_group::groups_get_members_join() function.
Besides, some core_group methods now accept -1 (USERSWITHOUTHGROUP) for
the groupid field.

Backport of MDL-61967.
2018-12-10 20:29:04 +08:00
Jun Pataleta
2203bf4ad4 Merge branch 'MDL-62061-35' of git://github.com/abgreeve/moodle into MOODLE_35_STABLE 2018-12-10 14:46:30 +08:00
Mihail Geshoski
82f74c8e2b MDL-62624 lesson: Fix alignment in matching questions in boost 2018-12-10 13:47:48 +08:00
Jake Dallimore
2fbae51df0 weekly release 3.5.3+ 2018-12-10 08:10:18 +08:00
Jake Dallimore
f087b00ea6 Merge branch 'install_35_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_35_STABLE 2018-12-10 08:10:17 +08:00
AMOS bot
1bfa3f5697 Automatically generated installer lang files 2018-12-07 00:09:32 +00:00
Adrian Greeve
3692fe595c MDL-62061 core_privacy: Stop directories being created.
This stops directories being created in the root directory
while running unit tests.
2018-12-06 11:39:01 +01:00
papillon326
10097b1b61 MDL-63887 auth_ldap: avoid infinite loop when search limit is reached 2018-12-06 15:40:47 +08:00
papillon326
4c7af8f17b MDL-63887 auth_ldap: changed variable names to be conform to core 2018-12-06 15:40:47 +08:00
Jun Pataleta
864374faf2 Merge branch 'MDL-64283-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2018-12-06 14:57:25 +08:00
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