93526 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
9b0aec2d65 MDL-65154 competencies: FF 47 does not digest null/missing JS params
So we are defaulting to 0 when the page is initially called,
instead of current null. That's exactly the same behavior
than when you pick "No filters applied" from the filter menu.

Note that other browsers seems to accept perfectly the missing param
but FF 47.0.1 does not.
2019-05-07 23:20:38 +02:00
Amaia Anabitarte
e4987f0f58 MDL-64993 core_message: fix unit test for non-ordered queries 2019-05-07 17:54:43 +02:00
Adrian Greeve
48c8a555e0 NOBUG: Fix white space issue due to history rewrite. 2019-05-07 12:51:01 +02:00
Andrew Nicols
b43785fe48 Merge branch 'MDL-64993-master-fix' of github.com:sarjona/moodle 2019-05-07 16:26:47 +08:00
Andrew Nicols
93b1835184 Merge branch 'MDL-65498' of https://github.com/stronk7/moodle 2019-05-07 16:26:47 +08:00
Sara Arjona
3c7dcefd9f MDL-64993 core_message: fix behat test failing with Oracle 2019-05-07 16:26:47 +08:00
Andrew Nicols
8088ad62ab Merge branch 'MDL-65499' of git://github.com/stronk7/moodle 2019-05-07 16:26:47 +08:00
Jun Pataleta
c5354a4012 Merge branch 'MDL-65313-master-fix' of https://github.com/snake/moodle 2019-05-07 16:26:46 +08:00
Adrian Greeve
3e35a573e0 Merge branch 'MDL-65485-master' of git://github.com/bmbrands/moodle 2019-05-07 16:26:46 +08:00
Jake Dallimore
a0523b826e MDL-65313 core_favourites: component scoped deletion now requires itemid
This now requires itemid, which cannot be null. This is safer. The
context can still be passed in as an optional parameter.
2019-05-07 16:26:46 +08:00
Adrian Greeve
ba235a9c01 Merge branch 'MDL-65495-master-courseid' of git://github.com/mudrd8mz/moodle 2019-05-07 16:26:46 +08:00
Eloy Lafuente (stronk7)
7726bec6b3 Merge branch 'MDL-63262-master' of git://github.com/damyon/moodle 2019-05-07 16:26:40 +08:00
Andrew Nicols
2daa199351 Merge branch 'MDL-65132-master' of git://github.com/cescobedo/moodle 2019-05-07 16:24:40 +08:00
Andrew Nicols
83477cedaf Merge branch 'MDL-65505-master' of https://github.com/ryanwyllie/moodle 2019-05-07 16:24:39 +08:00
Andrew Nicols
76f90cbe62 MDL-65449 course: Add deprecation tag 2019-05-07 16:24:39 +08:00
Andrew Nicols
e18c7dc06b Merge branch 'MDL-65449-master' of git://github.com/bmbrands/moodle 2019-05-07 16:24:39 +08:00
Sara Arjona
851ea51966 Merge branch 'MDL-65374-master' of https://github.com/lucaboesch/moodle 2019-05-07 16:24:39 +08:00
Jun Pataleta
0eab8a4221 MDL-65313 core: Fix orphaned favourites cleanup 2019-05-07 16:24:38 +08:00
Jun Pataleta
b6082744ed Merge branch 'MDL-65399-master' of git://github.com/rezaies/moodle 2019-05-07 16:24:38 +08:00
Sara Arjona
d302d12592 Merge branch 'MDL-65396-master' of https://github.com/lucaboesch/moodle 2019-05-07 16:24:38 +08:00
Jun Pataleta
6498f438a5 Merge branch 'MDL-65153-master' of git://github.com/damyon/moodle 2019-05-07 16:24:37 +08:00
David Monllaó
8e17a2aceb Merge branch 'MDL-65474-master' of https://github.com/ryanwyllie/moodle 2019-05-07 16:24:37 +08:00
David Monllaó
2558e0cd71 Merge branch 'MDL-65464-master' of https://github.com/ryanwyllie/moodle 2019-05-07 16:24:37 +08:00
Jun Pataleta
14b132750b Merge branch 'MDL-65313-master' of https://github.com/snake/moodle 2019-05-07 16:24:37 +08:00
Adrian Greeve
e41678d75e Merge branch 'MDL-64968-master' of https://github.com/lucaboesch/moodle 2019-05-07 16:24:36 +08:00
Adrian Greeve
3135f0f2e5 Merge branch 'MDL-65104-master' of git://git.cameron1729.xyz/moodle 2019-05-07 16:24:36 +08:00
Adrian Greeve
7b43eea8bc Merge branch 'MDL-65296' of https://github.com/timhunt/moodle 2019-05-07 16:24:36 +08:00
Jake Dallimore
b96b80bec0 Merge branch 'MDL-64988-master' of git://github.com/rezaies/moodle 2019-05-07 16:24:35 +08:00
Andrew Nicols
9862955fa3 Merge branch 'MDL-64993-master' of git://github.com/aanabit/moodle 2019-05-07 16:24:35 +08:00
Adrian Greeve
606ac9be44 Merge branch 'MDL-65154-master' of git://github.com/damyon/moodle 2019-05-07 16:24:35 +08:00
Eloy Lafuente (stronk7)
4d4dcefb8c MDL-65499 phpunit: Bump to current phpunit 7.5.9
Previously we were sticky to 7.5.7 and this issue was
hitting our windows runs:

