Commit Graph

43 Commits

Author SHA1 Message Date
1648afb278 changes to how to pull out a list of users (course/module participants) 2006-08-28 08:42:30 +00:00
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
5d00b3ad99 page parameter cleanup 2006-04-23 20:33:01 +00:00
73097f0711 A very big batch of changes. Everything sort of works: now I'm mopping up. 2005-04-17 15:38:02 +00:00
b0f2597e17 Refactored Assignment Module
============================

This new assignment module allows Plugin Assignment types.  This should
allow a whole lot of new stuff to easily be placed in Moodle without
making the modules list longer for no good reason.

This checkin is still a really rough version that needs work on it.
Normally I would want it better than this to check in, but I need
to collaborate with Shane on the remaining code and CVS is the best
way.

Give it a day or two to settle in.  :-)

This is the last thing I wanted to get into 1.5.  Getting close now!!

Cheers!
Martin
2005-04-14 13:24:40 +00:00
2500b88bab Now assignment->name works under filterall. 2005-03-26 18:14:46 +00:00
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
4ac2157453 Changes for XHTML and accessibility compliance 2004-10-19 09:19:48 +00:00
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
b4510d5333 closed some input tags 2004-09-12 22:23:51 +00:00
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
eb622fcaa7 Show jump menu when grading assignments 2004-08-17 06:58:49 +00:00
c032f72069 FIxed a recently-introduced bug preventing assignment grading bug 1390 2004-05-15 15:21:29 +00:00
9cc093f199 Fixed bug 1379 .... 2004-05-13 08:50:37 +00:00
c215cee456 Put a submit button at the top too. 2004-04-26 13:39:39 +00:00
a12f686b62 Function name change ... hope it doesn't break any third-party code,
sorry if it does!

  get_users_in_group --->  get_group_users

  ... more consistent with other functions
2004-03-13 14:24:34 +00:00
4899c66789 FIxed up logging when viewing submissions (database truncation in logs)
Thanks Eloy!
2004-02-17 12:25:01 +00:00
128452bbd8 Fixed bug selecting students in group 2004-02-15 14:54:04 +00:00
424aef6aef Use the new short way of setting up groups 2004-02-15 07:18:07 +00:00
b7e16e6acb A few more improvements with sorting 2004-02-14 08:11:02 +00:00
486f78b51f Group support for assignment submissions, and some cleanups.
I really hate this interface - it's not scalable - but this will have
to wait for another day.
2004-02-14 07:57:48 +00:00
484f723352 Upgrade logs for assignments 2004-02-05 05:10:39 +00:00
e09016006c selliott - fixed some code to allow proper sorting of assignments based on name, lastmodified, and feedback 2003-08-23 16:32:42 +00:00
fdc47ee6c9 New function make_grades_menu() for easily making an array of grades 2003-08-18 05:10:35 +00:00
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
415c0dcc70 Assignment module can now use scales for grading. 2003-08-17 10:23:44 +00:00
717f40c6d8 Some fixes to avoid pointless uses of $ME 2003-06-16 14:40:51 +00:00
ea6e952d88 fix for bug 324. we are now checking to see if there is a conflict caused by
multiple teachers gradign simultaneously.
2003-05-07 20:53:24 +00:00
df48be741a Minor fixes 2003-04-28 15:52:51 +00:00
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
c078c29bb2 For assignments without a timemodified stamp, add one when graded 2003-01-14 03:01:10 +00:00
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +00:00
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
f830b324cf Fixed two missing strings 2002-12-12 03:14:13 +00:00
02accd9c6a Fixed a bug from reusing newsubmission variable 2002-11-21 10:26:54 +00:00
941dd21efb Fixes and simplification 2002-11-06 08:54:28 +00:00
b7b4287462 Added new type of assignment - offline.
This type of assignment doesn't require anything of the student online,
it just tells them about an assignment and the teacher can provide
feedback and grades.  Useful for offline activities, and also for the
teacher to add manual columns to the grades page
2002-11-06 08:12:06 +00:00
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
d699cd1e54 New assignment module finally complete! 2002-08-04 16:19:37 +00:00