229 Commits

Author SHA1 Message Date
Ruslan Kabalin
e8fc7940a8 MDL-27171 messages: $defaultpreferences is an object, use isset instead.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-31 09:46:22 +01:00
Ruslan Kabalin
ebe0c008ca MDL-27171 messages: commenting style changes and extra comments
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-05-27 14:07:06 +01:00
Ruslan Kabalin
7a04c476a2 MDL-27171 messages: implement new syntax in messages.php and update processing
The new messaging default settings can be set in messages.php and deployed
during installation. This also ensures the removing of settings on plugin
uninstallation and contains the update script to populate current default
settings on the existing system when the new feature is introduced.

For security reason we have to avoid using library functions in upgrade
function, so we set defaults the blind way. At this point we do not expect
plugins to have individual messaging defaults presets anyway. The site
defaults are the same as were set for each user using
message_set_default_message_preferences function.

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 14:06:56 +01:00
Ruslan Kabalin
814e373576 MDL-27171 messages: upgrade user profile messaging preferences interface
Existing user messaging preferences should accomodate default settings and
permissions.  This also includes some changes to default outputs preferences.

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 13:49:28 +01:00
Ruslan Kabalin
1d72e9d441 MDL-27171 messages: add default message outputs management interface
This introduces the new page where admin may change the permissions and
defaults for particular combination of message processors and providers.

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 13:49:28 +01:00
Ruslan Kabalin
75c34c23a4 MDL-27171 messages: add message outputs management interface page
This introduces the page for management message outputs (processors) where
admin may enable/disable them and jump to configuration pages.
2011-05-27 13:49:28 +01:00
Eloy Lafuente (stronk7)
b47dcdf0de MDL-27471 minor fixups 2011-05-23 12:42:15 +02:00
Andrew Davis (andyjdavis)
19c5532b5d MDL-26436 message: reviewed use of recordsets in messaging 2011-05-10 16:37:06 +08:00
Andrew Davis (andyjdavis)
7e98f60bfb message MDL-26077 fixed up a problem with html tags being stripped out 2011-03-24 11:30:12 +08:00
Sam Hemelryk
9d61397181 Merge branch 'MDL-26607_search_error' of git://github.com/andyjdavis/moodle 2011-03-21 11:54:20 +08:00
Andrew Davis (andyjdavis)
b6e526585a message MDL-26607 fixed sql error when searching for users and limiting search to your courses 2011-03-16 10:58:07 +08:00
andyjdavis
25bd5c75ab message MDL-26433 refactored the constants in messaging 2011-03-06 22:03:49 +08:00
Eloy Lafuente (stronk7)
a8ccca5325 MDL-26404 messages - move textlib instance out from loop 2011-02-28 10:35:21 +01:00
Andrew
b2bce32ff0 message MDL-26404 trimming course short to prevent long names messing up the UI 2011-02-23 11:00:41 +08:00
andyjdavis
731f8516bc message MDL-26435 removed commented out code 2011-02-17 11:03:18 +08:00
Eloy Lafuente (stronk7)
c04c06dc8e Merge branch 'MDL-25616_recent_messages' of git://github.com/andyjdavis/moodle
Conflicts fixed:
	message/index.php
	message/lib.php
