defacer
c5a4a13a24
Fix for bug 4203:
...
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. ;-)
2005-10-24 17:13:57 +00:00
defacer
44525c6591
Repeat events are now created correctly even if the DST change boundary
...
is crossed between repeats.
2005-08-23 20:06:08 +00:00
defacer
c0e170b2a7
My first commit since I don't remember when. Yay!
...
Bugfix:
Site events were being created for $course->id = 1 even when SITEID != 1.
2005-08-23 02:45:45 +00:00
defacer
73ee7658df
Allow <span> as well as <lang> in event titles; clean appropriately.
2005-07-08 03:20:54 +00:00
thepurpleblob
7f4d18fc7c
Replaced require_variable() and optional_variable() with required_param()
...
and optional_param(). Other tweaks to suit.
2005-06-15 14:58:17 +00:00
defacer
3525d91b46
Merging from STABLE:
...
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).
2005-05-30 13:35:36 +00:00
defacer
5a74ffd344
Merging from STABLE:
...
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.
2005-05-30 12:44:30 +00:00
defacer
3c47bfc752
The bug 2822 saga concludes.
...
This fix is visually appealing and consistent across all browsers.
IE I love you.
2005-05-17 17:00:20 +00:00
defacer
98cd789a4e
Editing repeating events in one go works as well. Enjoy!
2005-04-21 14:33:30 +00:00
defacer
e6fbb4d11a
You can now delete a repeating event series all at once.
2005-04-21 14:03:22 +00:00
defacer
8f71c6b20b
Fixing PHP 5 warning.
2005-04-21 13:44:50 +00:00
defacer
d3e27ac439
Adding repeatid to newly created repeat events.
2005-04-21 13:43:07 +00:00
defacer
bc5f95a433
Fixing a typo.
2005-04-20 21:09:26 +00:00
defacer
4eb1a1df3f
As per bug 2578:
...
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.
2005-04-20 21:07:55 +00:00
defacer
b53f385b2c
More cleanups, some useless code thrown out and simplified.
2005-04-12 00:12:05 +00:00
defacer
39f899cd1c
More required_param and optional_param goodness.
2005-04-12 00:05:06 +00:00
defacer
3b723f3b1d
Simplify the code, use optional_param, fixed one more instance of literal 1 = SITEID
2005-04-11 23:54:20 +00:00
stronk7
c767c146e2
Avoid some double-slashes sent to DB. It was breaking the multilang
...
filter in event logs.
2005-03-27 22:16:05 +00:00
stronk7
fb73f3b3b2
Now event->name supports multilang under filterall completely.
2005-03-27 16:41:04 +00:00
moodler
df349d1dda
Fixed up some styles (mostly headers)
2005-03-18 14:45:13 +00:00
moodler
84854c09c6
Removed some classes from being added explicitly
2005-02-25 06:20:19 +00:00
defacer
bb8392589b
Fix for bug 2578:
...
Editing teachers for the site can now add global events.
This was previously limited to admins only.
2005-02-18 01:37:56 +00:00
defacer
3a5d4d8525
There were other magic numbers that needed changing as well.
...
There's also a bug in there with DST and repeating events. No easy way
to fix it right now, but I documented it to squash later.
2005-02-17 15:06:01 +00:00
defacer
60979d31cd
Magic number 1 => SITEID
2005-02-17 14:59:53 +00:00
defacer
3c1348758d
Fixed styles and improved lots of things in calendar. It should work all
...
right and even be a bit cooler than it was before. :)
2005-02-11 15:52:59 +00:00
defacer
deaa884234
Full XHTML 1.0 compliance. I hope I didn't miss anything.
2004-09-09 10:41:23 +00:00
defacer
09d36284d1
Importing fixes from MOODLE_14_STABLE
2004-08-26 10:52:00 +00:00
defacer
76416b4bac
Small fix: removed one notice
2004-06-17 08:21:09 +00:00
moodler
fc6a0c9fff
Re-fixed bug 1488 hack
2004-06-04 07:21:15 +00:00
moodler
7613890851
BRANCH MERGE
...
These are the changes from MOODLE_13_STABLE, merged into trunk
The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point
The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
defacer
08cebf196e
Fix all requires() to use absolute paths (Sun boxes have problems with relative
...
paths, it seems). Also, login is required to view the calendar of any course
other than the site.
2004-06-02 08:13:26 +00:00
defacer
89adb17442
Merging the changes from 1.4 dev branch (site index blocks + various bugfixes)
2004-05-28 10:53:54 +00:00
defacer
0d5d9de2ba
Fixed a bug just introduced before in the event type selection screen.
2004-05-24 12:23:08 +00:00
defacer
eb15f829b6
The filters are back with a vengeance in event.php! Coupled with the breadcrumb
...
course mirroring, everything works like a charm now! :-)
2004-05-24 12:12:41 +00:00
defacer
fbb56b9db7
Fixed a bug where editing an event did display the "duration in minutes"
...
stuff, but totally ignored it when submitting changes. Also, fixed one
warning in the "minutes" field.
2004-05-24 10:49:01 +00:00
defacer
40448bc24d
Removed some notices with uninitialized variables when adding a new event.
2004-05-24 09:52:57 +00:00
moodler
27a353e6f9
Prevent blank entries
2004-05-22 05:13:08 +00:00
defacer
b1bcd540f0
Fix for bug 1323:
...
When the admin is logged in as a different user, user events are shown
correctly in the calendar.
Also, fixed a very-recently-introduced bug which appears to have escaped
notice so far.
2004-05-17 09:07:05 +00:00
defacer
b1295c5e21
Random refinements.
2004-05-17 08:54:23 +00:00
defacer
f36e581d60
Fix for bug 1330:
...
Now when creating a new event you only have to select a group. And you are
always limited to the current course and its groups.
2004-05-14 14:15:24 +00:00
defacer
e4bbaab3c3
Half the work done for bug 1330:
...
Now when creating events you don't select a course, the current course is
selected implicitly.
2004-05-14 13:49:42 +00:00
gustav_delius
f86aaab21c
It is possible to create weekly repeating events but it is not yet possible to edit or delete them together. Also it is now possible to specify the duration in minutes as an alternative to specifying the end time and date.
2004-05-06 16:30:12 +00:00
moodler
8a3cfc4d76
Quick fix for bug 1303 ... but I'll come back to this today
2004-05-04 01:58:20 +00:00
defacer
ef3b39b791
There are serious problems with event.php and mini-calendars, mainly because
...
we don't have much information about courses at that stage. Started to fix
things up, but there is still work to be done.
2004-04-28 10:20:30 +00:00
moodler
f7d617820c
Some changes to event editing. HTML editor now supported, plus some
...
other reformatting ... more to come. :o)
2004-04-27 17:01:48 +00:00
defacer
1f695119c5
Admins can now filter events by course and set events for groups and courses
...
regardless of whether they are course members.
2004-04-20 09:21:30 +00:00
defacer
556596510a
The check for setting event dates before the course start date was written
...
incorrectly. What was I thinking?
2004-04-01 10:59:46 +00:00
defacer
f80c8e0f52
Eloy's finding: The name and description fields were not initialized when
...
going into the "new event" form, so they printed warnings INSIDE the fields
with error_reporting(E_ALL). Added initialization as empty strings.
Now I 'm beginning to understand why Martin calls him "Eagle Eyes" :)
2004-04-01 09:08:23 +00:00
moodler
7423f11664
Checking in latest calendar code! Looking great, Jon!
2004-03-29 15:28:15 +00:00