581 Commits

Author SHA1 Message Date
Mark Nelson
068df636dd MDL-45594 core_message: added unit tests 2014-07-23 16:40:03 -07:00
Mark Nelson
e6aae58d0d MDL-45594 core_message: ordered recent notifications by timecreated 2014-07-23 16:39:02 -07:00
Tim Hunt
f68b11f7ad MDL-45594 simplify message_get_recent_conversations SQL
I am pretty sure that this new SQL is logically equivalent to
the original, and it passes Mark's unit tests. However, it is
hard to be 100% sure.
2014-07-23 16:39:02 -07:00
Andrew Davis
727c69ca9e MDL-42214 core_message:prevented popup notifications of messages from blocked users 2014-07-14 09:49:47 +08:00
Sam Hemelryk
69ab6b4713 Merge branch 'wip-mdl-45565' of https://github.com/rajeshtaneja/moodle 2014-05-29 08:12:32 +12:00
Eloy Lafuente (stronk7)
f94891cc00 MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
Rajesh Taneja
66d212fef0 MDL-45565 core_message: Added unit tests. 2014-05-23 16:46:58 +08:00
Rajesh Taneja
25bd63b713 MDL-45565 core_message: Fixed strangers array
Strangers get mixed with noreply user and support user,
if  noreply/support users real user.
To avoid duplication use userid as array index. Also,
avoid fetching data again for noreply and support users,
if they are real users, then data is already feteched.
2014-05-23 11:56:38 +08:00
Damyon Wiese
4e8a350c35 Merge branch 'MDL-45618' of git://github.com/timhunt/moodle 2014-05-20 14:59:48 +08:00
Marina Glancy
4cc89d51eb Merge branch 'MDL-43669-m' of git://github.com/micaherne/moodle 2014-05-20 14:12:38 +08:00
Frederic Massart
2236a5655b MDL-45566 message: Send blocking events when user is not in contact list 2014-05-20 13:17:58 +08:00
Tim Hunt
5bcfd504df MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
Michael Aherne
8561492010 MDL-43669 messaging Enable sending email only from no-reply address 2014-05-19 09:24:26 +01:00
Eloy Lafuente (stronk7)
538bf99ece MDL-45486 Bump all versions to planned release
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Mark Nelson
f3d981897e MDL-43557 events: renamed event class names
1) The core 'item_tagged' class was renamed to 'tag_added'.
2) The core 'item_untagged' class was renamed to 'tag_removed'.
3) The core 'message_read' class was renamed to 'message_viewed'.
4) The mod_forum 'userreport_viewed' class was renamed to 'user_report_viewed'.
5) The report_outline 'activity_viewed' was renamed to 'activity_report_viewed'.
6) The report_outline 'outline_viewed' was renamed to 'report_viewed'.
2014-04-29 19:15:47 -07:00
Juan Leyva
5f0283046e MDL-45061 airnotifier: Changed default port value to 443 2014-04-15 12:12:22 +02:00
Dan Poltawski
ea1be84468 NOBUG: Fixed file access permissions 2014-04-11 11:39:56 +08:00
Juan Leyva
ad5a8cd6a2 MDL-44342 air notifier: Fixied checking for empty values in event object 2014-04-10 17:34:14 +08:00
Damyon Wiese
0734383d63 MDL-44342 Airnotifier: Bug in retrieving user prefs (fixes fail in unit test) 2014-04-10 13:16:40 +08:00
Juan Leyva
2bb01d13cb MDL-44342 airnotifier: Change default Airnotifier url to use SSL
This commit include also a fix for checking forced settings
2014-04-10 09:25:32 +08:00
Damyon Wiese
9a6c091f1c MDL-44342 message_airnotifier: Fix shifter warnings in JS 2014-04-08 12:11:36 +08:00
Damyon Wiese
1786388680 MDL-44342 message_airnotifier: Fix for unit tests. 2014-04-08 10:55:33 +08:00
Damyon Wiese
9f7e101fc7 Merge branch 'MDL-44342' of git://github.com/jleyva/moodle 2014-04-08 09:27:48 +08:00
Juan Leyva
5e12b369af MDL-44954 messages: Fixed save notifications with the notification flag 2014-04-07 12:19:52 +02:00
Juan Leyva
d62c3c6ea8 MDL-44342 airnotifier: Add support for shifter in the YUI Module
This commit includes also some integrator review related fixes
2014-04-07 12:14:09 +02:00
Juan Leyva
438c7020c2 MDL-44342 airnotifier: Include missing defined and required lib in externallib.php 2014-04-07 12:14:01 +02:00
Juan Leyva
b310aeecd4 MDL-44342 airnotifier: Add information about the message in the payload.
In order to check if is a notification or just a private message
2014-04-07 12:13:53 +02:00
Juan Leyva
1bcb18e7f9 MDL-44342 airnotifier: Unit tests for external functions (web services) 2014-04-07 12:13:53 +02:00
Juan Leyva
324facf457 MDL-44342 airnotifier: Use system context instead user.
Added missing capabilities and language strings
2014-04-07 12:13:43 +02:00
Juan Leyva
98fb4d413b MDL-44342 airnotifier: Add support for Android notifications 2014-04-07 12:13:43 +02:00
Juan Leyva
a8f111aaf2 MDL-44342 airnotifier: rest.php should return success information
Javascript should handle properly errors, also, the eye and spinner
should be synchronized with the remote operation
2014-04-07 12:13:35 +02:00
Juan Leyva
3570f5e287 MDL-44342 airnotifier: Added support for the new workflow of registering devices
And also for request access keys to Airnotifier
2014-04-07 12:13:24 +02:00
mouneyrac
08ca1a5bfd MDL-44342 airnotifier: Initial work, first version of the plugin 2014-04-07 12:13:07 +02:00
Ankit Agarwal
b63f773296 MDL-44717 events: Fix multiple issues in events
Fix various incorrect urls
Fix incorrect phpdocs and other minor code style issues
Fix missing/incorrect strings

