is not pre-filled in the forms. This is a regression, no idea how and when
it happened. Investigating...
First of all let's get rid of this "HACK! Don't use!" function...
Users can now be assigned to multiple groups. Thanks Yu!
Break out the Bob Marley!!
Otherwise groups work more or less like they did before.
This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.
Please help test this thoroughly for 1.6!!
the point, it could be much tighter and easier to understand. So here's the
candidate replacement code plus some assertions, I intend to let it run for
some time and if no assertion errors come up (they shouldn't) do the replace.
This was almost my very first Moodle code. Isn't experience wonderful? ;-)
When adding recurring events, if the event title contained an apostrophe
then only the first event of the series would get created. Tricky bad
interaction with add_to_log, the reporter for this should get a prize. ;-)
Fix for bug 3364:
The Great Global $course Hack strikes again. I had to put in another instance
of the hack for course themes to work in the "calendar" part of the course.
Hopefully some day we 'll do all that "correctly"! (search for "hack" in
weblib and despair).
More correct handling of group events, we cannot simply omit them because
the course has "no groups" UNLESS groupmodeforce == 1 as well.
Sadly, this severely weakens the performace optimizations :(
See bug 3303 for an example of what the problem was before.
Creating course and group events now requires the same privileges as posting
in a forum. For course events (including site course, i.e. site events), any
teacher can create one.
For group events, the teacher must either have editing rights in the course
or be a member of the group the event is for.
1. Possible fix for bug 2410, also bug report at http://moodle.org/mod/forum/discuss.php?d=19173.
2. Group events may be edited by teachers without course editing rights.
3. Cosmetics for the DST display (this is a work in progress).