Jun Pataleta
0801d7dc95
MDL-58651 logstore_database: Set dbhandlesoptions in test page
2017-07-05 23:04:37 +08:00
Adam Olley
57cb067173
MDL-58651 logstore_database: Add ability to not send database options
...
In the core dml:
PostgreSQL connections now use advanced options to reduce connection overhead.
These options are not compatible with some connection poolers. The
dbhandlesoptions parameter has been added to allow the database to configure
the required defaults.
This item adds a setting to the logstore_database plugin to let you set the
same flag for your destination database - without it you won't be able to ship
logs to a postgresql database with a pgbouncer frontend.
2017-06-28 13:20:09 +09:30
Eloy Lafuente (stronk7)
906b385784
MDL-58933 upgrade: add 3.3.0 separation line to all upgrade scripts
2017-05-19 19:23:55 +02:00
Eloy Lafuente (stronk7)
d989ee1e03
MDL-58853 versions: bump all versions and requires near release
...
version = 2017051500 release version
requires= 2017050500 current rc1 version
2017-05-09 02:58:28 +02:00
Eloy Lafuente (stronk7)
75c57a08fb
MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts
2016-12-05 17:10:20 +01:00
Eloy Lafuente (stronk7)
04649747a4
MDL-57197 versions: bump all versions and requires near release
...
version = 2016120500 release version
requires= 2016112900 current rc4 version
2016-11-29 22:57:05 +01:00
Eloy Lafuente (stronk7)
4da854a68b
MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts
2016-05-23 01:31:34 +02:00
Eloy Lafuente (stronk7)
1abca11e0a
MDL-54638 versions: bump all versions and requires near release
...
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Tim Hunt
4c8c69ea9f
MDL-53547 logstore_database: better DB driver handling in unit test
2016-03-22 06:42:49 +00:00
Eloy Lafuente (stronk7)
e8c82aac82
MDL-51580 upgrade: clean < 2.7.0 upgrade steps
...
This just deletes all the upgrade steps previous to 2.7.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.
Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2016-02-15 18:38:09 +01:00
Eloy Lafuente (stronk7)
6d29c4acdd
MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts
2015-11-17 17:08:56 +01:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Damyon Wiese
51311962c4
MDL-46455 backup: Keep external database logstore code self-contained.
...
General backup/restore does not need to handle external data sources natively - so
any changes needed to achieve this should be contained to the plugin that needs it.
2015-10-09 16:23:09 -07:00
Mark Nelson
bcfa51ca41
MDL-46455 logstore_database: added backup/restore support
2015-10-09 16:23:09 -07:00
Eloy Lafuente (stronk7)
b758ab3053
MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts
2015-05-12 00:21:05 +02:00
Eloy Lafuente (stronk7)
26ea380d24
MDL-50102 versions: bump all versions and requires near release
...
version = planned 2015051100 release version
requires= current 2015050500 rc1 version
Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
David Monllao
1cfce08e63
MDL-48595 logstore: Adding new interfaces
...
sql_reader and sql_internal_table_reader.
2015-03-09 08:25:37 +08:00
Eloy Lafuente (stronk7)
147bae8f7c
MDL-48144 upgrade: add v2.8.0 sep lines
2014-11-10 18:08:15 +01:00
Eloy Lafuente (stronk7)
de881693f7
MDL-48021 bump: Bump all versions to planned release
...
This bumps all versions to planned 2.8 release
(2014111000) version and all the dependencies to
current 2.8rc1 (2014110400)
2014-11-04 17:52:35 +01: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
Eloy Lafuente (stronk7)
f94891cc00
MDL-45503 upgrade: add v2.7.0 sep lines
2014-05-28 01:13:42 +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