Commit Graph

79 Commits

Author SHA1 Message Date
1c50df9f24 MDL-16268 User-User send messages now use new messaging system. 2008-08-30 17:53:30 +00:00
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
76b0191ca8 MDL-15101 towards messaging conversion 2008-06-05 13:55:37 +00:00
d9eef08a9f MDL-15101 towards messaging conversion 2008-06-05 13:54:30 +00:00
fd1cb1e85e MDL-15101 towards messaging conversion 2008-06-05 13:41:16 +00:00
54d8f804fa MDL-12300 message window does show date now, merged from 19 2008-05-08 03:49:51 +00:00
04b687e824 MDL-12864 fix bad XHTML for messaging tabs, merged from 19 2008-05-02 05:15:26 +00:00
f49edc81d6 Merged MDL-14483 from 1.9: Use the recipient language to send email 2008-04-23 02:27:37 +00:00
59c0c3f9f8 MDL-14077 Mails form messages not RFC2822 conform; merged from MOODLE_19_STABLE 2008-03-27 17:09:36 +00:00
a017dea612 Fix subject lines and corrupted emails from messages MDL-13364 2008-02-07 05:21:58 +00:00
3ff19e09d2 Merged fix for SQL error in JOIN MDL-12990 2008-01-16 06:12:59 +00:00
b4d80abe0c MDL-12990 - save more needless db queries
merged from MOODLE_19_STABLE
2008-01-15 22:08:20 +00:00
7390832c7d MDL-12990 - Significantly reduce database queries for messaging
search by getting info required by in search sql.

On a site with 1500 users:
Before: 850 dbq
After:  8   dbq

merged from MOODLE_19_STABLE
2008-01-15 16:10:58 +00:00
f46b6587a6 MDL-12990 - clean up message_print_contacts() a lot to:
* Use less DB queries and avoid getting lots of needless data
 * Dont do a big php array rearranging loop - database does the work for us instead
 * split all the duplicated display code into a single function

merged from MOODLE_19_STABLE
2008-01-15 13:48:34 +00:00
2bd89cdb07 MDL-12990 Ensure that displaying message contact list pictures doesn't take a
dbq per contact. Could do with a rewrite, but this saves us dbqs for now
merged from MOODLE_19_STABLE
2008-01-14 16:59:34 +00:00
576ad29016 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:53:42 +00:00
3aa3cf3d21 Some tweaks to the appearance of messaging window 2007-08-27 03:22:16 +00:00
4603b8d60c Merged message -> email fixes from stable 2007-08-10 05:24:31 +00:00
bb48a53735 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:09:02 +00:00
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
4702be4ef7 MDL-8028 Add separate addslashes_js function for javascript quoting 2007-01-01 13:26:20 +00:00
d53f1cdb82 MDL-7948 some more messaging accessiblity fixes 2006-12-30 11:20:26 +00:00
6ee78ceeaf MDL-8022 chat accessiblity
- new gui_basic that can be used as fallback or accessible option to gui_header_js - it is not compatible with chat daemon
- todo: CSS styling, beeping, JS fallback code in view.php and noframes fallback in gui_header_js
- minor changes in messaging language strings
- minor coding style improvements
2006-12-29 18:33:41 +00:00
531e58f1b2 MDL-7956 Add frameless and JSless message composition option 2006-12-25 22:34:05 +00:00
b71d4dd214 MDL-7957 Add proper form labels to elements in search and settings tabs 2006-12-18 17:10:35 +00:00
0d3bb48dc8 MDL-7953 xhtml compliance in messaging - first step 2006-12-18 09:04:33 +00:00
0ebb4add79 fix for MDL-7482, adding alt text for messaging controls 2006-11-13 02:41:50 +00:00
6bb4875f35 Prevent +/- operators (REGEXP) on messages search. MDL-7312
Merged from MOODLE_17_STABLE
2006-10-31 20:22:10 +00:00
8a51efe99d fixed sql error when searching only by one letter and two radio buttons selected at the same time (visible in Konqueror) fixed as part of MDL-7160 ; merged from MOODLE_17_STABLE 2006-10-22 19:42:27 +00:00
1ac417517e fixed moodle/site:readallmessages MDL-7160 ; commented out unfinished buggy code; merged from MOODLE_17_STABLE 2006-10-22 19:20:02 +00:00
6eb7722f93 message/lib.php: use sql_ilike() 2006-09-26 05:07:05 +00:00
92a2d92a82 message_history_link() - replace use sql_concat() and sql_like() 2006-09-26 05:05:32 +00:00
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
7c8b82a9a7 Set default value for message_emailformat 2006-04-26 08:17:11 +00:00
49487025ea just in case message_emailformat is not set 2006-04-26 08:07:12 +00:00
54bf5de8d2 Merged fix for bug 4639 from stable 2006-03-14 04:12:52 +00:00
7686b6b1d0 Merged from MOODLE_15_STABLE (ish): better fix to messaging problem query 2005-09-07 04:43:47 +00:00
9ea9d69744 Merged from MOODLE_15_STABLE: Fixing bug 3977: properly for HEAD since we're dropping mysql 3 support for 1.6. No need for db compatability checks here. 2005-08-31 23:58:42 +00:00
030e3e034d Use two author styles on history pages too 2005-05-04 08:27:40 +00:00
669be60c67 Fixing up some message style names 2005-04-23 14:38:57 +00:00
3f85157ba7 There is a new setting in Messaging, so that you can block any
new messages from people not on your contacts list

I will need this on moodle.org I can tell you!!
2005-04-23 06:26:10 +00:00
830d0af6d4 Fixed context links on search messages 2005-04-23 06:08:33 +00:00
a1157dda6a Fixed how extra user help is displayed 2005-04-21 04:57:54 +00:00
65ef518b1d See bug 2987 (there is more to it than this checkin):
Making the contacts list more user-friendly for people who have no clue how
messaging works and simply happen to click the "no messages waiting" link in
the Messages block.
2005-04-20 19:28:14 +00:00
5d6b319bd4 Some serious performance improvements to messaging!
Scripts have been split up and trimmed down.

If a discussion window is left open then updates happen on a slower
and slower rate (exponentially increasing delay) to help keep
load low on a server.
2005-04-14 09:28:07 +00:00
05753d2b87 Actually 3/min sounds better than 4/min 2005-04-05 07:44:41 +00:00
2a38a6beb8 Reduce the default speeds for messaging 2005-04-05 07:31:13 +00:00
2514081c24 Added title to history icon link (SE) 2005-03-27 06:30:41 +00:00