Moodle - the world's open source learning platform https://moodle.org/
Find a file
David Mudrak a5c4c99b24 Merge pull request #13 from marinaglancy/wip-formvalidation-rubric
Initial prototype of integrating advanced grading methods into current forms

There is a new form element called 'grading', which receives grading_controller as an argument and uses it's functions to produce html and validate the value.

The biggest change in grading form is that I included call to new function validate_and_preprocess_feedback, which validates and also fills the xgrade field with value, calculated by controller

Another issue: when the teacher grades the student on offline assignment for the first time, there may be no entry in submission table (and therefore no id). So I create a submission if there is advanced grading otherwise we won't be able to save via AJAX the process of filling rubric, because normal grading will create an entry only on submit.

And as an example I created text field in rubric, that is saved as grade. There is validation that value can not be more than 100.
2011-10-12 01:06:27 -07:00
admin Merge branch 'MDL-29612' of git://github.com/stronk7/moodle.git with typo cleanup 2011-10-03 12:24:40 +13:00
auth MDL-29025 fix missing $ espacing 2011-09-15 09:25:30 +02:00
backup Merge branch 'wip-MDL-25454-master' of git://github.com/marinaglancy/moodle 2011-10-03 14:24:38 +13:00
blocks MDL-19575 Global Search Adding capability checks to the search and stat pages 2011-09-29 08:52:29 +05:30
blog MDL-29478 unittest - explicity include blog/lib.php. Was causing "random" errors 2011-09-23 01:36:41 +02:00
calendar Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle 2011-09-13 16:06:21 +08:00
cohort MDL-27896 context - Fixed editor context to observe filter status 2011-08-12 11:33:21 +08:00
comment MDL-29401 introduce new frankenstyle PARAM types 2011-09-25 09:59:55 +02:00
course Merge remote branch 'origin/master' into rubric 2011-10-07 22:01:38 +02:00
enrol Merge branch 'w36_MDL-29326_m22_sqlsrv' of git://github.com/skodak/moodle 2011-09-13 17:33:42 +02:00
error error MDLSITE-1008 Fixed missing set_context call in error/index.php 2010-10-04 04:52:02 +00:00
files MDL-29401 introduce new frankenstyle PARAM types 2011-09-25 09:59:55 +02:00
filter MDL-29401 fix previous regression 2011-09-26 23:21:39 +02:00
grade Added form element grading and integrated it with grading_controller 2011-10-12 15:01:53 +08:00
group MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
install Automatically generated installer lang files 2011-10-06 00:55:31 +00:00
iplookup fixed docs 2010-09-17 19:31:10 +00:00
lang Added form element grading and integrated it with grading_controller 2011-10-12 15:01:53 +08:00
lib Added form element grading and integrated it with grading_controller 2011-10-12 15:01:53 +08:00
local MDL-29509 move qeupgradehelper to admin tools 2011-09-27 00:39:20 +02:00
login MDL-29000 multiple password reset issues 2011-08-20 19:22:04 +02:00
message MDL-29548 allow message plugins to control message 2011-10-04 11:23:52 +01:00
mnet MDL-29148 MNet - improved handling of a verification function return code 2011-08-29 01:48:55 +02:00
mod Added form element grading and integrated it with grading_controller 2011-10-12 15:01:53 +08:00
my MDL-14679 fixed a lot more old style uses of insert_record() 2010-09-03 17:47:41 +00:00
notes Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle 2011-09-13 16:06:21 +08:00
pix MDL-28301 Completion: Replaced completion tickbox icons with nicer ones 2011-08-10 11:02:05 +01:00
plagiarism Plagiarism API MDL-13680 add plagiarism support for user submitted files - currently only added to single and advanced Assignment types - other modules to come in future. 2010-09-20 07:32:31 +00:00
portfolio MDL-28620 - Removed admin/generator.php include as it causes issues if this script is included from any other script that is running in the command line 2011-08-05 16:09:30 +01:00
question MDL-29520 - mysql multitable delete, outer join some tables 2011-10-09 22:15:27 +02:00
rating Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
repository MDL-29401 introduce new frankenstyle PARAM types 2011-09-25 09:59:55 +02:00
rss rss MDL-25319 removing unnecessary call to isguestuser() 2010-11-19 06:39:00 +00:00
search MDL-19575 Global Search Adding capability checks to the search and stat pages 2011-09-29 08:52:29 +05:30
tag Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle 2011-09-13 16:06:21 +08:00
theme Merge branch 'wip-MDL-25697-master' of git://github.com/samhemelryk/moodle 2011-10-05 01:10:03 +02:00
user Merge branch 'wip-MDL-28615-master-squashed' of git://github.com/samhemelryk/moodle 2011-10-05 10:54:05 +08:00
userpix MDL-24938 fixed missing context ino 2010-10-29 20:08:29 +00:00
webservice Merge branch 'MDL-26635' of git://github.com/mouneyrac/moodle 2011-09-21 17:52:53 +12:00
.gitignore MDLSITE-1162 .gitignore file for Moodle git mirror 2010-12-06 12:57:38 +00:00
brokenfile.php MDL-26069 detect missing file postprocessing 2011-01-29 17:50:12 +01:00
config-dist.php MDL-28701 add old cache and temp creation debug message and improve docs a bit 2011-09-10 11:24:46 +02:00
COPYING.txt
draftfile.php MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
file.php standardized PHPDocs package info 2010-09-06 11:29:21 +00:00
help.php MDL-29401 introduce new frankenstyle PARAM types 2011-09-25 09:59:55 +02:00
index.php MDL-28489 site news forum - support multilang filter 2011-08-29 22:03:04 +02:00
install.php MDL-29351 add missing temp and cache dirs to installers 2011-09-13 13:33:06 +02:00
pluginfile.php MDL-29401 introduce new frankenstyle PARAM types 2011-09-25 09:59:55 +02:00
README.txt
tags.txt
TRADEMARK.txt
version.php emergency release 2.2dev 2011-10-09 22:40:35 +02:00

QUICK INSTALL
=============

For the impatient, here is a basic outline of the
installation process, which normally takes me only
a few minutes:

1) Move the Moodle files into your web directory.

2) Create a single database for Moodle to store all
   it's tables in (or choose an existing database).

3) Visit your Moodle site with a browser, you should
   be taken to the install.php script, which will lead
   you through creating a config.php file and then
   setting up Moodle, creating an admin account etc.

4) Set up a cron task to call the file admin/cron.php
   every five minutes or so.


For more information, see the INSTALL DOCUMENTATION:

   http://docs.moodle.org/en/Installing_Moodle


Good luck and have fun!
Martin Dougiamas, Lead Developer