64 Commits

Author SHA1 Message Date
defacer
61ddaf3bce Removed useless stuff 2004-06-01 12:02:13 +00:00
defacer
9cb8879b6b Minor changes, Martin's fix for bugs 1502, 1184 (duplicated) confirmed. 2004-06-01 10:40:20 +00:00
moodler
c9b05b32fa Some fixes to HTML quoting in calendar popups.
Fixes bug 1502.
2004-05-31 05:11:22 +00:00
defacer
89adb17442 Merging the changes from 1.4 dev branch (site index blocks + various bugfixes) 2004-05-28 10:53:54 +00:00
defacer
7bd1677c72 Fix for bug 1462:
Warnings removed.
2004-05-26 11:03:27 +00:00
moodler
c3f463caca Filters now work on "month" page! 2004-05-25 02:00:26 +00:00
defacer
d56d4e230f Some speed improvements for the calendar month blocks. 2004-05-24 14:45:02 +00:00
defacer
eb15f829b6 The filters are back with a vengeance in event.php! Coupled with the breadcrumb
course mirroring, everything works like a charm now! :-)
2004-05-24 12:12:41 +00:00
defacer
2ef75eee2f Fixed a couple of warnings which happened if you accessed a course while
not being logged in, during the redirection to login screen.
2004-05-24 11:10:00 +00:00
defacer
c635dcda6c Fix for bug 1451:
Now when moving to a calendar screen (technically, view.php) from a course
block, the course drop down list defaults to that course. The implementation
is OK, but I may change it (there is a faster way).
2004-05-24 10:35:43 +00:00
defacer
227bc46b51 Preliminary fix for bug 1451 (needs some more work).
Also a couple of notices removed.
2004-05-24 09:20:01 +00:00
moodler
cd6469cb4d More aligned calendar controls on courses without groups 2004-05-24 05:13:34 +00:00
moodler
41d30a8e52 Fixes to icons in upcoming events and popups 2004-05-24 03:39:05 +00:00
moodler
8c165fe91a Fix for bug 1449
Hidden events are now never shown.

There is a new parameter in calendar_sql_where which can show them if necessary.
2004-05-24 01:44:48 +00:00
moodler
3cb9ee3949 Fix for bug 1442
- notices
   - course is now properly passed to calendar_filter_controls from block
2004-05-24 01:28:28 +00:00
moodler
421b0337b6 Fix to allow ordinary users to edit events. :-) 2004-05-23 16:21:40 +00:00
moodler
9958a08cfa Calendar fixes (this was the last thing I wanted to fix for 1.3).
- events are now shown in a consistent way
  - upcoming events and days are calculated with the same function
  - it's now not possible to edit module events directly
  - various tidying up
2004-05-23 11:05:45 +00:00
moodler
552064d391 Some improvements in display
I'm not finished yet, just checking in to continue on another server
2004-05-22 07:14:49 +00:00
defacer
f10f1b7bdc * Removed one obsolete function
* Changed the expired events' color to dimmed
* Added "new event" button in upcoming events screen
* Small improvement (more robust) in redirection from set.php to upcoming events
2004-05-21 13:51:02 +00:00
defacer
f434283f4f Bye bye event details view... 2004-05-21 11:24:22 +00:00
defacer
34bf3ad4f3 Lots of usability improvements and some bugfixes:
Fixed wrong redirection after changing filters for all calendar screens
Fixed course selection menu to work without javascript
Moved course selection menu to the header, and added it to all screens
All screens now conform to the selected course in the menu
Small improvements in the way guests are handled
2004-05-21 10:54:46 +00:00
moodler
14fcda781a Tiny fix to improve display of date ranges 2004-05-21 05:49:37 +00:00
moodler
d8bb005603 Removed referer for site events ($site is not a valid global anyway) 2004-05-21 05:35:54 +00:00
moodler
1b1e79f55c Use the new images in pixpath 2004-05-20 17:30:20 +00:00
defacer
9a2ba13e51 One more bugfix introduced just now: enabling course events shouldn't
enable site events, too.
2004-05-20 15:36:20 +00:00
defacer
43c3ffbe22 Major calendar overhaul:
1. Much better and more intuitive handling of filters.
2. Simplified user interface for guests.
3. Feature request implemented: bug #1431
4. A number of significant bugfixes
2004-05-20 15:16:42 +00:00
defacer
250712fd7f Minor modification to the way the course event filter works
(same functionality but more robust now).
2004-05-20 09:58:14 +00:00
defacer
4e17c6f39e Fix for bug 1416:
Now the module icon is shown before the event name in the mini-month tooltips.
Maybe this would be better with the module name instead, but I don't know.
Comment in the bugtracker if this isn't what we want.
2004-05-18 07:51:46 +00:00
moodler
1c3abdb092 SHow event name in upcoming events (not activity name) bug 1415 2004-05-17 14:29:55 +00:00
defacer
b1bcd540f0 Fix for bug 1323:
When the admin is logged in as a different user, user events are shown
correctly in the calendar.

