139 Commits

Author SHA1 Message Date
Tyler Bannister
b175341ed5 MDL-34867 report_log: Improved download speed and memory usage. 2014-11-28 09:06:16 -05:00
Rajesh Taneja
e1d138a74f MDL-46865 report_log: Fixed site name in behat step 2014-11-19 10:17:32 +08:00
Rajesh Taneja
bd2183cd16 MDL-46865 report_log: Fixed showuser and showcourse in report log 2014-11-13 15:19:24 +08: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
Rex Lorenzo
7cd004e285 MDL-47518 report_log: Logfiles of single users no longer accessible
* Removing join on courseid if it is the SITEID.
2014-10-02 16:33:52 -07:00
Sam Hemelryk
ebdcb2924c MDL-41663 output: fix for methods with _renderable suffix 2014-07-02 14:59:31 +12:00
David Monllao
fb9a2cddfb MDL-46118 report_log: No results limit when downloading 2014-06-27 11:35:12 +08:00
Andreas Grabs
ec4e78a80f MDL-45978 logging - added missing parameter id 2014-06-17 07:05:05 +02:00
Andrew Nicols
2ee1ad4462 MDL-45560 report_log: Close sessions before download only
If the session is closed too early, then preferences made in the body of
the page will not be saved to the session.
2014-05-29 00:58:48 +08: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
e687396a1e MDL-45319 events: trivial changes 2014-05-07 16:28:59 +08:00
Eric Merrill
391101008a MDL-45439 reports Don't send contextlevel to legacy logging.
It doesn't support the column.
2014-05-07 11:10:19 +08:00
Andrew Nicols
02915dfc23 MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
Marina Glancy
64db8b7bcf Merge branch 'MDL-45343-master' of git://github.com/ankitagarwal/moodle 2014-05-01 11:47:40 +08:00
Ankit Agarwal
c906551fc6 MDL-45343 report_log: Fix missing enddate clause when using date filter 2014-04-30 16:52:29 +08:00
Mark Nelson
02a5a4b2ff MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
Eloy Lafuente (stronk7)
6b139edaf9 MDL-45171 log reports: fix sql for cross support
Rules for cross-db support are:

- Always use the 'AS' keyword for columns.
- Never use the 'AS' keyword for tables/views.
2014-04-18 17:34:06 +02:00
Marina Glancy
43a7ac723d MDL-45087 report_log: do not show anonymous actions, use indexes 2014-04-17 11:40:50 +08:00
Rajesh Taneja
9ddb683a59 MDL-45073 report_log: Fixed behat 2014-04-15 17:16:43 +08:00
Rajesh Taneja
7ca6a3fa4e MDL-45073 report_log: setup table if log reader enabled 2014-04-15 15:47:51 +08:00
Marina Glancy
c733401634 Merge branch 'MDL-45035-master' of git://github.com/ankitagarwal/moodle 2014-04-15 14:34:36 +08:00
Damyon Wiese
12f8adbd25 Merge branch 'wip-mdl-44910' of https://github.com/rajeshtaneja/moodle 2014-04-15 13:16:15 +08:00
Dan Poltawski
57506eb548 Merge branch 'wip-mdl-45073' of https://github.com/rajeshtaneja/moodle 2014-04-15 11:57:51 +08:00
Rajesh Taneja
cf247acf10 MDL-44910 behat: Fixed log and livelog behat
As default log store is changed to standard, test should
now take care of it
2014-04-15 10:56:41 +08:00
Rajesh Taneja
cfb804d8cd MDL-45073 report_log: Fixed activity report
1. Wrong reader class check and api
2. Passing logreader parameter for graph
3. Using proper time from for all log and today's log
2014-04-14 12:40: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
Ankit Agarwal
1ac341e23f MDL-43682 log: Fix issues with log report
Following fixes have been made:-
Porfile links where generating errors when there was no courseid present. Fixed the same.
get_readers() method was accessing an undefined property.
popups were used for action and ip address before the whole rewrite, we should maintain the same behaviour.
Fixed string issues.
Pass context to format_string method
2014-04-07 16:58:44 +08:00
Ankit Agarwal
b63f773296 MDL-44717 events: Fix multiple issues in events
Fix various incorrect urls
Fix incorrect phpdocs and other minor code style issues
Fix missing/incorrect strings

AMOS BEGIN
 MOV [eventblogassociationcreated, core_blog],[eventblogassociationadded, core_blog]
AMOS END
2014-04-01 15:08:34 +08:00
Petr Škoda
578645aadf MDL-44715 use parent::validate_data() consistently in all events
Includes some minor PHPDocs typo fixes.
2014-03-28 14:09:31 +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
8ead8802fb MDL-44596 logging: Add callbacks to all reports that support log stores 2014-03-26 09:12:43 +08:00
Rajesh Taneja
c865dacccc MDL-43681 report_log: check related user before displaying
Related user id can be noreply user which is not in
database.
2014-03-25 16:50:13 +08:00
Rajesh Taneja
9c5d3f9553 MDl-43681 report_log: Added Behat test for report log 2014-03-24 17:26:42 +08:00
Rajesh Taneja
ac8976c8b5 MDL-43681 report_log: Modified log report to use log readers 2014-03-24 17:24:12 +08:00
Rajesh Taneja
2cd29dd6f1 MDL-44017 Events: Added unit test for report_viewed events 2014-03-07 15:16:10 +08:00
Rajesh Taneja
e1b16f9773 MDL-44017 Events: Deprecated content_viewed event
Replaced content_viewed event with appropriate events and deprecated
content_viewed event
2014-03-07 15:16:10 +08:00
Rajesh Taneja
184afb6b73 MDL-43238 events: Added event other information in event php doc block 2014-01-03 15:03:48 +08:00
Eloy Lafuente (stronk7)
f39c82ebed MDL-42701 Bump all versions near 2.6 release 2013-11-05 02:36:00 +01:00
Dan Poltawski
92dc72a6b5 Merge branch 'MDL-40515' of git://github.com/aolley/moodle 2013-11-04 12:10:39 +08:00
Petr Škoda
d5814f4e22 MDL-41811 simplify the admin tree detection logic and fix navigation in multiple areas 2013-10-21 14:17:55 +08:00
Adam Olley
7893297888 MDL-40515: report_log: List activities in optgroups
Prevents users from generating reports on invalid values

Change-Id: If358fa06c8dadd33bb2875ea54ab4bce97b16aff
2013-09-30 11:16:30 +09:30
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Ankit Agarwal
ac43f96306 MDL-40052 events: Code style fixes 2013-08-27 15:26:38 +08:00
Ankit Agarwal
b9e1f0997c MDL-40052 events: Add get_url() api to various report content_viewed classes 2013-08-27 15:26:38 +08:00
Ankit Agarwal
bb0038074e MDL-40052 events: Add content view events for reports
Includes:
* Add content view events for report_log
* Add content view events for report_loglive
* Add content view events for report_outline
* Add content view events for report_participation
* Add content view events for report_stats
2013-08-27 15:25:43 +08:00
Damyon Wiese
74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Dan Poltawski
48638b915d Merge branch 'MDL-40323-master' of https://github.com/mackensen/moodle 2013-07-29 13:59:55 +08:00
Adrian Greeve
a327f25ef1 MDL-31776 - lib: Alternate name fields
Add support for additional name fields and flexible formating of
user names.
2013-07-09 11:45:50 +08:00