Petr Skoda
df9a669791
MDL-46099 session: fix use of references for session globals
...
This reverses the references used for global $USER and $SESSION,
the reason is that PHP does not allow references to references.
$USER is a reference to $GLOBALS['USER'] which means we cannot
put any references to it. Solution is to store the current user and session
objects in $GLOBALS['USER'] and $GLOBALS['SESSIOn'] are reference
them in $_SESSION.
This patch makes the session code behave the same way in CLI,
phpunit and normal web requests - this allows use to finally
unit test most aspects of the session code in Moodle.
2014-07-01 08:38:10 +12:00
Eloy Lafuente (stronk7)
7e78f9c4a5
MDL-45503 upgrade: add v2.7.0 sep lines
2014-05-28 01:16:36 +02:00
Eloy Lafuente (stronk7)
538bf99ece
MDL-45486 Bump all versions to planned release
...
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Petr Skoda
a8d7d6175a
MDL-45214 always try to use ID sort in get_events_select()
...
This should make PostgreSQL behave more like MySQL
and resolve the problem when events were appearing in different
order.
2014-04-23 15:29:35 +08:00
Ankit Agarwal
a3cfbccd49
MDL-44950 logstore_database: Make all settings positive for usability
2014-04-22 11:39:03 +08:00
Ankit Agarwal
16e59c6af8
MDL-44596 logging: Refecator code to use component_callback() and get_plugin_list_with_function()
2014-03-26 09:50:41 +08:00
Ankit Agarwal
96c8d59dea
MDL-44596 logging: Add some tests to log stores to test the new support methods
2014-03-26 09:12:43 +08:00
Rajesh Taneja
877d5a3218
MDL-43681 logging: Invalid events are not added to get_events_select
...
If event is not restored then don't add it to returned list of
events in get_events_select
2014-03-24 17:26:42 +08:00
Petr Škoda
a9336f676c
MDL-44432 use new task scheduler in new logging plugins
2014-03-14 12:05:54 +08:00
Petr Škoda
e23bd11010
MDL-44496 fix event buffering in log stores
2014-03-07 10:58:19 +08:00
Rajesh Taneja
24b293e45e
MDL-41266 Logging: Added choose option for external database store
2014-03-04 15:55:50 +08:00
Petr Škoda
993d8d838f
MDL-41266 improve naming of log reader interfaces
2014-02-28 14:52:30 +08:00
Ankit Agarwal
8bae0d0d80
MDL-43759 logging: Rename trait writer to buffered_writer
2014-02-28 14:52:29 +08:00
Michael de Raadt
ff2990ab9c
MDL-41266 improve log store strings
2014-02-28 14:52:29 +08:00
Petr Škoda
bdae738e38
MDL-41266 add new is_logging() method to log readers
...
This will be useful in live logs report where we want only readers that have latest data.
2014-02-28 14:52:28 +08:00
Petr Škoda
0852f9c625
MDL-41266 fix coding style issues
2014-02-28 14:52:27 +08:00
Petr Škoda
bdaf91fd13
MDL-43931 add logging unit tests
2014-02-28 14:52:27 +08:00
Ankit Agarwal
ed8f7c308b
MDL-39933 logging: Get external dabatabase working.
2014-02-28 14:52:27 +08:00
Petr Škoda
7eaca5a810
MDL-37658 add new logging API with basic implemenation
2014-02-28 14:52:24 +08:00