Also, fixed a very-recently-introduced bug which appears to have escaped
notice so far.
2004-05-17 09:07:05 +00:00
defacer
8c54cec650 Month view: NOW it's working as I wanted it to. But is that as it should work? 2004-05-14 13:39:29 +00:00
defacer
9ff136e503 Behavior change, according to Gustav's remarks on the forums. Events from
courses other than the one you are browsing are not displayed in the month
views or as upcoming events, except only if you explicitly do it in the
full month view. However, if you manually go to a day with such an event and
get a day view, you will see the event. Should I find a way to hide that too?
2004-05-14 12:48:50 +00:00
defacer
1bb9d624c4 Fix for bug 1354:
(REAL fix this time! ;-)

Thanks for the report, Eloy. I now know what I was doing wrong. Because on my
dev site I have the same TZ as the server, sometimes I can make mistakes and
"get away with them". :-/
2004-05-14 07:34:10 +00:00
defacer
ef3ae69ebd Martin pointed out that only editing teachers get to see all the groups. 2004-05-14 07:11:48 +00:00
defacer
6c9584d1e5 Addressing bug 1384:
Now if you are a teacher in a course, you now see ALL group events in that course.
As a result, admins see group events for all courses.

Maybe it needs more work than this, though.
2004-05-13 10:32:12 +00:00
defacer
f765674612 Fix for bug 1365 (supplementary):
Here's the other half of the fix.
2004-05-11 10:36:35 +00:00
defacer
00341feafb Fix for bug 1365:
This one was most insidious. Usually we get bugs that have to do with the
user/server timezone interaction, but by now I 've learned to be extra
careful about that. This one, however, only had to do with the server's
timezone and was 100% certain to happen if you are GMT minus something.
Considering that I 'm GMT+2, it went unnoticed. Sorry!
2004-05-11 07:20:44 +00:00
defacer
dab9f47075 Fix for bug 1363:
Now clicking on an event time in the "upcoming" block always takes you to the correct date in the calendar.

Martin, you were right. Too much was going on. Once too much! ;-)
2004-05-11 07:01:17 +00:00
moodler
d13403fb1b Some tweaks for formatting sideblock footers (esp upcoming events) 2004-05-10 17:09:06 +00:00
defacer
f319962d8a Fix for bug 1354:
Eloy discovered that there was too much compensation for the user's timezone
in the monthly view event popups. Removed it and now it's OK.
2004-05-10 08:35:03 +00:00
defacer
33683b3655 Fix for bug 1334:
Yesterday I was in such a hurry to leave that I forgot to check it in...
Sorry Martin! :-)
2004-05-08 13:35:11 +00:00
defacer
61854a2fff Eloy discovered this little bug hiding under the rug. Even though this code
is not used at all right now, it was wrong and would need to be fixed when
we have calendars for the site front page.

Thanks Eloy! :)
2004-05-07 10:46:34 +00:00
defacer
51f8a12f28 Fix for bug 1321:
When clicking the month name from the month view block and go to detailed
month view, only events from the course you where in are shown by default.
2004-05-07 10:39:30 +00:00
defacer
bd1195678c Fix for bug 1320:
Upcoming events were not displayed before calendar_session_vars() was called
at least once. The upcoming events block did not do that, because once upon a
time it was displayed below the month view, which was known to do it :)

Solution: calendar_session_vars() is now called directly from lib.php.
2004-05-07 10:15:10 +00:00
defacer
d715f7c4c0 Fix for 3-month pane event filters, now you don't get a "missing required parameter"
error when you click on them. Reported by Ger Tielemans in the forums.
2004-05-06 07:45:10 +00:00
gustav_delius
dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
defacer
e70fdac090 L10n fixes and a bug fix... at least I _hope_ they were fixes... 2004-05-03 15:26:55 +00:00
defacer
aa870ca24a Some l10n problems fixed. 2004-05-03 14:07:35 +00:00
moodler
396b61f00a Fixed doubling in upcoming events block, I think. 2004-05-01 17:42:32 +00:00
moodler
1e1ff33b2e Some interface cleanups ...
- simplified the screens some more (headers etc)

 - preferences are all on one page, and the code was rewritten
   for simplicity and consistency

Changes are not well tested yet but I'm off to bed  :-)
2004-05-01 17:32:37 +00:00