Commit Graph

27 Commits

Author SHA1 Message Date
Adrian Greeve 720d5b3b85 MDL-62616 tool_log: Add a setting to disable exporting logs. 2018-07-04 09:58:49 +08:00
Andrew Nicols b3359e2a3b MDL-62135 tool_log: Use plugintype_class_callback 2018-05-02 17:47:35 +08:00
Frédéric Massart 2bc753db41 MDL-62135 tool_log: Implement privacy API 2018-05-02 17:15:47 +08:00
Damyon Wiese 663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Mark Nelson 806905b59b MDL-49291 core: final deprecation of sql_*_reader interfaces 2016-01-18 14:24:34 +08:00
David Monllao 5c73688b4a MDL-50408 tool_log: Extra deprecation tip
Adding a debugging message and returning alternative data to keep backwards
compatibility as get_readers is a widely used function.
2015-06-08 15:56:23 +08:00
Mark Nielsen 7cd112dfd5 MDL-48644 backup tool_log: Fixing coding style
Wrap long function definition
to next line.
2014-12-29 10:55:09 -08:00
Mark Nielsen 362bc07063 MDL-48644 backup: Preserve log IP and time during restore 2014-12-18 11:30:28 -08:00
Petr Skoda 2e00d01db4 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:00 +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