Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3332: revert spring-beans schema declaration in application context xml files. export spring meta-inf in jboss-deployment-structure.xml

It is way more elegant approach to fix an issue with spring-beans.xsd loading from internet.

  1. … 76 more files in changeset.
LDEV-3332: fix spring contexts declaration to find spring-beans-4.0.xsd locally at classpath.

Having spring module defined as a set of spring jars (as we do have in Wildfly), it is impossible for spring to resolve xsd schema mapping file 'spring.schemas' correctly. With set of jars, we have 5 instances of this file (with different content) under the same path 'META-INF/spring.schemas'. This ended up in spring not beeing able to map spring-beans-4.0.xsd URL path to local resource location. Finally, this xsd was loaded from internet - and that significantly slowed Wildfly startup.

With this fix LAMS is way (depends on internet connection) faster to start.

  1. … 75 more files in changeset.
LDEV-3319: Synchronize patch execution with an external monitor. Modules in WildFly can be loaded in parallel. AutoPatch is not ready for this as it uses static methods with unsynchronized collections. Each AutoPatchService instance should be run sequentially.

  1. … 32 more files in changeset.
LDEV-3293: Rewrite Application Context configuration files for Spring 4.

  1. … 77 more files in changeset.
LDEV-3293: Use the new Spring's support for Hibernate 4 instead of Hibernate 3. Switch from using HibernateDaoSupport.getSession() to its getSessionFactory().getSession(). The latter is sure to close the session automatically while a session returned by the first method should be closed manually. Theoritecally we do it in OpenSessionInViewFilter, but it may not be always the case, leading to open Hibernate session being left behind.

  1. … 86 more files in changeset.
LDEV-3244 Release define later flag after canceling edit tool in monitor

  1. … 62 more files in changeset.
LDEV-3225: Add better contribution management in Monitoring.

  1. … 41 more files in changeset.
LDEV-3171: Remove users from activities. Fix several bugs.

  1. … 34 more files in changeset.
LDEV-3171: Give a Monitor an option to remove learner's content from activities when moving him backwards in a sequence. Implementation of content-removing method for most of tools.

  1. … 59 more files in changeset.
LDEV-3147 Simplify tools: get rid of instructions tab, define in monitor and offline activity options

  1. … 155 more files in changeset.
LDEV-3163: Make LAMS use ServerURL when providing URLs.

  1. … 40 more files in changeset.
LDEV-3070: Use tool content title as lesson name instead of showing prompt pop up. Skip "Reedit"/"Cancel" page.

  1. … 35 more files in changeset.
LDEV-3078 start uploading images to www/secure/runtime/ instead of using 32-character contentFolderId

  1. … 1 more file in changeset.
LDEV-3061: Allow emailing learners from Monitor. Fix issues with EventNotificationService. Move emailing module from Admin to Central.

  1. … 37 more files in changeset.
LDEV-3026: Add utilities for getting activity position. Make Tools position-aware and display different label if they are last in LD.

  1. … 182 more files in changeset.
LDEV-3010 added option to send emails with Html Content-type

  1. … 24 more files in changeset.
LDEV-2912: Remove RAMS references from export servlets and Ant build files.

  1. … 3 more files in changeset.
LDEV-2842: fixing typos

  1. … 11 more files in changeset.
LDEV-2827: Add option to restore a page in Learner and Author.

  1. … 3 more files in changeset.
LDEV-2826: Limit range of pages searched for broken references.

LDEV-2826: Allow marking Wiki pages as removed instead of removing them completely. Clear references to unexisting pages. Fix refresh Wiki page list after removing one.

  1. … 6 more files in changeset.
LDEV-2824: Revert changes made by previous attempt to workaround Chrome and Safari XSS detection. Replace "javascript" word in submitted Wiki pages with another token and replace it back on server side, so returning code is not identical to submitted one and XSS protection does not kick in. Clean up unnecessary methods and calls.

  1. … 7 more files in changeset.
