Commit graph

941 commits

Author SHA1 Message Date
Dongsheng Cai
13ce122930 MDL-23142, Portfolio Export should require mod/assignment/lib.php thanks to Dan Marsden, and remove stored_file.php from portfolio 2010-07-08 04:49:46 +00:00
Martin Dougiamas
dcffbe5411 MDL-21861 Made these assignment events more generic, so that they can be used by other activity modules (like Workshop etc). assessable_file_uploaded and assessable_files_done
We are doing it this way because MULTIPLE plagiarism **plugins** may need to handle these events using cron, so it's good to get them in a queue.

The other way to do this would be to call a function in plagiarism core and have that generate the event, but there is not really any advantage in that.   Conceivably something other than plagiarism plugins might be interested in these events later on.
2010-07-08 03:34:22 +00:00
Eloy Lafuente
f2e34ee52b MDL-22245 backup - keep subplugin branches connected all the time. Thanks for spotting it David! 2010-07-07 17:26:34 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
David Mudrak
37fb7c0e1d NOBUG: Fixing trivial variable name mismatch 2010-07-05 10:48:07 +00:00
Martin Dougiamas
9a5b90053b MDL-22056 Adding pluginname to activity modules to fix gradebook issues caused by MDL-23071 (keeping modulename for n)
AMOS BEGIN
 CPY [modulename,assignment],[pluginname,assignment]
 CPY [modulename,chat],[pluginname,chat]
 CPY [modulename,choice],[pluginname,choice]
 CPY [modulename,data],[pluginname,data]
 CPY [modulename,feedback],[pluginname,feedback]
 CPY [modulename,folder],[pluginname,folder]
 CPY [modulename,forum],[pluginname,forum]
 CPY [modulename,glossary],[pluginname,glossary]
 CPY [modulename,hotpot],[pluginname,hotpot]
 CPY [modulename,imscp],[pluginname,imscp]
 CPY [modulename,label],[pluginname,label]
 CPY [modulename,lesson],[pluginname,lesson]
 CPY [modulename,page],[pluginname,page]
 CPY [modulename,quiz],[pluginname,quiz]
 CPY [modulename,resource],[pluginname,resource]
 CPY [modulename,survey],[pluginname,survey]
 CPY [modulename,url],[pluginname,url]
 CPY [modulename,wiki],[pluginname,wiki]
 CPY [modulename,workshop],[pluginname,workshop]
AMOS END
2010-07-05 05:12:39 +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
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Eloy Lafuente
332437c511 MDL-22245 backup - implementing changes in subplugins to offline assignments demo 2010-07-03 17:15:49 +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
Petr Skoda
400475947a MDL-22609 fixed regression in my previous commit, sorry 2010-07-02 10:04:30 +00:00
Petr Skoda
8cf8f2b743 MDL-22609 undoing directory variables magic from last commit, keeping just the userid-->submissionid itemid change 2010-07-02 10:00:00 +00:00
Martin Dougiamas
d992f53d8c mod/assignment MDL-22609 Checking in Aparup's patch fixing the file upgrade (itemid now is submission->id, not user->id). Also fixed some buggy uses of $OUTPUT->notification in uploadsingle->upload() (redirect works better) 2010-07-01 09:41:06 +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
Martin Dougiamas
26ffb4b172 MDL-22978 Cleaned up styles for course overview and added a link to assignment grade page 2010-06-29 04:09:55 +00:00
aparup
753c1de5ca Assignment MDL-22611 added has_capability check to grade number that may link to gradebook. 2010-06-29 03:09:55 +00:00
Petr Skoda
96f4a64b66 disabling files in grade feedback for now - we do not have area, gradebook does not support it, forms are not used correctly, ... 2010-06-28 14:10:33 +00:00
Petr Skoda
1628ba8bbe fixed recent regression + simplified code a bit 2010-06-28 13:15:03 +00:00
Petr Skoda
f8ffb97e3c fixed recent regression + simplified code a bit 2010-06-28 13:14:01 +00:00
aparup
d2b6ee29f2 Assignment MDL-22611 a few changes to the assignment section, Changes include
- display grading as a main page navigation sequence rather than a popup (this addressed a few navigation issues with popup)
- grading forms now use moodle form. swapped grading form button positions to reduce human error.
- fixed file area issues with assignment submissions. (see MDL-22608)
- other minor changes : headings, titles
2010-06-28 02:38:53 +00:00
David Mudrak
096ec8d63d MDL-21695 Cleaning up legacy strings and help
Text of help pages Read carefully, Write carefully and Ask questions
moved to wiki by Helen. Text formatting help removed, to be
re-introduced properly in editors rewrite. Unused editorhelp form
element removed completely.
2010-06-27 21:34:01 +00:00
Rossiani Wijaya
8ceabede81 MDL-20486 - modify button's label when there is no assignment has been submitted. 2010-06-23 10:05:48 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
aparup
3a0b9236c8 Assignment MDL-22687 removed unmatched div tag that was breaking navigation blocks. 2010-06-08 02:04:54 +00:00
aparup
dad55fc5b3 assignment MDL-22610 quickgrading: fixed form - after header output. 2010-06-04 02:42:21 +00:00
aparup
8cb4148657 assignment quickgrading MDL-22610 fixed saveallmyfeedback form. posts now go thru to code and data enters DB fine. 2010-05-31 03:17:28 +00:00
Dan Marsden
dd68016b6d Assignment MDL-7206 remove incorrect use of file api 2010-05-27 07:27:51 +00:00
Sam Hemelryk
24e27ac0c1 course MDL-8369 Front page combo list is now restructured and exandable by JavaScript
This patch also implements a course renderer.
2010-05-27 01:40:11 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Dongsheng Cai
573e7e3396 revert some changes, my cvs client (smartcvs) goes wrong, commited all my local changes, MDL-8224 2010-05-20 06:35:41 +00:00
Dongsheng Cai
af140288c4 MDL-8224, minor changes to tweak ui 2010-05-20 06:26:40 +00:00
Penny Leach
6afa598183 portfolio & online assignment MDL-22485 require portfoliolib & check portfolios enabled before trying to add buttons 2010-05-17 08:48:54 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Martin Dougiamas
e3fb62d9da NOBUG Fixed a simple notice where idnumber was missing from assignment/index.php 2010-05-12 06:05:47 +00:00
Sam Hemelryk
2a12d9eeb0 mod-assignment MDL-22266 Fixed pagelayout for popup 2010-05-11 07:13:04 +00:00
David Mudrak
27d1a27c21 MDL-21695 Migrating the usage of root help files so far re-worded
AMOS BEGIN
 HLP forcepasswordchange.html,[forcepasswordchange_help,core]
 HLP interestslist.html,[interestslist_help,core]
 HLP newpassword.html,[newpassword_help,core]
 HLP permissions.html,[permissions_help,core_role]
 HLP picture.html,[newpicture_help,core]
 HLP picture.html,[newpicture_help,core_group]
 HLP roles.html,[roles_help,core_role]
