Commit graph

170 commits

Author SHA1 Message Date
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
Andrew Nicols
ea3a71faf7 MDL-49294 logging: Improve cleanup tests 2015-03-31 14:11:25 +08:00
Tony Levi
3e45fb4151 MDL-49294 logging: Cleanup runs in smaller chunks
Just running a huge log cleanup will probably cause big problems on large sites.
So we break this down into smaller day-by-day chunks until reaching the target.
2015-03-26 12:00:06 +10:30
David Monllao
5803e36cc5 MDL-48595 logstore_standard: Fixing unit tests comparing performance
Adding also an extra userid checking as databases
may include userid = 0 records.
2015-03-12 14:17:29 +08:00
David Monllao
59aebbed70 MDL-48595 logstore: Replacing references to deprecated interfaces 2015-03-09 08:25:37 +08: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
Dan Poltawski
c81689fa75 Merge branch 'MDL-48729_legacy_log_error' of https://github.com/andyjdavis/moodle 2015-01-15 08:32:43 +00:00
Andrew Davis
7df0d6a78b MDL-48729 logs: prevent fatal error is legacy log data retrieval fails 2015-01-07 09:59:53 +01: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
Tyler Bannister
b175341ed5 MDL-34867 report_log: Improved download speed and memory usage. 2014-11-28 09:06:16 -05: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
Rajneel Totaram
8fb7520095 MDL-45967 admin lang: Fix typo 2014-06-16 17:26:34 +08:00
Eloy Lafuente (stronk7)
f94891cc00 MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
Juan Leyva
a4496bdde9 MDL-36670 logging: action parameter length restricted to 40 chars 2014-05-13 16:05:39 +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
Mark Nelson
e692f58558 MDL-43557 events: removed underscores from event string keys
AMOS START
 MOV [event_legacy_logged, logstore_legacy],[eventlegacylogged,logstore_legacy]
 MOV [event_cohort_created,cohort],[eventcohortcreated,cohort]
 MOV [event_cohort_deleted,cohort],[eventcohortdeleted,cohort]
 MOV [event_cohort_member_added,cohort],[eventcohortmemberadded,cohort]
 MOV [event_cohort_member_removed,cohort],[eventcohortmemberremoved,cohort]
 MOV [event_cohort_updated,cohort],[eventcohortupdated,cohort]
 MOV [event_group_created,group],[eventgroupcreated,group]
 MOV [event_group_deleted,group],[eventgroupdeleted,group]
 MOV [event_group_member_added,group],[eventgroupmemberadded,group]
 MOV [event_group_member_removed,group],[eventgroupmemberremoved,group]
 MOV [event_group_updated,group],[eventgroupupdated,group]
 MOV [event_grouping_created,group],[eventgroupingcreated,group]
 MOV [event_grouping_deleted,group],[eventgroupingdeleted,group]
 MOV [event_grouping_updated,group],[eventgroupingupdated,group]
 MOV [event_webservice_function_called,webservice],[eventwebservicefunctioncalled,webservice]
 MOV [event_webservice_login_failed,webservice],[eventwebserviceloginfailed,webservice]
 MOV [event_webservice_service_created,webservice],[eventwebserviceservicecreated,webservice]
 MOV [event_webservice_service_deleted,webservice],[eventwebserviceservicedeleted,webservice]
 MOV [event_webservice_service_updated,webservice],[eventwebserviceserviceupdated,webservice]
 MOV [event_webservice_service_user_added,webservice],[eventwebserviceserviceuseradded,webservice]
 MOV [event_webservice_service_user_removed,webservice],[eventwebserviceserviceuserremoved,webservice]
 MOV [event_webservice_token_created,webservice],[eventwebservicetokencreated,webservice]
 MOV [event_webservice_token_sent,webservice],[eventwebservicetokensent,webservice]
 MOV [event_user_loggedin,auth],[eventuserloggedin,auth]
 MOV [event_assessable_uploaded,assignsubmission_file],[eventassessableuploaded,assignsubmission_file]
 MOV [event_assessable_uploaded,assignsubmission_onlinetext],[eventassessableuploaded,assignsubmission_onlinetext]
 MOV [event_chapter_created,mod_book],[eventchaptercreated,mod_book]
 MOV [event_chapter_deleted,mod_book],[eventchapterdeleted,mod_book]
 MOV [event_chapter_updated,mod_book],[eventchapterupdated,mod_book]
 MOV [event_chapter_viewed,mod_book],[eventchapterviewed,mod_book]
 MOV [event_book_exported,booktool_exportimscp],[eventbookexported,booktool_exportimscp]
 MOV [event_book_printed,booktool_print],[eventbookprinted,booktool_print]
 MOV [event_chapter_printed,booktool_print],[eventchapterprinted,booktool_print]
 MOV [event_message_sent,mod_chat],[eventmessagesent,mod_chat]
 MOV [event_sessions_viewed,mod_chat],[eventsessionsviewed,mod_chat]
 MOV [event_answer_created,mod_choice],[eventanswercreated,mod_choice]
 MOV [event_answer_updated,mod_choice],[eventanswerupdated,mod_choice]
 MOV [event_report_viewed,mod_choice],[eventreportviewed,mod_choice]
 MOV [event_assessable_uploaded,mod_forum],[eventassessableuploaded,mod_forum]
 MOV [event_assessable_uploaded,mod_workshop],[eventassessableuploaded,mod_workshop]