LDEV-2824: Refresh view page after adding/editing it so Chrome does not block new javascript code.

  1. … 1 more file in changeset.
LDEV-2807: Support for MySQL 5.5

  1. … 52 more files in changeset.
LDEV-1730 If Tool is not group do now show the group reference

  1. … 2 more files in changeset.
LDEV-2642, LDEV-2616: Move Planner activity metadata (hidden, collapsed, expanded) to a separate table, as it may grow in the future and we don't want to make ToolActivity too complex. Move Editing Advice content from Online Instructions in activities to the metadata table. Allow editing the Editing Advice straight from the planner. Use jquery_ui instead of cluetip (dispose the last one completely). While creating a node, the Learning Design is imported just once from ZIP into DB, instead of importing it each time someone opens it in Planner. This allows less unnecessary copies of the LD and allows easier modfication of the original design. Change the way a Teacher gets a copy of the design. When opening the template in Planner, a copy is made in common folder ("Planner preview"). When the user saves the design, the same copy is *moved* to user's folder, rather than copying it again. Futhermore, each subsequent save modifies the same LD rather than making another copy.

  1. … 25 more files in changeset.
LDEV-2577 The new CKEditor does not have Java Integration library (yet). We have been using it to: a) get the tag library to create our own tag <lams:FCKeditor> But the new CKEditor uses AJAX to get the contents, so the library is not needed anymore. The references to it has been deleted from every tool. FCKEditor.tag has been rewritten to use the new syntax. b) get a FCKEditor internal file manager by a Connector from the jar The new CKEditor does not provide a file manager - the license became commercial and the whole thing became a separate project, CKFinder. There were alternatives suggested on the web: jasfinder - http://sourceforge.net/projects/jasfinder/support kcfinder - http://kcfinder.sunhater.com/ some other - http://www.miguelmanchego.com/2009/gestor-de-archivos-ckeditor/ but we have already nicely integrated with the old file manager. This page: http://jacek-kromski.jogger.pl/2009/09/25/integracja-ckeditor-z-przegladarka-plikow-z-fckeditor/ in polish says how to use the file manager from the old FCKEditor. The steps that have to be done: - download the new CKEditor - download the old FCKEditor - copy the filemanager to ckeditor directory - in the file browser/default/frmresourceslist.html, line 92 (with SetUrl call) needs to be replaced to: window.top.opener.CKEDITOR.tools.callFunction( window.top.document.CKEditorFuncNum, fileUrl, '' ); - in the file browser/default/browser.html add in line 80: document.CKEditorFuncNum = GetUrlParam( 'CKEditorFuncNum');

FCKeditor has been used in version 2.6.6, the last one before switching to CKEditor project.

Changes required to use newer version of Java Integration library

for FCKEditor so it was upgraded to the latest (for FCKEditor, because one for CKEditor does not exist) version 2.6.

This also required the Prototype to be upgraded to the latest 1.6.1.

The CKEditor code also needed to be changed, so if another upgrade to a newer version occurs, we need to remember to repeat these steps:

http://cksource.com/forums/viewtopic.php?f=5&t=15750

It says:

/ckeditor/plugins/link/dialogs/link.js

Changes

label:a.lang.common.target,'default':'notSet' --> label:a.lang.common.target,'default':'_blank'

label:a.lang.link.targetFrameName,'default':'' --> label:a.lang.link.targetFrameName,'default':'_blank'

It is also worth mentioning that if you include the ckeditor.js file twice in the same page, sometimes it causes trouble, thus detection in the CKEditor.tag files.

  1. … 1096 more files in changeset.
merge LDEV-2436 from branch

LDEV-2374: - Vote now accepts nominations created by Teacher as well as ones derived from input. - Teacher can now limit number of Learners contributing to Vote's nomination pool. - Each tool now declares which DataOutputDefinitions it can accept for Data Flow.

  1. … 49 more files in changeset.
change to ascii

  1. … 49 more files in changeset.