skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
danmarsden
0ba66a5de0
Bug 6130 session has bad entries causes calendar to fail showing events
...
Workaround untill Session is fixed properly.
2006-07-24 00:15:54 +00:00
skodak
2d4fb02fa2
Bug #1395 - Calandar view.php should respect forcelogin; merged from MOODLE_16_STABLE
2006-07-17 21:08:01 +00:00
skodak
639835274c
workaround by Dan for bug #6130 , fixed some warnings; merged from MOODLE_16_STABLE
2006-07-17 07:31:22 +00:00
skodak
f262874bbe
Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE
2006-07-03 21:11:17 +00:00
skodak
d61989033f
Bug #5991 - The calendar does not show the month's first day's event; merged from MOODLE_16_STABLE
2006-07-03 09:10:12 +00:00
tjhunt
450a0a7db7
Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs.
2006-05-17 16:47:44 +00:00
skodak
a536138d02
changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE
2006-05-15 15:05:28 +00:00
moodler
ea21c1f460
Fixed bug 5271 - icon tag missing in Upcoming Events block
2006-04-24 03:26:01 +00:00
nfreear
a7c385e606
Accessibility: bug 5078, "Update calendar blocks in courses to match the changes in site page". Fix function, calendar_top_controls.
2006-04-19 09:07:30 +00:00
nfreear
3e0bacff76
Accessibility: function calendar_top_controls, tidy up commented code.
2006-03-17 10:53:15 +00:00
nfreear
892f55b6df
Accessibility: fix, use $CFG->pixpath, clearer image-names (Martin D post 10/3, OU-Bugz: 718)
2006-03-10 17:02:22 +00:00
nfreear
2a06efcc69
Accessibility: calendar_get_mini, table summary now multilingual; replaced table in calendar_top_controls.
2006-03-08 17:27:56 +00:00
nfreear
f20c4d02b8
Accessibility: table summary and <abbr> for day abbreviations.
2006-03-08 17:03:02 +00:00
nfreear
b5c42e700b
Accessibility: code taken from function calendar_get_mini, for new function calendar_get_popup.
2006-03-08 16:52:23 +00:00
skodak
fac01360b3
removed isset_param()
2006-02-12 11:27:22 +00:00
defacer
3ce130eac5
When creating/editing events, it seems that the current/existing timestart
...
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...
2006-01-15 01:44:08 +00:00
defacer
b5f1b8b10e
Super-basic export to iCal functionality, still very raw. But works!
2006-01-13 15:34:30 +00:00
moodler
1747ee05bd
Removing PJs "temporary" test code. Mine kept printing errors ... why?
2005-11-09 06:00:48 +00:00
moodler
fa22fd5fff
BIG FEATURE - MULTIPLE GROUPS
...
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!!
2005-11-08 07:19:27 +00:00
defacer
c0b507d118
I was going through the code here and found out that it's completely missing
...
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? ;-)
2005-11-06 03:20:30 +00:00
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
d515b72998
Merging from STABLE:
...
Fix for bug 4143:
If a user was a teacher, they didn't see any events from courses
where they were students.
I 'm back at looooooong last! :)
2005-10-21 00:29:14 +00:00
mjollnir_
3bb2ac0668
Backing out broken last patch - bug 4119
2005-09-28 02:58:05 +00:00
defacer
69963aa63c
Changing some hardwired 1s to SITEID. Is the madness ever going to end?
...
Use 1 as a magic number in code, pay the price...
2005-08-23 20:43:32 +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
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