AMOS END
2014-04-29 19:15:47 -07:00
Petr Skoda
b33da4bfe3 MDL-45250 add debugging message to deprecated add_to_log() 2014-04-25 15:29:58 +08: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
Simey Lameze
da223c11a5 MDL-44990 logging: Capabilites removed from legacy and standard log. 2014-04-17 15:50:59 +08:00
Sam Hemelryk
d4449f2f17 Merge branch 'wip-MDL-44998-master' of git://github.com/marinaglancy/moodle 2014-04-16 09:46:54 +12:00
Marina Glancy
c733401634 Merge branch 'MDL-45035-master' of git://github.com/ankitagarwal/moodle 2014-04-15 14:34:36 +08:00
Marina Glancy
72aeb83a74 MDL-44998 log_standard: review indexes 2014-04-15 12:25:48 +08:00
Petr Škoda
5d2abe72a2 MDL-44910 enable new logging during upgrade and installation
The legacy logging is now enabled for reading only
if legacy log data older than one day exists.
2014-04-14 09:43:40 +08:00
Ankit Agarwal
3610ad436c MDL-45035 events: Fix @package and @since tags in Moodle 2.7 events 2014-04-11 13:45:33 +08:00
Petr Škoda
c7e5683a7e MDL-44824 add missing subplugin type names 2014-03-27 11:59:26 +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
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
Marina Glancy
dd043de942 Merge branch 'w13_MDL-44106_m27_requestorig' of git://github.com/skodak/moodle 2014-03-25 14:15:19 +08:00
Marina Glancy
d11302b646 Merge branch 'wip-mdl-43681' of git://github.com/rajeshtaneja/moodle 2014-03-24 17:27:41 +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
454c7b5d39 MDL-44661 fix legacy log reader to ignore new anonymous field 2014-03-24 14:57:21 +08:00
Petr Škoda
bc29320285 MDL-44661 implement event->anonymous property 2014-03-20 17:33:35 +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
Marina Glancy
efd727063f Merge branch 'MDL-42892-master_42890' of git://github.com/ankitagarwal/moodle 2014-03-18 18:00:42 +08:00
Ankit Agarwal
e1b2a0b4ef MDL-42892 logging: Refactor logstore_legacy to group all legacy related changes together 2014-03-18 17:50:48 +08:00
Ankit Agarwal
536c0865ef MDL-42892 logging: Remove usage of logtable from can_delete_course 2014-03-18 17:35:59 +08:00
Ankit Agarwal
2523979821 MDL-42890 backup: Remove usage of log table in backup cron helper 2014-03-14 12:07:17 +08:00
Ankit Agarwal
dc06500559 MDL-42890 tool_log Default legacy reader should handle CRUD queries 2014-03-14 12:07:17 +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
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
Petr Škoda
43d91d7665 MDL-42891 fix $interface parameter in dummy log manager and add unit tests 2014-02-28 14:52:30 +08:00