LDEV-4443: warning when editing activity that has been already used.Currently when editing an assessment or voting activity in monitor, if an answer is changed, the data associated with that question is removed.So if students have already completed the activity, their answers/marks will be removed and will shown as not answered.We currently give no warning to monitors when they do this, so we should.
LDEV-4400, LDEV-3315 Toggle session ID change for each LAMS moduleWildFly 10 changes session ID after authentication by default in orderto prevent session fixation attack. It breaks TestHarness, though. Inorder to run TH, session ID change needs to be turned off.Turning it off for Central is not enough as a request to any othermodule, like Tool, triggers session ID change. In this case we need tohave session ID change turned on or off in each LAMS module, not justCentral.
LDEV-4441 CKEditor bootsnippets plugin to support i18nMake bootsnippets plugin to support i18n. Besides of the plugin'sinternal labels, we're also going to translate labels from/lams_www/web/public/ckeditor-templates/bootsnippets.js (but onlysnippets' titles).
LDEV-4438 Remove unique constraint added in the previous patchThe new constraint handles all problematic cases including the one withcopying results from leaders. Thus we no longer needUQ_tl_laasse10_assessment_result_4 (assessment_uid, user_uid,finish_date) constraint.
LDEV-4438 Add unique constraint (assessment_uid, user_uid, latest) Add unique constraint (assessment_uid, user_uid, latest) totl_laasse10_assessment_result which will apply only in case latest=1. Itwas done by making 'latest' field contain only NULL or 1 (as opposite tothe previously used 0 or 1). This way constraint will apply only incases when 'latest' is 1.