147 Commits

Author SHA1 Message Date
Eric Merrill
9e830efe9d MDL-70409 chat: Use require_once to import lib.php 2020-12-04 10:44:12 -05:00
Damyon Wiese
efe2681894 MDL-57772 chat: BEEP is back baby! 2017-11-07 11:25:02 +08:00
Eloy Lafuente (stronk7)
eb3b4893b5 Merge branch 'MDL-55114-master' of git://github.com/andrewnicols/moodle 2016-07-05 12:44:52 +02:00
Andrew Nicols
e1ca4da750 MDL-55114 chat: Remove commented-out variables 2016-07-04 15:29:04 +08:00
Marina Glancy
d74d4f4aab MDL-54953 mod_chat: remove Safari hack
This hack was introduced in MDL-16878 and is not needed in modern Safari versions
but it was reported that it can breaks chat in IE
2016-06-22 12:21:40 +08:00
shashirepo
ce72c045e6 MDL-46477 chat:hard coded string in mod/chat 2014-08-21 17:29:45 +05:30
Andrew Davis
c52b4db52d MDL-46465 mod_chat: assorted coding style fixes 2014-07-28 10:01:41 +08:00
sam marshall
3ef7279f26 MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
Exceptions (places where set_time_limit is still left) are:

Third-party libraries:
  ADODB
  PHPMailer

Moodle core:
  PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Jerome Mouneyrac
6bdb788679 MDL-24380 Chat: autoscroll help popup incorrect and doesn't display fully 2013-10-22 12:35:23 +02:00
Petr Škoda
92911ef1b8 MDL-41999 fix setting of USER in chat 2013-10-01 09:23:42 +02:00
Sam Hemelryk
c99fcebded Merge branch 'MDL-40048-master' of git://github.com/FMCorz/moodle 2013-09-24 08:51:41 +12:00
Frederic Massart
f49d814abc MDL-40048 mod_chat: Replacing add_to_log with new events
For this to be done properly, a new function to send the message
and trigger the event has been created. Following that a
data generator for chat, and some unit tests.
2013-09-23 11:41:33 +08:00
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Andrew Davis
dc514c1a0b MDL-35385 mod_chat: made sure no message popups display within the chat window 2013-04-30 09:01:00 +08:00
Dan Poltawski
e5e5097081 NOBUG - reduce whitespace errors a little 2013-04-15 13:29:14 +01:00
Rossiani Wijaya
da248cbb71 MDL-34562 accessibility compliance for chat module: Add <label> for input text and select tag 2012-08-06 16:17:29 +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
Petr Skoda
cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Sam Hemelryk
eb38d45b4e MDL-29189 course Minor fixups after code review 2011-09-13 11:17:18 +12: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
Charles Fulton
9250bf8172 MDL-26238 remove deprecated second parameter from groups_get_group() calls 2011-02-06 18:15:36 +01:00
Petr Skoda
cbad562eee MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00: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
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Dongsheng Cai
ecdd4ca147 CHAT MDL-24269, added missing refreshurl 2010-09-20 03:33:48 +00:00
Petr Skoda
38e2712ff7 fixed invalid js init call 2010-09-18 12:14:20 +00:00
Petr Skoda
b21f73c254 fixed unterminated JS statement 2010-09-18 12:10:32 +00:00
David Mudrak
1752d56ffd MDL-21695 Chat module now uses new help strings
AMOS BEGIN
 HLP chat/chatting.html,[usingchat_help,mod_chat]
AMOS END
2010-04-30 10:22:33 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk
1fe3281dce mod-chat MDL-19804 Converted a couple of require calls to require_once calls 2010-03-23 08:44:04 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Petr Skoda
0475b6c74d MDL-21534 refactorign one giant class that handles three different pages with the same methods + removing problematic YUI.add() + some subplugin notes 2010-02-15 19:23:17 +00:00
Petr Skoda
0a0a507c95 MDL-21535 hidden activities now handled in require_login(), removing duplicate code 2010-02-15 16:12:53 +00:00
Sam Hemelryk
c5f1fdb451 mod-chat MDL-21534 Added documentation, revised namespace, fixed non-namespaced function call. 2010-02-15 06:08:41 +00:00
Sam Hemelryk
579a4976cc mod-chat MDL-21534 Converted JS to YUI3 and new coding style also fixed several regressions. 2010-02-15 05:56:36 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda
60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda
ea4666e71d MDL-21400 removing inhead - not tested 2010-02-06 13:00:51 +00:00
Petr Skoda
c17f05fb2f MDL-21403 getting rid of all asaps 2010-01-26 09:58:19 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +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
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +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
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +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
eb588b22ab mod-chat MDL-19804 Added PAGE->set_url calls and removed deprecated functions 2009-09-23 07:08:43 +00:00