251 Commits

Author SHA1 Message Date
toyomoyo
8d09c3d9ab fixed a bug in calendar as one can have multiple role_assignments in a course 2007-01-02 06:49:30 +00:00
toyomoyo
a175ffd0aa MDL-7871, replacing & with & 2007-01-02 06:10:35 +00:00
toyomoyo
33999deb2c fixing warning 2006-12-22 01:16:51 +00:00
toyomoyo
54926e7818 various accessbility fixes 2006-12-13 03:03:43 +00:00
toyomoyo
03bb25e1df merged fix for MDL-7766, calendar not displaying course events 2006-12-08 07:56:07 +00:00
skodak
32776fef0e minor xhtml fixes 2006-11-30 09:50:01 +00:00
skodak
f2de62da39 minor xhtml fix 2006-11-30 08:32:30 +00:00
martinlanghoff
ea18531301 Cleaning up, completing, bugfixing, adding features to iCalendar export of
Moodle calendar.

* Adding strings
* Adding more information to iCalendar output
* Making iCalendar output compatible with a wider range of calender software
* Removing (non-functional) advanced options for now, and other superfluous
code
* Paying attention to all / course events option
* Adding authentication token system to allow subscription
* Adding JavaScript to generate URL for subscription
* Adding links from calendar page

Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
2006-11-23 20:21:29 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
skodak
695e03f00a Adding of calendar events broken MDL-7297; merged from MOODLE_17_STABLE 2006-10-30 22:33:45 +00:00
skodak
28ee98c530 fixed moodle/calendar:manageentries capability in calendar; merged from MOODLE_17_STABLE 2006-10-23 22:28:52 +00:00
thepurpleblob
eb4cb4c51e Focus is now loaded into Name edit field 2006-10-19 13:06:06 +00:00
toyomoyo
89491dbd2a merged fix for MDL-6882 2006-10-11 05:24:33 +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
gustav_delius
0839ef65d5 Removed a PHP notice 2006-09-17 17:43:30 +00:00
toyomoyo
1c45e42e3c adding capabilities 2006-09-11 08:56:23 +00:00
toyomoyo
3924b9884b adding capabilities 2006-09-05 08:50:23 +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
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