Commit Graph

120 Commits

Author SHA1 Message Date
Juan Leyva 2971d8421c MDL-57394 mod_chat: Move get session messages code to new function 2018-01-30 14:21:13 +01:00
Stephen Bourget 3bf46ee717 MDL-55566 chat: Improve next scheduled chat message 2016-11-08 16:00:05 -05:00
Russell Smith 1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Juan Leyva 5841b9d5d3 MDL-50853 mod_chat: New Web Service mod_chat_view_chat 2015-09-02 17:23:43 +02:00
Andrew Davis c52b4db52d MDL-46465 mod_chat: assorted coding style fixes 2014-07-28 10:01:41 +08:00
Petr Skoda a991a1dd23 MDL-45219 add \mod\chat\course_module_viewed event 2014-04-23 11:53:35 +08:00
Rossiani Wijaya 8c6ca6961a MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
Andrew Nicols ee4ece6822 MDL-29441 Chat: Use a valid name for chat popup actions 2013-10-12 00:53:48 +08:00
Andrew Davis 66e2b9f8c2 MDL-38856 reposition activity group control and fixed titles in chat, database and forum 2013-09-02 11:49:39 +07:00
David Monllao 36ab2fedff MDL-30901 mod_chat Removing screenreader setting usage 2012-09-21 09:22:21 +08:00
David Monllao 6536217c78 MDL-34466 mod_chat Replace all instances of get_context_instance() with respective context_XXXX class in mod/chat 2012-07-27 13:26:04 +08:00
Sam Hemelryk 8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
sam marshall 6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Dongsheng Cai 1d5bd3d2ed MDL-24941, fixed nopermission error when student entering scheduled chat session 2010-11-17 07:56:40 +00:00
Petr Skoda 516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Sam Marshall 3a7507d081 chat, workshop MDL-24736 'require view' completion missing from these modules 2010-10-18 14:20:44 +00:00
Dongsheng Cai 0cc5b5a34c MDL-24367, fixed 'Show only new' feature in basic chat ui 2010-09-24 06:10:53 +00:00
Dongsheng Cai 708c2e041a CHAT, MDL-23374, fixed studentlogs option 2010-07-28 04:12:16 +00:00
Dongsheng Cai af140288c4 MDL-8224, minor changes to tweak ui 2010-05-20 06:26:40 +00:00
Dongsheng Cai a2bd5aba3d MDL-22297, use bigger version number to bump 1.9 upgrade 2010-05-04 05:09:30 +00:00
Petr Skoda 9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda 4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +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
Sam Hemelryk 92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Sam Marshall f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +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
samhemelryk d32229555f chat MDL-19804 Upgraded deprecated calls 2009-10-16 03:19:32 +00:00
dongsheng 75d07096d3 "MDL-14651, improved chat module interface" 2009-10-08 06:37:00 +00:00
samhemelryk 296b589efd mod-chat MDL-19804 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 04:08:56 +00:00
nicolasconnault 2edd2d9bf1 MDL-19804 Upgraded calls to link_to_popup_window() 2009-08-20 13:15:57 +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
dongsheng e8041d2c0d "MDL-14651, update chat module to work in new API" 2009-08-15 11:20:35 +00:00
nicolasconnault c15fa88fb8 MDL-19804 Converted print_box* to $OUTPUT->box* 2009-08-10 04:58:40 +00:00
nicolasconnault d8772689b2 MDL-19804 Converted all print_footer() calls 2009-08-06 14:15:30 +00:00
nicolasconnault b2dc6880e4 MDL-19806 Migrated calls to print_heading 2009-08-06 08:21:01 +00:00
tjhunt d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt c85acc871f pagelib: MDL-12212 eliminate chat_page 2009-05-06 09:25:54 +00:00
tjhunt 93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
skodak 9b010a102e MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:33:08 +00:00
skodak 65e7c870c1 MDL-18910 normalised module intro and introformat 2009-04-20 18:39:24 +00:00
dongsheng c19df282a6 "CHAT/MDL-14949, remove mod/chat:talk capability and check chat and readlog capabilities respectively, merged and modified from 1.9" 2009-03-11 02:34:20 +00:00
skodak 93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +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 3698966986 CHAT_MOD/MDL-14651, disable ajax UI by default" view.php 2008-11-19 06:32:49 +00:00
dongsheng 547ac6644d CHAT_MOD/MDL-14651, clean up update.php script. 2008-11-19 06:29:27 +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
dongsheng 8eed94e2f0 "MDL-11371, The View past chat sessions should not appear if there haven't been any." 2008-10-15 09:03:30 +00:00