Andrew Nicols
9c6ccfd93b
Merge branch 'MDL-63213-master-2' of https://github.com/snake/moodle
2018-10-22 10:54:56 +08:00
Damyon Wiese
ede1e4a186
MDL-61388 output: Use alertdialog role for confirm
2018-10-22 10:53:32 +08:00
Damyon Wiese
9f83272207
MDL-61388 forum: accessibility
...
Show success alert to confirm the last action.
2018-10-22 10:53:32 +08:00
Damyon Wiese
addb26acbb
MDL-61388 boost: accessibility
...
Dynamically show and focus on an alert that was written on page load. This ensures JAWS will read it
as soon as the page is ready, otherwise JAWS would choose to ignore it as per
https://www.w3.org/TR/wai-aria-practices/#alert .
2018-10-22 10:53:31 +08:00
Andrew Nicols
7b73fd183c
Merge branch 'MDL-63691_master' of git://github.com/markn86/moodle
2018-10-22 10:52:13 +08:00
Damyon Wiese
a986cb4ba1
MDL-62144 user menu: Accessibility
...
Ensure user menu passes the accessibility tests.
2018-10-22 10:42:28 +08:00
Damyon Wiese
191a1c7c23
MDL-62139 output: Accessible action menus
...
Add label on the "gear" menu and default keyboard and focus controls.
2018-10-22 10:35:21 +08:00
Mark Nelson
d9a25f397d
MDL-63408 core_message: removed usage of deprecated method in tests
...
Also, added tests to ensure exception is thrown if you try to
add or remove members to/from an individual conversation.
2018-10-22 10:26:37 +08:00
Mark Nelson
cbf9e41c2d
MDL-63408 core_message: remove no longer needed code
...
We only allow the functionality of adding/removing
members on group conversations, which will never have
a conversation hash.
2018-10-22 10:26:30 +08:00
Mark Nelson
83e3a4fe26
MDL-63408 core_message: add check to ensure it is a group conversation
2018-10-22 10:26:21 +08:00
Amaia Anabitarte
623048af81
MDL-63408 core_message: New functions to manage conversation members
...
New functions created to add, remove and count conversation members
2018-10-22 10:26:10 +08:00
Mark Nelson
f2ac0a3e5b
MDL-63691 core_message: added api::create_conversation
2018-10-22 10:21:28 +08:00
Mark Nelson
e66b915c40
MDL-63691 core_message: added api::can_create_group_conversation
2018-10-22 10:21:27 +08:00
Mark Nelson
a66ae84911
MDL-63691 core_message: deprecate create_conversation_between_users
2018-10-22 10:21:27 +08:00
Mark Nelson
59f98779fb
MDL-63691 core: added capability for creating group conversations
2018-10-22 10:21:27 +08:00
Jake Dallimore
5b367baef8
MDL-63213 core_message: add web services for set/unset favourites
2018-10-22 09:56:06 +08:00
Amaia Anabitarte
e2a687f689
MDL-63691 core: Column 'convhash' now accepts null
...
Index 'convhash' also changed to non-unique.
2018-10-22 09:47:19 +08:00
Jake Dallimore
b8ff2c4481
MDL-63213 core_message: update get_conversations to support favourites
...
Added the type param here, which will be used in MDL-63549.
2018-10-22 09:43:33 +08:00
Andrew Nicols
c3918bfee9
MDL-63289 message: Remove unused global
2018-10-22 08:31:04 +08:00
Andrew Nicols
d139f45a0a
Merge branch 'MDL-63289-master' of git://github.com/sarjona/moodle
2018-10-22 08:19:59 +08:00
AMOS bot
f7704b703b
Automatically generated installer lang files
2018-10-22 00:07:13 +00:00
Bas Brands
3cfff88516
MDL-63058 block_myoverview: starring and storing preferences
2018-10-20 17:53:35 +02:00
Tim Hunt
b51f4f2ece
MDL-63277 qtype_ddwtos: removed unneeded qtype_classname method
2018-10-20 15:25:04 +01:00
Tim Hunt
c28d0aa113
MDL-63277 qtype_ddwtos: further improvements to the JavaScript
2018-10-20 15:24:49 +01:00
M Kassaei
68943aff09
MDL-63277 qtype_ddwtos: Re-implement old YUI JS in AMD
...
In the rewrite is one improvement: drag items now animate when they
are moved, for example out of a drop place and back home. Other than
that, the functionality is unchanged. Also, as far as possible, the
HTML structure has not been changed (althought with changes to the HTML,
further JS improvements would be possible. However, those have been left
for a future issue).
2018-10-20 15:22:12 +01:00
Tim Hunt
ed7e30fa5c
MDL-62411 qtype_ddmarker: further improvements following code review
2018-10-20 15:18:17 +01:00
John Beedell
5d4b342107
MDL-62411 qtype_ddmarker: graphical editing of drop zones
...
Also, all the JavaScript in this plugin has been updated from YUI to
jQuery.
2018-10-20 15:15:28 +01:00
John Beedell
0b1cc2890f
MDL-62411 qtype_ddmarker: add dragdrop helper libarary
...
This was created by the Open University a couple of years ago, and is
very helpful for making dragging work reliably on a range of browsers
and with both mouse and touch-screens.
Sadly, HTML5 drag-drop is not yet ready for prime-time.
2018-10-20 15:15:23 +01:00
Jake Dallimore
b81722e22f
MDL-63058 core_favourites: add existence checks to the service layer
...
This allows someone using the user_favourite_service to check whether
an item is already marked as a favourite.
2018-10-20 12:19:10 +02:00
Sara Arjona
e5eba802d5
MDL-63289 message: Deprecate is_user_non_contact_blocked method
...
This function has been deprecated and no other function has been
added to replace it. It was only called from can_post_message, so
its code has been moved there.
2018-10-20 08:36:24 +02:00
Sara Arjona
7983fb830e
MDL-63289 message: Bypass privacy user preferences for teachers
...
Created capability 'moodle/site:messageanyuser' to allow
bypass user privacy preferences for messaging participants in a course,
even when some of them has blocked the teacher.
2018-10-20 08:35:17 +02:00
Mark Nelson
59fa0137b2
MDL-63691 core: updated 'message_conversations' table
2018-10-20 13:36:29 +08:00
Eloy Lafuente (stronk7)
cc486e6125
on-demand release 3.6dev+
2018-10-19 17:11:15 +02:00
Eloy Lafuente (stronk7)
755d8758ce
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2018-10-19 17:11:13 +02:00
Marina Glancy
97372ec17d
MDL-63648 tool_xmldb: missing capability check
2018-10-19 11:36:40 +02:00
AMOS bot
d619aa6e04
Automatically generated installer lang files
2018-10-19 00:08:01 +00:00
Eloy Lafuente (stronk7)
1845a5bbaa
Merge branch 'MDL-63648-master' of git://github.com/marinaglancy/moodle
2018-10-18 23:54:06 +02:00
Eloy Lafuente (stronk7)
d6d5ea5d04
Merge branch 'MDL-62920-master' of https://github.com/aanabit/moodle
2018-10-18 23:47:37 +02:00
Eloy Lafuente (stronk7)
456a7e4b36
Merge branch 'MDL-27520_master-fix' of https://github.com/markn86/moodle
2018-10-18 22:03:43 +02:00
Eloy Lafuente (stronk7)
e38e2cde4e
Merge branch 'MDL-60145-master' of https://github.com/snake/moodle
2018-10-18 18:56:34 +02:00
Mark Nelson
66b5036805
MDL-27520 assignfeedback_comments: fix Behat failures
2018-10-18 18:32:59 +08:00
Eloy Lafuente (stronk7)
a2d2ed90c2
Merge branch 'MDL-63465-master' of git://github.com/jleyva/moodle
2018-10-18 12:22:42 +02:00
Eloy Lafuente (stronk7)
2205ecc2b6
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
2018-10-18 11:15:11 +02:00
Jake Dallimore
21b50ebe19
MDL-63658 core_favourites: fix errors discovered on oracle db
...
- Assuming 1 would be a record that didn't exist. should be using 0.
- Missing space before AND in sql in provider.
2018-10-18 17:11:07 +08:00
Andrew Nicols
78f6d5196d
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
2018-10-18 15:48:47 +08:00
Jake Dallimore
68eaa3150e
MDL-63658 core_favourites: properly define interface methods and cleanup
...
This gets rid of specific repo functions which were unused, and makes
sure the following methods are defined on the interface, implemented
and tested:
- exists_by($criteria)
- find_by($criteria)
- delete_by($crtieria)
Also, added missing tests for find_favourite() repo method.
2018-10-18 15:39:57 +08:00
Juan Leyva
0f8b26043f
MDL-63465 blocks: New WS core_blocks_get_dashboard_blocks
2018-10-18 09:17:24 +02:00
Jun Pataleta
de632063af
Merge branch 'MDL-63667-master-fix2' of git://github.com/damyon/moodle
2018-10-18 14:37:13 +08:00
Andrew Nicols
61e0f58ca3
MDL-63667 amd: Check for parent template recursion
2018-10-18 12:04:19 +08:00
Damyon Wiese
b51c5b929f
MDL-63667 output: Fix for recursive templates
...
A template can include itself - e.g. by looping over the context children and rendering a tree.
Ensure this promise still resolves.
Example: admin/tool/lp/templates/competencies_tree.mustache.
2018-10-18 10:48:01 +08:00