89 Commits

Author SHA1 Message Date
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
bf9ae76c36 MDL-10048 General calendar view enhancements as per spec with regard to event highlighting 2007-06-13 16:26:19 +00:00
dwoolhead
7c50db30f9 MDL-10048 General calendar view enhancements as per spec with regard to event highlighting 2007-06-13 10:00:30 +00:00
dwoolhead
b4892fa2a0 MDL-10048 General calendar view enhancements as per spec with regard to event highlighting 2007-06-12 16:26:38 +00:00
dwoolhead
1a6ff43e1d MDL-10048 Separate events key and monthly view in right side panel 2007-06-12 09:30:12 +00:00
dwoolhead
6cc1a80532 MDL-9729 Ensure start of week day calculation observes user timezone setting in the same way as month start and end dates. Prevents incorrect display of dates (1 out) on main Moodle calendar display although mini calendar display is correct. (Merged from 1.8 stable branch) 2007-05-29 09:56:44 +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
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
skodak
7dc30088bc force login in course calendar SC#349 2007-01-17 19:53:03 +00:00
moodler
d0a3291460 Minor forms fixes for Strict MDL-7861 2007-01-06 05:14:51 +00:00
vyshane
3c49918a75 Layout and colour tweaks for calendar. Related to MDL-7433. 2007-01-03 08:12:21 +00:00
toyomoyo
54926e7818 various accessbility fixes 2006-12-13 03:03:43 +00:00
skodak
32776fef0e minor xhtml fixes 2006-11-30 09:50:01 +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
toyomoyo
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +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
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
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
moodler
f2bffd9ed2 Merged fixes from stable 2005-05-26 12:54:56 +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
fb73f3b3b2 Now event->name supports multilang under filterall completely. 2005-03-27 16:41:04 +00:00
moodler
df349d1dda Fixed up some styles (mostly headers) 2005-03-18 14:45:13 +00:00
moodler
84854c09c6 Removed some classes from being added explicitly 2005-02-25 06:20:19 +00:00
defacer
6c40f0dc2a Changing an instance of 1 => SITEID, and making the course filter
drop down menu respect $CFG->adminseesall (for admins only of course)
2005-02-18 01:32:49 +00:00
defacer
3477a9007d Some smallish bugs had escaped me during the transition to DST. 2005-02-18 01:26:04 +00:00
defacer
5147ad4828 Fixing bugs and improving integration with moodlelib. I had my own
rogue strftime()s in here.
2005-02-18 01:11:10 +00:00
moodler
f136e4c5ae Removed THEAD and TBODY from calendar HTML because these tables are
not really data tables in the sense that W3C talks about them
2005-02-14 16:50:02 +00:00
moodler
d57fc786e4 Make the calendar more theme-setting friendly 2005-02-13 08:50:37 +00:00
defacer
760e522b04 This small visual detail was trying to hide and escape. :P 2005-02-12 16:00:47 +00:00
defacer
3c1348758d Fixed styles and improved lots of things in calendar. It should work all
right and even be a bit cooler than it was before. :)
2005-02-11 15:52:59 +00:00
defacer
edbe6c1b69 More styles and markup cleanup. The basic calendar screens should now be
pleasantly viewable in any browser (I 'm testing FF and IE).

Some things still don't satisfy me and some parts haven't been done yet.
But at least it doesn't look broken in IE anymore.
2005-02-11 03:54:33 +00:00
defacer
2ad2cbc302 Fixing more calendar styles (and some other details that caught my eye).
A personal note of thanks to that shitty excuse of a browser, IE, for
making my life a nightmare. And that's on XP SP2.
2005-02-11 03:08:30 +00:00
defacer
7d50b363b5 Reworking of all calendar styles to address bug 2524.
**********************************************************************
* THIS IS NOT COMPLETED YET AND IN FACT IT'S QUITE BROKEN RIGHT NOW! *
**********************************************************************

My head is spinning and that's enough layout madness for one day.
2005-02-10 00:42:41 +00:00
moodler
4a2c4132d5 Removed some $THEME stuff 2005-01-25 17:16:34 +00:00
defacer
bb4a2e85c0 New features implemented:
* Configurable defaults for the calendar upcoming events lookahead and
   maximum upcoming events displayed (bug #1623)

 * Configurable setting for which days of the week are treated as weekend
   (bug #1919)

 * Configurable setting for which day starts the week (the admin can now set
   this as the default for new users and guests without messing with language
   packs) (no butracker issue)
2004-12-16 18:49:57 +00:00
defacer
cb48251dec Fixed some warnings I introduced a while back by incorrect use of optional_parameter() 2004-12-01 21:52:09 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00
defacer
3c7e1b65be Fixes for slightly incorrect behavior on days where the DST setting changes.
Not quite correct in some places though (those require more attention).
2004-11-20 20:10:03 +00:00
defacer
482dbe0cd4 Correct construction of SQL clauses (fix for SC#20).
Improved conformance with the new _param() functions a bit.
2004-11-19 02:47:00 +00:00
moodler
2038a163d8 Merged sesskey fix from stable 2004-11-05 06:29:48 +00:00
defacer
a94329a8ed Fix for bug #2004 (Bug of the Year! :D):
Events in each day are now displayed ordered by starting time, and not by
eventid as before. Thanks to Gustav for pointing this out!
2004-10-29 17:21:19 +00:00
moodler
647213f731 Some changes for XHTML compatibility 2004-10-07 05:52:39 +00:00
stronk7
1066e0dc62 Changed some conditions against the $USER variable
to work fine under PHP5.

Bug 2053
(http://moodle.org/bugs/bug.php?op=show&bugid=2053)

Merged from MOODLE_14_STABLE
2004-10-06 16:52:24 +00:00
defacer
3395a558c9 Importing fix for bug 1921 from stable. 2004-09-09 11:55:00 +00:00
defacer
deaa884234 Full XHTML 1.0 compliance. I hope I didn't miss anything. 2004-09-09 10:41:23 +00:00
defacer
8f89658261 Fix for bug 1494:
Calendar events in day view now show their start and end times. The only thing
I 'm not satisfied with is that they also show the full start and end dates,
even if it's not really needed (e.g. for a 15:00 -> 17:00 event). Still, it's
loads better than only showing the start time.
2004-08-22 17:19:24 +00:00