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
mjollnir_
0d6b9d4f4d
MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in.
2005-08-16 00:25:39 +00:00
patrickslee
66590bd8a7
Removed/added/moved some redundant/missing/misplaced page headers/footers, merged from 15_STABLE
2005-08-03 01:24:29 +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
moodler
f2bffd9ed2
Merged fixes from stable
2005-05-26 12:54:56 +00:00
defacer
d3555a2ff5
A small bugfix/update to work with DST. Before, events starting between 00:00
...
and 00:59 in the first day of each month were not shown at all with DST on.
2005-05-23 13:53:06 +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
stronk7
ef9b35a01b
Tabs are out
2005-05-16 19:38:21 +00:00
defacer
fcb50b292d
Fix for bug 3113, some innocent notices.
2005-05-06 21:44:34 +00:00
defacer
6976250146
Performance boost for admins and editing teachers who teach several courses with NOGROUPS.
...
See bug 2804.
2005-04-30 22:26:17 +00:00
moodler
f54a86afd9
Removed cellspacing for IE
2005-04-21 17:53:36 +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
e93f551b3f
Removing leftovers from some debugging session.
2005-04-20 21:17:39 +00:00
defacer
95a1810ed9
Removing dead code.
2005-04-20 21:14:27 +00:00
defacer
edf205a609
Synchronising rights required for event editing with those required for adding events.
...
See previous commit in calendar/event.php.
2005-04-20 21:13:08 +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
257e3f4c61
Utilize $CFG->calendar_adminseesall and part of Penny's patches (for bug 2804)
...
to improve performance: if the admin wants to see all events, there's no need
to make even one query for course groupmode.
2005-04-12 01:09:31 +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
defacer
0ad072dea5
Simplify the code a bit and move the visible = 1 SQL check out of the main part of the WHERE
...
statement. This might be actually fixing an operator precedence logic bug.
2005-04-11 23:24:23 +00:00
defacer
6e957c415c
Better bracketing for event-selecting SQL (see bug 2804)
2005-04-11 23:21:29 +00:00
defacer
55d9c93a11
Reading some code carefully...
...
This small check is already done a couple lines above.
2005-04-11 23:13:41 +00:00
defacer
e2aa618b77
Fix for bug 2821. I 'm not sure if it makes any difference, but it cannot hurt.
2005-04-11 22:58:10 +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
05fcc5fd48
Removed about 30 un-necessary divs from the calendar block ;-)
2005-03-27 15:36:47 +00:00
stronk7
94474fc403
Now activity names in upcoming events block support filterall.
2005-03-27 11:50:09 +00:00
moodler
df349d1dda
Fixed up some styles (mostly headers)
2005-03-18 14:45:13 +00:00
defacer
69244b9128
A few unrelated changes, sorry for not being tidy.
...
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).
2005-02-26 06:30:19 +00:00
moodler
84854c09c6
Removed some classes from being added explicitly
2005-02-25 06:20:19 +00:00
moodler
b0ac91807d
Robust fix from stable
2005-02-22 10:37:54 +00:00
defacer
ed8ea92b7e
HTML/CSS improvements for the event list in the calendar.
2005-02-18 14:32:42 +00:00
defacer
7f92cbefbb
DST is out of the preferences entirely.
2005-02-18 01:46:57 +00:00
defacer
0bab403ceb
Improving the HTML for preferences, getting rid of DST.
2005-02-18 01:44:51 +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
6c40f0dc2a
Changing an instance of 1 => SITEID, and making the course filter
...
drop down menu respect $CFG->adminseesall (for admins only of course)
2005-02-18 01:32:49 +00:00
defacer
3477a9007d
Some smallish bugs had escaped me during the transition to DST.
2005-02-18 01:26:04 +00:00
defacer
5147ad4828
Fixing bugs and improving integration with moodlelib. I had my own
...
rogue strftime()s in here.
2005-02-18 01:11:10 +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
1f473774f3
Visual & DST improvements.
2005-02-17 01:10:17 +00:00