Commit Graph

1111 Commits

Author SHA1 Message Date
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 c5dd16a111 MDL-54708 message: add ability to block popup notifications 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 16245a40b9 MDL-54687 core_message: added menu bar 2016-10-07 16:20:51 +08:00
Mark Nelson e237d2bd39 MDL-54687 core_message: refactored JS
- Created smaller AMD modules to handle specific tasks.
- Used JS events to notify AMD modules when an action has happened.
- Used data-* selectors, rather than CSS selectors (and removed
  any unused CSS selectors).
- Minor changes to behaviour when sending and deleting messages.
- Added JSDocs.
- General improvements to JS.
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 34c2f34762 MDL-54687 core_message: added userid parameter for altering contacts 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
Mark Nelson 879e2bef23 MDL-54687 core_message: created page for new messaging interface
This commit introduces the templates, renderer and initial API
that will be used for further development.
2016-10-07 16:20:51 +08:00
Mark Nelson f3c0e69232 MDL-54687 core_message: removed 'message_print_*' functions 2016-10-07 16:20:51 +08:00
Dan Poltawski 99fe296eb2 MDL-55168 css: remove 0-length units 2016-09-30 09:25:25 +01:00
Juan Leyva 65e961e4f2 MDL-56045 message_airnotifier: New WS message_airnotifier_enable_device 2016-09-21 10:45:13 +01:00
Juan Leyva 95f53a652a MDL-56045 message_airnotifier: Move enable device code to manager class 2016-09-21 10:44:56 +01:00
Juan Leyva 618cba3494 MDL-56044 message_airnotifier: New WS message_airnotifier_get_user_devices 2016-09-21 09:47:26 +01:00
David Monllao df762928f6 MDL-54973 message: Taking care of support and noreply users on search 2016-08-17 12:41:48 +08:00
Devang Gaur 26c0d75f3e MDL-54973 message: added messages to globalsearch 2016-08-15 11:27:25 +05:30
Eloy Lafuente (stronk7) ddf1d5c692 Merge branch 'MDL-55244-master' of git://github.com/danpoltawski/moodle 2016-07-27 00:19:40 +02:00
Rajesh Taneja 52f3e060e4 MDL-55091 phpunit: Following has been deprecated.
1. getMock()
2. setExpectedException()
3. checkForUnintentionallyCoveredCode renamed to beStrictAboutCoversAnnotation
4. beStrictAboutTestSize renamed to enforceTimeLimit
5. UnitTestCase class is now fully removed.
2016-07-26 10:11:30 +08:00
Dan Poltawski 3a0bc0fdc4 MDL-55244 js: build changes
There should be no changes to minified code
2016-07-25 07:58:05 +01:00
Dan Poltawski bc8b6dc652 MDL-55244 js: fix various lint warnings in yui
* Incorrect brace style
* Empty functions
* Multiple var statemnts
2016-07-25 07:53:05 +01:00
Dan Poltawski 5bb4f444de MDL-55244 js: fix problems with eslint --fix
eslint --fix '**/yui/src/**/*.js'
2016-07-25 07:53:05 +01:00
Dan Poltawski ad3f8cd18c MDL-54944 eslint: make the .eslintrc default stricter
Instead of using the more rollup-tolerant config for all files, make the
configuration stricter by default but lower in grunt for yui modules.

This means that manual runs (prechecker) or editor integrations will
flag up the errors as well as grunt.

Also add ignore lines to the core files so that eslint isn't noisy when
not running with grunt.
2016-07-11 12:44:34 +01:00
Dani Palou 3ce71f4eef MDL-54928 notifications: Retrieve username from DB if empty 2016-07-01 07:45:21 +02:00
Dan Poltawski 0fd08fc7e5 Merge branch 'MDL-35628' of https://github.com/mr-russ/moodle 2016-06-16 09:04:12 +01:00
Russell Smith 1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Dan Poltawski 4bfeaf2d5f Merge branch 'wip-MDL-50824-master' of https://github.com/cdsmith-umn/moodle 2016-06-06 15:07:01 +01:00
Clement Smith 126a4bc47b MDL-50824 message/externallib.php: Fix get_string call
This fixes the get_string call by adding the intended recipient's
fullname as the third argument when a user tries to message the
recipient, the recipient is blocking non-contacts from messaging
them, and the user is not in the recipient's contact list.
2016-06-02 07:11:16 -05:00
Cameron Ball 64e8311939 MDL-37138 message: Use blanktarget option for message text 2016-05-30 13:18:01 +08:00
Eloy Lafuente (stronk7) 4da854a68b MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
Eloy Lafuente (stronk7) 1abca11e0a MDL-54638 versions: bump all versions and requires near release
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Eloy Lafuente (stronk7) 12c52b9140 Merge branch 'MDL-54032-master' of git://github.com/jleyva/moodle 2016-05-03 18:02:01 +02:00
Juan Leyva 7c357047cc MDL-54032 webservice: Fix plugin functions not using services 2016-05-03 13:00:13 +02:00
David Monllao d28f187c6f Merge branch 'MDL-53635-master' of git://github.com/jleyva/moodle 2016-05-02 15:38:11 +08:00
Juan Leyva 6d782e3383 MDL-53635 message_airnotifier: Remove tags from notifications 2016-05-02 09:32:26 +02:00
Cameron Ball f23e9b6ba4 MDL-49414 webservices: Remove deprecated functions 2016-04-27 15:54:38 +08:00
Rajesh Taneja eb9ca848fa MDL-53381 behat: Replaced chained steps with api.
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Marina Glancy 0a4f89e5b6 MDL-53274 message: set page context 2016-03-30 12:57:32 +08:00
dg711 c55494fef7 MDL-53207 message: display stock pic for msg from\to unreal user 2016-03-19 23:36:41 +05:30
Rajesh Taneja e01012e96d MDL-46891 behat: Driver specific fixes.
1. Browserkit doesn't handle [] in name
2. Grades are not visible in viewport and might fail
   with few drivers, increasing size of window to ensure
   grades are visible and can be modified.
3. Click edit first to see grade link
4. Expand fields before setting value
5. Updated xpath, as crawler update it.
6. Hover fails to show icon
2016-03-11 10:51:16 +08:00
Rajesh Taneja 42ad096fdb MDL-46891 Behat: Added support for behat 3 2016-03-11 10:51:15 +08:00
Dan Poltawski c116a115d9 Merge branch 'MDL-52928-master' of git://github.com/andrewnicols/moodle 2016-03-01 11:34:04 +08:00
dg711 88e1d0ed26 MDL-52892 message: users' pic overrides others
While listing the messages , the logged in users' profile pic used to
override over other users' pics .
2016-02-19 00:58:44 +05:30