510 Commits

Author SHA1 Message Date
Sam Hemelryk
2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +02:00
Sam Hemelryk
870b8b0402 Merge branch 'MDL-27161_head' of git://github.com/rwijaya/moodle.git 2011-05-16 12:28:18 +08:00
Rossiani Wijaya
e512715b89 MDL-27161: fixed optional setting for 'require grading' to prevent page lock out (head) 2011-05-12 17:32:00 +08:00
David Mudrak
29cbe43189 MDL-13481 Strings fullname and shortname are now deprecated
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.

AMOS BEGIN
 CPY [fullname,core],[outcomefullname,core_grades]
 CPY [shortname,core],[outcomeshortname,core_grades]
 CPY [name,core],[rolefullname,core_role]
 CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Aparup Banerjee
d042ff06b3 assignment MDL-26532 fixed regression in assignment_cron() while processing messaging. 2011-02-21 15:43:30 +08:00
Eloy Lafuente (stronk7)
6b1b1d0339 MDL-25708 recordsets - assignment and data modules 2011-01-25 19:59:00 +01:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Aparup Banerjee
6217809c8c assignment MDL-24694 added contexturl and contexturlname properties to email_teachers() message object. 2010-10-26 09:04:12 +00:00
Aparup Banerjee
39e171ac93 assignment MDL-24694
- added message provider to manage assignment's messaging
- user_preferences.name length changed form 50 to 255 due to long messaging preference names.
2010-10-26 06:46:01 +00:00
Aparup Banerjee
6a41c6fe3a assignment MDL-24694 added time of update to assignment updates email notification 2010-10-20 03:02:48 +00:00
Aparup Banerjee
192bcd76da assignment MDL-24710 added component and name properties to Event object required by messaging framework. 2010-10-19 07:28:42 +00:00
Dan Marsden
44729427ab Plagiarism API MDL-13680 move update_status call untill after print header so it can also print to page if required. 2010-10-14 21:40:04 +00:00
Aparup Banerjee
9d1354b70d assignment MDL-24469 merged changes to head. 2010-10-11 08:27:50 +00:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Dan Marsden
bce59524ce 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
Aparup Banerjee
5eca3d757e assignment MDL-24158 fixed call to get_plugin_list() which was causing a course reset to not clear assignment submissions. 2010-09-20 01:42:28 +00:00
Petr Skoda
91421f3ead a few spelling fixes 2010-09-18 12:07:01 +00:00
Petr Skoda
6b1564a866 improved defines coding style 2010-09-18 11:57:06 +00:00
Sam Hemelryk
c7bb34b626 mod-assignment MDL-23848 Merged to head: students can now view previously submit assignments if they no longer have the submit capability. 2010-09-17 02:52:24 +00:00
Petr Skoda
0f21a964a5 MDL-24079 fixing recent regressions caused by api changes in tablelib; sorry I did not find the problem earlier 2010-09-05 12:35:51 +00:00
Petr Skoda
f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Petr Skoda
9d97f08e99 MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML 2010-09-03 16:26:04 +00:00
Aparup Banerjee
2d2746753b assignment mdl-24001 fixed toggling the 'revert to draft'/ 'no more submissions' button in a advanced upload assignment grading form loses editing data. 2010-08-31 07:55:12 +00:00
Aparup Banerjee
291ee13470 assignment MDL-23820 improved grading pages for file type assignments.
- uploadsingle response now uses file manager instead of file picker.
 - both uploadsingle and advancedupload assignment types have their grading pages with response file management in line (not a separate page).
 - bit of a css issue YUI's tree view rendering (a table) within a table that had borders is fixed.
2010-08-30 02:58:57 +00:00
Petr Skoda
c0c757120d MDL-23984 removing unnecessary temp dir when exporting all online assignments, fixing missing text_format 2010-08-29 16:54:03 +00:00
Rossiani Wijaya
de75c481dc MDL-14238 - removing whitespaces. 2010-08-23 02:32:24 +00:00
Rossiani Wijaya
fdb797adcf MDL-14238 - add filter to grade assignment. 2010-08-20 08:00:54 +00:00
Aparup Banerjee
de3c70fc72 assignment MDL-23820 removing the extra format html field. 2010-08-17 02:43:47 +00:00
Aparup Banerjee
1a905dbe60 assignment MDL-23820 removing the extra format html field. 2010-08-16 07:06:15 +00:00
Petr Skoda
7efcb7358f MDL-23726 fixed phpdocs - credit goes to Henning Bostelmann 2010-08-09 16:14:52 +00:00
Aparup Banerjee
b5e1ffe456 assignment MDL-23684 renamed a variable causing confusion 2010-08-06 03:49:11 +00:00
Aparup Banerjee
8efd9deb32 assignment MDL-23680 fixed upload single not displaying response file to student. 2010-08-06 03:32:11 +00:00
Aparup Banerjee
437239d191 assignment MDL-22609 reverting to userid as print_user_files is updated to lookup the submission. 2010-07-30 02:39:38 +00:00
Aparup Banerjee
96f3544025 assignment MDL-22609 notice when no submission yet - fixed. 2010-07-29 08:12:58 +00:00
aparup
31f56ef630 assignment MDL-22609 missed changes for changing file's itemid = submission->id rather than user->id 2010-07-27 08:13:30 +00:00
David Mudrak
bf1da11afd NOMDL assignment recent activity: fixed missing properties needed for user avatar 2010-07-26 21:58:21 +00:00
David Mudrak
09d35ae38e NOMDL assignment: fixed recent activity report for separate groups mode
There were two typos here. The first one ($cm->userid) led to incorrect
groups list. But the second one ($interset) caused that the intersection
of the group lists was never used. I just spotted this during copy &
pasting into workshop 2.0
Also fixed the heading size to what other modules use.

Merged from 1.9
2010-07-26 21:29:20 +00:00
aparup
cd0fe5a458 assignment MDL-22893 just changed a locally used class name. 2010-07-26 09:12:31 +00:00
aparup
2a576f94f7 assignment MDL-22893 revert and fixed displaying files with 'revert to draft' button.. 2010-07-26 03:23:37 +00:00
aparup
87f702a048 assignment MDL-22609 more changes for file's itemid = submission->id rather than user->id , thanks Davo! 2010-07-26 02:27:24 +00:00
Dongsheng Cai
493a82f69e "MDL-22659, Thanks Davo Smith's patch on assignment plugin validation and preprocess" 2010-07-19 16:04:16 +00:00
aparup
38430d3521 Assignment MDL-22893
- response files uploading now uses the new file picker element in single upload type.
2010-07-14 09:05:30 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Dongsheng Cai
ce2a1c4da9 MDL-22893, assignment module should use filepicker and filemanager 2010-07-09 09:21:52 +00:00
David Mudrak
37fb7c0e1d NOBUG: Fixing trivial variable name mismatch 2010-07-05 10:48:07 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
64f93798d4 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
Eloy Lafuente
8bf1e5295e MDL-22151 assignment backup - added backup for assignment with subplugin support MDL-22245 2010-07-02 11:24:56 +00:00
aparup
261b585daa Assignment MDL-22611 cosmetics - spaces after if and no spaces in parenthesis. - thanks petr 2010-07-01 09:05:08 +00:00