89 Commits

Author SHA1 Message Date
skodak
db4a3d8ffe MDL-16666 removing all use_html_editor() instances 2008-09-24 21:03:36 +00:00
skodak
2fd0e9fe58 MDL-16644 removing striplsahses() and friends 2008-09-23 21:09:46 +00:00
scyrma
2a68c5d9b9 MDL-16318: remove a few calls use_html_editor() (more to come) 2008-09-03 03:09:56 +00:00
dongsheng
5233c06bb7 "MDL-15424, close table tags manually before calling redirect, merged from MOODLE_19_STABALE" 2008-07-02 07:09:38 +00:00
dongsheng
55924e7c18 "MDL-10633, fix dobule quote in calendar, merged from MOODLE_19_STABLE" 2008-06-27 03:12:56 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
62d11d771e MDL-14679 towards /calendar conversion 2008-06-01 14:25:05 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
scyrma
59fa45d0f1 MDL-11113: simplify the code - use only one function to check for html editor availability 2008-05-07 07:40:50 +00:00
dongsheng
f581f8d64b "MDL-14129, fix print_error" 2008-05-01 05:44:41 +00:00
dongsheng
33aa5723ca "MDL-14129, fix print_error call" 2008-04-30 04:09:29 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
stronk7
79e8411dc2 Prevent race condition in event creation. MDL-5956.
Credit goes to Penny, Luke and Martin @ Catalyst.

Merged from MOODLE_19_STABLE
2007-12-28 19:14:01 +00:00
sam_marshall
f63d29223e MDL-11916 Added managegroupevents capability 2007-10-30 16:19:47 +00:00
toyomoyo
d142077ef1 changing CONTEXT_GROUP to CONTEXT_COURSE for calendar:manageentries capability 2007-10-10 09:03:01 +00:00
toyomoyo
45b39af803 MDL-10353, in view.php we should not supply default course, otherwise calendar filters will not be set up properly (course filter wrong) 2007-10-03 04:21:53 +00:00
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
toyomoyo
86ac8b24c1 merged fix for MDL-10273, users with no capability should not be able to view New Event button 2007-06-28 04:03:30 +00:00
dwoolhead
f21ed0f3fc MDL-10084 propogate course id through calendar pages to ensure consistent display for site front page, my moodle and courses 2007-06-21 15:46:04 +00:00
dwoolhead
edad8bec3c MDL-10048 General calendar view enhancements as per spec with regard to event highlighting 2007-06-13 14:30:42 +00:00
dwoolhead
914be7f915 MDL-10048 Separate events key and monthly view in right side panel 2007-06-12 09:55:22 +00:00
martinlanghoff
37d87d11f9 calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)
With 2500 courses the calendar was causing around 15000 queries at login and 5000 on the home page.

- Replaced queries inside loops with single unlooped queries.
- Fixed calendar so that course events will show when the users role is assigned at a category level.
- Moved calendar_session_vars() function call out of calendar/lib.php (including a lib should not have side effects)

Author: Matt Clarkson - with some conflict resolution from MartinL
2007-05-06 04:28:11 +00:00
skodak
bf8756a658 MDL-9266 Frontpage teachers cannot ad "site" events to calendar; merged from MOODLE_18_STABLE 2007-04-15 21:07:36 +00:00
defacer
bdcb26b717 Changing email addresses that caught my eye in the comments. 2007-02-27 13:49:43 +00:00
moodler
e564721a13 FIxed bogus header 2007-01-11 08:24:24 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
toyomoyo
33999deb2c fixing warning 2006-12-22 01:16:51 +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
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
cc398c7262 adding caapabilities 2006-09-04 08:45:08 +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
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
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
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