2011-02-15 19:26:21 +01:00
andyjdavis
3a00a167c6 message MDL-26119 fixed up the logged URL 2011-02-15 14:24:13 +08:00
andyjdavis
bcab42daf2 message MDL-25616 adding recent conversations and recent notifications screens 2011-02-15 11:17:38 +08:00
Petr Skoda
8afc38bd39 Merge branch 'MDL-25708' of git://github.com/stronk7/moodle 2011-01-31 14:21:53 +01:00
Petr Skoda
31da70cce4 MDL-26158 fix form printing and processing 2011-01-29 18:04:50 +01:00
Eloy Lafuente (stronk7)
20222a3d7b MDL-25708 recordsets - fix message/lib.php 2011-01-25 19:59:00 +01:00
Andrew Davis
156205fc97 message MDL-25380 preventing html tags appearing in emailed messages when a message is sent to course participants 2010-11-24 04:17:52 +00:00
Andrew Davis
536a56e771 message MDL-25359 now specifying message recipient in IM email notification footer link to avoid weirdness on servers with autologin as guest turned on 2010-11-22 01:44:10 +00:00
Andrew Davis
2846b9a6a2 message MDL-25240 made filters work when displaying messages 2010-11-17 06:36:26 +00:00
Andrew Davis
943630292a message MDL-25148 fixed a bug with my popup availability bug fix 2010-11-11 09:17:47 +00:00
Andrew Davis
d38755249d message MDL-25148 using method on $PAGE to allow or disallow popup notifications 2010-11-11 06:11:43 +00:00
Andrew Davis
f38325960e message MDL-25095 increased the size of the message fragment displayed in the message search 2010-11-08 03:10:30 +00:00
Andrew Davis
4090a30fa2 message MDL-24972 removed some no longer required references to tabs 2010-11-02 07:58:16 +00:00
Andrew Davis
4ffa1463ec message MDL-24972 made sure all strings in messages are in the message recipient's language 2010-11-02 07:37:25 +00:00
Andrew Davis
08cd70cf48 message MDL-24972 integrated message search into /message/index.php instead of having it happen on a separate page. This removed the need for contacts.php to exist. 2010-11-02 06:09:10 +00:00
Andrew Davis
f20b0afabb message MDL-24972 removed the repeated restatement of your search terms in the search results 2010-11-02 03:09:56 +00:00
Andrew Davis
a402c30923 message MDL-24972 made search box smaller and added highlighting of currently selected user 2010-11-02 03:05:11 +00:00
Andrew Davis
31c532d0c8 message MDL-24972 removed the new search button and moved blocked users to last position in the messaging nav box 2010-11-01 09:01:45 +00:00
Andrew Davis
06d30c430c message MDL-24970 removed some commented out code and removed a reference to discussion.php 2010-11-01 07:34:32 +00:00
Andrew Davis
33bd52f3e9 message MDL-24935 a fix to prevent notifications of your own actions appearing in your own messaging history 2010-11-01 02:27:34 +00:00
Andrew Davis
14a0e7ddff message MDL-24771 another big commit of messaging fixes 2010-10-26 08:00:29 +00:00
Andrew Davis
a813a74843 message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging 2010-10-25 09:29:34 +00:00
Andrew Davis
32ef43e1eb message MDL-24786 infrastructure changes to add paging support to messaging 2010-10-21 06:40:15 +00:00
Andrew Davis
6ee2611c63 message MDL-24563 altered messaging so that forum post notifications aren't so overwhelming when viewed on /message/index.php 2010-10-15 06:59:02 +00:00
Andrew Davis
01e8532695 message MDL-24635 fixed a small bug that was preventing some tooltips from being included 2010-10-13 03:28:16 +00:00
Andrew Davis
27a3976343 message MDL-24548 some emergency bug fixes to messaging 2010-10-08 02:31:57 +00:00
Andrew Davis
ee7cd81a1c message MDLSITE-1042 fixed some messaging bugs 2010-10-07 03:59:07 +00:00
Andrew Davis
1e77f9740a message MDLSITE-1039 changed the text on the button you click to get to search due to confusion 2010-10-06 07:44:41 +00:00
Andrew Davis
cf45586528 message MDLSITE-1039 gave IMs a meaningful subject line and turned on action icons for the contact list on /message/index.php 2010-10-06 07:39:49 +00:00
Petr Skoda
8e803c3f9f MDL-24321 switching to stdClass in /login/ and /message/ 2010-09-21 08:18:23 +00:00
Petr Skoda
91421f3ead a few spelling fixes 2010-09-18 12:07:01 +00:00
Petr Skoda
71666cf314 spelling fixes 2010-09-17 19:41:02 +00:00
Petr Skoda
3dcb80cbd8 fixed missing global PAGE 2010-09-17 19:35:43 +00:00
Petr Skoda
4758639429 MDL-24080 converting remaining NOT LIKEs 2010-09-04 14:52:47 +00:00
Petr Skoda
dd54dc31b6 MDL-24079 messaging now using new sql_like 2010-09-04 13:05:51 +00:00