354 Commits

Author SHA1 Message Date
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
dongsheng
083acd24db "MDL-14465, add a setfocus() function, see tracker, thanks, Ralf" 2008-04-30 03:42:24 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
fd4d41c3b5 MDL-12945 fixed sql purity to make pg happy, fixed bug in user list of active chats; merged from MOODLE_19_STABLE 2008-02-14 16:12:53 +00:00
skodak
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
skodak
1f106b3f1d MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE 2008-02-05 21:40:21 +00:00
skodak
76cbde4138 MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE 2008-02-01 14:10:49 +00:00
skodak
52ae8c057a MDL-12945 fixing mod indexes broken by previous commit; merged from MOODLE_19_STABLE 2008-02-01 09:09:04 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
ericmerrill
817fb4cb01 MDL-11674
Changing back an issue that could cause dataloss.
2008-01-09 02:13:52 +00:00
martinlanghoff
7ce4ce0aa4 mod/chat:chat_cron() - IS NOT NULL is better - MDL-11674 2008-01-08 22:36:17 +00:00
martinlanghoff
319038c39d mod/chat:chat_cron() delete stale chat messages with a single query, fast, and portable too! MDL-11674 2008-01-08 20:58:24 +00:00
poltawski
3225acd58b MDL-12734, fix calling print_header() twice
merged from MOODLE_19_STABLE
2007-12-26 20:19:36 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
4f1dc7ea98 MDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible; merged from MOODLE_19_STABLE 2007-12-16 13:57:21 +00:00
skodak
d795bfdbf9 MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE 2007-12-14 21:22:38 +00:00
nfreear
b0dc3e563d Fixes bug MDL-2674, "backup always backsup/restores groups regardless of user settings" - restore group/grouping option. 2007-12-10 10:26:47 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
poltawski
b18921676e MDL-11124 - Allowed 'There are no [modulename]' translations. This is currently
hardcoded and can be discovered through the user interface resonably easily.

Merged from MOODLE_19_STABLE
2007-10-29 10:44:50 +00:00
toyomoyo
82f66bed7b closing the $rs 2007-10-17 07:28:17 +00:00
toyomoyo
b592b8040e MDL-11738 merged, chat message not shown 2007-10-17 07:18:56 +00:00
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
moodler
ba4418ad4e Merged Urs fixes from 1.8 stable and reformatted a bit 2007-10-10 14:57:39 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak
4388027c37 MDL-11674 fixed mysql incompatible SQL in chat cron 2007-10-09 16:46:04 +00:00
skodak
a86840ecc9 do not optimise the $USER fetching - it was broken by mnethostid and would be again in future 2007-10-09 13:43:51 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
martinlanghoff
f0d3bb9e9c mod/chat: chat_update_chat_times() smarter
If cron hasn't run for a few days, it would take
several runs for chat_update_chat_times() to get things back on track.

Now it's all fixed in one go, saving a bit of DB traffic. It all adds
up...
2007-09-19 07:21:09 +00:00
martinlanghoff
b78f4cbd31 mod/chat: reduce number of queries in cron.
Delete stale msgs in one DB query rather than in 1-per-chat-instance.

(From 600 DB queries to 1 on a site with 600 chat instances.)

Also - a walkthrough of chat_update_chat_times(), which seems buggy.
2007-09-19 07:20:52 +00:00
mattc-catalyst
a12e11c13a MDL-10888: groupings - mod/chat - update to work with groupings 2007-08-27 02:28:35 +00:00
skodak
bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +00:00
moodler
2311afc2a0 Merged MDL-10771 from 18 stable 2007-08-09 13:30:10 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
skodak
23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
urs_hunkler
f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
mattc-catalyst
160addd2b2 Breadcrumbs: mod/chat changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method as base class now provides this
  functionality.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:59:17 +00:00
nicolasconnault
8058aa051b MDL-7861 - XHTML errors (strict) were found in course/editsection.html and mod/chat/view.php. They were corrected and additional css rules were written to replace the corrected inline styling. 2007-03-02 02:40:30 +00:00
defacer
927a78087c Merging from MOODLE_16_STABLE:
Fix for MDL-8515: Prefixing chat messages with a slash should not hide the
user's name unless it's a special command we handle.

I completely removed the emoticon handling case, but it seems like it was
not needed for a long time now? Emoticons work just fine without it.
2007-03-01 07:19:57 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00