Commit Graph

195 Commits

Author SHA1 Message Date
skodak 17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak 7826abc79f MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:25:27 +00:00
samhemelryk b2d5a79a35 mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
samhemelryk 848bb1134b chat lib MDL-19294 Boilerplate and Phpdocs 2009-05-27 02:40:00 +00:00
tjhunt c85acc871f pagelib: MDL-12212 eliminate chat_page 2009-05-06 09:25:54 +00:00
skodak 9b010a102e MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:33:08 +00:00
skodak dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
skodak 42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
tjhunt 19f5b2dbee accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:36 +00:00
skodak 214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
dongsheng 97d5076b15 CHAT_MOD/MDL-14651
$CFG->enableajax == true, ajax chat will be enabled.
2008-11-19 08:12:00 +00:00
dongsheng 7f0483f6cd CHAT_MOD/MDL-14651
1. click a button to "talk to" a specific user
2. adjust UI layout
3. add more language string
2008-11-19 07:32:39 +00:00
dongsheng 547ac6644d CHAT_MOD/MDL-14651, clean up update.php script. 2008-11-19 06:29:27 +00:00
dongsheng 111e78d610 "MDL-14651, disable ajax chat room by default" 2008-11-18 05:30:52 +00:00
dongsheng 1d5071868f MDL-14651
1. identify IRC commands
2. commiting ajax chat room, I lost my half finished source code, so I have to
start again :-(
2008-11-18 05:21:57 +00:00
mjollnir_ 6be1dcae99 MDL-16587 bit of a large refactor of the portfolio formats. still more to come. 2008-10-11 17:33:20 +00:00
dongsheng 1f8abb893b MDL-15370, remove old html and javascript code, merged from 1.9 2008-10-08 06:48:57 +00:00
mjollnir_ 5a04379a49 MDL-15758 - make sure there's a break between mutliple-session chat export 2008-09-16 20:42:59 +00:00
mjollnir_ a7d9068300 MDL-15758: fixing up mod/chat supported formats 2008-09-16 17:25:27 +00:00
mjollnir_ 37f03ea00b MDL-15666 - change all the portfolio plugins and callers to use exceptions
rather than relying on return values (send_package and prepare_package)

move zipping of temporary files into the exporter class so it can be overridden during unit tests

fix a small todo in mahara plugin
2008-09-12 11:22:15 +00:00
mjollnir_ 0d06b6fda7 MDL-16423 - big refactor of the way callers interact with the portfolio code
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.
2008-09-11 13:42:58 +00:00
mjollnir_ d8606b2078 MDL-15833 - make the portfolio callers use the helper functions to detect expected time. 2008-09-09 09:32:16 +00:00
mjollnir_ ea0de12f10 MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
mjollnir_ 3403520190 MDL-16134 - exception handling in portfolio code 2008-08-19 14:20:32 +00:00
mjollnir_ 47cfd33174 MDL-15758 - chat module portfolio export 2008-08-18 10:16:56 +00:00
skodak f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +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
skodak 633c33410f MDL-14129 fixed undefined $i variable 2008-06-15 21:27:16 +00:00
dongsheng 5c2f6a7fb1 "MDL-14129, fix print_error" 2008-06-15 12:24:36 +00:00
skodak d3bf6f92f6 MDL-15104 chat dml conversion 2008-06-08 15:49:36 +00:00
dongsheng 2f52a088bf "MDL-14129, fix print_error" 2008-06-06 08:46:48 +00:00
skodak c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak 7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +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 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
skodak 220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +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
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
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
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