skodak
22a987837c
MDL-17463 - reparate capabilities for course and admin reports; backported from HEAD
2008-11-29 14:30:55 +00:00
stronk7
a9c060f742
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)
2008-10-13 23:21:58 +00:00
dongsheng
e10b05289e
"MDL-16844, making choose very old stats data possible"
2008-10-12 05:45:58 +00:00
stronk7
6daf124fcb
Fix CEIL() uses with helper function. MDL-15336
2008-06-28 18:31:01 +00:00
stronk7
0fea8c79f7
Fixed statistics generation under Oracle. MSSQL pending. MDL-13861
2008-06-22 23:37:12 +00:00
dongsheng
0148e8be18
"MDL-14460, fix all get_context_instance"
2008-05-01 06:02:27 +00:00
stronk7
fe9384833b
Replace low level $db->Concat() calls to Moodle sql_concat() cross-db alternative. MDL-13823
2008-04-20 22:13:44 +00:00
skodak
1a19384b18
MDL-8474 stats upgrade now uses editing teachers only
2008-04-20 19:54:28 +00:00
skodak
c78e0578f7
MDL-14021 replaced sloppy JOIN ON TRUE with CROSS JOINs - ora or ms does not like it
2008-03-22 20:21:25 +00:00
skodak
9e8a2d77ef
MDL-13939 stats produce bogus role/course data if user has several different enrolments
2008-03-16 01:23:35 +00:00
skodak
578629dabe
MDL-13626 fixed mssql compatibility issue in stats upgrade
2008-02-25 21:54:54 +00:00
skodak
11274206e0
MDL-13520, MDL-13604, MDL-13620 stats - better simplified parent context join, administrator now counted too, optimised processing when no day logs present
2008-02-23 22:54:30 +00:00
skodak
80eb2b104b
MDL-13532 removed incorrect coalesce+count combination
2008-02-23 11:54:34 +00:00
skodak
1b268daa33
MDL-13192 major stats cleanup patch - see tracker for more details
2008-02-16 18:32:23 +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
mjollnir_
96edb010da
more work on stats reports ...
2006-09-24 07:13:33 +00:00
mjollnir_
11887b6d5e
more fixing on reports
2006-09-24 03:15:52 +00:00
mjollnir_
67f3be726e
fixes to the stats processing. Credit: Geoff Cant <geoff@catalyst.net.nz> (sql ninja)
2006-09-23 12:42:35 +00:00
mjollnir_
0dd5bf422b
more work on stats - reports this time
2006-09-23 12:08:46 +00:00
mjollnir_
09cf1c9b55
follow correct naming convention when fetching legacy teacher role
2006-09-23 09:47:11 +00:00
mjollnir_
88d7e6218e
fixing typo in stats upgrade I just made
2006-09-23 09:02:37 +00:00
mjollnir_
0f259f63d9
lots of fixes to stats, more to come
2006-09-23 08:52:12 +00:00
mjollnir_
0e3404aabd
fixing stats_get_course_users. my brain hurts
2006-09-22 11:34:25 +00:00
mjollnir_
f5aa20162c
added missing indexes in stats upgrade, fixed discrepency between stattype enrolment or enrolments
2006-09-22 10:43:04 +00:00
mjollnir_
1282edc826
fixing up the stats table enums
2006-09-22 10:18:33 +00:00
moodler
aad2ba95d1
Upgrading table to rename the context->aggregatelevel field which was
...
really bugging me. Code should be a little bit more readable now.
Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
mjollnir_
29bbc6e730
As well as a credit to Nigel for the stats schema upgrade and data migration, the previous commit here should have had a HUGE credit to Geoff Cant <geoff@catalyst.net.nz> for NINJA SQL
2006-09-22 03:15:52 +00:00
mjollnir_
e5d83d6fc1
stats rework: 1. upgrade schema and move data to new schema. (credit: Nigel McNie <nigel@catalyst.net.nz>). 2. Stats processing uses new schema. THIS NEEDS TESTING ON MYSQL. Still to do: schema files (install.xml,*.sql still to be committed), reports to use new schema.
2006-09-22 02:54:21 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
moodler
cfef9e55d0
Endless loop fix from stable
2006-08-14 15:20:49 +00:00
skodak
13d32e2297
Bug #5974 - Course overview report should not error when stats are not up to date; fixed by changing the return value from stats_check_uptodate(), NULL is now OK, string value describes error and adding notify() where needed; merged from MOODLE_16_STABLE
2006-07-03 15:43:41 +00:00
skodak
b56e8cfdfc
Bug #4647 - Undefined property in lib/statslib.php; merged from MOODLE_16_STABLE
2006-05-26 09:01:37 +00:00
toyomoyo
addcde11c8
merged changes from renaming reads/writes to statsreads/statswties - mysql5 reserved words
2006-05-25 02:53:00 +00:00
tjhunt
450a0a7db7
Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs.
2006-05-17 16:47:44 +00:00
skodak
3f73372fe5
fixed warning when no stats data yet
2006-04-26 21:13:45 +00:00
skodak
d850b4e621
typo in switch
2006-04-22 13:38:24 +00:00
mjollnir_
9ec656750e
More time fixes for stats - under certain dst situations there could have been an infinite loop. Please someone who is clever about timezones & dst review this
2006-03-24 20:43:38 +00:00