defacer [Mon, 23 Aug 2004 12:16:29 +0000 (12:16 +0000)]
There's a "parse error" report (http://moodle.org/mod/forum/discuss.php?d=11423)
which I cannot reproduce in a flash, but maybe this should fix it? I just added
some semicolons after the echoes and before the PHP closing tag.
defacer [Mon, 23 Aug 2004 08:48:57 +0000 (08:48 +0000)]
Making chatd more eager to update the users' status, and lib.php slightly
less eager to declare them dead. Should solve the "active users are not shown
at the chat index page" problem.
defacer [Mon, 23 Aug 2004 08:34:51 +0000 (08:34 +0000)]
Attention to detail: this prevents generating a warning if $focus is not set.
Of course, the warning is hidden inside JS and thus invisible to the naked eye.
defacer [Sun, 22 Aug 2004 17:19:24 +0000 (17:19 +0000)]
Fix for bug 1494:
Calendar events in day view now show their start and end times. The only thing
I 'm not satisfied with is that they also show the full start and end dates,
even if it's not really needed (e.g. for a 15:00 -> 17:00 event). Still, it's
loads better than only showing the start time.
defacer [Sun, 22 Aug 2004 16:54:48 +0000 (16:54 +0000)]
Fix for bug 1662:
Changed the way applicable formats for blocks are handled. The changes are
short codewise, but to grasp all the implications read the forum discussion
at the relevant URL.
moodler [Sun, 22 Aug 2004 16:41:54 +0000 (16:41 +0000)]
Database now stores userid, and page info is now more Moodley
(plus it doesn't show IP information to everyone!)
All old authors are not currently displayed (I chose not to)
This is easy to fix if people want it, since the old author
string is still there in the database.
gustav_delius [Sun, 22 Aug 2004 14:38:47 +0000 (14:38 +0000)]
All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.
On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
moodler [Sat, 21 Aug 2004 17:15:07 +0000 (17:15 +0000)]
Here finally is an admin interface for controlling the new enrolment plugins.
It's not at all well-tested yet (I made a lot of changes to it just tonight)
but it's late and I am literally sick (with flu) and tired so I'm checking
this in and going to bed.
defacer [Sat, 21 Aug 2004 13:28:46 +0000 (13:28 +0000)]
julmis' last commit contained garbage from a CVS merge conflict he obviously had,
so I 'm removing them. Good thing they weren't mixed with deliberate changes!
gustav_delius [Sat, 21 Aug 2004 12:41:40 +0000 (12:41 +0000)]
Some changes to user database functions:
1) get_course_students, get_course_users and count_course_students when called with course=site will now use get_site_users instead of get_users. This I believe was the consensus reached in the discussions of how front-page activities should behave.
2) all functions can handle a list of exceptions now.
3) get_site_users now returns users in the order admins, teachers, students. Similarly for get_course_users. This makes the sorting bug 1727 a bit more bearable
4) new function search_users
The whole thing is really a mess because each function has slightly different conventions for its arguments. But the beta is too close to tidy this up now.