Commit Graph

157 Commits

Author SHA1 Message Date
moodler 92d3d576fb fix for MDL-8589, found more than one record in get_record_sql 2007-03-06 01:37:54 +00:00
defacer 2eb862ba18 Merging from MOODLE_16_STABLE:
Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible.
2007-02-27 14:30:33 +00:00
defacer 61c7621b80 Changing email addresses that caught my eye in the comments. 2007-02-27 13:48:49 +00:00
defacer 6b0bfc914c Bugfix: $CFG->calendar_adminseesall was not working at all, Moodle behaved
as if it were always on. Reported at http://moodle.org/mod/forum/discuss.php?d=65500.
2007-02-27 00:33:18 +00:00
toyomoyo ab505564c9 fix for MDL-7766 calenar not displaying course events 2006-12-08 07:54:27 +00:00
skodak ed14ae8128 fixed moodle/calendar:manageentries capability in calendar 2006-10-23 22:27:17 +00:00
toyomoyo 916ad6bf7e fix for MDL-6882 context check broken for calendar 2006-10-11 05:23:14 +00:00
vyshane d8947f95dc Merged fix for MDL-6819 2006-10-05 07:22:48 +00:00
skodak 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
nfreear 57100a9098 Fixes bug MDL-6360 "Resizable image in breadcrumb trail..."
- files block_search_forums.php, calendar/lib.php, lang/en_utf8/access.php, weblib.php, theme/standard/config.php, styles_color.css
2006-09-19 11:36:21 +00:00
toyomoyo 9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
toyomoyo cc398c7262 adding caapabilities 2006-09-04 08:45:08 +00:00
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 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
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
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 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
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
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 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 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 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 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 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 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