943 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
6b1b1d0339 MDL-25708 recordsets - assignment and data modules 2011-01-25 19:59:00 +01:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
David Mudrak
7e514cd768 MDL-25619 portfolio: exported HTML output can not be cleaned 2010-12-08 23:20:04 +00:00
Helen Foster
5735fefc93 MDL-21250 capital letters removal 2010-11-29 15:49:58 +00:00
David Mudrak
b0f5d070e7 MDL-23978 portfolio: do not cleanup images with portfolio URI scheme
The problem was in the order of the content preparing. Now when the
filters are always skipped (they have to) we must always run
format_text() first. That will prepare nice HTML in which we just
rewrite the portfolio URIs.
Note that we are still calling clean_text() so that we do not export
malicious code for portfolios like File download. In the future, this
may be changed, made format specific or even per-export configurable.
As a side product of the patch, I have re-enabled online assignment
portfolio export and switched $options->para to false consistently.
2010-11-15 22:59:06 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
David Mudrak
d8c4a74e29 Text filters can not be applied on the content exported to the portfolio
Filters can replace text with images (smilies, temporary TeX images
etc.), links to glossaries or databases or embedded media players.
Therefore it is important to disable filter processing during portfolio
export.
2010-11-11 18:47:57 +00:00
Sam Marshall
702a206cd3 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-09 17:09:13 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Dan Marsden
a211a40c75 Assignment MDL-24948 fix depreceated calls to get group info 2010-11-02 01:38:56 +00:00
Sam Marshall
bf81b16824 Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (albeit with 23 exceptions and only 2 passes) 2010-11-01 18:00:57 +00:00
Aparup Banerjee
c65c5935c4 assignment MDL-24694 lang file string change. 2010-10-27 03:10:34 +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
Petr Skoda
346c5887b1 MDL-24751 using new memory constants 2010-10-19 10:13:15 +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
Dongsheng Cai
047bce2fe8 MDL-24382 uploadsingle type assignment should respect course maxbytes too. 2010-10-04 03:37:12 +00:00
Aparup Banerjee
6d53b60b46 assignment MDL-23683 removed backup & restore of deprecated filearea : 'online_submission' 2010-09-30 08:01:45 +00:00
Aparup Banerjee
6aac01ca84 assignment MDL-23683 online assignment filearea changed for consistency from 'online_submission' to 'submission' 2010-09-30 06:30:34 +00:00
Aparup Banerjee
abc89a8bda assignment MDL-24382 fixed enforcing file size limit in single upload 2010-09-30 03:49:59 +00:00
Aparup Banerjee
682a19234b assignment MDL-24373 cleaned up code. 2010-09-24 07:15:27 +00:00
Aparup Banerjee
694b7aef38 assignment MDL-24373 removed file count check to display button to manage assignment files submitted. file limits are managed entirely via the file manager ui. 2010-09-24 07:09:42 +00:00
Aparup Banerjee
5ddf75d8be assignment MDL-24240 set the assignment type plugin title string to produce notice for the subplugin's lang pack, removed notice for core lang pack 2010-09-23 12:29:48 +00:00
Sam Hemelryk
14f001a993 mod-assignment MDL-19803 Fixed up a couple of minor deprecated calls 2010-09-22 08:08:24 +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
Andrew Davis
2248b994ae activities MDL-24180 realtered available to/from strings in activities and conditional completion to try and make the unclear clear 2010-09-21 03:34:36 +00:00
Sam Hemelryk
169348bcda mod-assignment MDL-22254 Fixed up incorrect string in online assignment header 2010-09-20 07:44:18 +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
Dongsheng Cai
a75a4b2472 NOBUG: plagiarism api require $cm and $course in assignment render 2010-09-20 03:43:47 +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
034ef76129 improved spelling 2010-09-18 12:31:20 +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
Petr Skoda
d94278c7aa fixed incorrect $f 2010-09-18 11:56:01 +00:00
Petr Skoda
d8c05a383c fixed unterminated JS statement 2010-09-18 11:50:18 +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
Andrew Davis
3b2b084554 activities MDL-24180 altered strings to help users understand the difference between the conditional activity available to/from dates and the individual activity available to/from dates 2010-09-17 01:37:29 +00:00
Aparup Banerjee
b8f037ba81 assignment MDL-24106 some assignment changes were left out for offline assignment type , fixed processing grading. 2010-09-16 03:15:41 +00:00
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +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
dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +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
Petr Skoda
b8ea3041eb MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate 2010-09-02 18:29:39 +00:00
Dan Marsden
902eca4252 Assignment MDL-23992 - use fullname instead of username for exported files to improve privacy 2010-09-02 09:49:04 +00:00
Aparup Banerjee
c663653f8b assignment MDL-23998
clarified 'revert to draft' button in a advanced upload assignment with a help icon.
button 'no more submissions' changed to say 'Prevent submission updates'.
2010-09-02 06:16:45 +00:00