LDEV-4451 Implement ToolSessionManager.getConfidenceLevels() in all toolsThis method allows Scratchie to query available confidence levels fromthe tools that can provide it. Actually, only Assessment and MCQ willimplement it for real, all other tools will implements it as "returnnull;".
LDEV-4180: Make DB patches produce up-to-date structure during build instead of applying multiple patches. Get rid of unnecessary tables and keys. Modify boolean columns to tinyint(1) Simplify patches where possible.
LDEV-3660: Remove export potfolio resources: Java classes, JPS, DB entries and labels. Remove localLinkPath attribute from CSS tag as it was only used for export portfolio.
LDEV-3633: Allow specyfing port which MySQL runs on. Disable SSL for building LAMS as it generates a warning message. New MySQL does not accept ALTER IGNORE TABLE statements.
LDEV-3561: Initial implemntation of re-setting read-only flag of Activities on force uncomplete. Each Tools' service has a method to report whether there is significant users' content left it the Activity. If so, it reports the Activity as read-only. Otherwise the flag can be re-set. Grouping, Gate and Complex activities also have their way of checking their immutability.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.Attach activity to Hibernate session in completeActivity() method.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.Attach activity to Hibernate session in completeActivity() method.
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.