Commit Graph

47 Commits

Author SHA1 Message Date
Petr Skoda 0e7de62880 MDL-19698 deprecated assign new by ref in chat server - there are much worse problems left I think 2010-07-19 08:32:19 +00:00
Andrew Davis cda0469680 chat MDL-22564 removed old commented out code and added a missing definition of $OUTPUT 2010-05-26 01:53:27 +00:00
Andrew Davis eaed2fd163 ajax MDL-22286 removed references to the previous version of the JS function openpopup() 2010-05-05 02:05:58 +00:00
Petr Skoda 812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Petr Skoda e7521559ed MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:17:47 +00:00
nicolasconnault af7bad7997 MDL-19804 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:42:59 +00:00
tjhunt d1dd5d030f chat: Remove unnecessary call-time pass by reference. 2009-07-24 09:16:09 +00:00
nicolasconnault 6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
tjhunt c13a5e71cc moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
dongsheng 1f8abb893b MDL-15370, remove old html and javascript code, merged from 1.9 2008-10-08 06:48:57 +00:00
dongsheng 6e5f40eadc MDL-14650, create a new table chat_messages_current to save latest 8 hours messages, could improve performance. The expired message will be deleted in chat_cron function 2008-07-24 03:15:03 +00:00
Francois Marier 6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak d3bf6f92f6 MDL-15104 chat dml conversion 2008-06-08 15:49:36 +00:00
dongsheng 64fcd675f7 "MDL-7362, allow_call_time_pass_reference setting may cause bug, see tracker, merged from MOODLE_19_STABLE, thanks James" 2008-05-01 08:32:04 +00:00
dongsheng 1a084d1541 "MDL-10944, fix undefined property in chatd.php, merged from MOODLE_19_STABLE" 2008-05-01 06:55:07 +00:00
skodak 9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
moodler f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
defacer 281d70ac2d Merging from STABLE:
Three improvements:

1. $nomoodlecookie = true. I just found out about this undocumented(?) hack(?)
   in lib/setup.php which is the perfect way to suppress some warnings. We
   don't need a session cookie for the chatd.

2. If allow_call_time_pass_reference is Off, socket_getpeername can't work.

3. Suppress "call time pass by reference is deprecated" messages for
   socket_getpeername, we don't have any choice here.
2005-07-08 03:51:38 +00:00
martinlanghoff a9a9bdba55 Merged from MOODLE_14_STABLE - insert_record() - major efficiency improvements for Postgres databases on insert. Also fixed many calls to insert_record() which discard the returned record id to not ask for the record id. 2005-04-01 05:55:10 +00:00
skodak e7fbd0b3f2 Chatd cleanup finished, from now on only bug fixing. 2005-02-12 10:54:25 +00:00
moodler 89f688b6c6 Removed some THEME 2005-02-10 18:22:31 +00:00
skodak 9824495127 detection of oversized requests from clients 2005-02-06 10:06:25 +00:00
skodak 2ac0d13b6f reverted some unfinished changes in chatd - enter message 2005-02-04 21:14:19 +00:00
skodak 516121bd0d radical chat clean up, see forum for details 2005-02-03 20:39:27 +00:00
defacer bc6c7c26b6 Better comments and some more diagnostic messages to help with bug hunting.
Also changed a > to >= to make the polling interval precice to the second.
2005-01-17 22:26:20 +00:00
defacer 548c4e2e55 Fix for bug 2285: chatd shows all chat users as present in every chatroom
Should be fixed, but needs testing.
2004-12-15 07:08:31 +00:00
defacer 233ca8bf60 Undoing an incorrect instance of htmlentity encoding a &. Probably got in
with all the XHTML frenzy. Thanks to Daryl for helping to debug this! :-)
2004-10-03 16:40:20 +00:00
gustav_delius 8f0cd6ef0f Resolved problems with previous replacement of
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius 1c61c8d6bc fixed capitalization and quoting of attribute values 2004-09-12 15:06:29 +00:00
defacer 8113661471 Merging addslashes() change from stable. 2004-09-09 10:58:25 +00:00
defacer 0469cccfe2 Merging latest changes from MOODLE_14_STABLE 2004-08-26 10:44:32 +00:00
defacer 6fb2f8230e Manually committing a copy from the 14_STABLE branch to sort out a tagging
problem I talked with Gustav about yesterday.
2004-08-25 10:46:34 +00:00
defacer d9e8ba0aa4 Merging updates from MOODLE_14_STABLE 2004-08-24 12:44:33 +00:00
defacer a8185f2e00 Please deliver me from my own incompetence... 2004-08-23 15:42:53 +00:00
defacer 695a4bff46 Quirks-related fixes... 2004-08-23 15:35:08 +00:00
defacer 5a60e82249 Preliminary support for browser quirks, for now just targeting Safari 2004-08-23 15:25:18 +00:00
defacer f0232c84fb More goodness! Goodness is on discount here in Greece! :P 2004-08-23 15:03:26 +00:00
moodler fbabbd235b Miscellaneous fixes from the PJ man 2004-08-23 14:40:53 +00:00
defacer 3430873206 Making chatd more eager to update the users' status, and lib.php slightly
less eager to declare them dead. Should solve the "active users are not shown
at the chat index page" problem.

Also, fixing a notice.
2004-08-23 08:48:57 +00:00
moodler dfd629d768 Latest goodness from PJ the MAN! 2004-08-14 16:45:13 +00:00
moodler a950790dfd Trivial fix to ID 2004-08-14 12:37:39 +00:00
moodler 5dbd0dfc0a Add version number 2004-08-12 12:36:32 +00:00
moodler e7d27884a8 Some cleanups from Jon ... beeps now work 2004-08-12 12:31:38 +00:00
moodler 82a524ef54 Latest changes to the chat daemon ... user window now working
Needs:    - testing
            - beeps in daemon mode  (you can type "beep all" though)
2004-08-11 14:45:40 +00:00
moodler b5de723daa Latest fixes from Jon ... it's much more stable now!
... the only thing remaining is that the user window is
still done old-style, and not yet converted over to the
new -style daemon
2004-08-10 13:50:58 +00:00
moodler 8e7eec609f This version sort of works. Still needs some polishing. 2004-07-30 15:32:36 +00:00