22640 Commits

Author SHA1 Message Date
Rajesh Taneja
45ff0ff5d8
MDL-55522 behat: Add support for relative dates 2016-10-10 11:54:13 +08:00
Frédéric Massart
82b945dbbe MDL-56095 output: Make the progress bar templatable
The order of inclusion of weblib and outputlib had to change
as the progress_bar (weblib) uses interfaces defined in outputlib.
2016-10-07 16:40:38 +02:00
Dan Poltawski
e4edbce35d MDL-55835 js: fix lint issues
Some caused by eslint checks being better, some just not detected
because we don't show warnings well (MDL-54930).
2016-10-07 10:03:43 +01:00
Dan Poltawski
00c714f05c MDL-55835 eslint: bump to v3.7.1
1) Bump eslint verson in npm
2) Enable tabs rule introduced in 3.2.0
3) With rules deprecated in 3.3.0 to their replacements
   http://eslint.org/blog/2016/08/eslint-v3.3.0-released
4) Deprecate the use of M.str (fixes MDLSITE-3646) with new
   no-restricted-properties introduced in 3.5.0
5) Fixup no-unused-vars - remove argsIgnorePattern which shouldn't have allowed
   partial matches and turns out to be uncesssary
   (detected because of https://github.com/eslint/eslint/issues/7250 in 3.6.0)
2016-10-07 10:00:26 +01:00
Michael Aherne
4582da2464 MDL-56319 blocks: Observe empty default blocks setting 2016-10-07 09:59:09 +01:00
Ryan Wyllie
a038fcf5d6 MDL-55635 message: create notifications page 2016-10-07 16:37:56 +08:00
Mark Nelson
e68a1cbdaa MDL-55942 core: do not show popovers to the guest user 2016-10-07 16:37:56 +08:00
Mark Nelson
48e8bdba13 MDL-55942 core_message: renamed the term 'people' to 'user' 2016-10-07 16:37:56 +08:00
Mark Nelson
5b0769db68 MDL-54744 core_message: deprecated functions in message/lib.php
Also -

1) Made note of the deprecation as well as the functions and
   files that were removed earlier in upgrade.txt.
2) Added new functions to api.php to replace the deprecated ones
   that were being used in unit tests.
