Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 1095 more files in changeset.
LDEV-2111 Upgraded FCKEditor to version 2.6.4 and FCKEditor.java (taglibs) to 2.4.1

  1. … 85 more files in changeset.
LDEV-1912 set session timeout programmatically according to lams' UserInactiveTimeout value via a servlet listener rather than hard coding to 120 mins (in some webapps, no session timeout was specified at all).

  1. … 35 more files in changeset.
Updated version number to RC1

  1. … 39 more files in changeset.
remove ContextLoaderServlet, it's deprecated for servlet 2.4 container(like tomcat 5 bundled with jboss 4.x) . Use ContextLoadListener instead

  1. … 14 more files in changeset.
Fixed security - was missing TEACHER

  1. … 5 more files in changeset.
Tool deployment utility has been changed to update the context path and class path when the tool is deployed. Build file changed to match and the main tool context application file moved so that only the tool's have a context file classpath of /org/lamsfoundation/lams/tool.

  1. … 26 more files in changeset.
Renaming applicationResources.properties to ApplicationResources.properties

    • -1
    • +1
    ./xdoclet/struts-message-resources.xml
  1. … 30 more files in changeset.
Had the wrong path for the applications resources file.

Moved the language/message/resource file to the conf area. Will now be deployed to the lams-dictonary.jar to make I8N easier.

    • -8
    • +7
    ./language/ApplicationResources.properties
  1. … 49 more files in changeset.
Trying to get the cvs id keyword expansion to work.

    • -1
    • +1
    ./language/ApplicationResources.properties
  1. … 17 more files in changeset.
Implemented some basic Hibernate POJOs and their DAOs, along with an applicationContext.xml file. The tool should now deploy okay and appear in authoring. So you can run a lesson with it but you can't actually do anything as the service doesn't store any data and no jsp pages exist.

    • -0
    • +80
    ./language/ApplicationResources.properties
  1. … 23 more files in changeset.
Initial version of example tool. DB setup done but Hibernate objects are yet to be done.

    • -0
    • +3
    ./jar/META-INF/MANIFEST.MF
    • -0
    • +128
    ./middlegen/lams_tool_laex11-prefs.properties
    • -0
    • +1
    ./war/META-INF/MANIFEST.MF
    • -0
    • +14
    ./xdoclet/filter-mappings.xml
    • -0
    • +24
    ./xdoclet/filters.xml
    • -0
    • +11
    ./xdoclet/listeners.xml
    • -0
    • +11
    ./xdoclet/servlet-mappings.xml
    • -0
    • +45
    ./xdoclet/servlets.xml
    • -0
    • +1
    ./xdoclet/struts-message-resources.xml
    • -0
    • +77
    ./xdoclet/taglibs.xml
    • -0
    • +92
    ./xdoclet/web-security.xml
  1. … 30 more files in changeset.