gustav_delius
1c5d9bbbec
closed some br tags
2004-09-12 22:29:44 +00:00
gustav_delius
9a58f7cb85
towards XHTML compliance
2004-09-12 21:43:59 +00:00
gustav_delius
a9ef4a630a
closed <input /> <br /> <hr />
2004-09-12 14:41:49 +00:00
moodler
79dee413e9
Improvements to uploading error feedback (from Shane)
2004-09-07 09:25:51 +00:00
gustav_delius
222ac91bc9
removed unnecessary calls to get_site()
2004-08-29 14:15:40 +00:00
gustav_delius
f950af3c43
All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
...
All the page headers work correctly also on the site course.
On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
moodler
31a5ee99cc
Don't show grades at all when grades not being used bug 1710
2004-08-17 05:44:30 +00:00
moodler
08cfe9806c
Merged from stable branch
2004-07-03 10:28:47 +00:00
moodler
a56d79cdc8
When sending assignment notifications, update "mailed" flag before trying
...
to mail them. This helps prevent multiple mail problems if cron or
smtp has major problems.
http://moodle.org/mod/forum/discuss.php?d=8821
2004-06-09 07:05:16 +00:00
moodler
36eb856f04
Delete events when activity is deleted
2004-05-17 16:24:19 +00:00
stronk7
2127fedda8
Step 2 of Bug 1223 done.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=1223 )
2004-05-16 00:36:00 +00:00
stronk7
0f1a97c2fb
Step 1 of Bug 1223 done.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=1223 )
2004-05-15 23:18:24 +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
0acd686363
Show no grade on entries without any feedback
2004-04-26 13:35:33 +00:00
moodler
5c87e15a0a
Solution for bug 1258 I think ... needs testing
2004-04-24 15:08:57 +00:00
moodler
c69cb506b8
Don't send out notifications for hidden assignments until they are unhidden
...
Bug 1259
2004-04-24 04:51:56 +00:00
moodler
cf55faf8e8
Deal with apostrophes better in assignments
2004-04-22 16:30:01 +00:00
stronk7
9c48354deb
Modified the function. Now it accepts a courseid to restrict the check
...
to assignments belonging to one exact course. if not specified all
assignments in site are checked (old approach).
This function in used by restore_refresh_events() to recalculate module events.
Perhaps it should become a standard function in NEWMODULE to allow new modules
implement it.
Ciao :-)
2004-04-09 23:55:02 +00:00
moodler
e6a4906bee
Assignment module can now maintain its own events in the calendar. :-)
2004-04-01 15:40:39 +00:00
moodler
9fa8271283
Fixes for displaying numbers of assignment submissions when
...
groups are active
2004-03-16 13:54:29 +00:00
selliott
ffeca1205c
Added logic in function assignment_get_recent_mod_activity for groups
2004-02-20 22:03:57 +00:00
selliott
4897d92364
Fixed icon display for submissions when shown in course/recent.php
2004-02-16 14:17:33 +00:00
moodler
096b5432a7
Fixed some old pix paths
2004-02-16 09:24:14 +00:00
selliott
f466c9edb6
Deleted assignment_print_recent_instance_activity and assignment_get_recent_assignments (used only in course/recent.php)
...
Added assignment_get_recent_mod_activity and assignment_print_recent_mod_activity (used for course/recent.php)
2004-02-15 06:32:54 +00:00
selliott
26b90e709e
Added functions get_recent_assignments and print_recent_instance_activity (for course/recent.php)
2004-02-06 05:25:34 +00:00
moodler
fed7c5ba94
Fixed a hardcoded string (thanks, koen) bug #1022
2004-02-04 09:29:01 +00:00
moodler
8ff79e8c5b
Fixed the counting of submissions for a new function assignment_count_real_submissions()
2004-01-30 16:53:01 +00:00
moodler
6f2e07e8b9
Use fullname function
2003-11-28 11:06:53 +00:00
moodler
f7c225fbd4
Check for existence of grades
2003-11-14 18:34:17 +00:00
moodler
c4df6e1799
Don't even show submitted dates on offline assignments
2003-11-02 15:11:53 +00:00
moodler
4909e17632
These changes implement some better controls for controlling uploads.
...
1) There is a new site-wide configuration variable called maxbytes,
which provides an upper filesize limit for all (student) uploads.
2) There is a new course-level variable called maxbytes, which further
limits uploads within a course.
3) There is a new maxbytes field for forums, which further restricts
the size allowed in a particular forum. There is also a new config
variable in the module configuration to specify a default size
to use when defining a new forum.
4) Assignments already had a limit, but this is now aware of the other
limits, and like forums there is now a settable default value.
5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
in the language packs.
2003-10-06 18:02:35 +00:00
stronk7
0585509135
Simply, move the XXXX_get_participants() function from
...
bottom to the common function area.
See bug 807
2003-09-29 15:27:30 +00:00
stronk7
b32bbab698
Modified a bit the xx_get_participants() function to avoid
...
non existing activities warnings.
2003-09-07 21:40:52 +00:00
stronk7
2bae0d446c
Included assignment_get_participants() function.
...
Please check it before continue with other modules.
2003-09-03 22:10:51 +00:00
moodler
734bec5dbf
Removed unnecessary database access
2003-08-18 05:33:01 +00:00
moodler
94d0cea511
Some polishing for the case when grades are set to zero (no grades).
...
Also, if the date is set further than on year into the future
then the due date is not shown.
2003-08-18 04:24:12 +00:00
moodler
91719320a0
Fixed display of assignment results when using a scale
2003-08-17 12:45:13 +00:00
moodler
0927b54b4d
Fixes for "wierd assignment error" - Bug #549 , from Scott Elliott
2003-07-07 12:45:08 +00:00
moodler
21a15d9fae
better variable name
2003-06-08 06:46:56 +00:00
moodler
8e340cb0b9
Don't return assignment submissions if no sumission has been made
2003-06-07 06:23:31 +00:00
moodler
ae078a9809
Mail-outs for assignment and journal module are now translatable.
2003-05-13 16:02:08 +00:00
moodler
df48be741a
Minor fixes
2003-04-28 15:52:51 +00:00
moodler
1b5910c4a5
Trying a different tack for recent_activity since the old way was
...
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).
Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.
I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.
Let's see.
2003-04-26 15:08:34 +00:00
moodler
ad08fdc277
Performance improvements
...
- better checking of data before processing
- used logs are removed to avoid re-processing by other modules
2003-04-26 12:59:41 +00:00
moodler
3d89198946
Cleaned up definition of constant COURSE_* values in course/lib.php
...
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)
Added some efficiency when printing recent activity
- don't print more than one weeks worth of updates
- don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
746546a8f8
Show activity log only from visible assignments. Bug #367 .
2003-04-25 23:49:35 +00:00
moodler
b2d0ca3b7c
Removed some tabs :-)
2003-03-21 14:09:51 +00:00
moodler
000cc405ba
Hack from Roberto Pinna (Bobo) to add sorting when viewing submissions
...
Might need some tidying up still but it's functional ..
2003-03-21 14:07:25 +00:00
gregb_cc
a2631c99d9
This closes bug http://moodle.org/bugs/bug.php?op=show&bugid=310
...
assignment_get_unmailed_submissions now ensures that a student is still enrolled
2003-03-14 19:58:53 +00:00
gregb_cc
b9287b2fba
Added a useful message, to make the cron output more helpful in diagnosing
...
"stuck" assignments.
2003-03-13 20:59:31 +00:00