LDEV-1891: Add an advanced option: monitoring teachers get notified when a student submits an assignment/resource/survey answer.Removed duplicate key names in the database models.
LDEV-1707: Converted marks to floats, to allow marks like 7.5. Also I18N'd the output of the marks so that they are shown as 1,234.5 or 1 234,5 depending on the user's locale.
LDEV-1677: Changing the tools so that clicking Close on the authoring confirmation window will both refresh the tool's monitoring window AND take the user back to the current tab on the monitoring window (ie the same tab it was on before it was refreshed). Normally this will be the edit activity tab.
LDEV-1584: The messageSource entry in Spring wasn't unique for the forum, rsrc and submit tools so when the messageSource was accessed in authoring (for tool conditions), the wrong resource was sometimes being returned. Now the messageSource bean's scope is within the messageService bean, so the tools can't get the wrong messageSource.
LDEV-1179: Export portfolio now displays a different msg for run offline activities. The screen comes from the learning war, and is called from the code on AbstractExportPortfolioServlet. Tools don't have to do anything, but they can override a new method in the servlet and supply the name of the activity (as per the tool's authoring screen) or do their own screen. Our tools will just display the name of the activity.
LDEV-1109: Fixing bugs in the authoring support for tool output based branching and getting the progress engine working. A rough implementation of the condition checking down for one MCQ condition for demonstration purposes. Two new methods added to the tool contract.
LDEV-1134: Adding more support for the tool output based branching. Added a couple of simple tool output definitions for MCQ and Forum and added a class to the core to help tools create the tool output definitions (OutputDefinitionFactory), which required a change to MessageService. Also added the call to the core tool service to support calling the tools for their output definitions and new method call to ToolContentManager, requiring a change to all tools.
LDEV-1140: Error messages were appearing in a mix of English and Welsh. When getting a message resource in struts, we need to explicitly set the locale, otherwise it will just use the default locale (US English). The struts implementation of getResource() DOENS'T pick up the struts preferred locale setting .