Mark Nielsen
a4bdf85e8a
MDL-48644 backup tool_log: Fixing coding style
...
Wrap long function definition
to next line.
2014-12-29 11:27:04 -08:00
Mark Nielsen
1463260443
MDL-48644 backup: Preserve log IP and time during restore
2014-12-18 11:38:22 -08:00
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
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
Simey Lameze
da223c11a5
MDL-44990 logging: Capabilites removed from legacy and standard log.
2014-04-17 15:50:59 +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
f0a0f3c2bd
MDL-44596 logging: Improve management interfaces for reports and stores
...
This patch methods to the manager that uses callbacks from reports to determine how reports and stores are compatible with each other. This information is then displayed in the management pages.
2014-03-26 09:12:42 +08:00
Petr Škoda
965a3c6621
MDL-44106 add origin info to $PAGE object and use it in logs
2014-03-20 17:28:32 +08:00
Petr Škoda
a9336f676c
MDL-44432 use new task scheduler in new logging plugins
2014-03-14 12:05:54 +08:00
Sam Hemelryk
e89fba41af
MDL-44496 fixed renamed method ref in comment
2014-03-11 11:54:52 +13:00
Petr Škoda
875f191963
MDL-44496 fix minor trait docs issue
...
The store trait is not necessary any more in bufferef_writer
because we define the required methods as abstract.
2014-03-07 11:06:17 +08:00
Petr Škoda
e23bd11010
MDL-44496 fix event buffering in log stores
2014-03-07 10:58:19 +08:00
Ankit Agarwal
e083efe0ac
MDL-42891 logging: Add support for getting readers that implement a specific interface in log manager
2014-02-28 14:52:29 +08:00
Ankit Agarwal
8bae0d0d80
MDL-43759 logging: Rename trait writer to buffered_writer
2014-02-28 14:52:29 +08:00
Petr Škoda
0852f9c625
MDL-41266 fix coding style issues
2014-02-28 14:52:27 +08:00
Petr Škoda
0d9d9efb65
MDL-41268 fix cron execution in new log manager
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
f7b2b1fb7a
MDL-43759 logging: Add helper traits for stores and add support for buffering
2014-02-28 14:52:25 +08:00
Petr Skoda
ecf9a0c5a6
MDL-41266 move reader access control out from manager
...
We need to let reports decide if they want to use capability to access readers.
2014-02-28 14:52:25 +08:00
Marina Glancy
53dd210aff
MDL-37658 logging: fixed bug in legacy logging
2014-02-28 14:52:24 +08:00
Petr Škoda
7eaca5a810
MDL-37658 add new logging API with basic implemenation
2014-02-28 14:52:24 +08:00