68 Commits

Author SHA1 Message Date
moodler
a017dea612 Fix subject lines and corrupted emails from messages MDL-13364 2008-02-07 05:21:58 +00:00
moodler
3ff19e09d2 Merged fix for SQL error in JOIN MDL-12990 2008-01-16 06:12:59 +00:00
poltawski
b4d80abe0c MDL-12990 - save more needless db queries
merged from MOODLE_19_STABLE
2008-01-15 22:08:20 +00:00
poltawski
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
poltawski
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
poltawski
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
toyomoyo
576ad29016 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:53:42 +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
moodler
acef58f4c3 Removed some old stuff 2005-01-23 05:49:39 +00:00
gustav_delius
ff6048dd10 messagetext in history shoulld not be wrapped in paragraph tags 2005-01-18 19:26:01 +00:00