Commit Graph

70 Commits

Author SHA1 Message Date
moodler 117e675602 MDL-14483 Use the recipient language to send email 2008-04-23 02:24:15 +00:00
skodak afe0df456f MDL-14077 Mails form messages not RFC2822 conform 2008-03-27 17:08:51 +00:00
moodler 67574a93c5 Fix subject lines and corrupted emails from messages MDL-13364 2008-02-07 05:19:01 +00:00
moodler f845a2fba9 Small fix for the new SQL ... it works now for me on moodle.org MDL-12990 2008-01-16 06:12:10 +00:00
poltawski b972485c21 MDL-12990 - save more needless db queries 2008-01-15 22:07:36 +00:00
poltawski 3e5f98212d 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
2008-01-15 16:09:50 +00:00
poltawski 86f404fa52 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
2008-01-15 13:47:45 +00:00
poltawski b81e38ec0b 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
2008-01-14 16:58:07 +00:00
toyomoyo 02bd2e0d38 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:52:50 +00:00
moodler 3aa3cf3d21 Some tweaks to the appearance of messaging window 2007-08-27 03:22:16 +00:00
moodler 4603b8d60c Merged message -> email fixes from stable 2007-08-10 05:24:31 +00:00
stronk7 bb48a53735 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:09:02 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak 4702be4ef7 MDL-8028 Add separate addslashes_js function for javascript quoting 2007-01-01 13:26:20 +00:00
skodak d53f1cdb82 MDL-7948 some more messaging accessiblity fixes 2006-12-30 11:20:26 +00:00
skodak 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
skodak 531e58f1b2 MDL-7956 Add frameless and JSless message composition option 2006-12-25 22:34:05 +00:00
skodak b71d4dd214 MDL-7957 Add proper form labels to elements in search and settings tabs 2006-12-18 17:10:35 +00:00
skodak 0d3bb48dc8 MDL-7953 xhtml compliance in messaging - first step 2006-12-18 09:04:33 +00:00
toyomoyo 0ebb4add79 fix for MDL-7482, adding alt text for messaging controls 2006-11-13 02:41:50 +00:00
stronk7 6bb4875f35 Prevent +/- operators (REGEXP) on messages search. MDL-7312
Merged from MOODLE_17_STABLE
2006-10-31 20:22:10 +00:00
skodak 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
skodak 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
martinlanghoff 6eb7722f93 message/lib.php: use sql_ilike() 2006-09-26 05:07:05 +00:00
martinlanghoff 92a2d92a82 message_history_link() - replace use sql_concat() and sql_like() 2006-09-26 05:05:32 +00:00
toyomoyo d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
moodler 7c8b82a9a7 Set default value for message_emailformat 2006-04-26 08:17:11 +00:00
toyomoyo 49487025ea just in case message_emailformat is not set 2006-04-26 08:07:12 +00:00
moodler 54bf5de8d2 Merged fix for bug 4639 from stable 2006-03-14 04:12:52 +00:00
mjollnir_ 7686b6b1d0 Merged from MOODLE_15_STABLE (ish): better fix to messaging problem query 2005-09-07 04:43:47 +00:00
mjollnir_ 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
moodler 030e3e034d Use two author styles on history pages too 2005-05-04 08:27:40 +00:00
moodler 669be60c67 Fixing up some message style names 2005-04-23 14:38:57 +00:00
moodler 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
moodler 830d0af6d4 Fixed context links on search messages 2005-04-23 06:08:33 +00:00
moodler a1157dda6a Fixed how extra user help is displayed 2005-04-21 04:57:54 +00:00
defacer 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
moodler 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
moodler 05753d2b87 Actually 3/min sounds better than 4/min 2005-04-05 07:44:41 +00:00
moodler 2a38a6beb8 Reduce the default speeds for messaging 2005-04-05 07:31:13 +00:00
moodler 2514081c24 Added title to history icon link (SE) 2005-03-27 06:30:41 +00:00
moodler a9d9b46af8 Guests can't use messaging 2005-03-17 20:39:30 +00:00
moodler acd21a2d14 OK, finally fixed that refresh bug in Firefox! Added styles too. 2005-03-04 14:53:23 +00:00
moodler 9aa959f222 Significant improvements to the message display 2005-02-25 13:09:27 +00:00
moodler e49617afd4 Added a HTML editor to the messages 2005-02-25 06:42:56 +00:00
stronk7 8fee85b4dd Added message_contacts users to the function, 2005-02-13 19:44:32 +00:00
moodler 4ac00cab59 Fix to get around a problem in get_records with one-field results .. 2005-02-13 19:16:32 +00:00
moodler 12d8f14c34 Whoops, fixed a typo! 2005-02-12 17:23:14 +00:00
moodler c135a42507 Added message_get_participants function for ELoy to use in Site backups 2005-02-12 17:17:32 +00:00
moodler 8ca3606339 Fixed a variable reference 2005-01-25 06:20:28 +00:00