270 Commits

Author SHA1 Message Date
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
moodler
27a353e6f9 Prevent blank entries 2004-05-22 05:13:08 +00:00
moodler
2d88c72afa Better fix for courses menu 2004-05-22 04:32:35 +00:00
moodler
ed05bdfa9d Some cleanups for the courses menu 2004-05-22 04:28:36 +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
8792061c55 Modified to use popup_form() instead of custom code 2004-05-21 13:03:59 +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
43ef6722c7 Tweak to calendar event (full display) column widths 2004-05-20 17:40:11 +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
b1295c5e21 Random refinements. 2004-05-17 08:54:23 +00:00
defacer
4131f3743f Fix for bug 1395:
view.php now does require_login(). Also some minor refinements.
2004-05-17 07:31:54 +00:00
defacer
f36e581d60 Fix for bug 1330:
Now when creating a new event you only have to select a group. And you are
always limited to the current course and its groups.
2004-05-14 14:15:24 +00:00
defacer
e4bbaab3c3 Half the work done for bug 1330:
Now when creating events you don't select a course, the current course is
selected implicitly.
2004-05-14 13:49:42 +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
bc1728752a Added a colon here, instead of the language strings. 2004-05-12 12:39:59 +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
gustav_delius
f86aaab21c It is possible to create weekly repeating events but it is not yet possible to edit or delete them together. Also it is now possible to specify the duration in minutes as an alternative to specifying the end time and date. 2004-05-06 16:30:12 +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
moodler
8a3cfc4d76 Quick fix for bug 1303 ... but I'll come back to this today 2004-05-04 01:58:20 +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
8ad2936eaa Removed a doubling of event names 2004-05-01 17:37:11 +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
defacer
6e8e8ec685 Fix to display correctly formatted dates in some cases where they were not
being localized as they should. Also, small cosmetic addition of a space between
words in the date representation (I had missed it).
2004-04-30 08:59:04 +00:00
defacer
0ef7c97344 Small change to better respect the lang file date settings. Should be objectively
"better" now. See http://moodle.org/mod/forum/discuss.php?d=7450 for the issue.
2004-04-29 07:50:12 +00:00
defacer
ef3b39b791 There are serious problems with event.php and mini-calendars, mainly because
we don't have much information about courses at that stage. Started to fix
things up, but there is still work to be done.
2004-04-28 10:20:30 +00:00