AMOS BEGIN
 MOV [eventblogassociationcreated, core_blog],[eventblogassociationadded, core_blog]
AMOS END
2014-04-01 15:08:34 +08:00
Dan Poltawski
c6b7551c71 Merge branch 'MDL-40913_master' of https://github.com/markn86/moodle 2014-03-13 18:31:52 +01:00
Mark Nelson
7cd6abf28a MDL-40913 core_message: removed 'view' add_to_log call 2014-03-07 15:15:44 -08:00
Mark Nelson
5b09190975 MDL-40913 core_message: created 'message_read' event 2014-03-07 15:15:43 -08:00
Mark Nelson
ab1bc5d222 MDL-40913 core_message: replaced 'write' add_to_log call with an event 2014-03-07 15:15:43 -08:00
Mark Nelson
cd60936523 MDL-40913 core_message: replaced 'unblock contact' add_to_log call with an event 2014-03-07 15:15:43 -08:00
Mark Nelson
3f3d9521de MDL-40913 core_message: replaced 'block contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Mark Nelson
5edf9f3bd3 MDL-40913 core_message: replaced 'remove contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Mark Nelson
0d9bdf6185 MDL-40913 core_message: replaced 'add contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
David Monllao
759b323e0e MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
David Monllao
f083d6145e MDL-43738 behat: Updating features files
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match

Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
David Monllao
a525414125 MDL-43738 behat: Updating steps definitions and deprecating methods 2014-02-27 18:22:05 +08:00
David Monllao
495db71fce MDL-43757 messaging: Behat feature to test participants messaging
The new test checks that messages can be sent from
the participants block and they can be read when
accesing user's recent conversations.
2014-01-24 15:06:12 +08:00
Dan Poltawski
fa8861964a Merge branch 'MDL-43671_message' of https://github.com/andyjdavis/moodle 2014-01-20 10:53:50 +08:00
Andrew Davis
811c0c8523 MDL-43671 message: removed an overly cautious check 2014-01-17 07:32:12 +08:00
Damyon Wiese
718f42ae68 Merge branch 'MDL-43584_master' of git://github.com/dmonllao/moodle 2014-01-14 16:21:21 +08:00
Matteo Scaramuccia
f5482be6f8 MDL-43577 Messages Incorrect variable expansion in the message template. 2014-01-13 21:06:58 +01:00