90 Commits

Author SHA1 Message Date
Petr Skoda
ba50bd3d63 MDL-29030 fix remaining report linking hacks
Please note all plugin references from core should use callbacks, it is not ok to use capabilities or links to plugins because they may not be present in customised installs.
2011-11-06 12:22:50 +01:00
Adam Olley
9b01f68597 MDL-27009: Fix role group by statement for statistics 2011-05-30 09:05:53 +08:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Dan Poltawski
f9c2702ece statistics MDL-25822 Fix get_records_sql returning non-unique first column 2010-12-30 12:42:41 +00:00
Dan Poltawski
5b903967de statistics MDL-25822 multiple values in get_field_sql
A variety of get_field_sql calls returning multiple values, switched
to using MIN/MAX selects.
2010-12-30 10:30:07 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
f87cab2a0f cosmetic typo fix 2010-09-17 08:13:28 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda
a919ae896b MDL-22800 stats code using new enrol tables, I did not test it much because I do not have any test data :-( 2010-07-10 14:45:07 +00:00
Petr Skoda
8660ac6eca a few comment typos 2010-05-22 20:22:24 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Dongsheng Cai
553baa8f76 "MDL-20819, sometimes, modules return non-array which can break stats processing, added more error checking, merged from 1.9" 2009-12-04 03:06:03 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
samhemelryk
1a198dde7d core MDL-19791 Replaced deprecated functions, added set_url calls 2009-09-25 06:17:38 +00:00
samhemelryk
b37eac91cc lib MDL-19236 Added boilerplates and copyrights 2009-05-26 03:57:03 +00:00
danmarsden
b555127fc5 MDL-18517 Stats - Course Overview Weighted report returning incorrect information 2009-03-13 02:52:53 +00:00
skodak
a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +00:00
stronk7
790bb5a31b MDL-16709. Improve scheduling of stats. They only will run if:
- 20 hours has passes since last execution.
- We are in a 4 hours time window since last scheduled time.
Should work for 99.99% os sites (running cron in < 4h intervals)

Merged from 19_STABLE
2008-10-13 23:24:45 +00:00
dongsheng
17fdbcac4a "MDL-16844, making choose very old stats data possible, merged from 1.9" 2008-10-12 05:47:35 +00:00
stronk7
dfc05efe0d CEIL() uses fixed with new DML stuff. MDL-15336 2008-06-28 19:04:25 +00:00
stronk7
98c00d7530 Statistics generation fixed in HEAD (from 19_STABLE) ; MDL-13861 2008-06-26 22:18:56 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak
6c45af4f34 MDL-14679 towards stats conversion 2008-06-02 08:42:00 +00:00
skodak
d23a798ad4 MDL-14679 towards stats conversion 2008-06-02 08:41:36 +00:00
skodak
29f83769d1 MDL-14679 towards reports and stats conversion 2008-05-31 14:35:58 +00:00
skodak
9a915276fc MDL-14605 removed old stats upgrade code 2008-05-01 22:05:26 +00:00
dongsheng
12d0687748 "MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE" 2008-05-01 06:07:24 +00:00
stronk7
c4c1348c24 Replace low level $db->Concat() calls to Moodle sql_concat() cross-db alternative. MDL-13823 ; merged from 19_STABLE 2008-04-20 22:15:21 +00:00
skodak
e4703b032f MDL-8474 stats upgrade now uses editing teachers only; merged from MOODLE_19_STABLE 2008-04-20 19:55:15 +00:00
skodak
85db09fb81 MDL-14021 replaced sloppy JOIN ON TRUE with CROSS JOINs - ora or ms does not like it; backported from MOODLE_19_STABLE 2008-03-22 20:23:06 +00:00
skodak
ddb9c47252 MDL-13939 stats produce bogus role/course data if user has several different enrolments; ,erged from MOODLE_19_STABLE 2008-03-16 01:24:21 +00:00
skodak
2c20af9c75 MDL-13626 fixed mssql compatibility issue in stats upgrade; merged from MOODLE_19_STABLE 2008-02-25 21:55:43 +00:00
skodak
67ce5270fb MDL-13520, MDL-13604, MDL-13620 stats - better simplified parent context join, administrator now counted too, optimised processing when no day logs present; merged from MOODLE_19_STABLE 2008-02-23 22:55:15 +00:00
skodak
cdcd72838b MDL-13532 removed incorrect coalesce+count combination; merged from MOODLE_19_STABLE 2008-02-23 11:55:18 +00:00
skodak
61460dd631 MDL-13192 major stats cleanup patch - see tracker for more details; merged from MOODLE_19_STABLE 2008-02-16 18:33:50 +00:00
mjollnir_
bd903ae9de merged: fixing warnings in stats lib - rather than doing an include_once and noticing for every missing mod, check the file exists first from MOODLE_16_STABLE, and fixed up some weirdness in the reports 2007-04-11 23:53:15 +00:00
toyomoyo
d0c5373f16 merged changing require_once to include_once to tolerate faulty mods 2007-03-08 03:32:55 +00:00
martinlanghoff
0f467340a6 MDL-7385 - stats_cron_daily() - If a module is missing, continue processing 2007-02-28 03:03:42 +00:00
martinlanghoff
b0ae3878a4 Fixing MDL-6795 - Stats never runs. stats_monthly table gets very full - avoid double tz calculations in stats_getmidnight() 2007-02-28 02:50:51 +00:00
mjollnir_
e60129286a merged from MOODLE_17_STABLE: fixing MDL-8662 2007-02-26 00:18:19 +00:00
stronk7
bb48a53735 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:09:02 +00:00
stronk7
5fd4e46dbd Dropping some hardocded "mdl" prefixes. MDL-7202
Merged from MOODLE_17_STABLE
2006-10-24 18:29:34 +00:00
stronk7
37c47abaca Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173
Merged from MOODLE_17_STABLE
2006-10-23 16:03:52 +00:00
moodler
8ea7e7b0f7 Merged endless loop fix from stable 2006-10-03 01:46:16 +00:00
moodler
203abb60b4 FIxed use of reserved SQL words for MDL-6778 2006-10-02 06:52:21 +00:00
moodler
867f5adb73 Moved Penny's funky sql function into dmllib.php 2006-09-26 04:33:59 +00:00
mjollnir_
75673b93f8 fixing the participants report to work with roles 2006-09-26 01:23:57 +00:00
mjollnir_
af5d9f6a06 bugsquish! stats aggregates and weird missing dates bug 2006-09-25 04:50:17 +00:00
mjollnir_
931ab7be83 fixes to activity stats processing for dailies 2006-09-24 07:15:22 +00:00