951 Commits

Author SHA1 Message Date
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
Nadav Kavalerchik
b41fc49c26 CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
Petr Skoda
aa25e42ba2 MDL-27094 fix incorrect assignment form validation method name
Credit goes to H. Hanna
2011-04-10 21:03:02 +02:00
David Mudrak
91dedc324f MDL-26784 Strings for the new plugin manager
The new strings file core_plugin defines names of all plugin types
supported by Moodle. Some strings have already been defined elsewhere
and we use AMOS script here to copy their translation, if it is
available.

AMOS BEGIN
 CPY [settings,core],[settings,core_plugin]
 CPY [status,core],[status,core_plugin]
 CPY [missingfromdisk,core],[status_missing,core_plugin]
 CPY [nodatabase,core_admin],[status_nodb,core_plugin]
 CPY [authenticationplugins,core],[type_auth_plural,core_plugin]
 CPY [block,core],[type_block,core_plugin]
 CPY [blocks,core],[type_block_plural,core_plugin]
 CPY [coursereport,core],[type_coursereport,core_plugin]
 CPY [coursereports,core],[type_coursereport_plural,core_plugin]
 CPY [filter,core],[type_filter,core_plugin]
 CPY [courseformats,core],[type_format_plural,core_plugin]
 CPY [activitymodule,core],[type_mod,core_plugin]
 CPY [activitymodules,core],[type_mod_plural,core_plugin]
 CPY [plagiarism,core_plagiarism],[type_plagiarism,core_plugin]
 CPY [portfolio,core_portfolio],[type_portfolio,core_plugin]
 CPY [portfolios,core_portfolio],[type_portfolio_plural,core_plugin]
 CPY [questiontype,core_admin],[type_qtype,core_plugin]
 CPY [questiontypes,core_admin],[type_qtype_plural,core_plugin]
 CPY [repository,core_repository],[type_repository,core_plugin]
 CPY [theme,core],[type_theme,core_plugin]
 CPY [themes,core],[type_theme_plural,core_plugin]
 CPY [uninstallplugin,core_admin],[uninstall,core_plugin]
 CPY [version,core],[version,core_plugin]
 CPY [assignmenttype,mod_assignment],[subplugintype_assignment,mod_assignment]
 CPY [presets,mod_data],[subplugintype_datapreset_plural,mod_data]
 CPY [evaluationmethod,mod_workshop],[subplugintype_workshopeval,mod_workshop]
 CPY [strategy,mod_workshop],[subplugintype_workshopform,mod_workshop]
AMOS END
2011-03-31 13:59:05 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01: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
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