AMOS END
2010-05-06 21:27:58 +00:00
Dan Marsden
daca72eb25 Assignment MDL-22265 - fix missing </a> - thanks Patrick! 2010-05-03 00:10:34 +00:00
Patrick Malley
a6e1750ae3 Added additional div classes to generalboxes for additional styling 2010-05-02 02:10:54 +00:00
Patrick Malley
15b45bdcb9 Added class to upload file when no file is present. 2010-05-01 14:49:04 +00:00
Patrick Malley
610b5fde69 Added id to uploaded file userfiles generalbox for specific styling 2010-05-01 14:17:30 +00:00
David Mudrak
c27d61a2a2 MDL-21695 Removing pagesize help as recommended by Helen 2010-04-30 13:40:54 +00:00
David Mudrak
e66841b9e6 MDL-21695 Assignment module now uses new help strings
AMOS BEGIN
 HLP assignment/allowdeleting.html,[allowdeleting_help,mod_assignment]
 HLP assignment/allowmaxfiles.html,[allowmaxfiles_help,mod_assignment]
 HLP assignment/allownotes.html,[allownotes_help,mod_assignment]
 HLP assignment/commentinline.html,[commentinline_help,mod_assignment]
 HLP assignment/emailnotification.html,[enableemailnotification_help,mod_assignment]
 HLP assignment/emailteachers.html,[emailteachers_help,mod_assignment]
 HLP assignment/hideintro.html,[hideintro_help,mod_assignment]
 HLP assignment/mods.html,[modulename_help,mod_assignment]
 HLP assignment/pagesize.html,[pagesize_help,mod_assignment]
 HLP assignment/quickgrade.html,[quickgrade_help,mod_assignment]
 HLP assignment/resubmit.html,[allowresubmit_help,mod_assignment]
 HLP assignment/trackdrafts.html,[trackdrafts_help,mod_assignment]
AMOS END
2010-04-29 23:12:13 +00:00
Martin Dougiamas
92e7c34d95 Fixed a missing string for calendar display 2010-04-29 16:25:11 +00:00
Moodle HQ git importer
873750c2df Fixing drift between CVS and git 2010-04-29 11:26:40 +00:00
Dan Marsden
d1eb4c8600 remove debug 2010-04-28 02:53:37 +00:00
Dan Marsden
675be221e4 Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:52:54 +00:00
Dan Marsden
2c35de0ffb Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:47:26 +00:00
Dan Marsden
30b5ee6b06 Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:47:25 +00:00