57 Commits

Author SHA1 Message Date
skodak
ec29061d82 MDL-13899 force resending of all assignment grades into gradebook so that the submitted and graded dates get updated; merged from MOODLE_19_STABLE 2008-03-19 23:20:00 +00:00
skodak
5048575d7e MDL-13920 assignment without grades now sets text grade type, fixed overriding of feedback and overriding logic in general on grade edit page; merged from MOODLE_19_STABLE 2008-03-15 14:54:43 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
42f50aec59 MDL-9657 advanced upload assignment draft tracking now available as activity setting; merged from MOODLE_19_STABLE 2008-02-25 13:34:17 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
stronk7
cb4bfe06b1 Now assignment_submissions->data1 & data2 are nullable. MDL-11268 2007-09-18 22:20:13 +00:00
skodak
9c8d38fa97 MDL-11092 events are not used for changed raw grades anymore + minor cleanup in handling of raw grades (now used only for modules or other external plugins that produce grades) 2007-08-31 22:42:05 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
skodak
b67ec72f57 MDL-9516 update_grade(); now required $source of grading to allow modification of original grades in activities through grade_updated event 2007-06-06 23:04:24 +00:00
skodak
612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
skodak
45fa341298 MDL-9545 refactoring of grading code in assignment, whitespace cleanup 2007-06-03 09:10:52 +00:00
nicolasconnault
de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +00:00
skodak
7bddd4b787 MDL-9632; MDL-9545 basic assignment grading support - event triggers implemented + some minor cleanup 2007-05-28 08:55:15 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
skodak
55b4d09637 new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible 2006-09-30 15:41:20 +00:00
stronk7
ea6432fede Moved assignment_submission->comment to submissioncomment
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
moodler
0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
skodak
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
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
moodler
736f191c1d Added event handling to new assignment. Whopos! 2005-05-31 23:00:20 +00:00
moodler
d175966b68 Fixed some upgrading bugs 2005-05-17 19:58:30 +00:00
moodler
4b46c8039a New field and option for assignments, preventlate, which prevents
students from submitting assignments late
2005-04-18 04:11:15 +00:00
moodler
52436fe1cc Added a new format field for comments 2005-04-17 17:51:25 +00:00
moodler
73097f0711 A very big batch of changes. Everything sort of works: now I'm mopping up. 2005-04-17 15:38:02 +00:00
moodler
72778c9a5a Two new general-purpose fields in assignment_submissions, so that
most assignment types won't need to create new tables for data

The fields are data1 and data2.

Backup/restore handled, Eloy   ;-)
2005-04-15 14:51:15 +00:00
moodler
1017b8a5c6 Fixed the assignment upgrade 2005-04-14 13:37:06 +00:00
moodler
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
thepurpleblob
f74d035f2a Now 2005041100: Update wiki-like description to Markdown. 2005-04-11 12:44:57 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
gustav_delius
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
moodler
59c005b76e Email alerts to teachers
------------------------

Added a small new feature to the assignment module to alert teachers when
new emails come in.  This feature adds one new field (which is tested) but
the operation of the new code has not been tested yet at all (apart from
PHP syntax) and very likely has bugs in it.

I'm checking this in so I can do tests on test.moodle.com which has email
set up properly.

I'm off to bed right now but if anyone else wants to test this feature
before tomorrow please do!   :-)

While I'm rambling here in CVS, I need to have a good look soon at Pablo's work
on Assignment and see if I can merge it all in...
2005-01-05 17:13:44 +00:00
mjollnir_
ce64ebf9b7 Merged from MOODLE_14_STABLE: Indexes and version bump for assignment 2004-11-17 21:49:48 +00:00
mjollnir_
eee8d9c8f5 bumps for version and requires for modules that use new upload class 2004-09-17 05:46:12 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
gustav_delius
8f6b80b90c Merging from stable branch 2004-08-24 18:38:14 +00:00
moodler
070528fc79 MOdules are dependent on this version of course/mod.php 2004-06-04 07:28:34 +00:00
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
moodler
e6a4906bee Assignment module can now maintain its own events in the calendar. :-) 2004-04-01 15:40:39 +00:00
moodler
4899c66789 FIxed up logging when viewing submissions (database truncation in logs)
Thanks Eloy!
2004-02-17 12:25:01 +00:00
moodler
484f723352 Upgrade logs for assignments 2004-02-05 05:10:39 +00:00
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
9423833cd9 All modules now require the very latest because of the changes to add_to_log 2004-01-31 15:25:00 +00:00
moodler
83f007bf39 Define minimum required versions of Moodle 2004-01-28 04:27:57 +00:00
moodler
70e51cf34f Fixed a missing PostgreSQL field that had never been added! 2003-09-10 13:53:03 +00:00
moodler
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
moodler
085bd98e7e Add option that allows students to resubmit after being graded 2002-11-15 03:32:30 +00:00
moodler
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
moodler
b425749fc3 Teacher can now use the richtext editor to edit the assignment text 2002-10-16 05:31:56 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00