3) Removed files that are no longer being used.
2016-10-07 16:35:25 +08:00
Mark Nelson
7b55aaa12e MDL-55942 core: obey the mighty CiBoT 2016-10-07 16:26:40 +08:00
Mark Nelson
79f6c36c12 MDL-55942 core_message: moved added functionality from message/lib.php 2016-10-07 16:26:40 +08:00
Mark Nelson
c598f278ca MDL-55942 core_message: removed WS function core_user_update_user
This function was ignoring any capabilities and was only used to
update the preferences, but could be potentially used to update
any user attribute. A new WS function has been introduced to
handle user preferences with the necessary capability checks.
2016-10-07 16:26:40 +08:00
Mark Nelson
5f8e4733b8 MDL-56024 core_message: prevent WS error when messaging disabled 2016-10-07 16:26:40 +08:00
Ryan Wyllie
10ea82701a MDL-55972 core: add confirmation modal 2016-10-07 16:26:40 +08:00
Ryan Wyllie
99c7f0a731 MDL-55801 message: responsive styling for message app 2016-10-07 16:26:40 +08:00
Mark Nelson
3f4f5d3bd2 MDL-55851 core: fixed AJAX error when user not set up 2016-10-07 16:26:40 +08:00
Ryan Wyllie
0b19d04836 MDL-55812 message: simplify notification popover items 2016-10-07 16:26:40 +08:00
Mark Nelson
658d0b2fd7 MDL-55770 core_message: remove the send message pop-up
Revert "MDL-48933 core_message: New dialog to send a message to a user"
Revert "MDL-48933 core_message: Behat tests to cover messenger dialogs"
2016-10-07 16:26:40 +08:00
Ryan Wyllie
6af2bd0985 MDL-54682 message: update js to use data values in selectors 2016-10-07 16:26:40 +08:00
Mark Nelson
812cc6f63f MDL-54698 core_message: moved 'disable/enable' notifications setting 2016-10-07 16:26:40 +08:00
Ryan Wyllie
7e12045152 MDL-54698 message: fix message preferences context blocknoncontacts 2016-10-07 16:26:40 +08:00
Ryan Wyllie
14501b1c13 MDL-54698 message: add preferences pages to breadcrumbs 2016-10-07 16:26:40 +08:00
Ryan Wyllie
8c125526f1 MDL-54698 message: move notifications prefs into own page 2016-10-07 16:26:40 +08:00
Damyon Wiese
14968ca9ac MDL-55567 messages: Use FORMAT_MOODLE as default for sending messages
This is like plain text, but it preserves new-lines and has some
other special features.
2016-10-07 16:26:40 +08:00
Ryan Wyllie
0ae7a72082 MDL-54687 message: adjust messages area height with response height 2016-10-07 16:26:40 +08:00
Mark Nelson
cd03b8d7f2 MDL-54687 core_message: added search functionality 2016-10-07 16:26:40 +08:00
Ryan Wyllie
4d0fa50125 MDL-54687 message: messaging widget styling 2016-10-07 16:26:40 +08:00
Ryan Wyllie
8c55bd6c34 MDL-54701 message: add message popover count and mark as read 2016-10-07 16:26:40 +08:00
Ryan Wyllie
34eb5fcb60 MDL-54698 message: move general settings from preference page 2016-10-07 16:26:40 +08:00
Mark Nelson
90525930e5 MDL-54687 core: added prependNodeContents() to the AMD templates module 2016-10-07 16:26:40 +08:00
Ryan Wyllie
ada7695d7c MDL-54708 message: notification popover respects message preferences 2016-10-07 16:26:40 +08:00
Ryan Wyllie
d4555a3d03 MDL-54701 message: renamed mdl-popover to popover-region 2016-10-07 16:26:40 +08:00
Ryan Wyllie
540fec1e86 MDL-54701 message: allow relativeUrl to take params 2016-10-07 16:26:40 +08:00
Ryan Wyllie
406243381c MDL-54701 message: add message notification popover 2016-10-07 16:26:40 +08:00
Ryan Wyllie
607454d6f3 MDL-54708 message: change popover processor to nav bar notification 2016-10-07 16:26:40 +08:00
Ryan Wyllie
a0eabdd3c8 MDL-54698 message: make preferences page ajax save 2016-10-07 16:26:40 +08:00
Ryan Wyllie
a0e358a64a MDL-54708 message: add notification popover to nav bar 2016-10-07 16:26:40 +08:00
Ryan Wyllie
3274d5ca66 MDL-54708 message: add backend APIs for notifications popover 2016-10-07 16:26:40 +08:00
Ryan Wyllie
12d8c7b222 MDL-54700 message: added toggle contact button to user profile 2016-10-07 16:20:51 +08:00
Mark Nelson
dec0cd9998 MDL-54687 core_message: added ability to delete conversations 2016-10-07 16:20:51 +08:00
Mark Nelson
f7775c9a0c MDL-54687 core: added appendNodeContents() to the AMD templates module 2016-10-07 16:20:51 +08:00
Mark Nelson
3090f52f9d MDL-54687 core_message: added ability to delete messages 2016-10-07 16:20:51 +08:00
Mark Nelson
c6e97f5428 MDL-54687 core_message: added ability to view a contact's profile
Also added functionality to the profile page -

- View user's profile.
- Send the user a message.
- Block the user.
- Remove the user as a contact.
2016-10-07 16:20:51 +08:00
Mark Nelson
c060cd4904 MDL-54687 core_message: added ability to send messages 2016-10-07 16:20:51 +08:00
Mark Nelson
3cd13828ff MDL-54687 core_message: added ability to view messages 2016-10-07 16:20:51 +08:00
Mark Nelson
9aa012b5a1 MDL-54687 core_message: added ability to toggle between tabs 2016-10-07 16:20:51 +08:00
Andrew Nicols
070015004e MDL-56316 tests: Ensure consistent assertion count 2016-10-07 14:45:36 +08:00
Rajesh Taneja
e1ad3a959d
MDL-55924 behat: Add core features to specified theme's 2016-10-07 10:55:41 +08:00
Rajesh Taneja
95e1d5e50f
MDL-55746 behat: Support blacklist theme features by tags 2016-10-07 09:05:26 +08:00
Eloy Lafuente (stronk7)
85ef6fe2d9 MDL-56097 install: update the list of stale files for 3.2 2016-10-07 00:41:11 +02:00