https://github.com/sebastianbergmann/phpunit/issues/3564
2019-05-06 12:49:41 +02:00
David Mudrák
850ff963c5 MDL-65495 hub: Fix undefined variable usage 2019-05-06 12:46:43 +02:00
Bas Brands
530e8e987a MDL-65485 core_themes: installer html updates for bootstrap4 2019-05-06 11:03:14 +02:00
Ryan Wyllie
b61639598f MDL-65505 forum: handle deleted users with no context in render 2019-05-06 16:13:15 +08:00
Shamim Rezaie
e7b3575cf1 MDL-65399 mod_quiz: Handling the edge case when section name is '' 2019-05-06 18:11:23 +10:00
Shamim Rezaie
aa6a8b98c6 MDL-65399 mod_quiz: UI should prevent deleting the last slot of section 2019-05-06 18:11:22 +10:00
cescobedo
37a653cff9 MDL-65132 core_message: Update message drawer to delete message for all
Update JS message drawer to allow delete message for all showing a new
checkbox in the confirm dialogue.
2019-05-06 09:48:26 +02:00
Bas Brands
620896cf45 MDL-65449 themes: allow overriding course patterns
* moving course pattern generation to core_renderer
2019-05-06 09:42:59 +02:00
cescobedo
e3e1938789 MDL-65132 core_message: Added WS to delete message for all users
Also, added WS new return parameter candeletemessagesforallusers in get_conversation
and send_instant_message and added API support. This will be used to check
if the user can delete all messages in the conversation.
2019-05-06 09:39:34 +02:00
cescobedo
d47e067184 MDL-65132 core_message: Added API to delete message for all users 2019-05-06 09:38:54 +02:00
Jake Dallimore
903ec849c5 MDL-65313 core: upgrade code to remove stale favourites for messaging
These were left behing when deleting a group or a course.
2019-05-06 14:11:46 +08:00
Jake Dallimore
6421775ad2 MDL-65313 core_message: remove favourites when deleting a conversation
When deleting a conversation for all users (e.g. when deleting a group
which has a conversation), we need to remove any favourites.
2019-05-06 14:01:34 +08:00
Jake Dallimore
f962859b56 MDL-65313 core_favourite: add component-scoped favourite service class
Added a new type of service which can be used to interact with the
all favourites for a given component, not just those owned by a a
specific user. As such, objects of this type are scoped to a component.
2019-05-06 14:01:34 +08:00
Shamim Rezaie
a834294228 MDL-65399 mod_quiz: remove_slot should update the existing info
The remove_slot method should update the remaining slot's slot
attribute. It also should update the remaining slot's question number
and section info.
2019-05-06 15:34:50 +10:00
Shamim Rezaie
8affd823a4 MDL-65399 mod_quiz: Remove $slots from the \mod_quiz\structure class
It's enough to have $slotsinorder, and the $slots property
was redundant. There should only be a single source of truth.
2019-05-06 15:30:59 +10:00
Damyon Wiese
58c7d2ce2b MDL-63262 badges: Show all public badges
Use the "expand" parameter so the backpack returns nested public
information about each badge in a public collection. This saves 2 requests per badge and
fixes the problem where we don't have permission to see some public badge details.
2019-05-06 11:25:26 +08:00
Damyon Wiese
89da9b4900 MDL-65154 competencies: Filter course competencies
Add an activity filter to the course competencies screen.
2019-05-06 09:34:25 +08:00
Ryan Wyllie
902c8f58b2 MDL-65464 forum: disable buttons when saving in page reply 2019-05-06 09:23:08 +08:00
Andrew Nicols
454c18c380 Merge branch 'MDL-63685-master' of git://github.com/marinaglancy/moodle 2019-05-06 08:41:20 +08:00
Amaia Anabitarte
c8d51ae41a MDL-64993 core_message: Behat test for self conversation 2019-05-06 00:47:52 +02:00