24 Commits

Author SHA1 Message Date
moodler
99674db811 If $CFG->loglifetime is active then use it make the log graphing nicer.
bug 1120
2004-03-10 11:29:35 +00:00
moodler
7ec60e4e7e Use fullname() function for names 2003-11-28 10:33:54 +00:00
moodler
3f125001bc New feature: Allow students to see their own activity reports.
This is a course setting.  By default it is off.  When on, there
is a new link in the course admin menu for students, and they can
browse the same report that teachers see.

The report icon is temporary.
2003-10-31 05:57:30 +00:00
moodler
016f1bebbf Removed unnecessary code (maxlogs) 2003-10-21 03:58:08 +00:00
moodler
17a23873da Fixed uniitialised variable 2003-08-29 01:03:51 +00:00
moodler
da0c90c313 Fixed user graphs for site-level, all logs 2003-07-25 13:23:28 +00:00
moodler
7e4a64888b When displaying a user's logs for the current day, make the graph
display ALL courses (ie to match the logs printed below).
2003-07-24 01:54:06 +00:00
moodler
3d89198946 Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)

Added some efficiency when printing recent activity

 - don't print more than one weeks worth of updates
  - don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
c351cf2799 For long courses reduce the text printed on x axis 2002-11-21 16:19:19 +00:00
moodler
d751ddcb5d Reduce errorlevel reporting 2002-11-21 16:07:58 +00:00
moodler
3b9a79f977 Fixes to allow graphs to be translated 2002-11-21 14:57:10 +00:00
moodler
62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
martin
42389890d5 More efficient use of database in userday as well, plus the day graph now
always shows the whole current day
2002-09-02 16:35:41 +00:00
martin
f08cc8bbfe usercourse bar --> line graph for better display when lots of data 2002-09-02 16:03:33 +00:00
martin
e45e8d26da Alternate method of calculating usercourse logs .... is it faster? 2002-09-02 15:53:19 +00:00
martin
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin
adecd142a3 Tweaks and cleanups 2002-08-08 17:29:22 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
58918d13db Slight fix for daily x-axis (nicer-looking numbers) 2002-07-29 01:38:31 +00:00
martin
394933864c Fixed up the graphs (one for userday and they are also now correct for timezones) 2002-07-27 13:33:50 +00:00
martin
2b8cef8038 Changes to improve the user activity reports 2002-07-27 09:44:01 +00:00
martin
c24d3070cc Improvements to user activity report - including graphs 2002-07-27 08:31:09 +00:00