430 Commits

Author SHA1 Message Date
martinlanghoff
6b4aeb314b calendar: bug fixed to previous commit (MDL-7416 MDL-9617)
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-05-06 04:37:38 +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
toyomoyo
daaf61f40c merged fix for MDL-9617, performance issues in calendar 2007-05-04 05:25:49 +00:00
moodler
ca42eec162 Merged MDL-9606 from stable 2007-04-27 06:30:21 +00:00
martinlanghoff
a1e080f7c6 (iCalendar export) calendar: Removing filter controls from export page, as no purpose and buggy
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
2007-04-17 02:54:13 +00:00
skodak
1384da1e88 fixed warning; merged from MODOLE_18_STABLE 2007-04-15 21:09:05 +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
skodak
cf4a39ec23 MDL-9343 Course event filter icon incorrect; merged from MOODLE_18_STABLE 2007-04-15 15:21:26 +00:00
martinlanghoff
76ab1c33d9 Bug fix: 'off by one'month bug in mupltiple locations.
When the system/user time zone was set to GMT-13 months would lag behind by
one month.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-13 05:04:57 +00:00
toyomoyo
c0a2c36157 fix for MDL-9186, capability fix for calendar 2007-04-05 07:58:31 +00:00
nicolasconnault
bf0b04f3d5 MDL-8691
Added format_string() around $course->shortname in calendar.view.php
2007-03-01 05:16:02 +00:00
toyomoyo
2aab6488a6 replacing fieldset in small forms with divs 2007-03-01 05:10:58 +00:00
defacer
53d8fac034 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:36:58 +00:00
defacer
449c1d6c2d Merging from MOODLE_16_STABLE:
Bugfix: skodak's fix for MDL-5991 is needed here as well.
2007-02-27 13:59:43 +00:00
defacer
bdcb26b717 Changing email addresses that caught my eye in the comments. 2007-02-27 13:49:43 +00:00
moodler
c7dd2550dd Merged MDL-8670 2007-02-27 01:19:46 +00:00
defacer
0e6a8f4bbe Merging from MOODLE_18_STABLE:
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:41:28 +00:00
skodak
7dc30088bc force login in course calendar SC#349 2007-01-17 19:53:03 +00:00
moodler
e564721a13 FIxed bogus header 2007-01-11 08:24:24 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
moodler
d0a3291460 Minor forms fixes for Strict MDL-7861 2007-01-06 05:14:51 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
vyshane
10daca92c5 Added missing img alt text. 2007-01-04 02:17:47 +00:00
vyshane
5c53988f96 Added show/hide icons to calendar event filter. Related to MDL-7433. 2007-01-04 01:59:51 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
vyshane
3c49918a75 Layout and colour tweaks for calendar. Related to MDL-7433. 2007-01-03 08:12:21 +00:00
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 &amp; 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